1
0
mirror of https://e.coding.net/circlecloud/McAccount.git synced 2024-11-25 02:18:57 +00:00
McAccount/Model/mail.php
2015-10-13 14:26:47 +08:00

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;
}
}