File: /home/barbeatleanalyti/public_html/barisnew.beatleanalytics.com/site/backup/include/signout.php
<?php
/* <summary>
Class contains methods related to state module
<author>
Beatle Buddy 2017.
</author>
Version 1.0
</summary>
*/
class include_signout
{
/*
<summary>
Default constructor
</summary>
*/
function __CONSTRUCT(){
}
// Method for user verify for login (email and password)
protected function VerifyEmailAndPassword(){
global $objDB;
// Select query for fetch user data.
$SQL = "SELECT * FROM user_info WHERE Email = '".$this->Email."' AND Password = '". base64_encode($this->Password)."' ";
// Run query
$rsResult = $objDB->sql_query($SQL);
// Return data if record found.
if(count($rsResult) > 0){
return $rsResult;
}else{
// Return false if record does not found.
return false;
}
}
} ///// class include_login completed /////
?>