? 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/article.php

<? include("header.php");?>
 <div id="top-panel">
            <div id="panel">
                <ul>               
               <li><a href="article.php" class="report">Article</a></li>
               <li><a href="add_ar.php" class="report_seo">Create Article</a></li>
                </ul>
            </div>
      </div> 
<div id="content">

  
  <div id="box" >
                	<h3>Article</h3>
                	<table width="99%">
						<thead>
							<tr>
                            	<th><a href="#">Article</a></th>       
                                <th width="60px"><a href="#">Action</a></th>
                            </tr>
						</thead>
						<tbody>
<?
if(isset($_GET[del])){
$db->query("delete from article where ar_id = $_GET[del]");
echo "<script>window.location.href='article.php';</script>";
}
?>
<? $sql = "select * from article   order by ar_id ";
   $res = $db->query($sql);
   while($line = mysql_fetch_array($res)){ 
?>               <tr>
    						<td>
                            &nbsp;&nbsp;&nbsp;<a href="article_link.php?ar_id=<? echo $line[ar_id];?>"><? echo $line[ar_title];?></a>
                            </td>
							   <td align="center">
<a href="article_link.php?ar_id=<? echo $line[ar_id];?>"><img src="img/icons/page_white_link.png" title="Show profile" width="16" height="16" /></a>
<a href="edit_ar.php?ar_id=<? echo $line[ar_id];?>"><img src="img/icons/page_white_edit.png"  width="16" height="16" /></a>
<a href="?del=<?=$line[ar_id]?>" 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:~$