session_start(); Define( "_vStrRootPath" , "../../../" ); Include( _vStrRootPath . "_tarad/_libraries/_config_front-end_1.php" ); Include( _vStrRootPath . "_language/" . $vStrLangDir . "/" . _vStrDirPrefix . "/member_shop/cgi-bin/" . $vStrUrl ); $connection = mysql_connect(_MySQLServer , _MySQLUser , _MySQLPass) or die("Can't connect database"); $db = mysql_select_db(_MySQLDb) or die("Can't connect to Database."); Include( "config.php" ); if(($_GET["ser"]!="")&&($_GET["stype"]!="")&&($_GET["gencode"]!="")){ //start do search if($_GET["stype"]=="product"){ include("inc_product.php"); $show_result=$vStrCodeProduct; unset($vStrCodeProduct); } elseif($_GET["stype"]=="shop"){ include("inc_shop.php"); $show_result=$vStrCodeShop; unset($vStrCodeShop); } } // end do search ?> Include( _vStrDirPublic . "/front-end_top.php" ); ?> Include( _vStrDirPublic . "/front-end_content_start.php" ); ?>
รายการค้นหา
Include( _vStrDirPublic . "/front-end_content_search.php" ); ?>Echo $show_result; ?> |