? 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/public_html/
File Upload :
Current File : /home/admin/public_html/gallery-detail.php

<?
ini_set('session.bug_compat_warn', 0);
ob_start();
session_start();
require_once('config.php');
require_once('libs/global.php');
require_once('libs/MySql.php');
require_once('libs/function.php');
require_once('modules/users/mod_user.php');
require_once('libs/backoff_ajax.php');
require_once('libs/backoff.php');
require_once('libs/menuTree.php');
require_once('libs/xajax/xajax.inc.php');
require_once('libs/xajax/xajaxExtend.php');
$db=new MySql;
$_SESSION["user_login"];
$user=new user();
if($user_login['Login']!=""){
		//require_once("admin.php");
}else{
		require_once("modules/users/com_login.php");

		if(!isset($mod)){
		$mod=$_GET['mod'];
		}else if($mod==""){
		$mod=$_POST['mod'];
		}
}
?>
<?
$topic_id=$_GET['id'];
$data=$db->getDataOneRow('gallery',$topic_id,'id_g');
$_GET['id'] = $data['id_g'];
$_GET['title'] = $data['	MetaTitle_gallery	'];
$_GET['description'] = $data['MetaDescription_gallery'];
$_GET['keyword'] = $data['MetaKeyword_gallery'];
 $data2=$db->getRow('gallery_phote',"WHERE id_g  ='{$_GET['id']}' ORDER BY id_p ASC ");
$_GET['picture'] = $data2['picture'];
if($_GET['title']=="")
{
	$_GET['title']="ภาพกิจกรรมทัวร์เกาหลี ".$data['name_gallery'];
}
if($_GET['description']=="")
{
	$_GET['description']="ออกทัวร์เกาหลี เที่ยวกับ Happy Korea บินสบาย ห้องพักได้มาตรฐาน คัดสรรร้านอาหารคุณภาพ  รับประกันความพึงพอใจ การันตีรางวัลบริษัททัวร์ยอดเยี่ยมจากโซลซิตี้ี้";
}
if($_GET['keyword']=="")
{
	$_GET['keyword']="ทัวร์เกาหลี,เที่ยวเกาหลี,แพคเกจทัวร์เกาหลี,ทัวร์ดูงานสัมนาเกาหลี,ทัวร์คุณภาพเกาหลี";
}
if($_GET['picture']=="")
{
	$_GET['picture']="http://www.happytokorea.com/img/logo.jpg";
}
else
{
	$_GET['picture']="http://www.happytokorea.com/backend/images/gallery/".$_GET['picture'];
}
?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><? echo $_GET['title'];?></title>
<meta name="description" content="<? echo $_GET['description'];?>"  />
<meta name="keywords" content="<? echo $_GET['keyword'];?>" />
<meta name="author" content="happytokorea.com">
<meta name="robots" content="index,follow" />
<meta property="fb:app_id" content="1776597142590251"/>
<link rel="image_src" href="<? echo $_GET['picture'];?>" />
<!-- FB Meta Tag -->
<meta property="og:type" content="website" />
<meta property="og:title" content="<? echo $_GET['title'];?>" />
<meta property="og:description" content="<? echo $_GET['description'];?>" />
<meta property="og:image" content="<? echo $_GET['picture'];?>" />
<? require_once('ui.php');?>
</head>

<body>

<!-- header -->
<? require_once('header.php');?>
<!-- จบ header -->

<!-- content -->
<div class="container">
  <div class="row">
    <div class="col-md-12 col-main">
      <div class="content-box">
        <div class="title">
          <div class="text2">
					<?
					if($data['show_incentive']==0)
					echo "ภาพประทับใจ : ";
					else
					echo "Exclusive Tour : ";
					?>
					<?=$data['name_gallery'];?></div>
        </div>
      </div>
      <div class="detail">
        <div class="box">
          <div class="ts7">
            <div class="text">
						<p align="center">
						<?=$data['detail_gallery'];?></p></div>
<?

				$rs=$db->Query("SELECT * FROM gallery_phote WHERE id_g = '".$_GET['id']."' ORDER BY id_p ASC");
			while($arr=mysql_fetch_array($rs)){
?>
            <div class="box4">
              <div class="pic"><a rel="lightbox[1]" href="backend/images/gallery/<?=$arr['picture'];?>"><img src="backend/images/gallery/<?=$arr['picture'];?>" class="img-responsive" alt="<?=$data['name_gallery'];?>"></a></div>
            </div>
 <?
			}
 ?>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<!-- จบ content -->

<!-- footer -->
<? require_once('footer.php');?>
<!-- จบ footer -->

<!-- เมนู social -->
<? require_once('menu-social.php');?>
<!-- จบ เมนู social -->

<!-- ลูกศรเลือนขึ้น -->
<? require_once('go-to-top.php');?>
<!-- จบ ลูกศรเลือนขึ้น -->

<? require_once('script.php');?>
</body>
</html>

T1KUS90T
  root-grov@210.1.60.28:~$