RoidyMelan
Member
- Apr 25, 2013
- 40
- 11
i have got a new register page it's all good but when i try to click the register button it doesnt work.
here is my code
here is my code
Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName} - Registration</title>
<script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/visual.js"></script>
<script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/common.js"></script>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/common.css" type="text/css">
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/embedregistration.css" type="text/css">
<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = null;
var habboId = null;
var habboReqPath = "";
var habboStaticFilePath = "{url}/app/tpl/skins/Habbo";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "{url}/client";
window.name = "habboMain";
if (typeof HabboClient != "undefined") {
HabboClient.windowName = "client";
HabboClient.maximizeWindow = true;
}
</script>
<style type="text/css">
input[type="submit"], input[type="button"] {
background: url('{url}/app/tpl/skins/Habbo/images/reg_btn.png') top;
font: bold 13px arial,sans-serif;
line-height: 25px;
color: black;
height: 25px;
width: 99px;
border: 0;
}
input[type="submit"]:hover, input[type="button"]:hover {
background-position: bottom;
cursor: pointer;
}
</style>
<!--[if IE 8]>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie8.css" type="text/css">
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie6.css" type="text/css" />
<script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/pngfix.js"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>
<style type="text/css">
body { behavior: url({url}/app/tpl/skins/Habbo/js/csshover.htc); }
</style>
<![endif]-->
</head>
<body>
<div id="container">
<div id="container" class="phase-0" style="margin-top: 10px;">
<div id="content" style="position: relative" class="clearfix">
<div id="column1" class="column" style="width: 550px;">
<div class="habblet-container ">
<div class="cbb clearfix blue ">
<h2 class="title"><font size=1><span style="float: middle;">{hotelname} Registration</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2><div class="box-content"><table width="15%" style="padding: 5px; margin-left: -1px; background-color: #fff;">
<center><img src="./app/tpl/skins/habbo/images/logo.png"></center>
</div>
<div class="phase-0">
<div id="name-field-container">
<div class="field field-habbo-name">
<center> <label for="habbo-name"><b>Username</b></label>
<center> <input type="text" id="habbo-name" size="35" value="<?php echo $template->form->reg_username; ?>" name="reg_username" class="text-field" maxlength="32">
</div>
</div>
<div class="field field-password">
<center> <label for="password"><b>Password</b></label>
<center> <input type="password" id="password" size="35" name="reg_password" value="" class="password-field" maxlength="32">
</div>
<div class="field field-password2">
<center> <label for="password2"><b>Confirm Password</b></label>
<center> <input type="password" id="password2" size="35" name="reg_rep_password" value="" class="password-field" maxlength="32">
</div>
<div class="field field-email">
<center> <label for="email"><b>Email Address</b></label>
<center> <input type="text" id="email" size="35" name="reg_email" value="<?php echo $template->form->reg_email; ?>" class="text-field" maxlength="48">
</div>
<center><div class="field field-seckey">
<label for="seckey"><b>Security Pin</b></label>
<input type="password" id="seckey" size="35" name="reg_seckey" value="" class="text-field" maxlength="4">
</div></center>
<center>
<a href="#" class="new-button" id="next-btn"><b>Create Account</b><i></i></a>
<input type="submit" id="next" value="Register" />
<input type="button" value="Cancel" onclick="location.href='{url}/'">
</form>
</div>
<script type="text/javascript">
HabboView.run();
</script>
</div></div>
</html>