Виждате, че не е завършена рамката, div-а e - <div class="phatlootbox-bottom">
Въпросния <div> е добавен най отдолу, ще го видите :
Код:
<table align="center" width="100%" style="font-size:0.8em;"><tr><td align="left">
<div id="container-community">
<div class="phatlootbox-top">
<h2 class="Register">
<span class="hide">Registration</span>
</h2>
<span class="phatlootbox-visual comm"></span>
</div>
<div class="phatlootbox-wrapper">
<div style="background: url(<?php echo $currtmp; ?>/images/phatlootbox-top-parchment.jpg) repeat-y top right; height: 7px; width: 456px; margin-left: 6px; font-size: 1px;"></div>
<div class="community-cnt">
<?php
if(isset($_POST['step']) && $_POST['step'] == 3 && $allow_reg === true)
{
if($reg_succ === true){
if((int)$MW->getConfig->generic->req_reg_act){
echo $lang['email_sent_act'];
}else{
echo $lang['reg_succ'].'<meta http-equiv=refresh content="3;url='.$MW->getConfig->temp->site_href.'">';
}
}
}
elseif(isset($_POST['step']) && $_POST['step'] == 2 && $allow_reg === true)
{
?>
<script type="text/javascript">
</script>
<style media="screen" title="currentStyle" type="text/css">
p.nm, p.wm {
margin: 0.5em 0 0.5em 0;
padding: 3px; }
p.nm {
background-color: #FEF5DA;
border-right: 1px solid #D0CBAF;
border-bottom: 1px solid #D0CBAF;
color: #605033; }
p.wm {
background-color: #FBD8D7;
border-right: 1px solid #DCBFB4;
border-bottom: 1px solid #DCBFB4;
color: #6A0D0B; }
#regform label {
display: block;
margin-top: 1em;
font-weight: bold;
}
p.nm, p.wm {
margin: 0px;
margin-top: 3px;
}
</style>
<div style="padding-left:8px; padding-right: 14px">
<form method="post" action="index.php?n=account&sub=register" name="regform" id="regform" onsubmit="return check_all();">
<input type="hidden" name="r_key" value="<?php echo $_POST['r_key'];?>"/>
<input type="hidden" name="step" value="3"/>
<label for="r_login"><?php echo $lang['username'];?>:</label>
<input type="text" id="r_login" name="r_login" size="40" maxlength="16" onblur="check_login();"/>
<p id="t_login" style="display:none;" class="wm"></p>
<label for="r_pass"><?php echo $lang['pass'];?>:</label>
<input type="password" id="r_pass" name="r_pass" size="40" maxlength="16" onblur="check_pass();"/>
<p id="t_pass" style="display:none;" class="wm"></p>
<label for="r_cpass"><?php echo $lang['cpass'];?>:</label>
<input type="password" id="r_cpass" name="r_cpass" size="40" maxlength="16" onblur="check_cpass();"/>
<p id="t_cpass" style="display:none;" class="wm"></p>
<label for="r_email"><?php echo $lang['email'];?>:</label>
<input type="text" id="r_email" name="r_email" size="40" maxlength="50" onblur="check_email();"/>
<p id="t_email" style="display:none;" class="wm"></p>
<?php if ((int)$MW->getConfig->generic_values->account_registrer->secret_questions_input == 0): ?>
<label for="secretq1"><?php echo $lang['secretq']; ?> 1:</label>
Q: <select id="secretq1" name="secretq1">
<option value="Disabled">Disabled</option>
<?php foreach ($MW->getConfig->secret_questions->question as $question): ?>
<option value="<?php echo htmlspecialchars($question); ?>"><?php echo $question; ?></option>
<?php endforeach; ?>
</select><br />
A: <input type="hidden" id="secreta1" name="secreta1" size="40" maxlength="50"/>
<label for="secretq2"><?php echo $lang['secretq']; ?> 2:</label>
Q: <select id="secretq2" name="secretq2">
<option value="Disabled">Disable</option>
<?php foreach ($MW->getConfig->secret_questions->question as $question): ?>
<option value="<?php echo htmlspecialchars($question); ?>"><?php echo $question; ?></option>
<?php endforeach; ?>
</select><br />
A: <input type="hidden" id="secreta2" name="secreta2" size="40" maxlength="50"/>
<?php endif; ?>
<?php if ((int)$MW->getConfig->generic_values->account_registrer->secret_questions_input): ?>
<label for="secretq1"><?php echo $lang['secretq']; ?> 1:</label>
Q: <select id="secretq1" name="secretq1">
<option value="0">Избери</option>
<?php foreach ($MW->getConfig->secret_questions->question as $question): ?>
<option value="<?php echo htmlspecialchars($question); ?>"><?php echo $question; ?></option>
<?php endforeach; ?>
</select><br />
A: <input type="text" id="secreta1" name="secreta1" size="40" maxlength="50"/>
<label for="secretq2"><?php echo $lang['secretq']; ?> 2:</label>
Q: <select id="secretq2" name="secretq2">
<option value="0">Избери</option>
<?php foreach ($MW->getConfig->secret_questions->question as $question): ?>
<option value="<?php echo htmlspecialchars($question); ?>"><?php echo $question; ?></option>
<?php endforeach; ?>
</select><br />
A: <input type="text" id="secreta2" name="secreta2" size="40" maxlength="50"/>
<?php endif; ?>
<label for="r_account_type"><?php echo $lang['exp_select']; ?>:</label>
<select id="r_account_type" name="r_account_type">
<option selected="selected" value="2"><?php echo $lang['wotlk'];?></option>
</select><br /><br />
<?php
if ((int)$MW->getConfig->generic_values->account_registrer->enable_image_verfication):
// Initialize random image:
$captcha=new Captcha;
$captcha->load_ttf();
$captcha->make_captcha();
$captcha->delold();
$filename=$captcha->filename;
$privkey=$captcha->privkey;
$DB->query("INSERT INTO `acc_creation_captcha`(filename, acc_creation_captcha.key) VALUES('$filename','$privkey')");
?>
<img src="<?php echo $filename; ?>" alt=""/><br />
<input type="hidden" name="filename_image" value="<?php echo $filename; ?>"/>
<b>Напиши кода от картинката:</b>
<br />
<input type="text" name="image_key"/><br />
<?php endif; ?>
<br />
<input type="submit" class="button" value="<?php lang('register');?>"/>
</form>
</div>
<?php
}
elseif((isset($_POST['step']) && $_POST['step']==1 || (int)$MW->getConfig->generic->req_reg_key == 0) && $allow_reg === true)
{
?>
<form method="post" action="index.php?n=account&sub=register">
<input type="hidden" name="step" value="2"/>
<input type="hidden" name="r_key" value="<?php echo $_POST['r_key'];?>"/>
<div style="margin:4px;padding:6px 9px 6px 9px;text-align:left;">
<h2 style="margin:2px;"> <?php echo $lang['rules_agreement'] ?> </h2>
<div style="color: red"><?php echo $lang['warn_email'] ?></div>
<br/>
<?php echo lang_resource('acc_create_rules.html'); ?>
</div>
<div style="margin:4px;padding:6px 9px 0px 9px;text-align:left;">
<input type="button" class="button" value="<?php echo $lang['disagree']; ?>" onclick="location.href='index.php'"/>
<input type="submit" class="button" value="<?php echo $lang['agree']; ?>"/>
</div>
</form>
<?php
}
elseif(empty($_POST['step']) && (int)$MW->getConfig->generic->req_reg_key == 1 && $allow_reg === true)
{
?>
<form method="post" action="index.php?n=account&sub=register">
<input type="hidden" name="step" value="1"/>
<div style="margin:4px;padding:6px 9px 6px 9px;text-align:left;">
<b><?php echo $lang['reg_key'];?>:</b> <input type="text" name="r_key" size="45" maxlength="50"/>
</div>
<div style="background:none;margin:4px;padding:6px 9px 0px 9px;text-align:left;">
<input type="submit" class="button" value="<?php echo $lang['next'];?>"/>
</div>
</form>
<?php
}
?>
<br/>
</div>
</div>
<div class="phatlootbox-bottom">
</div>
</div>
</td></tr></table>
Код: