center img src logo1 jpg center if empty szMsg div align center table

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<center><img src="/logo1.jpg"></center>
<?if (!empty($szMsg)){?>
<div align="center"><table style="width:882; height:40px; background-color:#eee; margin-bottom:20px; align:center;">
<tr><td style="text-align:center; vertical-align:middle;"><CENTER><b><?=$szMsg?></b></CENTER></td></tr>
</table></div>
<?}?>
<div id="tab_login" align="center" style="margin-top:30px; margin-bottom:20px;">
<span style="background-color:lightgrey; padding:2px 5px;">У меня есть аккаунт</span>
<span style="cursor:pointer; color:#1458B1; padding:2px 5px; border-bottom:1px dashed;" onclick="document.getElementById('tab_login').style.display = 'none'; document.getElementById('tab_register').style.display =''; document.getElementById('sheet_login').style.display = 'none'; document.getElementById('sheet_register').style.display = '';">Хочу зарегистрироваться</span>
</div>
<div id="tab_register" align="center" style="margin-top:30px; margin-bottom:20px; display:none;">
<span style="cursor:pointer; color:#1458B1; padding:2px 5px; border-bottom:1px dashed;" onclick="document.getElementById('tab_login').style.display = ''; document.getElementById('tab_register').style.display ='none'; document.getElementById('sheet_login').style.display = ''; document.getElementById('sheet_register').style.display = 'none';">У меня есть аккаунт</span>
<span style="background-color:lightgrey; padding:2px 5px;">Хочу зарегистрироваться</span>
</div>
<div id="sheet_login" align="center" style="margin-bottom:50px;">
<script type="text/javascript" src="js/login.js"></script>
<form action="log.html" method="post" onsubmit="return checkLogin(this);">
<table width="600" border="0" bgcolor="#eef6fc">
<tr>
<th colspan="2">Авторизация</th>
</tr>
<tr>
<td width="100" style="text-align:center; vertical-align:middle;">Логин:</td>
<td width="500" style="text-align:center; vertical-align:middle;"><input type="text" name="name" class="whoisRightInput" style="width:300px; margin-bottom:6px;"/></td>
</tr>
<tr>
<td style="text-align:center; vertical-align:middle;">Пароль:</td>
<td style="text-align:center; vertical-align:middle;"><input type="password" name="password" class="whoisRightInput" style="width:300px; margin-bottom:6px;"/></td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="padding:5px 8px;"><input class="whoisButtonInput" type="submit" name="submit" value="Ok"/></td>
</tr>
</table>
</form>
</div>
<div id="sheet_register" align="center" style="margin-bottom:50px; display:none;">
<script type="text/javascript" src="js/register.js"></script>
<form action="reg.html" method="post" onsubmit="return checkForm(this);">
<table width="600" border="0" bgcolor="#eefcee">
<tr>
<th colspan="2">Регистрация</th>
</tr>
<tr>
<td width="100" style="text-align:center; vertical-align:middle;">Логин*:</td>
<td width="500" style="text-align:center; vertical-align:middle;"><input type="text" name="name" class="whoisRightInput" style="width:300px; margin-bottom:6px;"/></td>
</tr>
<tr>
<td style="text-align:center; vertical-align:middle;">Пароль*:</td>
<td style="text-align:center; vertical-align:middle;"><input type="password" name="password" class="whoisRightInput" style="width:300px; margin-bottom:6px;"/></td>
</tr>
<tr>
<td style="text-align:center; vertical-align:middle;">Подтвердите пароль*:</td>
<td style="text-align:center; vertical-align:middle;"><input type="password" name="confirmation" class="whoisRightInput" style="width:300px; margin-bottom:6px;"/></td>
</tr>
<tr>
<td style="text-align:center; vertical-align:middle;">E-mail*:</td>
<td style="text-align:center; vertical-align:middle;"><input type="text" name="email" class="whoisRightInput" style="width:300px; margin-bottom:6px;"/></td>
</tr>
<tr>
<td style="text-align:center; vertical-align:middle;">Введите код*:</td>
<td style="text-align:center; vertical-align:middle;"><input type="text" name="code" class="whoisRightInput" style="width:300px; margin-bottom:6px;"/></td>
</tr>
<tr>
<td style="text-align:center; vertical-align:middle;"></td>
<td style="text-align:center; vertical-align:middle;"><img src="botstop.php?<?=rand(0,100000)?>" alt="Введите код" /></td>
</tr>
<tr>
<td colspan="2" style="padding:5px 8px;" align="center"><strong>Поля, отмеченные * являются обязательными</strong></td>
</tr>
<tr>
<td style="text-align:center; vertical-align:middle;">Счет в <a href="http://rbkmoney.ru">RBK</a></td>
<td style="text-align:center; vertical-align:middle;"><input type="text" name="purse[wmz]" class="whoisRightInput" style="width:300px; margin-bottom:6px;"/></td>
</tr>
<tr>
<td style="text-align:center; vertical-align:middle;">Cоглашение с правилами:</td>
<td style="text-align:center; vertical-align:middle;"><textarea rows="6" style="width:300px; margin-bottom:6px;" readonly><?=SITE_RULES?></textarea>
</tr>
<tr>
<td>&nbsp;</td>
<td style="padding:5px 8px;"><input class="whoisButtonInput" type="submit" name="submit" value="Я согласен с правилами, регистрируюсь!"/></td>
</tr>
<tr>
<td colspan="2" style="padding:5px 8px;" align="center"><strong>Внимание! Введенный RBK Money кошелек отредактировать потом будет нельзя.</strong></td>
</tr>
</table>
</form>
</div>