<table width="100%" cellpadding="0" cellspacing="0" border="0">
	<tr><td class="nav"><a href="index.php?section=home">Home</a>&nbsp;&gt;&nbsp;<a href="index.php?section=modules">Modules</a></td></tr>
	<tr><td><table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr><td height="10" width="20"><img src="../administrator/gfx/spacer.gif" width="20" height="1" border="0"></td>
		<td rowspan="3"><?php admin_output_image("modules/chat.gif"); ?></td>		
		<td height="10" width="100%" colspan="3"><?php admin_output_image("spacer.gif"); ?></td>
		</tr>
		<tr><td class="module_start" height="20" width="20"><?php admin_output_image("spacer.gif"); ?></td>
		<td class="module_middle" height="20" width="20"><img src="../administrator/gfx/spacer.gif" width="20" height="1" border="0"></td>
		<td class="module_middle" height="20" width="100%">Chat Module :: Create/Update Chat Room</td>
		<td class="module_end" height="20"><?php admin_output_image("spacer.gif"); ?></td></tr>
		<tr><td height="10" width="20"><?php admin_output_image("spacer.gif"); ?></td>
		<td height="10" colspan="3"><?php admin_output_image("spacer.gif"); ?></td>
		</tr>
	</table></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="3" border="0" align="center">
			<form name="package" action="index.php" method="post">
			<input type="hidden" name="section" value="modules">
			<input type="hidden" name="action" value="chat_save_room">
			<input type="hidden" name="room_id" value="<?php echo $data["room_id"]; ?>">
			<input type="hidden" name="theme" value="<?php echo $data["theme"]; ?>">
			<tr><td class="body">Name:</td>
			<td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "name", "size" => 30, "value" => $data["values"][name]) );
			?></td></tr>
			<tr><td class="body">Set as Main Room:</td>
			<td class="highlight"><?php
			admin_form_element( array ("type" => "checkbox", "name" => "main", "ovalue" => "1", "value" => $data["values"][main]) );
			?></td></tr>
			<tr><td colspan="2">&nbsp;</td></tr>
			<tr>
				<td colspan="2" align="center"><?php
				admin_form_element( array ("type" => "button", "value" => "Cancel", "link" => $data["link"]) );
				echo "&nbsp;";
				admin_form_element( array ("type" => "button", "value" => "Create/Update") );
			?></td>
			</tr>
			</form>
			</table>
		</td>
	</tr>	
</table>