예제 #1
0
파일: photo.php 프로젝트: lughong/test
 public function index()
 {
     $smarty = get_smarty();
     $this->_header($smarty);
     $uid = User::getLoginUid();
     $list = UploadDir::getUploadDir($uid);
     $smarty->assign("dir_list", $list);
     //创建文件夹链接
     $create_url = url("myweb", "photo::add");
     $smarty->assign("create_url", $create_url);
     //修改文件夹名链接
     $edit_url = url("myweb", "photo::editdir");
     $smarty->assign("edit_url", $edit_url);
     $smarty->display("myweb/usercenter/photo.html");
 }
예제 #2
0
파일: test.php 프로젝트: lughong/test
 public function p()
 {
     //获取列表  php
     $uid = User::getLoginUid();
     $list = UploadDir::getUploadDir($uid);
 }