Changeset 13754 for branches/dev/html
- Timestamp:
- 2007/05/30 10:24:19 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/html/admin/basis/preview.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/basis/preview.php
r13753 r13754 31 31 $sql = "SELECT header, footer,send_type FROM dtb_mailtemplate WHERE template_id = ?"; 32 32 $id = $_GET['id']; 33 } 34 $result = $conn->getAll($sql, array($id)); 33 $result = $conn->getAll($sql, array($id)); 34 35 if ( $result ){ 36 if ( $result[0]["mail_method"] == 2 ){ 37 // ¥Æ¥¥¹¥È·Á¼°¤Î»þ¤Ï¥¿¥°Ê¸»ú¤ò¥¨¥¹¥±¡¼¥× 38 $objPage->escape_flag = 1; 39 } 40 $objPage->body = $result[0]["body"]; 41 } 42 43 } 35 44 36 45 37 if ( $result ){ 38 if ( $result[0]["mail_method"] == 2 ){ 39 // ¥Æ¥¥¹¥È·Á¼°¤Î»þ¤Ï¥¿¥°Ê¸»ú¤ò¥¨¥¹¥±¡¼¥× 40 $objPage->escape_flag = 1; 41 } 42 $objPage->body = $result[0]["body"]; 43 } 46 44 47 45 }46 48 47 49 $objView->assignobj($objPage);
Note: See TracChangeset
for help on using the changeset viewer.
