<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=3rdparty">3rd Party Scripts</a></td></tr>
	<tr><td>&nbsp;</td></tr>
	<tr><td><table cellpadding="5" cellspacing="2" border="0" width="400" align="center">
	<form action="index.php" method="post">
	<input type="hidden" name="section" value="3rdparty">
	<input type="hidden" name="action" value="save">
	<input type="hidden" name="script" value="<?php echo $data["script"]; ?>">
		<tr><td class="lined blue_bcg white_body padded" align="center">Basic Settings</td></tr>
		<tr><td class="form_cell"><table cellpadding="0" cellspacing="3" border="0" align="center">
			<tr><td class="body">Script Name:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "name", "value" => $data["values"][name], "size" => 30) );
			?></td></tr>
			<tr><td class="body">Script URL:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "url", "value" => $data["values"][url], "size" => 30) );
			?></td></tr>
			<tr><td class="body">DB Host:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "dbhost", "value" => $data["values"][dbhost], "size" => 30) );
			?></td></tr>
			<tr><td class="body">DB Name:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "dbname", "value" => $data["values"][dbname], "size" => 30) );
			?></td></tr>
			<tr><td class="body">DB User:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "dbuser", "value" => $data["values"][dbuser], "size" => 30) );
			?></td></tr>
			<tr><td class="body">DB Password:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "password", "name" => "dbpass", "value" => $data["values"][dbpass], "size" => 30) );
			?></td></tr>
			<tr><td class="body">DB Table Prefix:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "dbprefix", "value" => $data["values"][dbprefix], "size" => 30) );
			?></td></tr>
		</table></td></tr>
		<tr><td class="lined blue_bcg white_body padded" align="center">Initial Handler</td></tr>
		<tr><td class="form_cell"><table cellpadding="0" cellspacing="3" border="0" align="center">
			<tr><td class="body">PHP File:</td><td class="highlight">3rdparty/<?php
			admin_form_element( array ("type" => "input", "name" => "init[file]", "value" => $data["values"][init][file], "size" => 21) );
			?></td></tr>
			<tr><td class="body">PHP Function:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "init[func]", "value" => $data["values"][init][func], "size" => 30) );
			?></td></tr>
		</table></td></tr>
		<tr><td class="lined blue_bcg white_body padded" align="center">Sign-Up Event Handler</td></tr>
		<tr><td class="form_cell"><table cellpadding="0" cellspacing="3" border="0" align="center">
			<tr><td class="body">PHP File:</td><td class="highlight">3rdparty/<?php
			admin_form_element( array ("type" => "input", "name" => "register[file]", "value" => $data["values"][register][file], "size" => 21) );
			?></td></tr>
			<tr><td class="body">PHP Function:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "register[func]", "value" => $data["values"][register][func], "size" => 30) );
			?></td></tr>
		</table></td></tr>
		<tr><td class="lined blue_bcg white_body padded" align="center">Login Event Handler</td></tr>
		<tr><td class="form_cell"><table cellpadding="0" cellspacing="3" border="0" align="center">
			<tr><td class="body">PHP File:</td><td class="highlight">3rdparty/<?php
			admin_form_element( array ("type" => "input", "name" => "login[file]", "value" => $data["values"][login][file], "size" => 21) );
			?></td></tr>
			<tr><td class="body">PHP Function:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "login[func]", "value" => $data["values"][login][func], "size" => 30) );
			?></td></tr>
		</table></td></tr>
		<tr><td class="lined blue_bcg white_body padded" align="center">Logout Event Handler</td></tr>
		<tr><td class="form_cell"><table cellpadding="0" cellspacing="3" border="0" align="center">
			<tr><td class="body">PHP File:</td><td class="highlight">3rdparty/<?php
			admin_form_element( array ("type" => "input", "name" => "logout[file]", "value" => $data["values"][logout][file], "size" => 21) );
			?></td></tr>
			<tr><td class="body">PHP Function:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "logout[func]", "value" => $data["values"][logout][func], "size" => 30) );
			?></td></tr>
		</table></td></tr>
		<tr><td class="lined blue_bcg white_body padded" align="center">Account Update Event Handler</td></tr>
		<tr><td class="form_cell"><table cellpadding="0" cellspacing="3" border="0" align="center">
			<tr><td class="body">PHP File:</td><td class="highlight">3rdparty/<?php
			admin_form_element( array ("type" => "input", "name" => "account[file]", "value" => $data["values"][account][file], "size" => 21) );
			?></td></tr>
			<tr><td class="body">PHP Function:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "account[func]", "value" => $data["values"][account][func], "size" => 30) );
			?></td></tr>
		</table></td></tr>
		<tr><td class="lined blue_bcg white_body padded" align="center">Account Delete Event Handler</td></tr>
		<tr><td class="form_cell"><table cellpadding="0" cellspacing="3" border="0" align="center">
			<tr><td class="body">PHP File:</td><td class="highlight">3rdparty/<?php
			admin_form_element( array ("type" => "input", "name" => "delete[file]", "value" => $data["values"][delete][file], "size" => 21) );
			?></td></tr>
			<tr><td class="body">PHP Function:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "delete[func]", "value" => $data["values"][delete][func], "size" => 30) );
			?></td></tr>
		</table></td></tr>
		<tr><td class="lined blue_bcg white_body padded" align="center">Link Builder</td></tr>
		<tr><td class="form_cell"><table cellpadding="0" cellspacing="3" border="0" align="center">
			<tr><td class="body">PHP File:</td><td class="highlight">3rdparty/<?php
			admin_form_element( array ("type" => "input", "name" => "link[file]", "value" => $data["values"]["link"][file], "size" => 21) );
			?></td></tr>
			<tr><td class="body">PHP Function:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "link[func]", "value" => $data["values"]["link"][func], "size" => 30) );
			?></td></tr>
		</table></td></tr>
		<tr><td class="lined blue_bcg white_body padded" align="center">Custom Handler</td></tr>
		<tr><td class="form_cell"><table cellpadding="0" cellspacing="3" border="0" align="center">
			<tr><td class="body">PHP File:</td><td class="highlight">3rdparty/<?php
			admin_form_element( array ("type" => "input", "name" => "custom[file]", "value" => $data["values"][custom][file], "size" => 21) );
			?></td></tr>
			<tr><td class="body">PHP Function:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "input", "name" => "custom[func]", "value" => $data["values"][custom][func], "size" => 30) );
			?></td></tr>
		</table></td></tr>
		<tr><td align="center"><?php
		admin_form_element( array ("type" => "button", "value" => "Back", "link" => $data["link"]) );
		echo "&nbsp;";
		admin_form_element( array ("type" => "button", "value" => "Save") );
		?></td></tr>
	</form>
	</table></td></tr>
</table>