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(
18 define('SVN', '$Id$');
20 $focus['showreport'] = 'focus';
22 require_once('./global.php');
24 // ###################################################################
26 if (empty($_REQUEST['do']))
28 $_REQUEST['do'] = 'products';
31 // ###################################################################
33 if ($_REQUEST['do'] == 'products')
35 foreach ($bugsys->datastore
['product'] AS $product)
37 if ($product['componentmother'])
39 $components["$product[componentmother]"]["$product[productid]"] = $product;
43 $products["$product[productid]"] = $product;
47 foreach ($bugsys->datastore
['version'] AS $version)
49 $versions["$version[productid]"]["$version[versionid]"] = $version;
53 foreach ($versions['0'] AS $version)
55 $left = $version['version'];
57 eval('$globalversions .= "' . $template->fetch('explain_row') . '";');
60 foreach ($products AS $product)
62 $left = $product['title'];
63 $right = $product['description'];
64 $trextra = ' style="background-color: ' . $stylevar['alt_colour'] . '"';
65 eval('$productlist .= "' . $template->fetch('explain_row') . '";');
67 foreach ($components["$product[productid]"] AS $component)
69 $left = ' › ' . $component['title'];
70 $right = $component['description'];
72 eval('$productlist .= "' . $template->fetch('explain_row') . '";');
76 eval('$template->flush("' . $template->fetch('explain_product') . '");');
79 /*=====================================================================*\
80 || ###################################################################
83 || ###################################################################
84 \*=====================================================================*/