<?php

$dir_path = dirname(__FILE__) . '/';
$module_path = $dir_path . 'Modules/';
$view_path = $dir_path . 'Views/';
include $dir_path . 'includes/config.php';
$databaseobject = new DBclass();
extract($_GET);
$uname = $_GET['uname'];
$pass = $_GET['pass'];
$sql = "select email,password from users where del_status='1' and email = '" . $uname . "' and password='******'";
$count = $databaseobject->get_num_rows($sql);
if ($count > 0) {
    $msg = '';
} else {
    $msg = "Security Message is not same,Please try again";
}
echo $msg;
exit;