摘要: /** $UpDown //移动方向,up或down $table //表名 $id //当前移动的ID $id_col //ID字段的名称 $oc_col //排序字段的名称 $where //条件*/function MoveUpDown($UpDown,$table,$id,$id_col='id',$oc_col='OrderColumn',$where='') { if($UpDown=='up'){$op='<';$desc='desc';}else{$op='>&# 阅读全文
posted @ 2012-03-09 00:41 FreeSpider 阅读(3118) 评论(0) 推荐(0) 编辑