start_left_pane(); display_menu(); end_left_pane(); start_right_pane(); ?> <center> <form name="setup_hg" action="hg_setup.php" method="post"> <fieldset><legend>Select new group for host <?php echo "{$host_name}"; ?> </legend> <table border='0' align='center' class="modif_contact"> <tr> <td class="Type"><?php display_available_groups(); ?> </td> </td> </tr> </table> </fieldset> <center> <input name="step" type="hidden" value="1"> <input name="id" type="hidden" value="<?php echo "{$id}"; ?> "> <input name="submit" type="submit" value="Change"> </center> </form>
$step = ""; } if ($step != '1') { $result = mysql_query("SELECT * FROM `hosts` where `id`=''") or die(mysql_error() . "<br>Couldn't execute query: {$query}"); $row = mysql_fetch_array($result); $id_hostgroup = $row["id_group"]; ?> <center> <form name="serial_search" action="contract_search.php" method="post"> <fieldset><legend>Looking for Group Maintenance Contracts</legend> <table border='0' align='center' class="modif_contact"> <tr> <td class="Type">Host group available : </td> <td class="Content" width="60%"> <?php display_available_groups("{$id_hostgroup}"); ?> </td> </tr> </table> </fieldset> <center> <input name="step" type="hidden" value="1"> <input name="submit" type="submit" value="Search"> </center> </form> </center> <?php } else {