2 /*=====================================================================*\
3 || ################################################################### ||
4 || # Bugdar [#]version[#]
5 || # --------------------------------------------------------------- # ||
6 || # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # ||
7 || # This file may not be reproduced in any way without permission. # ||
8 || # --------------------------------------------------------------- # ||
9 || # User License Agreement at http://www.iris-studios.com/license/ # ||
10 || ################################################################### ||
11 \*=====================================================================*/
13 $fetchtemplates = array(
17 define('SVN', '$Id$');
19 $focus['showreport'] = 'focus';
21 require_once('./global.php');
23 // ###################################################################
25 if (empty($_REQUEST['do']))
27 $_REQUEST['do'] = 'products';
30 // ###################################################################
32 if ($_REQUEST['do'] == 'products')
34 foreach ($bugsys->datastore
['product'] AS $product)
36 if ($product['componentmother'])
38 $components["$product[componentmother]"]["$product[productid]"] = $product;
42 $products["$product[productid]"] = $product;
46 foreach ($bugsys->datastore
['version'] AS $version)
48 $versions["$version[productid]"]["$version[versionid]"] = $version;
52 foreach ($versions['0'] AS $version)
54 $left = $version['version'];
56 eval('$globalversions .= "' . $template->fetch('explain_row') . '";');
59 foreach ($products AS $product)
61 $left = $product['title'];
62 $right = $product['description'];
63 $trextra = ' style="background-color: ' . $stylevar['alt_colour'] . '"';
64 eval('$productlist .= "' . $template->fetch('explain_row') . '";');
66 foreach ($components["$product[productid]"] AS $component)
68 $left = ' › ' . $component['title'];
69 $right = $component['description'];
71 eval('$productlist .= "' . $template->fetch('explain_row') . '";');
75 eval('$template->flush("' . $template->fetch('explain_product') . '");');
78 /*=====================================================================*\
79 || ###################################################################
82 || ###################################################################
83 \*=====================================================================*/