Exemplo n.º 1
0
 public function getFavoriteBuglist()
 {
     $res = $this->db->getValues("bugl_id", "buglists", "(pr_id = {$this->pr_id} ) AND (bugl_favorite = 1)", "", "");
     $buglist = new Buglist();
     $buglist->getByID($res[0][0]);
     return $buglist;
 }
Exemplo n.º 2
0
<?php

include 'header.php';
$project = $auth->selProject;
$selectedBuglist;
if (isset($_GET['blid'])) {
    $selectedBuglistID = $_GET['blid'];
    $selectedBuglist = new Buglist();
    $selectedBuglist->getByID($selectedBuglistID);
} else {
    $selectedBuglist = $project->getFavoriteBuglist();
}
?>
<div id="hard-facts-wrapper">
	<div id="hard-facts">
		<div class="hard-headline">
			<img src="./img/tasks.png">
			<h1>Bugtracker</h1>
		</div>
		<div id="bugtracker-boxes">
			<div class="box-finished">
				<?php 
echo $project->getNumFinishedBugs();
?>
 Abgeschlossene
			</div>
			<div class="box-pending">
				<?php 
echo $project->getNumPendingBugs();
?>
 Ausstehende
Exemplo n.º 3
0
 public function getBuglist()
 {
     $buglist = new Buglist();
     $buglist->getByID($bugl_id);
     return $buglist;
 }