File: /home/httpd/html/baretube.com/login.php
<?
session_start();
include('admin/db.php');
$title = 'Login';
$headertitle = 'Login';
if($isMobile) {
include($basepath.'/templates/mobile.overall_header.php');
}
else {
include($basepath.'/templates/template.overall_header.php');
}
?>
<div class="forms-wrapper">
<div class="forms">
<div class="forms-intro">
You may login to your account using the form below.<br>
<a href='/signup.php'>Not a member? Click here to sign up, its free!</a>
<!-- class="forms-intro" --></div>
<form id="form1" name="form1" method="post" action="/login_auth.php">
<div class="form-label">Username</div>
<div class="form-field"><input class="text" id="ahd_username" name="ahd_username" type="text" autocomplete='off' maxlength="255"></div>
<div class="clear"></div>
<div class="form-label">Password</div>
<div class="form-field"><input class="text" id="ahd_password" name="ahd_password" autocomplete='off' type="password"></div>
<div class="clear"></div>
<div class="form-label"></div>
<div class="form-field"><a href="<? echo $basehttp; ?>/forgot_pass.php">Forgot Password?</a></div>
<div class="clear"></div>
<div class="form-label"></div>
<div class="form-field"><input class="submit" type='submit' name="Submit" id="button" value="Login" /></div>
<div class="clear"></div>
<? if(!$_SESSION[userid] && $enable_facebook_login){ ?>
<?php include($basepath.'/facebook_login.php'); ?>
<a href="<? echo $basehttp; ?>/facebook.php"><img src="<?php echo $basehttp;?>/images/facebook-login-button.png" style="" border="0" /></a>
<? } ?>
<? if(!$_SESSION[userid] && $enable_twitter_login){ ?>
<div class="twitter-login-button">
<a href="<?php echo $twitter->getAuthenticateUrl(); ?>&force_login=true">
<img src="<?php echo $basehttp;?>/images/twitter.png" style="" />
</a>
</div>
<? } ?>
</form>
<!-- class="forms" --></div>
<!-- class="forms-wrapper" --></div>
<?
if($isMobile) {
include($basepath.'/templates/mobile.overall_footer.php');
}
else {
include($basepath.'/templates/template.overall_footer.php');
}
?>