Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

more improvements based on feedback

  • Loading branch information...
commit fc8408e206a857ee4fe4053f14b8a6d57db5e4f0 1 parent b58df1d
@DreadKnight DreadKnight authored
View
0  items/icons/Spiked club.png → items/icons/Studded club.png
File renamed without changes
View
8 items/index.php
@@ -1,8 +1,6 @@
<?php $page_title = "Ancient Beast - Items";
$style = "
-.smaller {
- width: 115px;
- height: 115px;
+.fix {
margin-bottom: -15px;
}
.item {
@@ -25,10 +23,10 @@
while ($row = mysql_fetch_assoc($result)) {
$i++;
echo "<td class=\"item\"><span style=\"cursor: pointer;\" class=\"lighten\"><a href=\"#{$row['id']}\">
- <img class=\"smaller\" src=\"{$WorkingDir}items/icons/{$row['name']}.png\" style=\"display: block;\"><br>
+ <img class=\"fix\" src=\"{$WorkingDir}items/icons/{$row['name']}.png\" style=\"display: block;\"><br>
{$row['name']}</a></span></td>";
//make new table rows
- if (($i % 7) == 0) echo "</tr><tr>";
+ if (($i % 6) == 0) echo "</tr><tr>";
}
echo "</tr></table></a>{$end_div}";
Please sign in to comment.
Something went wrong with that request. Please try again.