Beispiel #1
0
<tr>
<td>
<center><font size=5>THE DONATION TREE</font><br><a href="#" class="hintanchor" onMouseover="showhint('Just click the item you want to grab.', this, event, '200px')">[Don't know what to do?]</a></center>
</td>
</tr>

<tr>
<td bgcolor="#000000">
<table width="100%">
<TR><br>
<?php 
    $itemtrcount = 1;
    $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'];
Beispiel #2
0
<p align="center">
<b><font size="4"><?php 
    $stat['username'];
    ?>
's Quest Vault</font></b></td>
</tr>
<td>
<table width=500>
<form method="post" action="qvault.php">
<tr>
<?php 
    $itemtrcount = 1;
    $itemtrcount1 = 4;
    $vault = mysql_query("select * from iteminv where owner='{$stat['id']}' and slot='Q'");
    while ($vault1 = mysql_fetch_array($vault)) {
        $itemlay->getitemdata($vault1['itemid'], 0);
        $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 
Beispiel #3
0
</center>
<p><?php 
        $pdesc['desc'];
        ?>
</p>
<hr noshade size=1 width=500>
<TR>
<br>
<?php 
        $itemlay = new item();
        $itemtrcount = 1;
        $itemtrcount1 = 5;
        $shop = mysql_query("select * from pshopitems where owner={$shop} order by rand()");
        while ($shop1 = mysql_fetch_assoc($shop)) {
            if ($shop1['amount'] > 0) {
                $itemlay->getitemdata($shop1['itemid'], 1);
                $itemlay->postitemdata();
                ?>
	 
	 <TD align="center" valign="center" width=20%>
	 <a href="itembuy.php?pitemid=<?php 
                $shop1['itemid'];
                ?>
"><img src="images/items/<?php 
                $shop1['pic'];
                ?>
" <?php 
                $itemlay->basiclayout(1);
                ?>
 border="1"></a><br><b><?php 
                $shop1['name'];
Beispiel #4
0
				</td>
			  </tr>
			  
			  <tr>
			    <td width="100%" align="center">
			      <table border="0" cellspacing="0" cellpadding="0">
			    	<tr>
			    	  <td>
							    	    <table align="center" 
			    	      <tr style="height:50px;text-align:center;">
			    	      	<td></td>
			    	        <td align="center" valign="bottom"><div style="width:62px;height:50px;border:2px inset">
<?php 
$head = mysql_query("select * from " . PLAYERS_ITEMS_TABLE . " where owner={$id['id']} and slot='h' and status='e'");
$itemh = mysql_fetch_assoc($head);
$itemlay->getitemdata($itemh['itemid'], 0);
$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 
Beispiel #5
0
	
		    		<td width="100%" align="center" bgcolor="#000000">
<form method="post" onsubmit="javascript: return confirm('Are you sure you would like to perform this action');">	
						       	
						
								
			    		  <table cellspacing="0" cellpadding="0" bgcolor="#000000" width=400>
					    
			    		    <tr>
			    		    
<?php 
$itemtrcount = 1;
$itemtrcount1 = 5;
$unequip = mysql_query("select * from " . PLAYERS_ITEMS_TABLE . " where owner={$stat['id']} and  status='U' and slot not like 'Q' ORDER BY itemid");
while ($unequipped = mysql_fetch_assoc($unequip)) {
    $itemlay->getitemdata($unequipped['itemid'], 0);
    $itemlay->postitemdata();
    if ($unequipped['slot'] == 3) {
        $itemurl = "profile.php?open={$unequipped['itemid']}";
    } else {
        $itemurl = "itemlookup.php?id={$unequipped['itemid']}&owner={$stat['id']}";
    }
    ?>
		    		 
			    			<td align="left" valign="top">
						<table border="0">
						<tr>
			    			<td align="left" valign="center" height="96" width="62">
<a href=<?php 
    $itemurl;
    ?>