$stname = mysql_escape_string($_GET['stname']);
$serv = mysql_escape_string($_GET['serv']);
if (($serv == "") || ($serv == "all") && ($stname == "") || ($stname == "all")) {
$znvc = '1';}
else {
$znvc = 'serv="'.$serv.'"' OR 'stname="'.$stname.'"';
}