connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD); if (!isset($_SESSION[login_true] )) { if (isset($_COOKIE[nrr_name]) && $_COOKIE[nrr_name] != "") { $_SESSION[login_true] = $_COOKIE[nrr_name] ; } } if (!isset($_SESSION['admin_user']) && !isset($_SESSION['admin_pwd'] ) ) { if (isset($_COOKIE['admin_lock']) && $_COOKIE['admin_lock'] != "" ) { $db_admin_array = mysql_fetch_array($db_admin = mysql_query("SELECT * FROM ".TB_ADMIN." WHERE username = '".$_COOKIE['admin_lock']."' ")); $_SESSION['admin_user'] = $db_admin_array[username]; $_SESSION['admin_pwd'] = $db_admin_array[password]; $_SESSION['CKFinder_UserRole'] ='webmaster'; $_SESSION['admin_ckfinder']="ADMIN"; } } $db->closedb (); ?> <?=WEB_TITLE;?>
หน้าแรกสินค้างานบริการผลงานเกี่ยวกับเราติดต่อเรา  
" />
 
?>