This commit is contained in:
lopar 2018-12-14 00:23:45 +02:00
parent db47d3bd9b
commit 0b25449e16

View File

@ -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"> <link href="css/friend/design3.css" rel="stylesheet" type="text/css">
</HEAD> </HEAD>
<body> <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> <div id=hint4 class=ahint>
<?php if (isset($status)): ?> <?php if (isset($status)): ?>
<span style="color: darkred;"><?= $status ?></span> <span style="color: darkred;"><?= $status ?></span>
<?php endif; ?> <?php endif; ?>
</div> </div>
<TABLE width="100%"> <TABLE width="100%">
<TR> <TR>
<TD style="vertical-align: top;"> <TD style="vertical-align: top; background: silver;">
<TABLE cellspacing=0 cellpadding=2 width="100%"> <TABLE cellspacing=0 cellpadding=2 width="100%">
<?php <?php
while ($row = $contacts_list->fetch_assoc()): while ($row = $contacts_list->fetch_assoc()):
@ -101,7 +106,7 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
</TD> </TD>
<TD bgcolor=efeded width="40%"> <TD bgcolor=efeded width="40%">
<small><span class=dsc><i><?= $row['comment'] ?></i></span></small> <small><span class=dsc><i><?= $row['comment'] ?></i></span></small>
<TD> </TD>
<TD width="1%"> <TD width="1%">
<INPUT type=image SRC=i/friend/b__ok.gif WIDTH=25 HEIGHT=18 ALT="Редактировать" <INPUT type=image SRC=i/friend/b__ok.gif WIDTH=25 HEIGHT=18 ALT="Редактировать"
style="float: right" style="float: right"
@ -120,25 +125,9 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
</TR> </TR>
</TABLE> </TABLE>
</TD> </TD>
<TD style="width: 30%; vertical-align: top; "> <TD style="width: 200px; vertical-align: top; background: whitesmoke;">
<TABLE cellspacing=0 cellpadding=2> <h3>Администраторы</h3>
<TR> <?php while ($row = $admins_list->fetch_assoc()) echo nick::id($row['id'])->full() . "<br>"; ?>
<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> </TD>
</TR> </TR>
</TABLE> </TABLE>