<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="profiles">
<input type="hidden" name="theme" value="<?php echo $data["theme"]; ?>">
	<tr><td class="lined blue_bcg white_body padded" align="center">Public Path</td>
	<td class="lined blue_bcg white_body padded" align="center">Settings</td></tr>
	<tr><td class="grey-lined body padded" valign="top"><table cellpadding="0" cellspacing="2" border="0" width="100%">
		<tr><td class="body">Public URL:</td><td class="highlight"><?php
		admin_form_element ( array ("type" => "input", "size" => 40, "name" => "url", "value" => $data["profiles"][url]) );
		?></td></tr>
		<tr><td class="body">Public Path:</td><td class="highlight"><?php
		admin_form_element ( array ("type" => "input", "size" => 40, "name" => "path", "value" => $data["profiles"][path]) );
		?></td></tr>
		<tr><td class="body">.htaccess File:<br><small>(if mod_rewrite is enabled)</small></td><td class="highlight">
		<a href="index.php?section=modules&action=htaccess" target="_blank">.htaccess</a>
		</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">&quot;New&quot; Period:</td><td class="highlight"><?php
		admin_form_element ( array ("type" => "input", "size" => 3, "name" => "new", "value" => $data["profiles"]["new"]) );
		?> days</td></tr>
		<tr><td class="body">&quot;Updated&quot; Period:</td><td class="highlight"><?php
		admin_form_element ( array ("type" => "input", "size" => 3, "name" => "updated", "value" => $data["profiles"]["updated"]) );
		?> days</td></tr>
		<tr><td class="body">Template Select:</td>
		<td><?php
		$options[""] = "Allow users to select";
		while(list($key,$val) = each($data["profiles"]["templates"])){
			$options[$key] = $val;
		}//while
		admin_form_element( array ("type" => "select", "name" => "template", "value" => $data["profiles"]["template"], "options" => $options) );
		?></td></tr>
		<tr><td class="body">Template Colorize:</td><td class="highlight"><table cellpadding="0" cellspacing="2" border="0">
			<tr>
			<td class="highlight"><?php
			if(extract_null_value($data["profiles"]["colorize"]))
				$data["profiles"]["colorize"] = 1;
			admin_form_element ( array ("type" => "radio", "name" => "colorize", "value" => $data["profiles"]["colorize"], "ovalue" => "1") );
			?> Enable</td>
			<td class="highlight"><?php
			admin_form_element ( array ("type" => "radio", "name" => "colorize", "value" => $data["profiles"]["colorize"], "ovalue" => "0") );
			?> Disable</td>
			</tr>
		</table></td></tr>
		<tr><td class="body">Enable mod_rewrite:</td><td class="highlight"><table cellpadding="0" cellspacing="2" border="0">
			<tr>
			<td class="highlight"><?php
			admin_form_element ( array ("type" => "radio", "name" => "mod_rewrite", "value" => $data["profiles"]["mod_rewrite"], "ovalue" => "1") );
			?> Yes</td>
			<td class="highlight"><?php
			if(extract_null_value($data["profiles"]["mod_rewrite"]))
				$data["profiles"]["mod_rewrite"] = 0;
			admin_form_element ( array ("type" => "radio", "name" => "mod_rewrite", "value" => $data["profiles"]["mod_rewrite"], "ovalue" => "0") );
			?> No</td>
			</tr>
		</table></td></tr>
		<tr><td class="body">Enable Testimonial Recording:</td><td class="highlight"><table cellpadding="0" cellspacing="2" border="0">
			<tr>
			<td class="highlight"><?php
			admin_form_element ( array ("type" => "checkbox", "name" => "audio", "value" => $data["profiles"]["audio"], "ovalue" => "1") );
			?> Audio</td>
			<td class="highlight"><?php
			admin_form_element ( array ("type" => "checkbox", "name" => "video", "value" => $data["profiles"]["video"], "ovalue" => "1") );
			?> Video</td>
			</tr>
		</table></td></tr>
	</table></td></tr>
	<tr><td colspan="2" class="grey-lined body padded" align="center"><?php
	admin_form_element( array("type" => "button", "value" => "Update") );
	?></td></tr>
</form>
</table>