| Server IP : 172.67.216.113 / Your IP : 172.71.28.145 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/cp648411/www/simded.com/prophecy/control/include/ |
Upload File : |
<?php
$partclass = '../../';
include("../control/classmain.php");
include("shop_config.php");
$date = date("Y-m-d H:i:s");
$today = date('d/m/Y');
$folder = 'file_manage/';
$upload = '../../redbag/';
$urlimg_main = '../../';
$urlimg_footer = '../../';
$id_shop = $shop_id;
$urlmain = '../';
$sql_sh = array('table'=>'professor','where'=>"id = '".$id_shop."'");
$view_sh = $view_db->view($sql_sh);
$row_sh = $view_db->q($view_sh);
if(!$row_sh['activate'] == 1)
{
?>
<meta http-equiv="refresh" content="0;URL=../../index.php" />
<?php
exit;
}
function imgprofile_shop($img,$size)
{
if($img == '')
{
$text = '<img src="../control/images/b1.jpg" width="'.$size.'" height="'.$size.'" class="ImgProfile">';
}
else
{
$text = '<img src="../../redbag/file_manage/'. $img.'" width="'.$size.'" height="'.$size.'" style="border-radius:30px;" />';
}
return $text;
}
?>