From dc534f0e8f80ebc655c395ab72e5e4224ce25d4c Mon Sep 17 00:00:00 2001 From: 502647092 Date: Tue, 20 Oct 2015 21:05:15 +0800 Subject: [PATCH] fix some bug... Signed-off-by: 502647092 --- Model/authme.php | 6 +----- View/login.php | 6 +++++- View/mail/mailstatus.php | 2 +- View/register.php | 46 +++++++++++++++++++++------------------- 4 files changed, 31 insertions(+), 29 deletions(-) diff --git a/Model/authme.php b/Model/authme.php index 5372624..ad64c05 100644 --- a/Model/authme.php +++ b/Model/authme.php @@ -30,11 +30,7 @@ class authme extends AmysqlModel { if ($this->_insert ( 'mail', $data ) == 0) { return false; } else { - if ($this->_insert ( 'iconomy', $ic ) == 0) { - return false; - } else { - return true; - } + return false; } } } diff --git a/View/login.php b/View/login.php index abb60cb..2d38257 100644 --- a/View/login.php +++ b/View/login.php @@ -1,4 +1,8 @@ - + + <?=$title?> diff --git a/View/mail/mailstatus.php b/View/mail/mailstatus.php index 1521178..d2bde82 100644 --- a/View/mail/mailstatus.php +++ b/View/mail/mailstatus.php @@ -73,7 +73,7 @@ if (empty ( $_SESSION ['username'] )) 邮箱地址 + class="span8 inline-input" id="mail" type="text" disabled="disabled"/> diff --git a/View/register.php b/View/register.php index 6d05b85..0948abd 100644 --- a/View/register.php +++ b/View/register.php @@ -33,7 +33,8 @@