Example #1
0
 /**
  * 视频列表
  */
 public function vlistAction()
 {
     $page = reqnum("page", 1);
     $pagesize = reqnum("pagesize", 10);
     $m = new PSys_ResRule();
     $list = $m->VideoList($page, $pagesize, '*');
     self::inidate($list['allnum'], $page, $pagesize, count($list['allrow']));
     $this->smarty->assign('list', $list['allrow']);
     $this->smarty->assign('psys_base_url', PSYS_BASE_URL);
     $this->smarty->assign("active_menu", "res");
     $this->smarty->assign("active", "pageview/index");
     $this->forward = "vlist";
 }
Example #2
0
 /**
  * 根据appcol获取appid
  * Enter description here ...
  * @param unknown_type $appcol	应用类型
  */
 public function GetAppid($appcol)
 {
     $m = new PSys_ResRule();
     $appid = $m->GetAppid($appcol);
     return $appid;
 }