:: **Zploit** v1.0 | Current Path: **/home/bbbncs7/amtechint.com/admin/**
:: Editing File: home.php
<?php header("location: main.php"); die; include "param.php"; include "func.php"; include "chk_login.php"; ?> <html> <head> <title><?=$web_title?></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="style.css" rel="stylesheet" type="text/css"> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="21" align="center" valign="top"><?php include("top_cp.php"); ?></td> </tr> <tr> <td align="center" valign="top"><table width="990" height="100%" border="0" cellpadding="0" cellspacing="0" class="base"> <tr> <td height="2" colspan="2"><img src="imgs/cp/spacer.gif" width="8" height="8"></td> </tr> <tr> <td width="190" valign="top"><?php include("left_cp.php"); ?></td> <td width="800" valign="top"><table width="800" border="0" cellpadding="0" cellspacing="0" class="base"> <tr> <td width="395" valign="top"> <table width="395" border="0" cellpadding="4" cellspacing="0" class="base"> <tr> <td height="29" colspan="4" background="imgs/cp/menu_cat_bg.jpg"><strong>Recently Submitted Orders</strong></td> </tr> <tr> <td width="95" height="29" background="imgs/cp/menu_bg.jpg"><strong>Order ID</strong></td> <td width="78" background="imgs/cp/menu_bg.jpg"><strong>Dated</strong></td> <td width="70" background="imgs/cp/menu_bg.jpg"><strong>Quantity</strong></td> <td width="120" background="imgs/cp/menu_bg.jpg"><strong>Amount</strong></td> </tr> <?php $QRY = qry_run("select * from tbl_orders order by mainid DESC limit 10"); if (num_rec($QRY) > 0) { $p = 1; while($rs = fetch_rec($QRY)) { ?> <tr> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <a href="order_detail.php?mid=<?=$rs['mainid']?>" class="base_link_red"><?=$rs['ord_id']?></a> </td> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <?=$rs['o_date']?> </td> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <?=$rs['tlt_qty']?> </td> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <?=number_format($rs['tlt_amt'],2)?> </td> </tr> <?php } ?> <tr> <td height="29" colspan="4" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"><a href="orders.php" class="base_link">View All Orders</a></td> </tr> <?php } ?> </table></td> <td width="405" align="right" valign="top"><table width="400" border="0" cellpadding="4" cellspacing="0" class="base"> <tr> <td height="29" colspan="2" background="imgs/cp/menu_cat_bg.jpg"><strong>Recently Submitted Product Reviews</strong></td> </tr> <tr> <td width="308" height="29" background="imgs/cp/menu_bg.jpg"><strong>Subject</strong></td> <td width="76" background="imgs/cp/menu_bg.jpg"><strong>Dated</strong></td> </tr> <?php $qryv = qry_run("Select * from tbl_review where pshow = 'No' order by pdate limit 10"); if (num_rec($qryv) > 0) { $C = 1; while ($rsv = fetch_rec($qryv)) { ?> <tr> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <?=$rsv['r_head']?> </td> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <?php echo date("F d, Y",strtotime($rsv['pdate']));?> </td> </tr> <?php } } ?> <tr> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"><a href="reviews.php" class="base_link">View All Reviews</a></td> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> </td> </tr> </table></td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2"> </td> </tr> </table></td> </tr> <tr> <td height="2" colspan="2"><img src="imgs/cp/spacer.gif" width="8" height="8"></td> </tr> </table></td> </tr> <tr> <td height="29" align="center" background="imgs/cp/btm_bg22.jpg"><?php include("btm_cp.php"); ?></td> </tr> </table> </body> </html>