1 Star 0 Fork 2

dittoxu / AISTeam

forked from jink2005 / AISTeam 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
myprojects.php 772 Bytes
一键复制 编辑 原始数据 按行查看 历史
jink2005 提交于 2015-01-20 12:47 . Init AISTeam with 2-plan-team v1.1.0.
<?php
include("init.php");
if (!isset($_SESSION["userid"]))
{
$template->assign("loginerror", 0);
$template->display("login.tpl");
die();
}
$project = new project();
$user = new user();
$myprojects = $project->getMyProjects($userid);
$oldprojects = $project->getMyProjects($userid, 0);
$pnum = count($myprojects) + count($oldprojects);
$users = $user->getAllUsers(1000000);
$template->assign("users", $users);
$title = $langfile["myprojects"];
$template->assign("title", $title);
$template->assign("projectnum",$pnum);
$template->assign("myprojects", $myprojects);
$template->assign("oldprojects", $oldprojects);
$clientobj = new client();
$template->assign("add_enabled", $clientobj->enabledAddProjects($userid));
$template->display("myprojects.tpl");
?>
PHP
1
https://gitee.com/dittoxu/AISTeam.git
git@gitee.com:dittoxu/AISTeam.git
dittoxu
AISTeam
AISTeam
master

搜索帮助