session_start();
include "../inc/config.inc.php";
include "../function/datethai.php";
include "../function/function.php";
if(!isset($_SESSION[com_login])) {
echo "" ;
exit() ;
}
$title="select * from web_detail where id=1";
$titlere=mysql_query($title) or die("ERROR $title บรททัด4");
$titler=mysql_fetch_row($titlere);
$link="select * from link where id=1";
$linkre=mysql_query($link) or die("ERROR $link บรททัด7");
$linkr=mysql_fetch_row($linkre);
$banner="select * from site_logo where id=1";
$bannerre=mysql_query($banner) or die("ERROR $banner บรททัด10");
$bannerr=mysql_fetch_row($bannerre);
$bg="select * from bg where id=1";
$bgre=mysql_query($bg) or die("ERROR $bg บรททัด13");
$bgr=mysql_fetch_row($bgre);
$footer="select * from footer_logo where id=1";
$refooter=mysql_query($footer) or die("ERROR $footer บรททัด10");
$rfooter=mysql_fetch_row($refooter);
$fb="select * from fanpage where id=1";
$fbre=mysql_query($fb) or die("ERROR $fb บรททัด16");
$fbr=mysql_fetch_row($fbre);
$st="select * from stats where id=1";
$stre=mysql_query($st) or die("ERROR $st บรททัด19");
$str=mysql_fetch_row($stre);
$scn="SELECT * FROM `social_network` WHERE id=1";
$rescn=mysql_query($scn) or die("ERROR $scn");
$rscn=mysql_fetch_row($rescn);
?>
ระบบจัดการข้อมูลสมาชิกผู้ประกอบการ |
include "../header.php"; ?>
include "../menu.php"; ?>
$scb="SELECT * FROM `com_benefits` WHERE `package_id`='$_SESSION[com_level]'";
$recb=mysql_query($scb) or die("ERROR $scb บรรทัด 210");
$rcb=mysql_fetch_row($recb);
?>
$s2="select * from com_logo where com_id='$_SESSION[com_id]'";
$re2=mysql_query($s2) or die("ERROR $s2");
$r2=mysql_fetch_row($re2);
$n2=mysql_num_rows($re2);
if($n2==0){
?>