session_start(); $theme=$_GET[theme]; if( !isset($s_User) && !isset($s_Password) || $s_Ustatus==0){ header("location:index.php"); exit(); } $Category="SCS"; require("config.inc.php"); $Scate=$_GET["Category"]; //echo $Scate; // ตรวจสอบว่ามี username หรือไม่ mysql_connect($host,$user,$passwd); mysql_select_db($dbname); $sql = "select * from $smf_data group by Category "; $result = mysql_query($sql); $NRow = mysql_num_rows($result); $sql2 = "select * from $smf_data where No='$No' "; $result2= mysql_query($sql2); $NRow2= mysql_num_rows($result2); $row2=mysql_fetch_array($result2); $att_path=$row2[imgpath]; include("header.php"); ?>
กระดานสนทนา
ShortChargeShock.com
|