h1 Профайл h1 if empty szMsg table style width 96 height 40px backgrou

 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
<h1>Профайл</h1>
<?if (!empty($szMsg)){?>
<table style="width:96%; height:40px; background-color:#fff; margin-bottom:20px;">
<tr><td><b><?=$szMsg?></b></td></tr>
</table>
<?}?>
<div class="ContentBlock Actions">
<table width="96%" border="0">
<tr>
<td>
<form action="profi.html" method="post" onsubmit="return (checkChgData(this) && confirm('Вы подтверждаете действие?'))">
<table width="100%">
<tr>
<th style="width:30%">Регистрация:</th>
<td><?=getDateFormat('d.m.Y H:i:s', $User['datetime_add'])?></td>
</tr>
<tr>
<th>Логин:</th>
<td><?=$User['name']?></td>
</tr>
<tr>
<th>Email:</th>
<td><?=$User['email']?></td>
</tr>
<tr>
<th>Счет в <a href="http://rbkmoney.ru">RBK</a></th>
<td>
<?if (!empty($aPurse[WMZ])) {?><?=$aPurse[WMZ]['number']?>
<?}else{?><input type="text" name="purse[<?=WMZ?>]"/><?}?>
</td>
</tr>
<tr>
<th></th>
<td style="padding-top: 20px;">
<input type="submit" class="saveButton" value="Сохранить"/>
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td>
<form action="profi.html" method="post" onsubmit="return (checkChgPassword(this) && confirm('Вы подтверждаете действие?'))">
<table width="100%">
<tr>
<th style="width:30%">Пароль:</th>
<td>
<div style="float: left;">
<span style="font-size: 10px;">Введите новый пароль:</span><br />
<input type="password" name="password" class="textInput" />
</div>
<div style="float: left;">
<span style="font-size: 10px;">Повторите новый пароль:</span><br />
<input type="password" name="confirmation" class="textInput" />
</div>
</td>
</tr>
<tr>
<td></td>
<td style="padding-top: 20px;">
<input type="submit" class="saveButton" value="Изменить пароль"/>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table></div>