mirror of
https://e.coding.net/circlecloud/McAccount.git
synced 2024-11-17 00:58:57 +00:00
14 lines
398 B
PHP
14 lines
398 B
PHP
|
<?
|
||
|
class mail extends AmysqlModel {
|
||
|
function check($url) {
|
||
|
if ($this->_sum ( "SELECT * FROM `authme` WHERE `email` = '$url'" ) == 0)
|
||
|
return false;
|
||
|
$sql = "SELECT * FROM `authme` WHERE `email` = '$url'";
|
||
|
return $this->_all ( $sql );
|
||
|
}
|
||
|
function mailcheck($url) {
|
||
|
if ($this->_sum ( "SELECT * FROM `authme` WHERE `email` = '$url'" ) == 0)
|
||
|
return true;
|
||
|
return false;
|
||
|
}
|
||
|
}
|