Pereiti prie turinio

NeriuZ

Nariai
  • Pranešimai

    1.353
  • Užsiregistravo

  • Lankėsi

  • Laimėta dienų

    1
  • Atsiliepimai

    100%

NeriuZ Pranešimai

  1. Kur cia db reiktu ta funkcija ikisti?

     

     

    <?php include("includes/header.php"); ?>
    <?php include("tpl/header.php"); ?>
    
    		<!-- Main -->
    		<img src=media/blank.gif width=20 height=20><br>
    		<table width=100% align=center cellspacing=0 cellpadding=0 border=0>
    			<tr>
    				<td bgcolor=2B3A25>
    					<table width=100% cellspacing=1 cellpadding=0 border=0>
    						<tr>
    							<td bgcolor=384C30>
    
    								<table width=100% cellspacing=0 cellpadding=5 border=0>
    									<tr>
    										<td align=left><b>» Playing history</b></td>
    										<td align=right>Referrer: <font color=yellow><?= $REF ?></font> </td>
    									</tr>
    								</table>
    							</td>
    
    						</tr>
    						<tr>
    							<td bgcolor=47732A>
    								<table width=100% cellspacing=10 cellpadding=0 border=0>
    									<tr>
    										<td align=left>
    <table width=100% cellspacing=1 cellpadding=3 border=0>
    			<tr align=center>
    				<td bgcolor=384C30 width=30%><b><font color=yellow>Date</font></b></td>
    				<td bgcolor=384C30 width=15%><b><font color=yellow>Player</font></b></td>
    
    				<td bgcolor=384C30 width=13%><b><font color=yellow>Bet</font></b></td>
    <td bgcolor=384C30 width=13%><b><font color=yellow>Amount</font></b></td>
    <td bgcolor=384C30 width=13%><b><font color=yellow>Status</font></b></td>
    				<td bgcolor=384C30 width=13%><b><font color=yellow>Payout</font></b></td>
    			</tr>		
    <?											
    $res = mysql_query("select * from headtail where gameid='$_id' order by id desc limit $_history");
    if (mysql_num_rows($res)>0) {
    	$ctr = 0;
    	while ($row = mysql_fetch_array($res)) {
    		$ctr = $ctr + 1;
    ?>			
    <tr align=center>
    				<td bgcolor=578C33 style='color:white;'><?= $row["spenddate"] ?></td>
    				<td bgcolor=578C33 style='color:white;'><?= $row["egold"] ?></td>
    				<td bgcolor=578C33 style='color:white;'><?= ($row["bet"]==0?"windows":"linux") ?></td>
    <td bgcolor=578C33 style='color:white;'><?= $row["amount"] ?></td>
    <td bgcolor=578C33 style='color:white;'><?= ($row["win"]==0?"<font color=red>loose":"<font color=yellow>win") ?></td>
    				<td bgcolor=578C33 style='color:white;'><?= $row["payout"] ?></td>
    <?
    		  }
    }
    ?>
    
    			</tr>				</table>
    										</td>
    									</tr>
    								</table>
    							</td>
    
    						</tr>
    						<tr>
    							<td bgcolor=578C33>
    								<table width=100% cellspacing=0 cellpadding=10 border=0>
    									<td align=left>
    											Please do not using spam methods to earn referral bonus on our site or you will be banned from our referral system. If you have been victim of spam, <a href='mailto:<?= $_email ?>'>report here</a>
    										</td>
    
    									</tr>
    								</table>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    		</table>
    		<!-- Main -->
    
    				<!-- Footer -->
    <?php include("tpl/foot.php"); ?>
    		<!-- Footer -->
    
    			</td>
    		</tr>
    	</table>
    </body>
    </html>
    

×
×
  • Pasirinkite naujai kuriamo turinio tipą...