Перенос разрозненных файлов в фабрику. Утилизация неиспользуемых функций. #49

This commit is contained in:
2023-12-05 03:01:04 +02:00
committed by Ivor Barhansky
parent c51dbaeae3
commit 8be1c6cd7e
79 changed files with 12178 additions and 12956 deletions

View File

@@ -26,7 +26,7 @@ while ($pl = mysql_fetch_array($sp)) {
$b2 = $pl['money2'] + $b0['b'];
if ($b1 < 1000) {
$html .= '<font color="red"><b>';
$html .= $i . '. ' . $u->getLogin($pl['id']) . ' ( ' . $b1 . ' кр. / ' . $b2 . ' екр. )<hr>';
$html .= $i . '. ' . User::getLogin($pl['id']) . ' ( ' . $b1 . ' кр. / ' . $b2 . ' екр. )<hr>';
$html .= '</b></font>';
$i++;
}

View File

@@ -12,5 +12,5 @@ if (!$u->info['admin']) {
}
$sp = mysql_query('SELECT * FROM `mults`');
while ($pl = mysql_fetch_array($sp)) {
echo $u->getLogin($pl['uid']) . ' пересечение с ' . $u->getLogin($pl['uid2']) . ' <br>';
echo User::getLogin($pl['uid']) . ' пересечение с ' . User::getLogin($pl['uid2']) . ' <br>';
}