Changeset 3247 for temp/trunk/html


Ignore:
Timestamp:
2006/08/30 21:34:56 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/design/template.php

    r3246 r3247  
    2626$objView = new SC_AdminView(); 
    2727$objSess = new SC_Session(); 
    28 $arrTemplate = array(); 
    2928 
    3029// ǧ¾Ú²ÄÈݤÎȽÄê 
    3130$objSess = new SC_Session(); 
    3231sfIsSuccess($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  
    4032 
    4133// GET¤ÎÃͤò¼õ¤±¼è¤ë 
     
    9890function lfgetTemplate(){ 
    9991    global $objPage; 
    100     global $arrTemplate; 
    10192    $filepath = "/test/kakinaka/"; 
    10293     
     
    10899    // DB¤«¤é¸½ºßÁªÂò¤µ¤ì¤Æ¤¤¤ë¥Ç¡¼¥¿¼èÆÀ 
    109100    $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); 
    110106     
    111107    switch($objPage->tpl_subno_template) { 
     
    224220 **************************************************************************************************************/ 
    225221function lfChangeTemplate(){ 
    226     global $arrTemplate; 
    227222    global $objPage; 
    228223    $tpl_path = "test/kakinaka/"; 
     
    262257    } 
    263258     
    264     sfprintr($arrTemplate); 
     259    sfprintr($chk_tpl); 
    265260     
    266261/*   
Note: See TracChangeset for help on using the changeset viewer.