$itemtrcount1 = 5; $item = mysql_query("select * from donation order by rand() limit 20"); while ($item1 = mysql_fetch_assoc($item)) { $itemlay->getitemdata($item1['itemid'], 3); $itemlay->postitemdata(); ?> <TD align="center" valign="center" width=20%> <a href="donationgrab.php?itemid=<?php $item1['itemid']; ?> "><img src="images/items/<?php $item1['pic']; ?> " <?php $itemlay->basiclayout(3); ?> border="1"></a><br><b><?php $item1['name']; ?> </b></TD> <?php if ($itemtrcount == $itemtrcount1) { $itemtrcount1 += 5; ?> </tr><tr><?php } else { } $itemtrcount += 1; }
$itemlay->postitemdata(); if ($vault1['slot'] == 3) { $itemurl = "profile.php?open={$vault1['itemid']}"; } else { $itemurl = "itemlookup.php?id={$vault1['itemid']}&owner={$stat['id']}"; } ?> <td> <a href=<?php $itemurl; ?> ><img border="1" src="images/items/<?php $vault1['pic']; ?> " <?php $itemlay->basiclayout(0); ?> ></a><br> <input type="checkbox" name="dropitem[]" value="<?php $vault1['itemid']; ?> ">Drop Item </td> <?php if ($itemtrcount == $itemtrcount1) { $itemtrcount1 += 4; ?> </tr><tr><?php } else { }
$itemlay->postitemdata(); if (!$itemh) { } else { if ($logged_in and $id['id'] == $stat['id']) { ?> <a href="?removeitem=<?php $itemh['itemid']; ?> "><?php } ?> <img style="border:0px;" src="images/items/<?php $itemh['pic']; ?> " <?php $itemlay->basiclayout(0); ?> ><?php if ($logged_in and $id['id'] == $stat['id']) { ?> </a><?php } } ?> <div></td> <td align="left" valign="bottom"><div style="width:45px;height:45px;border:2px inset;vertical-align:bottom;"> <?php $neck = mysql_query("select * from " . PLAYERS_ITEMS_TABLE . " where owner={$id['id']} and slot='n' and status='e'");
<TR><br> <?php $itemtrcount = 1; $itemtrcount1 = 5; $item = mysql_query("select * from pshopitems where owner={$fetchnow['shopid']}"); while ($item1 = mysql_fetch_assoc($item)) { $itemlay->getitemdata($item1['itemid'], 1); $itemlay->postitemdata(); ?> <TD align="center" valign="center" width=20%> <img src="images/items/<?php $item1['pic']; ?> " <?php $itemlay->basiclayout(1); ?> border="1"></a><br>Cost: <?php $item1['amount']; ?> points<br> <input type="checkbox" name="with[]" value="<?php $item1['itemid']; ?> "> Withdraw<br></TD> <?php if ($itemtrcount == $itemtrcount1) { $itemtrcount1 += 5; ?> </tr><tr><?php } else {
$itemlay->getitemdata($shop1['itemid'], 2); $itemlay->postitemdata(); ?> <TD align="center" valign="center" width="20%"> <a href="itembuy.php?itemid=<?php $shop1['itemid']; ?> &owner=<?php $own; ?> "><img src="images/items/<?php $shop1['pic']; ?> " <?php $itemlay->basiclayout(2); ?> border="1"></a> <br><b><?php $shop1['name']; ?> </b> <br>Cost: <?php echo commas($shop1['cost']); ?> gold <br>In stock: <?php echo commas($shop1['stock']); ?> </TD>