Changeset 11457 for temp/branches/mobile/html
- Timestamp:
- 2007/02/25 03:39:19 (20 years ago)
- Location:
- temp/branches/mobile/html
- Files:
-
- 3 edited
-
install/index.php (modified) (3 diffs)
-
mobile/mypage/index.php (modified) (1 diff)
-
mobile/shopping/deliv.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/mobile/html/install/index.php
r11418 r11457 331 331 "../user_data", 332 332 "../upload", 333 "../mobile/converted_images",333 "../mobile/converted_images", 334 334 "../../data/Smarty/templates_c", 335 335 "../../data/downloads", … … 812 812 // ¥«¥é¥à¤ÎÄɲáʴû¤Ë¥«¥é¥à¤¬Â¸ºß¤¹¤ë¾ì¹ç¤ÏºîÀ®¤·¤Ê¤¤¡Ë 813 813 function lfAddColumn($dsn) { 814 global $objDBParam; 815 814 816 // ¼õÃí¥Æ¡¼¥Ö¥ë 815 817 sfColumnExists("dtb_order", "memo01", "text", $dsn, true); … … 853 855 sfColumnExists("dtb_payment", "memo09", "text", $dsn, true); 854 856 sfColumnExists("dtb_payment", "memo10", "text", $dsn, true); 857 858 // ¸ÜµÒ 859 if (!sfColumnExists("dtb_customer", "mobile_phone_id", "", $dsn)) { 860 sfColumnExists("dtb_customer", "mobile_phone_id", "text", $dsn, true); 861 $objQuery = new SC_Query($dsn); 862 if ($objDBParam->getValue('db_type') == 'mysql') { 863 $objQuery->query("CREATE INDEX dtb_customer_mobile_phone_id_key ON dtb_customer (mobile_phone_id(64))"); 864 } else { 865 $objQuery->query("CREATE INDEX dtb_customer_mobile_phone_id_key ON dtb_customer (mobile_phone_id)"); 866 } 867 } 868 869 // ¸ÜµÒ¥á¡¼¥ë 870 if ($objDBParam->getValue('db_type') == 'mysql') { 871 sfColumnExists("dtb_customer_mail", "secret_key", "varchar(50) unique", $dsn, true); 872 } else { 873 sfColumnExists("dtb_customer_mail", "secret_key", "text unique", $dsn, true); 874 } 855 875 } 856 876 -
temp/branches/mobile/html/mobile/mypage/index.php
r11418 r11457 48 48 $objCustomer->updateMobilePhoneId(); 49 49 50 // ·ÈÂӤΥ᡼¥ë¥¢¥É¥ì¥¹¤ò¥³¥Ô¡¼¤¹¤ë¡£ 51 $objCustomer->updateEmailMobile(); 52 50 53 // ·ÈÂӤΥ᡼¥ë¥¢¥É¥ì¥¹¤¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç 51 54 if (!$objCustomer->hasValue('email_mobile')) { -
temp/branches/mobile/html/mobile/shopping/deliv.php
r11415 r11457 92 92 // ¥í¥°¥¤¥ó¤¬À®¸ù¤·¤¿¾ì¹ç¤Ï·ÈÂÓüËöID¤òÊݸ¤¹¤ë¡£ 93 93 $objCustomer->updateMobilePhoneId(); 94 95 // ·ÈÂӤΥ᡼¥ë¥¢¥É¥ì¥¹¤ò¥³¥Ô¡¼¤¹¤ë¡£ 96 $objCustomer->updateEmailMobile(); 94 97 95 98 // ·ÈÂӤΥ᡼¥ë¥¢¥É¥ì¥¹¤¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç
Note: See TracChangeset
for help on using the changeset viewer.
