Changeset 3247 for temp/trunk/html
- Timestamp:
- 2006/08/30 21:34:56 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/design/template.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/design/template.php
r3246 r3247 26 26 $objView = new SC_AdminView(); 27 27 $objSess = new SC_Session(); 28 $arrTemplate = array();29 28 30 29 // ǧ¾Ú²ÄÈݤÎȽÄê 31 30 $objSess = new SC_Session(); 32 31 sfIsSuccess($objSess); 33 34 35 // ¥Æ¥ó¥×¥ì¡¼¥È¥Ç¡¼¥¿¤ò¼èÆÀ¤¹¤ë36 $objQuery = new SC_Query();37 $sql = "SELECT template_code,template_name,file_path FROM dtb_template ORDER BY create_date DESC";38 $arrTemplate = $objQuery->getall($sql);39 40 32 41 33 // GET¤ÎÃͤò¼õ¤±¼è¤ë … … 98 90 function lfgetTemplate(){ 99 91 global $objPage; 100 global $arrTemplate;101 92 $filepath = "/test/kakinaka/"; 102 93 … … 108 99 // DB¤«¤é¸½ºßÁªÂò¤µ¤ì¤Æ¤¤¤ë¥Ç¡¼¥¿¼èÆÀ 109 100 $arrDefcheck = lfgetTemplaeData(); 101 102 // ¥Æ¥ó¥×¥ì¡¼¥È¥Ç¡¼¥¿¤ò¼èÆÀ¤¹¤ë 103 $objQuery = new SC_Query(); 104 $sql = "SELECT template_code,template_name,file_path FROM dtb_template ORDER BY create_date DESC"; 105 $arrTemplate = $objQuery->getall($sql); 110 106 111 107 switch($objPage->tpl_subno_template) { … … 224 220 **************************************************************************************************************/ 225 221 function lfChangeTemplate(){ 226 global $arrTemplate;227 222 global $objPage; 228 223 $tpl_path = "test/kakinaka/"; … … 262 257 } 263 258 264 sfprintr($ arrTemplate);259 sfprintr($chk_tpl); 265 260 266 261 /*
Note: See TracChangeset
for help on using the changeset viewer.
