- Timestamp:
- 2006/09/19 21:03:33 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/basis/mail.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/basis/mail.php
r5165 r5166 74 74 $sql = "SELECT * FROM dtb_mailtemplate WHERE template_id = ?"; 75 75 $result = $conn->getAll($sql, array($_POST['template_id']) ); 76 /*77 76 if ( $result ){ 78 77 $sql_where = "template_id = ". addslashes($_POST['template_id']); 78 $conn->query("UPDATE dtb_mailtemplate SET template_id = ?, subject,header = ?, footer,creator_id = ?, update_date = ?", $data); 79 79 }else{ 80 $conn->query("INSERT INTO dtb_mailtemplate", $data, $sql_where); 80 $data["create_date"] = "now()"; 81 $conn->query("INSERT INTO dtb_mailtemplate (template_id,subject,header,footer,creator_id,update_date,create_date) values ( ?,?,?,?,?,?,? )", $data); 81 82 } 82 */ 83 83 84 84 // $conn->autoExecute("dtb_mailtemplate", $data, $sql_where); 85 85 }
Note: See TracChangeset
for help on using the changeset viewer.
