testing changes

This commit is contained in:
color.diff=auto
2021-05-07 03:18:29 -06:00
parent 54ecb62674
commit 776e9d31c6
1020 changed files with 2894 additions and 274500 deletions

View File

@@ -91,19 +91,22 @@ if ($cmd == "genDocUniqueItems") {
<link rel="stylesheet" href="res/style.css">
<style>
body{
background: black;
text-align: center;
font-family: ExocetLight;
}
.item_stats{
width: auto;
height: auto;
}
.item_desc {
height: 600px;
width: 620px;
position: relative;
left: 0;
top: 0;
/* background: black url(/img/items/bg.png) center top no-repeat;*/
text-align: center;
padding: 10px;
height: auto;
text-align: center;
padding: 10px;
text-transform: uppercase;
}
.green {
color: #00FF00; /*Set items*/
@@ -117,7 +120,7 @@ if ($cmd == "genDocUniqueItems") {
.yellow {
color: #FFFF00; /*Set items*/
}
.blue {
color: #4169E1;
}
@@ -170,13 +173,10 @@ EOT;
<div class="center item_desc" style="">
<div style="height: 116px;background: url(img/items/bg.png) center top no-repeat;">
<a href="" target="_blank" class="item_debug_link">
<img style="" class="item img-fluid" src="img/items/{$item["invfile"]}.png">
</a>
</div>
<div class="item_stats" style="">
<div class="">
<div style="width:auto; margin: 0 auto; background:#111; display:inline-block;">
<p>
EOT;
$itemBoxBottom = <<<EOT
@@ -193,10 +193,10 @@ EOT;
$htmlFinal .= $itemBoxTop;
//index
$props = "<ul><li class='gold'>{$item['index']}</li>";
$props = "<ul><li class='statindex gold'>{$item['index']}</li>";
//type
$props .= "<li class='gold'>{$item["*type"]}</li>";
$props .= "<li class='stattype gold'>({$item["*type"]})</li>";
//level
$props .= "<li style='color: white;' class=''>Level: {$item["lvl"]}</li>";
@@ -216,10 +216,8 @@ EOT;
$props .= "<li style='color: white;' class=''>{$item["reqdex"]}</li>";
}
//sock
if ($item["gemsockets"] > 6) {
$item["gemsockets"] = 6;
$props .= "<li style='color: white;' class=''>{$item["gemsockets"]}</li>";
}
$props .= "<li style='color: white;' class=''>{$item["gemsockets"]}</li>";
foreach ($item['props'] as $prop) {