Changeset 3250 for temp/trunk/html
- Timestamp:
- 2006/08/30 21:37:40 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/design/template.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/design/template.php
r3247 r3250 26 26 $objView = new SC_AdminView(); 27 27 $objSess = new SC_Session(); 28 $arrTemplate = array(); 28 29 29 30 // ǧ¾Ú²ÄÈݤÎȽÄê 30 31 $objSess = new SC_Session(); 31 32 sfIsSuccess($objSess); 33 34 // ¥Æ¥ó¥×¥ì¡¼¥È¥Ç¡¼¥¿¤ò¼èÆÀ¤¹¤ë 35 $objQuery = new SC_Query(); 36 $sql = "SELECT template_code,template_name,file_path FROM dtb_template ORDER BY create_date DESC"; 37 $arrTemplate = $objQuery->getall($sql); 32 38 33 39 // GET¤ÎÃͤò¼õ¤±¼è¤ë … … 90 96 function lfgetTemplate(){ 91 97 global $objPage; 98 global $arrTemplate 92 99 $filepath = "/test/kakinaka/"; 93 100 … … 98 105 99 106 // DB¤«¤é¸½ºßÁªÂò¤µ¤ì¤Æ¤¤¤ë¥Ç¡¼¥¿¼èÆÀ 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); 107 $arrDefcheck = lfgetTemplaeBaseData(); 106 108 107 109 switch($objPage->tpl_subno_template) { … … 149 151 150 152 /************************************************************************************************************** 151 * ´Ø¿ô̾ ¡§lfgetTemplae Data153 * ´Ø¿ô̾ ¡§lfgetTemplaeBaseData 152 154 * ½èÍýÆâÍÆ ¡§DB¤ËÊݸ¤µ¤ì¤Æ¤¤¤ë¥Æ¥ó¥×¥ì¡¼¥È¥Ç¡¼¥¿¤ò¼èÆÀ¤¹¤ë 153 155 * °ú¿ô ¡§¤Ê¤· 154 156 * Ìá¤êÃÍ ¡§DB¤ËÊݸ¤µ¤ì¤Æ¤¤¤ë¥Æ¥ó¥×¥ì¡¼¥È¥Ç¡¼¥¿(ÇÛÎó) 155 157 **************************************************************************************************************/ 156 function lfgetTemplae Data(){158 function lfgetTemplaeBaseData(){ 157 159 $objDBConn = new SC_DbConn; // DBÁàºî¥ª¥Ö¥¸¥§¥¯¥È 158 160 $sql = ""; // ¥Ç¡¼¥¿¼èÆÀSQLÀ¸À®ÍÑ … … 221 223 function lfChangeTemplate(){ 222 224 global $objPage; 225 global $arrTemplate; 223 226 $tpl_path = "test/kakinaka/"; 224 227 … … 257 260 } 258 261 259 sfprintr($ chk_tpl);262 sfprintr($arrTemplate); 260 263 261 264 /*
Note: See TracChangeset
for help on using the changeset viewer.
