Changeset 16069
- Timestamp:
- 2007/09/27 10:50:57 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/forgot/LC_Page_Forgot.php
r15532 r16069 14 14 * @package Page 15 15 * @author LOCKON CO.,LTD. 16 * @version $Id $16 * @version $Id:LC_Page_Forgot.php 15532 2007-08-31 14:39:46Z nanasess $ 17 17 */ 18 18 class LC_Page_Forgot extends LC_Page { … … 55 55 // 店舗基本情報を取得 56 56 $objDb = new SC_Helper_DB_Ex(); 57 $CONF = $objb->sf_getBasisData(); 57 $CONF = $objDb->sf_getBasisData(); 58 59 $masterData = new SC_DB_MasterData_Ex(); 60 $arrReminder = $masterData->getMasterData("mtb_reminder"); 58 61 59 62 // クッキー管理クラス 60 63 $objCookie = new SC_Cookie(COOKIE_EXPIRE); 64 65 if (!isset($_POST['mode'])) $_POST['mode'] = ""; 66 if (!isset($_POST['email'])) $_POST['email'] = ""; 61 67 62 68 if ( $_POST['mode'] == 'mail_check' ){ … … 66 72 $result = $conn->getAll($sql, array($_POST['email']) ); 67 73 68 if ( $result[0]['reminder'] ){ // 本会員登録済みの場合 74 // 本会員登録済みの場合 75 if (isset($result[0]['reminder']) && $result[0]['reminder']){ 69 76 // 入力emailが存在する 70 77 $_SESSION['forgot']['email'] = $_POST['email']; … … 97 104 98 105 // 新しいパスワードを設定する 99 $this->temp_password = gfMakePassword(8);106 $this->temp_password = GC_Utils_Ex::gfMakePassword(8); 100 107 101 108 if(FORGOT_MAIL == 1) { … … 165 172 function lfSendMail($CONF, $email, $customer_name, $temp_password){ 166 173 // パスワード変更お知らせメール送信 167 168 $objPage = new LC_Page(); 169 $objPage->customer_name = $customer_name; 170 $objPage->temp_password = $temp_password; 174 $this->customer_name = $customer_name; 175 $this->temp_password = $temp_password; 171 176 $objMailText = new SC_SiteView(); 172 $objMailText->assignobj($ objPage);177 $objMailText->assignobj($this); 173 178 174 179 $toCustomerMail = $objMailText->fetch("mail_templates/forgot_mail.tpl");
Note: See TracChangeset
for help on using the changeset viewer.