Changeset 11415
- Timestamp:
- 2007/02/12 01:16:08 (19 years ago)
- Location:
- temp/branches/mobile
- Files:
-
- 3 added
- 2 edited
-
data/Smarty/templates/mobile/entry/email_mobile.tpl (added)
-
data/Smarty/templates/mobile/entry/email_mobile_complete.tpl (added)
-
data/class/SC_Customer.php (modified) (3 diffs)
-
html/mobile/entry/email_mobile.php (added)
-
html/mobile/shopping/deliv.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/mobile/data/class/SC_Customer.php
r11411 r11415 171 171 172 172 // ¥í¥°¥¤¥ó¤ËÀ®¸ù¤·¤Æ¤¤¤ë¤«È½Äꤹ¤ë¡£ 173 function isLoginSuccess( ) {173 function isLoginSuccess($dont_check_email_mobile = false) { 174 174 // ¥í¥°¥¤¥ó»þ¤Î¥á¡¼¥ë¥¢¥É¥ì¥¹¤ÈDB¤Î¥á¡¼¥ë¥¢¥É¥ì¥¹¤¬°ìÃפ·¤Æ¤¤¤ë¾ì¹ç 175 175 if(sfIsInt($_SESSION['customer']['customer_id'])) { … … 177 177 $email = $objQuery->get("dtb_customer", "email", "customer_id = ?", array($_SESSION['customer']['customer_id'])); 178 178 if($email == $_SESSION['customer']['email']) { 179 // ¥â¥Ð¥¤¥ë¥µ¥¤¥È¤Î¾ì¹ç¤Ï·ÈÂӤΥ᡼¥ë¥¢¥É¥ì¥¹¤¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¤³¤È¤â¥Á¥§¥Ã¥¯¤¹¤ë¡£ 180 // ¤¿¤À¤· $dont_check_email_mobile ¤¬ true ¤Î¾ì¹ç¤Ï¥Á¥§¥Ã¥¯¤·¤Ê¤¤¡£ 181 if (defined('MOBILE_SITE') && !$dont_check_email_mobile) { 182 $email_mobile = $objQuery->get("dtb_customer", "email_mobile", "customer_id = ?", array($_SESSION['customer']['customer_id'])); 183 return isset($email_mobile); 184 } 179 185 return true; 180 186 } … … 191 197 function setValue($keyname, $val) { 192 198 $_SESSION['customer'][$keyname] = $val; 199 } 200 201 // ¥Ñ¥é¥á¡¼¥¿¤¬NULL¤«¤É¤¦¤«¤ÎȽÄê 202 function hasValue($keyname) { 203 return isset($_SESSION['customer'][$keyname]); 193 204 } 194 205 -
temp/branches/mobile/html/mobile/shopping/deliv.php
r11411 r11415 92 92 // ¥í¥°¥¤¥ó¤¬À®¸ù¤·¤¿¾ì¹ç¤Ï·ÈÂÓüËöID¤òÊݸ¤¹¤ë¡£ 93 93 $objCustomer->updateMobilePhoneId(); 94 95 // ·ÈÂӤΥ᡼¥ë¥¢¥É¥ì¥¹¤¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç 96 if (!$objCustomer->hasValue('email_mobile')) { 97 header('Location: ' . gfAddSessionId('../entry/email_mobile.php')); 98 exit; 99 } 94 100 break; 95 101 // ºï½ü
Note: See TracChangeset
for help on using the changeset viewer.
