What are you trying to accomplish? Can you post your code so people can work with itDoes anyone know how I link my login with the database:You must be registered for see links
so it checks if that's the right login?
What are you trying to accomplish? Can you post your code so people can work with it
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<html lang = "en">
<head>
<title>{hotelname} | Index</title>
<link rel="stylesheet" href="http://localhost/app/tpl/skins/Habbo/css/style.css" type="text/css" />
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
</head>
<body>
<div class="logo"></div>
<div class="online">There are <b>{online_count)</b> people online.</div>
<div class="errormessage">Kill yourself</div>
<div class="container">
<div class="title">Login</div>
<div class="content">
<input type="text" name="email" id="email" class="form" placeholder="Email"> <br /><br />
<input type="text" name="email" id="email" class="form" placeholder="Password"> <br /><br />
<input type="submit" name="login" id="login" class="submit">
<div class="button_register">
Register
</div>
</div>
</div>
<script>
var registerURL ="file:///C:/Users/abdu/Desktop/project%20x/register.html";
$('.button_register').click(function(){window.location.href=registerURL})
$.fn.center = function() {
var element = this;
element.css({
'left': $(window).width() / 2 - element.width() / 2 + 'px'
})
return element
}
$('.container').center();
$('.errormessage').center();
</script>
</body>
</html>
Will doTry here
You must be registered for see links
So that it checks if its a real login, just like logging into habbo.com?Code:<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <html lang = "en"> <head> <title>{hotelname} | Index</title> <link rel="stylesheet" href="http://localhost/app/tpl/skins/Habbo/css/style.css" type="text/css" /> <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script> </head> <body> <div class="logo"></div> <div class="online">There are <b>{online_count)</b> people online.</div> <div class="errormessage">Kill yourself</div> <div class="container"> <div class="title">Login</div> <div class="content"> <input type="text" name="email" id="email" class="form" placeholder="Email"> <br /><br /> <input type="text" name="email" id="email" class="form" placeholder="Password"> <br /><br /> <input type="submit" name="login" id="login" class="submit"> <div class="button_register"> Register </div> </div> </div> <script> var registerURL ="file:///C:/Users/abdu/Desktop/project%20x/register.html"; $('.button_register').click(function(){window.location.href=registerURL}) $.fn.center = function() { var element = this; element.css({ 'left': $(window).width() / 2 - element.width() / 2 + 'px' }) return element } $('.container').center(); $('.errormessage').center(); </script> </body> </html>
Will do