function env() { $sys = new systeminfos(); $tpl = new templates(); $img = "<img src='img/fw_bold.gif'>"; $html = "<H5>{environement}</h5>\n\t<table style='width:600px' align=center>\n\t<tr>\n\t<td><strong>{path}</strong></td>\n\t<td><code>" . $sys->environements() . "</td>\n\t</tr>\n\t</table>"; return RoundedLightWhite($tpl->_ENGINE_parse_body($html)); }
function env() { $sys = new systeminfos(); $tpl = new templates(); $page = CurrentPageName(); $img = "<img src='img/fw_bold.gif'>"; $html = "<H5>{environement}</h5>\n\t\t<table cellspacing='0' cellpadding='0' border='0' class='tableView' style='width:100%'>\n\t\t<tbody>\n<thead class='thead'>\n\n<tr>\n<th>{path}</th>\n\n</tr>\n</thead>\n"; $array = $sys->environements(); while (list($num, $ligne) = each($array)) { if ($classtr == "oddRow") { $classtr = null; } else { $classtr = "oddRow"; } $html = $html . "\n\t \t\t<tr class={$classtr}>\n\t<td><strong>{path}</strong></td>\n\t<td><code>{$ligne}</code></td>\n\t</tr>"; } return $tpl->_ENGINE_parse_body($html . "</tbody></table>"); }