<table cellpadding="0" cellspacing="2" border="0" width="100%">
	<form action="index.php" method="post">
	<input type="hidden" name="section" value="modules">
	<input type="hidden" name="action" value="update_module">
	<input type="hidden" name="module" value="recording">
	<input type="hidden" name="theme" value="<?php echo $data["theme"]; ?>">
	<tr><td class="lined blue_bcg white_body padded" align="center" colspan="2">Audio / Video Recordings</td></tr>
	<tr><td class="form_cell" colspan="2"><table cellpadding="2" cellspacing="2" border="0" align="center" width="400">
		<tr><td class="body">Audio Recording:</td><td class="highlight"><table cellpadding="0" cellspacing="2" border="0">
			<tr><td><?php
				admin_form_element( array ("type" => "radio", "name" => "enable_audio_recording", "ovalue" => "1", "value" => $data["recording"]["enable_audio_recording"]) );
				?></td><td class="highlight">Enable</td><td><?php
				admin_form_element( array ("type" => "radio", "name" => "enable_audio_recording", "ovalue" => "0", "value" => $data["recording"]["enable_audio_recording"]) );
				?></td><td class="highlight">Disable</td></tr>
			</table></td></tr>
		<tr><td class="body">Video Recording:</td><td class="highlight"><table cellpadding="0" cellspacing="2" border="0">
			<tr><td><?php
				admin_form_element( array ("type" => "radio", "name" => "enable_video_recording", "ovalue" => "1", "value" => $data["recording"]["enable_video_recording"]) );
				?></td><td class="highlight">Enable</td><td><?php
				admin_form_element( array ("type" => "radio", "name" => "enable_video_recording", "ovalue" => "0", "value" => $data["recording"]["enable_video_recording"]) );
				?></td><td class="highlight">Disable</td></tr>
			</table></td></tr>
		<tr><td class="body">Approve Recordings</td><td class="highlight"><?php
		admin_form_element( array ("type" => "checkbox", "ovalue" => "1", "name" => "track_recordings", "value" => $data["recording"]["track_recordings"]) );
		?></td></tr>
		<tr><td class="body">Show Unapproved Recordings</td><td class="highlight"><?php
		admin_form_element( array ("type" => "checkbox", "ovalue" => "1", "name" => "show_unapproved_recordings", "value" => $data["recording"]["show_unapproved_recordings"]) );
		?></td></tr>
		<tr><td class="body">Enable Mailbox Recording</td><td class="highlight"><table cellpadding="0" cellspacing="2" border="0">
			<tr>
			<td class="highlight"><?php
			admin_form_element ( array ("type" => "checkbox", "name" => "enable_mailbox_audio", "value" => $data["recording"]["enable_mailbox_audio"], "ovalue" => 1) );
			?> Audio</td>
			<td class="highlight"><?php
			admin_form_element ( array ("type" => "checkbox", "name" => "enable_mailbox_video", "value" => $data["recording"]["enable_mailbox_video"], "ovalue" => 1) );
			?> Video</td>
			</tr>
		</table></td></tr>
		<tr><td class="body" width="200">Flash Server URL</td><td class="highlight"><?php
		admin_form_element( array ("type" => "input", "size" => 40, "name" => "flash_url", "value" => $data["recording"]["flash_url"]) );
		?></td></tr>
	</table></td></tr>
	<tr><td class="lined blue_bcg white_body padded" align="center" width="50%">Audio Settings</td>
	<td class="lined blue_bcg white_body padded" align="center">Video Settings</td></tr>
		<tr><td class="grey-lined body padded" valign="top"><table cellpadding="2" cellspacing="2" border="0" width="100%">
			<tr><td class="body">Total Disk Space per User:<br><small>0 = No Restrictions</small></td><td class="highlight"><?php
			admin_form_element ( array ("type" => "input", "size" => 3, "name" => "audio_diskspace", "value" => $data["recording"]["audio_diskspace"]) );
			?> MB</td></tr>
			<tr><td class="body">Limit per Recording:</td><td class="highlight"><?php
			admin_form_element ( array ("type" => "input", "size" => 3, "name" => "audio_limit", "value" => $data["recording"]["audio_limit"]) );
			?> Seconds</td></tr>
			<tr><td class="body">Microphone Bitrate:</td><td class="highlight"><?php
			admin_form_element ( array ("type" => "input", "size" => 3, "name" => "audio_bitrate", "value" => $data["recording"]["audio_bitrate"]) );
			?></td></tr>
		</table></td>
	<td class="grey-lined body padded" valign="top"><table cellpadding="0" cellspacing="2" border="0" width="100%">
			<tr><td class="body">Total Disk Space per User:<br><small>0 = No Restrictions</small></td><td class="highlight"><?php
			admin_form_element ( array ("type" => "input", "size" => 3, "name" => "video_diskspace", "value" => $data["recording"]["video_diskspace"]) );
			?> MB</td></tr>
			<tr><td class="body">Limit per Recording:</td><td class="highlight"><?php
			admin_form_element ( array ("type" => "input", "size" => 3, "name" => "video_limit", "value" => $data["recording"]["video_limit"]) );
			?> Seconds</td></tr>
			<tr><td class="body">Microphone Bitrate:</td><td class="highlight"><?php
			admin_form_element ( array ("type" => "input", "size" => 3, "name" => "video_bitrate", "value" => $data["recording"]["video_bitrate"]) );
			?></td></tr>
			<tr><td class="body">Key Frame Interval:</td><td class="highlight"><?php
			admin_form_element ( array ("type" => "input", "size" => 3, "name" => "video_interval", "value" => $data["recording"]["video_interval"]) );
			?></td></tr>
			<tr><td class="body">Picture Quality:</td><td class="highlight"><?php
			admin_form_element ( array ("type" => "input", "size" => 3, "name" => "video_quality", "value" => $data["recording"]["video_quality"]) );
			?></td></tr>
			<tr><td class="body">Picture Width:</td><td class="highlight"><?php
			admin_form_element ( array ("type" => "input", "size" => 3, "name" => "video_width", "value" => $data["recording"]["video_width"]) );
			?> px</td></tr>
			<tr><td class="body">Picture Height:</td><td class="highlight"><?php
			admin_form_element ( array ("type" => "input", "size" => 3, "name" => "video_height", "value" => $data["recording"]["video_height"]) );
			?> px</td></tr>
			<tr><td class="body">Movie FPS (frames per second):</td><td class="highlight"><?php
			admin_form_element ( array ("type" => "input", "size" => 3, "name" => "video_fps", "value" => $data["recording"]["video_fps"]) );
			?> FPS</td></tr>
			<tr><td class="body">Stream Bandwidth:</td><td class="highlight"><?php
			admin_form_element ( array ("type" => "input", "size" => 3, "name" => "video_bandwidth", "value" => $data["recording"]["video_bandwidth"]) );
			?></td></tr>
		</table></td>
	</tr>
	<tr><td colspan="2" align="center"><?php
		admin_form_element( array("type" => "button", "value" => "Update") );
		?></td></tr>
	</form>
</table>