mirror of
https://e.coding.net/circlecloud/McAccount.git
synced 2024-11-22 01:48:55 +00:00
cdf10d5fed
Signed-off-by: 502647092 <jtb1@163.com>
16 lines
427 B
PHP
16 lines
427 B
PHP
<?php
|
|
class mail extends AmysqlModel {
|
|
function check($email) {
|
|
if ($this->_sum ( "SELECT * FROM `authme` WHERE `email` = '$email'" ) == 0) {
|
|
return false;
|
|
}
|
|
$sql = "SELECT * FROM `authme` WHERE `email` = '$email'";
|
|
return $this->_all ( $sql );
|
|
}
|
|
function mailcheck($email) {
|
|
if ($this->_sum ( "SELECT * FROM `authme` WHERE `email` = '$email'" ) == 0)
|
|
return true;
|
|
else
|
|
return false;
|
|
}
|
|
} |