Ignore:
Timestamp:
2007/06/19 09:38:50 (15 years ago)
Author:
kakinaka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/shopping/complete.php

    r14872 r14873  
    4949    // ´°Î»½èÍý 
    5050    $objQuery = new SC_Query(); 
    51     $objSendMail = new GC_SendMail(); 
    5251    $objQuery->begin(); 
    5352    $order_id = lfDoComplete($objQuery, $uniqid); 
     
    6160        $order_email = $objQuery->select("order_email", "dtb_order", "order_id = ?", array($order_id)); 
    6261     
    63         //ÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¥á¡¼¥ë¥¢¥É¥ì¥¹¤¬·ÈÂÓ¤«PC¤«¤Ë±þ¤¸¤ÆÃíʸ´°Î»¥á¡¼¥ë¤Î¥Æ¥ó¥×¥ì¡¼¥È¤òÊѤ¨¤ë 
    64         $template_id = $objSendMail->chkDomain($order_email[0]['order_email']); 
    65         sfSendOrderMail($order_id, $template_id,"",""); 
     62    //ÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¥á¡¼¥ë¥¢¥É¥ì¥¹¤¬·ÈÂÓ¤«PC¤«¤Ë±þ¤¸¤ÆÃíʸ´°Î»¥á¡¼¥ë¤Î¥Æ¥ó¥×¥ì¡¼¥È¤òÊѤ¨¤ë 
     63    if(ereg("(ezweb.ne.jp$|docomo.ne.jp$|softbank.ne.jp$|vodafone.ne.jp$)",$order_email[0]['order_email'])){ 
     64              sfSendOrderMail($order_id, '1',"",""); 
     65        }else{ 
     66              sfSendOrderMail($order_id, '0',"",""); 
     67        } 
    6668    } 
    6769 
Note: See TracChangeset for help on using the changeset viewer.