<td> <img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle"> <span class="admintitle">Select Modules to Install</span><br><br> <?php section_header('Step '.$tmp_step.' - Select Modules'); ?> <table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar"> <?php include("install/toolbar.php"); ?> </table> <!-- toolbar button \\--> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder"> <tr valign="top"> <td width="60%" bgcolor="#F0F0F0"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4"> <?php foreach($Modules as $m) { $result = true; if (file_exists($pathtoroot."$m/admin/install/prerequisit.php")) { include_once($pathtoroot."$m/admin/install/prerequisit.php"); } echo "<TR class=\"table_color2\"><TD colspan=\"2\" align=\"left\" class=\"txt\">"; if ($result) { echo "<INPUT TYPE=\"CHECKBOX\" NAME=\"domain[]\" VALUE=\"$m\" CHECKED=\"checked\">"; } else { echo "<INPUT TYPE=\"CHECKBOX\" NAME=\"domain[]\" VALUE=\"$m\" disabled>"; } echo $m; if (!$result) { $open_url = "install/prerequisit_errors.php?module=$m"; echo " (<span style=\"color: #FF0000; cursor: hand; cursor: pointer;\" onClick=\"CreatePopup('ModuleErrors', '$open_url');\">Pre-requisit test not passed!</span>)"; } echo "</TD></TR>\n"; } ?> <tr class="table_color2"> <td colspan="2"><p class="error"><?php if( isset($ModuleError) ) echo $ModuleError; ?></p><br/></td> </tr> <td> <br> <input TYPE="hidden" NAME ="state" VALUE="modinstall"> <input type="submit" name="submit_form" value="Select" class="button"> <input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);"> <input type="hidden" name="UserPass" VALUE="<?php if(isset($UserPass)) echo $UserPass; ?>"> <input type="hidden" name="UserName" VALUE="<?php if(isset($UserName)) echo $UserName; ?>"> <input type="hidden" name="next_step" value="<?php echo $next_step;?>"> <input type="hidden" name="install_type" value="<?php echo $install_type;?>"> </td> </tr> </table> </td>