用phpcms做多种条件筛选菜单

需要调用jQuery文件




//隐藏的form表单,通过点击调用js改变值


html菜单部分:



//拼接url地址栏的值,组合成sql条件,传给phpcms的where参数


{pc:content action="lists" catid="$catid"  where="$sql" num="9" order="listorder DESC" page="$page" moreinfo="1" } 
{loop $data $r}
...........


分页问题:

通过js改变,phpcms程序默认的分页href值,给href值追加参数。




你可能感兴趣的:(phpcms)