Changeset 13922
- Timestamp:
- 2007/05/31 17:35:30 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/order/mail.php
r13919 r13922 48 48 $conn = new SC_DbConn(); 49 49 $sql = "SELECT * FROM dtb_mailtemplate WHERE del_flg=0"; 50 $Temp = $conn->getAll($sql);51 50 51 $Temp = $conn->getAll($sql);//$Temp¤Ë¼èÆÀ¤·¤¿¥Ç¡¼¥¿¤ò°ì»þŪ¤Ë³ÊǼ 52 53 //¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤Ë½ÐÎϤ¹¤ë¤¿¤á¤ËÆ󼡸µÇÛÎó¤ËÂåÆþ¤¹¤ë 52 54 for($i = 0;$i < count($Temp);$i++){ 53 55 $arrTemplate[0][$i] = $Temp[$i]['template_id']; … … 55 57 } 56 58 59 //¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤Ø¥Ç¡¼¥¿¤òÂåÆþ 57 60 $objPage->arrMAILTEMPLATE = $arrTemplate; 58 61 … … 106 109 107 110 $objFormParam->setValue('template_id', $_POST['template_id']); 111 112 //¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤ÇÁªÂò¤µ¤ì¤¿¥Æ¥ó¥×¥ì¡¼¥È̾¤ò¥Æ¥ó¥×¥ì¡¼¥ÈID¤È´ØÏ¢ÉÕ¤±¤ë 108 113 $_POST['template_id'] = $arrTemplate[0][$_POST['template_id']]; 109 114 if(sfIsInt($_POST['template_id'])) { … … 111 116 $where = "template_id = ?"; 112 117 $arrRet = $objQuery->select("subject, header, footer", "dtb_mailtemplate", $where, array($_POST['template_id'])); 113 114 118 $objFormParam->setParam($arrRet[0]); 115 119 }
Note: See TracChangeset
for help on using the changeset viewer.