public function actionListitem()
 {
     $model = new WUserItem();
     $page = isset($_POST['page']) ? $_POST['page'] : 1;
     $num_per_page = Yii::app()->params->listshop_num_per_page;
     $total = WUserItem::countUserItem();
     //echo $total;exit();
     $pageInfo = WFunction::getPagerInfo($total, $page, $num_per_page);
     //var_dump($pageInfo); exit();
     $imagePath = Yii::app()->theme->baseUrl . "/images/";
     $page_wap = WFunction::web_pager_ajax($total, $pageInfo['cpage'], $num_per_page, '', $imagePath);
     $arrUserItem = WUserItem::getListitem('', $pageInfo['start'], $num_per_page);
     //var_dump($arrUserItem);exit();
     $html = $this->renderPartial('/wUserItem/listitems', array('model' => $arrUserItem, 'pageInfo' => $page_wap));
     echo $html;
     exit;
 }