{include file='header.tpl'}

		<div class="page_wrap grid_half">
			<h1>Register</h1>
			
{if isset($error_register) }
	<ul class="alert alert-error" style="margin: 0px; list-style: none;">
		{foreach from=$error_register item=errors}
			<li><i class="icon-flag icon-white"></i> {$errors}</li>
		{/foreach}
	</ul>
{elseif isset($success_register)}

<div class="alert alert-success">
{$success_register}
</div>

{else}
   

			<form action="" method="POST" class="form-horizontal">
				<p>
					<label for="s_username">Username</label>
					<input type="text" name="s_username" id="s_username" style="width: 200px;" />
				</p>
				<p>
					<label for="s_password">Password</label>
					<input type="password" name="s_password" id="s_password" style="width: 200px;" />
				</p>
				<p>
					<label for="s_cpassword">Confirm Password</label>
					<input type="password" name="s_cpassword" id="s_cpassword" style="width: 200px;" />
				</p>
				<p>
					<label for="s_name">Name</label>
					<input type="text" name="s_name" id="s_name" style="width: 200px;" />
				</p>
				<p>
					<label for="s_email">Email</label>
					<input type="text" name="s_email" id="s_email" style="width: 200px;" />
				</p>
				<p>
					<label for="s_paypal_email">Paypal Email</label>
					<input type="text" name="s_paypal_email" id="s_paypal_email" style="width: 200px;" />
				</p>
				<p>
				<div id="form_process_product">
					<div id="licence_agreement" style="margin: 0px;">
						<label for="distribute_rights" style="width: 100%"><input type="checkbox" name="terms" id="distribute_rights" value="1"/>I agree to the Terms of Service and Conditions of UP`N`SELL</label>
					</div>
				</div>
				</p>
				<p align="left"><input type="submit" name="register_submit" class="button" value="Register" style="width: 400px"></p>
			</form>
{/if}
		</div>
		<div class="page_wrap grid_half">
				<h1>Login</h1>
{if isset($error_login) }
	<ul class="alert alert-error" style="margin: 0px; list-style: none;">
		{foreach from=$error_login item=data_login}
			<li><i class="icon-flag icon-white"></i> {$data_login}</li>
		{/foreach}
	</ul>
{elseif isset($success_login)}


<div class="alert alert-success">
	{$success_login}
</div>

{else}
				<form action="" method="POST" class="form-horizontal">
					<p>
						<label for="s_username" style="width: 140px">Name</label>
						<input type="text" name="s_username" id="s_username" style="width: 200px;" />
					</p>
					<p>
						<label for="s_password" style="width: 140px">Password</label>
						<input type="password" name="s_password" id="s_password" style="width: 200px;" />
					</p>
					<p align="center"><input type="submit" name="login_submit" class="button" value="login" style="width: 350px"></p>
				</form>
{/if}
		</div>
			<div class="clearfix"></div>
			
		<div class="clearfix"></div>

		<hr />

		<!-- Testimonials -->
		<div id="testimonials">
			<h2>WHAT OUR CLIENTS SAY:</h2>
			<div class="testimonial">
				Elementum semper bibendum pulvinar elit tempus tellus nulla blandit libero quam, vitae justo !
				<small>John Dow - C.E.O @ Doejohn</small>
			</div>
		</div>

{include file='footer.tpl'}