@ -314,6 +314,10 @@ class Api_model extends CI_Model {
order by sortby
";
echo ("url:".$url."/%".",pid:".$new_pid."<br/>");
echo ("sql:".$sql);
die();
$qurey = $this->InfoCT->query($sql,array($url."/%",$new_pid));
return $qurey->result();
}