Latest working copy. Cleanup and menubar on generated pages

This commit is contained in:
Hash Borgir 2022-03-27 05:29:28 -06:00
parent d997ef1ed6
commit 5cc49b051f
10 changed files with 213295 additions and 257997 deletions

View File

@ -45,7 +45,7 @@ ini_set('max_execution_time', '0');
*/
$title = '<span style="color: #880000">D2</span> Modder';
$author = " HashCasper";
$version = '<span style="color: #aaa">5.0 Beta ';
$version = '<span style="color: #aaa">5.1.1 beta ';
define('APP_DB', "D2Modder.db");

View File

@ -2,10 +2,18 @@
<!doctype html>
<html lang="en">
<head>
<meta property="og:title" content="Diablo 2: Ironman Mod by Hash">
<meta property="og:site_name" content="Ironman Mod">
<meta property="og:url" content="https://im.stoned.io">
<meta property="og:description" content="An old school Ironman rules style gameplay mod for Diablo 2! New game mechanics!">
<meta property="og:type" content="website">
<meta property="og:image" content="https://gitlab.com/hashborgir/d2-ironman/-/raw/master/Screenshots/TitleScreen.png">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="res/bootstrap.min.css">
@ -178,6 +186,21 @@
padding: 10px;
}
.gemtable td img {
max-height: 128px;
}
table {
width: 100%;
}
body {
overflow-x: hidden; /* Hide scrollbars */
}
nav { margin-bottom: 60px;}
input[type=search] { width: 320px !important; background: #222; color: white;}
</style>
@ -193,6 +216,14 @@
$('.utable').dataTable();
$('.gemtable').dataTable();
$('.rtable').dataTable();
userAgent = window.navigator.userAgent
if(userAgent.includes("Windows") == true) {
$('.itemimage').css("margin-left","40px");
$('nav').remove();
}
});
</script>
@ -201,8 +232,29 @@
<body>
<div class="">
<h1>Zy</h1>
<p>Auto generated with D2Modder by Hash Casper</p><table border=1 class="gemtable">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<p class="navbar-brand">Zy</p>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav amenu">
<li class="nav-item">
<a class="nav-link btn btn-info" target="_blank" href="cubemain.html">Cube Recipes</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-warning" target="_blank" href="gems.html">Gems</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-success" target="_blank" href="runewords.html">Runewords</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-danger" target="_blank" href="uniqueitems.html">Unique Items</a>
</li>
</ul>
</div>
</nav> <table border=1 class="gemtable">
<thead>
<tr>
<th>Name</th>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2,10 +2,18 @@
<!doctype html>
<html lang="en">
<head>
<meta property="og:title" content="Diablo 2: Ironman Mod by Hash">
<meta property="og:site_name" content="Ironman Mod">
<meta property="og:url" content="https://im.stoned.io">
<meta property="og:description" content="An old school Ironman rules style gameplay mod for Diablo 2! New game mechanics!">
<meta property="og:type" content="website">
<meta property="og:image" content="https://gitlab.com/hashborgir/d2-ironman/-/raw/master/Screenshots/TitleScreen.png">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="res/bootstrap.min.css">
@ -185,6 +193,15 @@
table {
width: 100%;
}
body {
overflow-x: hidden; /* Hide scrollbars */
}
nav { margin-bottom: 60px;}
input[type=search] { width: 320px !important; background: #222; color: white;}
</style>
<script src="res/jquery-3.5.1.min.js"></script>
@ -204,6 +221,7 @@
userAgent = window.navigator.userAgent
if(userAgent.includes("Windows") == true) {
$('.itemimage').css("margin-left","40px");
$('nav').remove();
}
});
@ -214,8 +232,29 @@
<body>
<div class="">
<h1>ironman-dev</h1>
<p>Auto generated with D2Modder by Hash Casper</p> <table border=1 class="cubetable">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<p class="navbar-brand">ironman-dev</p>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav amenu">
<li class="nav-item">
<a class="nav-link btn btn-info" target="_blank" href="cubemain.html">Cube Recipes</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-warning" target="_blank" href="gems.html">Gems</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-success" target="_blank" href="runewords.html">Runewords</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-danger" target="_blank" href="uniqueitems.html">Unique Items</a>
</li>
</ul>
</div>
</nav> <table border=1 class="cubetable">
<thead>
<tr>
<th>Recipe</th>

View File

@ -2,10 +2,18 @@
<!doctype html>
<html lang="en">
<head>
<meta property="og:title" content="Diablo 2: Ironman Mod by Hash">
<meta property="og:site_name" content="Ironman Mod">
<meta property="og:url" content="https://im.stoned.io">
<meta property="og:description" content="An old school Ironman rules style gameplay mod for Diablo 2! New game mechanics!">
<meta property="og:type" content="website">
<meta property="og:image" content="https://gitlab.com/hashborgir/d2-ironman/-/raw/master/Screenshots/TitleScreen.png">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="res/bootstrap.min.css">
@ -185,6 +193,15 @@
table {
width: 100%;
}
body {
overflow-x: hidden; /* Hide scrollbars */
}
nav { margin-bottom: 60px;}
input[type=search] { width: 320px !important; background: #222; color: white;}
</style>
<script src="res/jquery-3.5.1.min.js"></script>
@ -204,6 +221,7 @@
userAgent = window.navigator.userAgent
if(userAgent.includes("Windows") == true) {
$('.itemimage').css("margin-left","40px");
$('nav').remove();
}
});
@ -214,8 +232,29 @@
<body>
<div class="">
<h1>ironman-dev</h1>
<p>Auto generated with D2Modder by Hash Casper</p><table border=1 class="gemtable">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<p class="navbar-brand">ironman-dev</p>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav amenu">
<li class="nav-item">
<a class="nav-link btn btn-info" target="_blank" href="cubemain.html">Cube Recipes</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-warning" target="_blank" href="gems.html">Gems</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-success" target="_blank" href="runewords.html">Runewords</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-danger" target="_blank" href="uniqueitems.html">Unique Items</a>
</li>
</ul>
</div>
</nav> <table border=1 class="gemtable">
<thead>
<tr>
<th>Name</th>

View File

@ -4,7 +4,6 @@
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta property="description" content="An old school Ironman rules style gameplay mod for Diablo 2! New game mechanics!">

View File

@ -2,10 +2,18 @@
<!doctype html>
<html lang="en">
<head>
<meta property="og:title" content="Diablo 2: Ironman Mod by Hash">
<meta property="og:site_name" content="Ironman Mod">
<meta property="og:url" content="https://im.stoned.io">
<meta property="og:description" content="An old school Ironman rules style gameplay mod for Diablo 2! New game mechanics!">
<meta property="og:type" content="website">
<meta property="og:image" content="https://gitlab.com/hashborgir/d2-ironman/-/raw/master/Screenshots/TitleScreen.png">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="res/bootstrap.min.css">
@ -185,6 +193,15 @@
table {
width: 100%;
}
body {
overflow-x: hidden; /* Hide scrollbars */
}
nav { margin-bottom: 60px;}
input[type=search] { width: 320px !important; background: #222; color: white;}
</style>
<script src="res/jquery-3.5.1.min.js"></script>
@ -204,6 +221,7 @@
userAgent = window.navigator.userAgent
if(userAgent.includes("Windows") == true) {
$('.itemimage').css("margin-left","40px");
$('nav').remove();
}
});
@ -214,8 +232,29 @@
<body>
<div class="">
<h1>ironman-dev</h1>
<p>Auto generated with D2Modder by Hash Casper</p><table class="rtable rw">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<p class="navbar-brand">ironman-dev</p>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav amenu">
<li class="nav-item">
<a class="nav-link btn btn-info" target="_blank" href="cubemain.html">Cube Recipes</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-warning" target="_blank" href="gems.html">Gems</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-success" target="_blank" href="runewords.html">Runewords</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-danger" target="_blank" href="uniqueitems.html">Unique Items</a>
</li>
</ul>
</div>
</nav> <table class="rtable rw">
<thead>
<tr>
<th>Name</th>

View File

@ -2,10 +2,18 @@
<!doctype html>
<html lang="en">
<head>
<meta property="og:title" content="Diablo 2: Ironman Mod by Hash">
<meta property="og:site_name" content="Ironman Mod">
<meta property="og:url" content="https://im.stoned.io">
<meta property="og:description" content="An old school Ironman rules style gameplay mod for Diablo 2! New game mechanics!">
<meta property="og:type" content="website">
<meta property="og:image" content="https://gitlab.com/hashborgir/d2-ironman/-/raw/master/Screenshots/TitleScreen.png">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="res/bootstrap.min.css">
@ -185,6 +193,15 @@
table {
width: 100%;
}
body {
overflow-x: hidden; /* Hide scrollbars */
}
nav { margin-bottom: 60px;}
input[type=search] { width: 320px !important; background: #222; color: white;}
</style>
<script src="res/jquery-3.5.1.min.js"></script>
@ -204,6 +221,7 @@
userAgent = window.navigator.userAgent
if(userAgent.includes("Windows") == true) {
$('.itemimage').css("margin-left","40px");
$('nav').remove();
}
});
@ -214,8 +232,29 @@
<body>
<div class="">
<h1>ironman-dev</h1>
<p>Auto generated with D2Modder by Hash Casper</p>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<p class="navbar-brand">ironman-dev</p>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav amenu">
<li class="nav-item">
<a class="nav-link btn btn-info" target="_blank" href="cubemain.html">Cube Recipes</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-warning" target="_blank" href="gems.html">Gems</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-success" target="_blank" href="runewords.html">Runewords</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-danger" target="_blank" href="uniqueitems.html">Unique Items</a>
</li>
</ul>
</div>
</nav>
<table border=1 class="utable">
<thead>
<tr>

View File

@ -1,13 +1,22 @@
<?php
$htmltop = <<<EOT
<!doctype html>
<html lang="en">
<head>
<meta property="og:title" content="Diablo 2: Ironman Mod by Hash">
<meta property="og:site_name" content="Ironman Mod">
<meta property="og:url" content="https://im.stoned.io">
<meta property="og:description" content="An old school Ironman rules style gameplay mod for Diablo 2! New game mechanics!">
<meta property="og:type" content="website">
<meta property="og:image" content="https://gitlab.com/hashborgir/d2-ironman/-/raw/master/Screenshots/TitleScreen.png">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="res/bootstrap.min.css">
@ -187,6 +196,15 @@ $htmltop = <<<EOT
table {
width: 100%;
}
body {
overflow-x: hidden; /* Hide scrollbars */
}
nav { margin-bottom: 60px;}
input[type=search] { width: 320px !important; background: #222; color: white;}
</style>
<script src="res/jquery-3.5.1.min.js"></script>
@ -206,6 +224,7 @@ $htmltop = <<<EOT
userAgent = window.navigator.userAgent
if(userAgent.includes("Windows") == true) {
$('.itemimage').css("margin-left","40px");
$('nav').remove();
}
});
@ -216,6 +235,27 @@ $htmltop = <<<EOT
<body>
<div class="">
<h1>{$_SESSION['modname']}</h1>
<p>Auto generated with D2Modder by Hash Casper</p>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<p class="navbar-brand">{$_SESSION['modname']}</p>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav amenu">
<li class="nav-item">
<a class="nav-link btn btn-info" target="_blank" href="cubemain.html">Cube Recipes</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-warning" target="_blank" href="gems.html">Gems</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-success" target="_blank" href="runewords.html">Runewords</a>
</li>
<li class="nav-item">
<a class="nav-link btn btn-danger" target="_blank" href="uniqueitems.html">Unique Items</a>
</li>
</ul>
</div>
</nav>
EOT;