Changeset 3232 for temp/trunk/html
- Timestamp:
- 2006/08/30 21:25:51 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/design/template.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/design/template.php
r3227 r3232 58 58 59 59 // ¥Æ¥ó¥×¥ì¡¼¥È¤Î¾å½ñ¤ 60 //lfChangeTemplate();60 lfChangeTemplate(); 61 61 62 62 sfprintr($_POST); … … 144 144 $arrTemplateImage['check'] = 1; 145 145 } 146 sfprintr($arrTemplateImage);147 146 148 147 return $arrTemplateImage; … … 160 159 $arrRet = array(); // ¥Ç¡¼¥¿¼èÆÀÍÑ 161 160 162 $sql = "SELECT top_tpl AS top, product_tpl AS product, detail_tpl AS detail FROM dtb_baseinfo";161 $sql = "SELECT top_tpl AS top, product_tpl AS product, detail_tpl AS detail mypage_tpl AS mypage FROM dtb_baseinfo"; 163 162 $arrRet = $objDBConn->getAll($sql); 164 163 … … 179 178 180 179 // ¥Ç¡¼¥¿¼èÆÀ 181 $sql = "SELECT top_tpl AS top, product_tpl AS product, detail_tpl AS detail FROM dtb_baseinfo";180 $sql = "SELECT top_tpl AS top, product_tpl AS product, detail_tpl AS detail mypage_tpl AS mypage FROM dtb_baseinfo"; 182 181 $arrRet = $objDBConn->getAll($sql); 183 182 … … 223 222 global $arrTemplate; 224 223 global $objPage; 224 $tpl_path = ""; 225 225 226 226 $tpl_name = ""; … … 253 253 $tpl_name = "mypage.tpl"; 254 254 break; 255 256 default: 257 break; 255 258 } 256 259 … … 258 261 if ($objPage->tpl_subno_template == $objPage->arrSubnavi[1]){ 259 262 // ¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤ò¥³¥Ô¡¼ 260 copy($arrTemplate[$chk_tpl]["TopTemplate"], ROOT_DIR . INCLUDE_DIR. "top.tpl");261 copy($arrTemplate[$chk_tpl]["ProdTemplate"], ROOT_DIR . INCLUDE_DIR. "product.tpl");262 copy($arrTemplate[$chk_tpl]["DetailTemplate"], ROOT_DIR . INCLUDE_DIR. "detail.tpl");263 copy($arrTemplate[$chk_tpl]["MypageTemplate"], ROOT_DIR . INCLUDE_DIR. "mypage.tpl");263 copy($arrTemplate[$chk_tpl]["TopTemplate"], ROOT_DIR . $tpl_path . "top.tpl"); 264 copy($arrTemplate[$chk_tpl]["ProdTemplate"], ROOT_DIR . $tpl_path . "product.tpl"); 265 copy($arrTemplate[$chk_tpl]["DetailTemplate"], ROOT_DIR . $tpl_path . "detail.tpl"); 266 copy($arrTemplate[$chk_tpl]["MypageTemplate"], ROOT_DIR . $tpl_path . "mypage.tpl"); 264 267 }else{ 265 268 // ¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤ò¥³¥Ô¡¼
Note: See TracChangeset
for help on using the changeset viewer.
