|
|
@ -25,8 +25,11 @@
|
|
|
|
if(intval(array_key_exists('userid',$_REQUEST)?$_REQUEST['userid']:0) <= 0)
|
|
|
|
if(intval(array_key_exists('userid',$_REQUEST)?$_REQUEST['userid']:0) <= 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$emailsearch = $email = mysql_escape_string(stripslashes($_REQUEST['email']));
|
|
|
|
$emailsearch = $email = mysql_escape_string(stripslashes($_REQUEST['email']));
|
|
|
|
if(!strstr($email, "%"))
|
|
|
|
|
|
|
|
$emailsearch = "%$email%";
|
|
|
|
//Disabled to speed up the queries
|
|
|
|
|
|
|
|
//if(!strstr($email, "%"))
|
|
|
|
|
|
|
|
// $emailsearch = "%$email%";
|
|
|
|
|
|
|
|
|
|
|
|
if(intval($email) > 0)
|
|
|
|
if(intval($email) > 0)
|
|
|
|
$emailsearch = "";
|
|
|
|
$emailsearch = "";
|
|
|
|
|
|
|
|
|
|
|
|