{ $tasks->autoWip($_GET["wip"]); } if($_GET["move"] && $_GET["to"]) { $tasks->moveToSprint($_GET["move"],$_GET["to"]); } // Display $tasks = new main_tasks(); $sprint = new main_sprints(); $status = $sprint->getVelocity(); $projects = new main_projects(); $projects->getActiveProjects($_GET["team"]); $teamName = " All Teams"; if($_GET["team"]){ $team = new main_teams(); $team->getOne($_GET["team"]); $team->load(); $teamName = "Team ".$team->get_team_name(); } ?> <div class="alert alert-success"><h4><?php echo $teamName; ?> : Sprint <?php echo $status["sprint"]; ?> <a href="<?php echo str_replace("load=sprint", "load=sprint.print", $_SERVER["REQUEST_URI"]); ?> " class="btn btn-small btn-info"><i class="icon-print icon-white"></i> View print version</a></h4></div>
<a href="index.php?load=projects" class="btn btn-large btn-success span2">Projects</a> <a href="index.php?load=users" class="btn btn-large btn-success span2">Users</a> <a href="index.php?load=teams" class="btn btn-large btn-success span2">Teams</a> <a href="index.php?load=sprint" class="btn btn-large btn-success span2">Current Sprint</a> <div class="btn-group"> <button class="btn btn-large btn-success dropdown-toggle span2" data-toggle="dropdown">Sprint by Teams <span class="caret"></span></button> <ul class="dropdown-menu"> <? $teams = new main_teams(); $teams->getAll(); while($teams->load()){ ?> <li><a href="index.php?load=sprint&team=<?php echo $teams->get_team_id(); ?> "><?php echo $teams->get_team_name(); ?> </a></li> <? } ?> </ul> </div>
<? // ###################################################################### // Edit Form for main_teams table // Built with ListBuilder by Mauricio Giraldo Mutis // http://www.bymurdock.com // This class was built on: 12/03/2012 11:12:12 // ClassBuilder classes requires ConDB v.1.1 or later // Class builder is Open Source, but for copyright issues, please keep // this copy on any class that uses it. // (R) 2005-2012 // ###################################################################### require "framework.php"; $db_main_teams = new main_teams; $return = false; $db_main_teams->loadParams(); if ($_POST["do"]=="edit_exec") { $db_main_teams->updateOne($_POST["id"]); $return = true; } if ($_POST["do"]=="insert_exec") { $db_main_teams->insertOne(); $return = true; } if ($_POST["do"]=="delete_exec") { $db_main_teams->deleteOne($_POST["id"]); $return = true; } if ($return) jsheader("index.php?load=teams");
echo $_GET["team"]; ?> " method="post" name="do_main_projects" id="do_main_projects" onSubmit="return validate_types(this);"> <table width="100%" border="0" cellspacing="1" cellpadding="1" class="table table-striped table-bordered"> <tr> <td>Name</td> <td><input name="pro_name" type="text" id="pro_name" value="<?php echo $db_main_projects->get_pro_name(); ?> " maxlength="100"></td> </tr> <tr> <td>Team</td> <td> <? $teams = new main_teams(); $teams->getAll(); print $teams->dropdown("pro_team", "team_id", "team_name", $db_main_projects->get_pro_team()); ?> </td> </tr> <tr> <td>Status</td> <td> <? $dd = new utils(); $dd->renderActivation("pro_status", $db_main_projects->get_pro_status()); ?> </td> </tr> <tr>