coding
This commit is contained in:
parent
db47d3bd9b
commit
0b25449e16
33
contacts.php
33
contacts.php
@ -78,14 +78,19 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
|
||||
<link href="css/friend/design3.css" rel="stylesheet" type="text/css">
|
||||
</HEAD>
|
||||
<body>
|
||||
<div style="text-align: right">
|
||||
<input type='button' value='Обновить' style='width: 75px'
|
||||
onclick='location="/contacts.php?friends=<?= mt_rand() ?>"'>
|
||||
<input TYPE='button' value='Вернуться' style='width: 75px' onclick='location="main.php"'>
|
||||
</div>
|
||||
<div id=hint4 class=ahint>
|
||||
<?php if (isset($status)): ?>
|
||||
<span style="color: darkred;"><?= $status ?></span>
|
||||
<span style="color: darkred;"><?= $status ?></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<TABLE width="100%">
|
||||
<TR>
|
||||
<TD style="vertical-align: top;">
|
||||
<TD style="vertical-align: top; background: silver;">
|
||||
<TABLE cellspacing=0 cellpadding=2 width="100%">
|
||||
<?php
|
||||
while ($row = $contacts_list->fetch_assoc()):
|
||||
@ -101,7 +106,7 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
|
||||
</TD>
|
||||
<TD bgcolor=efeded width="40%">
|
||||
<small><span class=dsc><i><?= $row['comment'] ?></i></span></small>
|
||||
<TD>
|
||||
</TD>
|
||||
<TD width="1%">
|
||||
<INPUT type=image SRC=i/friend/b__ok.gif WIDTH=25 HEIGHT=18 ALT="Редактировать"
|
||||
style="float: right"
|
||||
@ -120,25 +125,9 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD style="width: 30%; vertical-align: top; ">
|
||||
<TABLE cellspacing=0 cellpadding=2>
|
||||
<TR>
|
||||
<TD style="width: 200px; vertical-align: top; text-align: right; ">
|
||||
<INPUT type='button'
|
||||
value='Обновить'
|
||||
style='width: 75px'
|
||||
onclick='location="/contacts.php?friends=<?= mt_rand() ?>"'>
|
||||
<INPUT TYPE=button value="Вернуться" style='width: 75px'
|
||||
onclick="location.href='main.php';">
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD style="color: whitesmoke;">
|
||||
<h3>Администраторы</h3>
|
||||
<?php while ($row = $admins_list->fetch_assoc()) echo nick::id($row['id'])->full() . "<br>"; ?>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<TD style="width: 200px; vertical-align: top; background: whitesmoke;">
|
||||
<h3>Администраторы</h3>
|
||||
<?php while ($row = $admins_list->fetch_assoc()) echo nick::id($row['id'])->full() . "<br>"; ?>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
Loading…
Reference in New Issue
Block a user