Changeset 13754 for branches/dev/html


Ignore:
Timestamp:
2007/05/30 10:24:19 (19 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/admin/basis/preview.php

    r13753 r13754  
    3131        $sql = "SELECT header, footer,send_type FROM dtb_mailtemplate WHERE template_id = ?"; 
    3232        $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    } 
    3544     
    3645     
    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     
    4447 
    45 } 
    4648     
    4749$objView->assignobj($objPage); 
Note: See TracChangeset for help on using the changeset viewer.