Webboard

Pełna wersja: Panel rejestracji - wyśrodkowanie
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB:1.6.10
adres forum:handballpro.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Tak wygląda panel rejestracji na moim forum:
http://img404.imageshack.us/img404/714/sijj.png

Tak chciałbym, aby zostało wszystko wyśrdokowane:
http://img607.imageshack.us/img607/7167/jt37.png

Czy ktoś pomoże? Jakieś szablony wam przedstawić?
Pokaż szablon member_register (style i szablony / szablony / twój styl / podgląd profilu / member_register
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->registration}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/validator.js"></script>
</head>
<body>
{$header}
<br />
<form action="member.php" method="post" id="registration_form"><input type="text" style="visibility: hidden;" value="" name="regcheck1" /><input type="text" style="visibility: hidden;" value="true" name="regcheck2" />
{$regerrors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->registration}</strong></td>
</tr>
<tr>
<td width="50%" class="trow1" valign="top">
<legend><strong>{$lang->account_details}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="50%">
<tr>
<td colspan="2"><span class="smalltext"><label for="username">{$lang->username}</label></span></td>
</tr>
<tr>
<td colspan="2"><input type="text" class="textbox" name="username" id="username" style="width: 50%" value="{$username}" /></td>
</tr>
<tr>
<td colspan="2"><span class="smalltext"><label for="email">{$lang->email}</label></span></td>
</tr>
<tr>
<td colspan="2"><input type="text" class="textbox" name="email" id="email" style="width: 50%" maxlength="50" value="{$email}" /></td>
</tr>
<tr>
    <td colspan="2" style="display: none;" id="email_status">&nbsp;</td>
</tr>
<center>
{$passboxes}
{$hiddencaptcha}
</table>
{$requiredfields}
{$referrer}
{$regimage}
<center>
</td>
</table>
<br />
<br />
</table>
</td>
</tr>
</table>
<br />
<input type="hidden" name="step" value="registration" />
<input type="hidden" name="action" value="do_register" />
<input type="submit" class="button" name="regsubmit" value="{$lang->submit_registration}" />
</form>
<script type="text/javascript">
<!--
    regValidator = new FormValidator('registration_form');
    regValidator.register('username', 'notEmpty', {failure_message:'{$lang->js_validator_no_username}'});
    regValidator.register('email', 'regexp', {match_field:'email2', regexp:'^([a-zA-Z0-9_\\.\\+\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$', failure_message:'{$lang->js_validator_invalid_email}'});
    regValidator.register('email2', 'matches', {match_field:'email', status_field:'email_status', failure_message:'{$lang->js_validator_email_match}'});
{$validator_extra}
    regValidator.register('username', 'ajax', {url:'xmlhttp.php?action=username_availability', loading_message:'{$lang->js_validator_checking_username}'}); // needs to be last
// -->
</script>
{$footer}
</body>
</html>
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->registration}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/validator.js"></script>
</head>
<body>
{$header}
<br />
<form action="member.php" method="post" id="registration_form"><input type="text" style="visibility: hidden;" value="" name="regcheck1" /><input type="text" style="visibility: hidden;" value="true" name="regcheck2" />
{$regerrors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->registration}</strong></td>
</tr>
<tr>
<td width="50%" class="trow1" valign="top">
<fieldset class="trow2">
<center><legend><strong>{$lang->account_details}</strong></legend></center>
<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr>
<td colspan="2"><center><span class="smalltext"><label for="username">{$lang->username}</label></span></center></td>
</tr>
<tr>
<td colspan="2"><center><input type="text" class="textbox" name="username" id="username" style="width: 50%" value="{$username}" /></center></td>
</tr>
<tr>
<td colspan="2" style="display: none;" id="username_status">&nbsp;</td>
</tr>
<td colspan="2"><center><span class="smalltext"><label for="email">{$lang->email}</label></span></center></td>
</tr>
<tr>
<td colspan="2"><center><input type="text" class="textbox" name="email" id="email" style="width: 50%" maxlength="50" value="{$email}" /></center></td><tr>
    <td colspan="2" style="display: none;" id="email_status">&nbsp;</td>
</tr>
<tr>
<td><center><span class="smalltext">{$lang->password}</span></center></td>
<td><center><span class="smalltext">{$lang->confirm_password}</span></center></td>
</tr>
<tr>
<td><input type="password" class="textbox" name="password" id="password" style="width: 100%" /></td>
<td><input type="password" class="textbox" name="password2" id="password2" style="width: 100%" /></td>
</tr>
<tr>
    <td colspan="2" style="display: none;" id="password_status">&nbsp;</td>
</tr>

<center>{$hiddencaptcha}</center>
</table>
</fieldset>
<center>{$requiredfields}</center>
<center>{$referrer}</center>
<center>{$regimage}</center>
</td>
</table>
</fieldset>
</td>
</tr>
</table>
<div align="center">
<input type="hidden" name="step" value="registration" />
<input type="hidden" name="action" value="do_register" />
<input type="submit" class="button" name="regsubmit" value="{$lang->submit_registration}" />
</div>
</form>
<script type="text/javascript">
<!--
    regValidator = new FormValidator('registration_form');
    regValidator.register('username', 'notEmpty', {failure_message:'{$lang->js_validator_no_username}'});
    regValidator.register('email', 'regexp', {match_field:'email2', regexp:'^([a-zA-Z0-9_\\.\\+\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$', failure_message:'{$lang->js_validator_invalid_email}'});
    regValidator.register('email2', 'matches', {match_field:'email', status_field:'email_status', failure_message:'{$lang->js_validator_email_match}'});
{$validator_extra}
    regValidator.register('username', 'ajax', {url:'xmlhttp.php?action=username_availability', loading_message:'{$lang->js_validator_checking_username}'}); // needs to be last
// -->
</script>
{$footer}
</body>
</html>