1
0
mirror of https://e.coding.net/circlecloud/McAccount.git synced 2024-11-17 00:58:57 +00:00
McAccount/Model/mail.php

14 lines
398 B
PHP
Raw Normal View History

2015-10-13 06:26:47 +00:00
<?
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;
}
}