nick7() functions replaced by nick class

This commit is contained in:
lopar
2018-03-04 02:09:58 +02:00
parent e5d14473db
commit 2bae7c09b9
47 changed files with 263 additions and 259 deletions
+3 -3
View File
@@ -241,7 +241,7 @@ return s;
<?
if ($us['online'] > 0 && !$us["invis"]) {
echo '<a HREF="javascript:top.AddToPrivate(\'',nick7($us['id']),'\', top.CtrlPress)" target=refreshed><img src="i/lock.gif" width=20 height=15></A>';
echo '<a HREF="javascript:top.AddToPrivate(\'',nick::id($us['id'])->short(),'\', top.CtrlPress)" target=refreshed><img src="i/lock.gif" width=20 height=15></A>';
echo nick::id($us['id'])->full();
$rrm = $rooms[$us['room']];
echo ' - <i>',$rrm,'</i><BR>';
@@ -276,7 +276,7 @@ if ($us['online'] > 0 && !$us["invis"]) {
<?
if ($us['online'] > 0 && !$us["invis"]) {
echo '<A HREF="javascript:top.AddToPrivate(\'',nick7($us['id']),'\', top.CtrlPress)" target=refreshed><img src="i/lock.gif" width=20 height=15></A>';
echo '<A HREF="javascript:top.AddToPrivate(\'',nick::id($us['id'])->short(),'\', top.CtrlPress)" target=refreshed><img src="i/lock.gif" width=20 height=15></A>';
echo nick::id($us['id'])->full();
$rrm = $rooms[$us['room']];
echo ' - <i>',$rrm,'</i><BR>';
@@ -312,7 +312,7 @@ if ($us['online'] > 0 && !$us["invis"]) {
<?
if ($us['online'] > 0 && !$us["invis"]) {
echo '<A HREF="javascript:top.AddToPrivate(\'',nick7($us['id']),'\', top.CtrlPress)" target=refreshed><img src="i/lock.gif" width=20 height=15></A>';
echo '<A HREF="javascript:top.AddToPrivate(\'',nick::id($us['id'])->short(),'\', top.CtrlPress)" target=refreshed><img src="i/lock.gif" width=20 height=15></A>';
echo nick::id($us['id'])->full();
if($us['room']>500 && $us['room']<561)
$rrm = "Башня Смерти";