/* ' *
'
' Product
' Description: Product
' [ 2004/04/23 23:13:17 ]
'
' Labour By Withichiwit.com and Labourcorporate.com
' Copyright Withichiwit.com and Labourcorporate.com
'
' Website: http://www.withichiwit.com
' http://www.labourcorporate.com
' Email: withichiwit@hotmail.com
' Country: Thailand
'
* ' */
Define( "_vStrRootPath" , "../../../" );
Include( _vStrRootPath . "_tarad/_libraries/config_global.php" );
Include( _vStrRootPath . "_tarad/_libraries/constant.php" );
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirGlobal . "/global.php" );
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirGlobal . "/tarad.php" );
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirGlobal . "/_check_language.php" );
// Module Category Get Input ID
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirModules . "/category_get.input.id.php" );
// End
// Define Page Front-end
$vStrSitePageFrontend = "product";
// End
Include_once( _vStrRootPath . _vStrDirPrefix . "/classes/ADODB/conf/config_adodb.php" );
?>
echo "";
## Check Get Include Html
If ( Count( $vArrCat ) <= 2
and $_GET[ "pn" ] == ""
and $_GET[ "create" ] == ""
and File_exists( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirImgLib . "/" . _vStrDirImgFileLib . "/product/index." . $iStrCat . ".html" )
and $_GET[ "ser" ] == ""
and $iStrCat=="") {
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirImgLib . "/" . _vStrDirImgFileLib . "/product/index." . $iStrCat . ".html" );
} Else {
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirPublic . "/_front-end_product_top.php" );
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirPublic . "/_front-end_product_content_start.php" );
If ( $iStrCat == "" ) {
?>
รายการสินค้า
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirImgLib . "/" . _vStrDirImgFileLib . "/product/index.category.php" ); ?>
#product Ads tonyken
If ( $_vStrGenCodeIDType == "" ) {
If ( File_exists( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirImgLib . "/" . _vStrDirImgFileLib . "/menu/product." . $vStrCatIDTop . "_1.html") ) {
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirImgLib . "/" . _vStrDirImgFileLib . "/menu/product." . $vStrCatIDTop . "_1.html" );
}
}
} Else {
?>
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirModules . "/category_navigator.php" ); ?>
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirModules . "/category_show.top.level.php" );
$vStrCatName = $oStrName;
?>
$vStrCategoryType = $vStrSitePageFrontend;
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirModules . "/category_level.php" );
Unset( $vStrCategoryType );
?>
// เพิ่ม cat level by nut 23/5/50
Include( _vStrRootPath . "_tarad/_libraries/constant_tarad.php" );
echo "$show_detail";
// end
?>
$vBlnCategoryDisplay = True;
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirModules . "/product.php" );
Unset( $vBlnCategoryDisplay );
?>
$vBlnCategoryDisplay = True;
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirModules . "/product_t2h.php" );
Unset( $vBlnCategoryDisplay ) ;
?>
//$vBlnCategoryDisplay = True;
// Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirModules . "/product_ebid.php" );
// Unset( $vBlnCategoryDisplay );
?>
$vBlnCategoryDisplay = True;
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirModules . "/product_webboard.php" );
Unset( $vBlnCategoryDisplay );
?>
}
/*If ( $iStrCat != "" ) { // Roj remark 14/11/2549 11:27 โค้ดแสดง ad (remark เพราะฝ่าย sale ไม่ต้องการขาย ad ในตำแหน่งนี้แล้ว)
#shop Ads sponsor shop หน้าสินค้า////tonyken
If ( File_exists( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirImgLib . "/" . _vStrDirImgFileLib . "/menu/shop." . $vStrCatIDTop . "_3.html") ) {
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirImgLib . "/" . _vStrDirImgFileLib . "/menu/shop." . $vStrCatIDTop . "_3.html" );
}
}*/
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirPublic . "/_front-end_product_content_end_nuttest.php" ); //นัท test ปิด เฟรม ด้านขวา
Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirPublic . "/_front-end_product_bottom.php" );
}
?>