Location: PHPKode > projects > DDL CMS > Upload these files to your webspace/topsites/templates/accounts_add.tpl
<!-- BEGIN BODY -->
	<table border="0" width="90%">
		<tr>
			<td align="left">
<!-- BEGIN PAGE CONTENT -->
			<script type="text/javascript">
			function checkForm(form)
			{   
			    if( form.Email.value.search(/^[\w\d][\w\d\,\.\-]*\@([\w\d\-]+\.)+([a-zA-Z]+)$/) == -1 )
			    {
			        alert("Invalid E-mail Address");
			        return false;
			    }
			    if( form.Site_URL.value.search(/^http:\/\/[\w\d\-\.]+\.[\w\d\-\.]+/) == -1 )
			    {
			        alert("Invalid Site URL");
			        return false;
			    }
			    if( !form.Password.value || !form.Username.value )
			    {
			        alert("Both a username and password are required");
			        return false;
			    }
			}
			</script>
			<form name="form" action="accounts.php" method="post" onsubmit="return checkForm(this)">
			<div>
			
			<h2>Join <?php echo $site_name; ?> Topsites</h2>
			<br />
			
			<ul>
			<li> Use your real site title.</li>
			<li> No cheating -- hitbots, proxy hits, leechers, zero-sized frames are detected, filtered, and blocked. You will also be blacklisted!</li>
			<li> The more hits you send in, the higher your listing will be!</li>
			</ul>
			
			<br />
			
			<table border="0">
			<tr>
			<td align="right">
			Username:
			</td>
			<td>
			<input type="text" name="Username" size="30"></input>
			</td>
			</tr>
			<tr>
			<td align="right">
			Password:
			</td>
			<td>
			<input type="text" name="Password" size="30"></input>
			</td>
			</tr>
			<tr>
			<td align="right">
			E-mail Address:
			</td>
			<td>
			<input type="text" name="Email" size="30"></input>
			</td>
			</tr>
			<tr>
			<td align="right">
			Site Title:
			</td>
			<td>
			<input type="text" name="Title" size="30"></input>
			</td>
			</tr>
			<tr>
			<td align="right">
			Site URL:
			</td>
			<td>
			<input type="text" name="Site_URL" size="30"></input>
			</td>
			</tr>
			<tr>
			<td colspan="2">
			<br />
			<br />
			<input type="hidden" name="Run" value="CreateAccount"></input>
			<input type="submit" value="Create Account"></input>
			</td>
			</tr>
			</table>
			</div>
			</form>
<!-- END BODY -->
			</td>
		</tr>
	</table>
<!-- END BODY -->
Return current item: DDL CMS