공지사항 목록
Total 0건
1 페이지
if(!preg_match("/index.php/i",$PHP_SELF)){ ?> }else { ?> }?>
include_once("./_common.php"); $arrGnbmenu = array("COMPANY","BUSINESS","CUSTOMER"); $arrGnblink = array("/sub0101.php","/sub0201.php","/bbs/board.php?bo_table=b0301"); $arrLink[0] = array("/sub0101.php","/sub0102.php","/sub0103.php"); $arrLink[1] = array("/sub0201.php","/sub0202.php"); $arrLink[2] = array("/bbs/board.php?bo_table=b0301","/bbs/board.php?bo_table=b0401","/bbs/board.php?bo_table=b0402",); $arrName[0] = array("인사말","연혁","오시는 길"); $arrName[1] = array("사업소개","서비스안내 "); $arrName[2] = array("공지사항","견적문의","자료실",); if(preg_match("/sub0101.php/i",$PHP_SELF) || preg_match("/sub0102.php/i",$PHP_SELF) || preg_match("/sub0103.php/i",$PHP_SELF) || preg_match("/sub0104.php/i",$PHP_SELF) || preg_match("/sub0105.php/i",$PHP_SELF)){ $pageNum = 1; if(preg_match("/sub0101.php/i",$PHP_SELF)) $subNum = 1; else if(preg_match("/sub0102.php/i",$PHP_SELF)) $subNum = 2; else if(preg_match("/sub0103.php/i",$PHP_SELF)) $subNum = 3; else if(preg_match("/sub0104.php/i",$PHP_SELF)) $subNum = 4; else if(preg_match("/sub0105.php/i",$PHP_SELF)) $subNum = 5; }else if(preg_match("/sub0201.php/i",$PHP_SELF) || preg_match("/sub0202.php/i",$PHP_SELF)){ $pageNum = 2; if(preg_match("/sub0201.php/i",$PHP_SELF)) $subNum = 1; else if(preg_match("/sub0202.php/i",$PHP_SELF)) $subNum = 2; }else if($bo_table=="b0301" | $bo_table=="b0401" | $bo_table=="b0402"){ $pageNum = 3; if($bo_table=="b0301") $subNum = 1; $pageNum = 3; if($bo_table=="b0401") $subNum = 2; $pageNum = 3; if($bo_table=="b0402") $subNum = 3; }else if($bo_table=="order"){ $pageNum = 5; if($bo_table=="order") $subNum = 1; }else if(preg_match("/login.php/i",$PHP_SELF) || preg_match("/register/i",$PHP_SELF)){ $pageNum = 6; if(preg_match("/login.php/i",$PHP_SELF)) $subNum = 1; else if(preg_match("/register/i",$PHP_SELF)) $subNum = 2; } $pageNumber = str_pad($pageNum,2,'0',STR_PAD_LEFT); ?> if (!defined('_GNUBOARD_')) exit; // 식별형표(TAB) 시작 function latest_tab($tab_dir,$titles,$skin_dirs,$bo_tables,$first_table,$rows, $subject_lens){ global $g5; $title=explode("|",$titles); $skin_dir=explode("|",$skin_dirs); $bo_table=explode("|",$bo_tables); $row=explode("|",$rows); $subject_len=explode("|",$subject_lens); if (!$tab_dir) $tab_dir = 'basic'; if(G5_IS_MOBILE) { $tab_skin_path = G5_MOBILE_PATH.'/'.G5_SKIN_DIR.'/tab/'.$tab_dir; $tab_skin_url = G5_MOBILE_URL.'/'.G5_SKIN_DIR.'/tab/'.$tab_dir; } else { $tab_skin_path = G5_SKIN_PATH.'/tab/'.$tab_dir; $tab_skin_url = G5_SKIN_URL.'/tab/'.$tab_dir; } //$tab_skin_path = G5_PATH."/skin/tab/".$tab_skin; include "$tab_skin_path/tab.skin.php"; //echo "