Changeset 13922


Ignore:
Timestamp:
2007/05/31 17:35:30 (17 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/admin/order/mail.php

    r13919 r13922  
    4848$conn = new SC_DbConn(); 
    4949$sql = "SELECT * FROM dtb_mailtemplate WHERE del_flg=0"; 
    50 $Temp = $conn->getAll($sql); 
    5150 
     51$Temp = $conn->getAll($sql);//$Temp¤Ë¼èÆÀ¤·¤¿¥Ç¡¼¥¿¤ò°ì»þŪ¤Ë³ÊǼ 
     52 
     53//¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤Ë½ÐÎϤ¹¤ë¤¿¤á¤ËÆ󼡸µÇÛÎó¤ËÂåÆþ¤¹¤ë 
    5254for($i = 0;$i < count($Temp);$i++){ 
    5355    $arrTemplate[0][$i] = $Temp[$i]['template_id']; 
     
    5557} 
    5658 
     59//¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤Ø¥Ç¡¼¥¿¤òÂåÆþ 
    5760$objPage->arrMAILTEMPLATE = $arrTemplate; 
    5861 
     
    106109     
    107110    $objFormParam->setValue('template_id', $_POST['template_id']); 
     111     
     112    //¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤ÇÁªÂò¤µ¤ì¤¿¥Æ¥ó¥×¥ì¡¼¥È̾¤ò¥Æ¥ó¥×¥ì¡¼¥ÈID¤È´ØÏ¢ÉÕ¤±¤ë 
    108113    $_POST['template_id'] = $arrTemplate[0][$_POST['template_id']]; 
    109114    if(sfIsInt($_POST['template_id'])) { 
     
    111116        $where = "template_id = ?"; 
    112117        $arrRet = $objQuery->select("subject, header, footer", "dtb_mailtemplate", $where, array($_POST['template_id'])); 
    113          
    114118        $objFormParam->setParam($arrRet[0]); 
    115119    } 
Note: See TracChangeset for help on using the changeset viewer.