//echo $url;
$sqlswitch=" 1=1 ";
if(isset($_GET["cp"])&&$_GET["cp"]!="")
{
$cp=$_GET["cp"];
$cp=explode('-', $cp);
if(is_nemeric)
if (isset($cp[0])&&$cp[0]!=""&&$cp[0]!=null&&$cp[0]!="0") {$a0=$cp[0];$sqlswitch.=" and pbank=".$a0;}else{$a0="0";}
if (isset($cp[1])&&$cp[1]!=""&&$cp[1]!=null&&$cp[1]!="0") {$a1=$cp[1];$sqlswitch.=" and cashtype=".$a1;}else{$a1="0";}
if (isset($cp[2])&&$cp[2]!=""&&$cp[2]!=null&&$cp[2]!="0")
{
$a2=$cp[2];
if($a2=="0"){}
if($a2=="1"){$sqlswitch.=" and pprofit<3";}
if($a2=="2"){$sqlswitch.=" and pprofit>=3 and pprofit<5";}
if($a2=="3"){$sqlswitch.=" and pprofit>=5 and pprofit<10";}
if($a2=="4"){$sqlswitch.=" and pprofit>=10";}
}
else
{$a2="0";}
}
else
{$a0=$a1=$a2="0";}
$a1=0;
$a0=0;
$a2=0;
$sqlswitch=" 1=1 ";
//$sql="select a.*,b.* from whcj_bankproducts as a left join whcj_bankproducts_data as b on a.id=b.id $sqlswitch order by a.id desc"
?>