function AddremovePrograms1() { $sys = new systeminfos(); $sys->ParseAPPs(); $prod = $_GET["setp1"]; if ($prod == null) { echo " "; exit; } $version = $sys->array_applis_line[$prod]; $img1 = 'add-64.png'; $js1 = "PerformAutoInstall('{$prod}');"; $tips1 = "{install_this_prog}"; $img = 'delete-64.png'; $js = "PerformAutoRemove('{$prod}');"; $tips = "{remove_this_prog}"; $img = imgtootltip($img, $tips, $js); $remove = "<tr>\n\t<td width=1% valign='top'>{$img}</td>\n\t<td valign='top'>\n\t\t<strong>{$tips}</strong>\n\t</td>\n\t</tr>"; $img = imgtootltip($img1, $tips1, $js1); $add = "<tr>\n\t\t\t<td width=1% valign='top'>{$img}</td>\n\t\t\t<td valign='top'><strong>{$tips1}</strong></td>\n\t</tr>"; if ($prod == 'APP_GEOIP') { $remove = null; } $html = "\n\t<table style='width:100%'>\n\t<tr><td colspan=2><H4>{" . $prod . "} {$version}</H4></td></tr>\n\t{$add}\n\t{$remove}\n\t</table>\n\t<br><div id='step2'></div>"; $tpl = new templates(); echo $tpl->_ENGINE_parse_body(RoundedLightGreen($html)); }