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'; $title = '<span style="color: #880000">D2</span> Modder';
$author = " HashCasper"; $author = " HashCasper";
$version = '<span style="color: #aaa">5.0 Beta '; $version = '<span style="color: #aaa">5.1.1 beta ';
define('APP_DB', "D2Modder.db"); define('APP_DB', "D2Modder.db");

View File

@ -2,10 +2,18 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <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 --> <!-- Required meta tags -->
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- Bootstrap CSS --> <!-- Bootstrap CSS -->
<link rel="stylesheet" href="res/bootstrap.min.css"> <link rel="stylesheet" href="res/bootstrap.min.css">
@ -178,7 +186,22 @@
padding: 10px; 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> </style>
<script src="res/jquery-3.5.1.min.js"></script> <script src="res/jquery-3.5.1.min.js"></script>
@ -193,6 +216,14 @@
$('.utable').dataTable(); $('.utable').dataTable();
$('.gemtable').dataTable(); $('.gemtable').dataTable();
$('.rtable').dataTable(); $('.rtable').dataTable();
userAgent = window.navigator.userAgent
if(userAgent.includes("Windows") == true) {
$('.itemimage').css("margin-left","40px");
$('nav').remove();
}
}); });
</script> </script>
@ -200,9 +231,30 @@
</head> </head>
<body> <body>
<div class=""> <div class="">
<h1>Zy</h1> <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<p>Auto generated with D2Modder by Hash Casper</p><table border=1 class="gemtable"> <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> <thead>
<tr> <tr>
<th>Name</th> <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> <!doctype html>
<html lang="en"> <html lang="en">
<head> <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 --> <!-- Required meta tags -->
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- Bootstrap CSS --> <!-- Bootstrap CSS -->
<link rel="stylesheet" href="res/bootstrap.min.css"> <link rel="stylesheet" href="res/bootstrap.min.css">
@ -185,6 +193,15 @@
table { table {
width: 100%; width: 100%;
} }
body {
overflow-x: hidden; /* Hide scrollbars */
}
nav { margin-bottom: 60px;}
input[type=search] { width: 320px !important; background: #222; color: white;}
</style> </style>
<script src="res/jquery-3.5.1.min.js"></script> <script src="res/jquery-3.5.1.min.js"></script>
@ -204,6 +221,7 @@
userAgent = window.navigator.userAgent userAgent = window.navigator.userAgent
if(userAgent.includes("Windows") == true) { if(userAgent.includes("Windows") == true) {
$('.itemimage').css("margin-left","40px"); $('.itemimage').css("margin-left","40px");
$('nav').remove();
} }
}); });
@ -213,9 +231,30 @@
</head> </head>
<body> <body>
<div class=""> <div class="">
<h1>ironman-dev</h1> <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<p>Auto generated with D2Modder by Hash Casper</p> <table border=1 class="cubetable"> <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> <thead>
<tr> <tr>
<th>Recipe</th> <th>Recipe</th>

View File

@ -2,10 +2,18 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <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 --> <!-- Required meta tags -->
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- Bootstrap CSS --> <!-- Bootstrap CSS -->
<link rel="stylesheet" href="res/bootstrap.min.css"> <link rel="stylesheet" href="res/bootstrap.min.css">
@ -185,6 +193,15 @@
table { table {
width: 100%; width: 100%;
} }
body {
overflow-x: hidden; /* Hide scrollbars */
}
nav { margin-bottom: 60px;}
input[type=search] { width: 320px !important; background: #222; color: white;}
</style> </style>
<script src="res/jquery-3.5.1.min.js"></script> <script src="res/jquery-3.5.1.min.js"></script>
@ -204,6 +221,7 @@
userAgent = window.navigator.userAgent userAgent = window.navigator.userAgent
if(userAgent.includes("Windows") == true) { if(userAgent.includes("Windows") == true) {
$('.itemimage').css("margin-left","40px"); $('.itemimage').css("margin-left","40px");
$('nav').remove();
} }
}); });
@ -213,9 +231,30 @@
</head> </head>
<body> <body>
<div class=""> <div class="">
<h1>ironman-dev</h1> <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<p>Auto generated with D2Modder by Hash Casper</p><table border=1 class="gemtable"> <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> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>

View File

@ -4,8 +4,7 @@
<!-- Required meta tags --> <!-- Required meta tags -->
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <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!"> <meta property="description" content="An old school Ironman rules style gameplay mod for Diablo 2! New game mechanics!">
<meta property="og:title" content="Diablo 2: Ironman Mod by Hash"> <meta property="og:title" content="Diablo 2: Ironman Mod by Hash">

View File

@ -2,10 +2,18 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <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 --> <!-- Required meta tags -->
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- Bootstrap CSS --> <!-- Bootstrap CSS -->
<link rel="stylesheet" href="res/bootstrap.min.css"> <link rel="stylesheet" href="res/bootstrap.min.css">
@ -185,6 +193,15 @@
table { table {
width: 100%; width: 100%;
} }
body {
overflow-x: hidden; /* Hide scrollbars */
}
nav { margin-bottom: 60px;}
input[type=search] { width: 320px !important; background: #222; color: white;}
</style> </style>
<script src="res/jquery-3.5.1.min.js"></script> <script src="res/jquery-3.5.1.min.js"></script>
@ -204,6 +221,7 @@
userAgent = window.navigator.userAgent userAgent = window.navigator.userAgent
if(userAgent.includes("Windows") == true) { if(userAgent.includes("Windows") == true) {
$('.itemimage').css("margin-left","40px"); $('.itemimage').css("margin-left","40px");
$('nav').remove();
} }
}); });
@ -213,9 +231,30 @@
</head> </head>
<body> <body>
<div class=""> <div class="">
<h1>ironman-dev</h1> <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<p>Auto generated with D2Modder by Hash Casper</p><table class="rtable rw"> <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> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>

View File

@ -2,10 +2,18 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <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 --> <!-- Required meta tags -->
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- Bootstrap CSS --> <!-- Bootstrap CSS -->
<link rel="stylesheet" href="res/bootstrap.min.css"> <link rel="stylesheet" href="res/bootstrap.min.css">
@ -185,6 +193,15 @@
table { table {
width: 100%; width: 100%;
} }
body {
overflow-x: hidden; /* Hide scrollbars */
}
nav { margin-bottom: 60px;}
input[type=search] { width: 320px !important; background: #222; color: white;}
</style> </style>
<script src="res/jquery-3.5.1.min.js"></script> <script src="res/jquery-3.5.1.min.js"></script>
@ -204,6 +221,7 @@
userAgent = window.navigator.userAgent userAgent = window.navigator.userAgent
if(userAgent.includes("Windows") == true) { if(userAgent.includes("Windows") == true) {
$('.itemimage').css("margin-left","40px"); $('.itemimage').css("margin-left","40px");
$('nav').remove();
} }
}); });
@ -213,9 +231,30 @@
</head> </head>
<body> <body>
<div class=""> <div class="">
<h1>ironman-dev</h1> <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<p>Auto generated with D2Modder by Hash Casper</p> <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"> <table border=1 class="utable">
<thead> <thead>
<tr> <tr>

View File

@ -1,13 +1,22 @@
<?php <?php
$htmltop = <<<EOT $htmltop = <<<EOT
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <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 --> <!-- Required meta tags -->
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- Bootstrap CSS --> <!-- Bootstrap CSS -->
<link rel="stylesheet" href="res/bootstrap.min.css"> <link rel="stylesheet" href="res/bootstrap.min.css">
@ -187,6 +196,15 @@ $htmltop = <<<EOT
table { table {
width: 100%; width: 100%;
} }
body {
overflow-x: hidden; /* Hide scrollbars */
}
nav { margin-bottom: 60px;}
input[type=search] { width: 320px !important; background: #222; color: white;}
</style> </style>
<script src="res/jquery-3.5.1.min.js"></script> <script src="res/jquery-3.5.1.min.js"></script>
@ -206,6 +224,7 @@ $htmltop = <<<EOT
userAgent = window.navigator.userAgent userAgent = window.navigator.userAgent
if(userAgent.includes("Windows") == true) { if(userAgent.includes("Windows") == true) {
$('.itemimage').css("margin-left","40px"); $('.itemimage').css("margin-left","40px");
$('nav').remove();
} }
}); });
@ -215,7 +234,28 @@ $htmltop = <<<EOT
</head> </head>
<body> <body>
<div class=""> <div class="">
<h1>{$_SESSION['modname']}</h1> <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<p>Auto generated with D2Modder by Hash Casper</p> <p class="navbar-brand">{$_SESSION['modname']}</p>
EOT; <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;