<?php
/*
 **************************************************************************************************
 *    Copyright (c) 2010-2012 Just Another Video script
 *
 * 	  This file is part of Just Another Video Script.
 *    Version 1.4.3
 *    info@justanothervideoscript.com
 **************************************************************************************************
 *    Come to website for support or buying additional plugins/modules.
 *    http://justanothervideoscript.com/
 **************************************************************************************************
 *    By using this software you agree that you have read and acknowledged our End-User License
 *    Agreement available at http://justanothervideoscript.com/license and can be bound by it.
 **********************************************************************************
 */
if (getSetting("enablelogin", $db) == '0') {
	echo '<div id="home"><h2>Login is disabled</h2></div>' ;
} else {
?>


<div id="home"><h2>Login</h2>
<form method="post" action="<?=$sitepath?>includes/login.php">
	 <div class="box">
			<label>
	                	<span>Username</span>
	                	<input type="text" tabindex="1" class="input_text" name="user" id="name"/>
            		</label>
			<label>
	                	<span>Password</span>
	                	<input type="password" tabindex="1" class="input_text" name="pass" id="pass"/>
            		</label>	 

           		<label>
           			<span>Remember me</span>
				<input type="checkbox" name="remember" id="remember"/>
            		</label>
           		<label class="forgot">
               			<span><a href="<?=$sitepath?>forgot" title="Click here to recover your password">Forgot Password?</a></span>
            		</label>           		

           		<label>
               		<input type="submit" class="button" value="Log in" />	
            		</label>
	</div>
</form>
</div>

<?php
}
?>



