diff --git a/modules_data/location/cp1.php b/modules_data/location/cp1.php index d08b6327..e0f23a14 100644 --- a/modules_data/location/cp1.php +++ b/modules_data/location/cp1.php @@ -1,5 +1,9 @@ = 8 && date("H") <= 23) { $tattack = ''; } -?> - - 0) { - $id++; - if ($id < 3) { - $out .= $tmp . " мес. "; - } - $time_still = $time_still - $tmp * 2592000; + $res = Db::getValue('select res_x from stats where id = ?', [$id]); + if (!$res) { + $res = 0; } - $tmp = floor($time_still / 86400); - if ($tmp > 0) { - $id++; - if ($id < 3) { - $out .= $tmp . " дн. "; + return $res; +} + +?> += 6): ?> + + +
+ | getInfoPers($u->info['id'], 0); if ($usee) { echo $usee[0]; @@ -87,208 +52,140 @@ function timeOut($ttm): string echo 'information is lost.'; } ?> | -- | - - - | -
-
-
+ = 22): ?>
+
+
+
+
+
+
+
+
+ src="= Config::img() ?>/newyear2014.png" width="60"
+ height="90" title="" class="aFilter" alt="">
+
+
+
+ onclick="alert('Не работает. Находится на реконструкции.')"
+ onMouseOver="this.className='aFilterhover';"
+ onMouseOut="this.className='aFilter';"
+ src="= Config::img() ?>/city/capitalcity/day/2vokzal.gif" width="92" height="62" class="aFilter" alt="">
+
+
+ src="= Config::img() ?>/i/images/300x225/capital/2strelka.gif"
+ width="30" height="54" class="aFilter" alt="">
+
+
+ class="aFilter" alt="">
+
+
+ = $goline; ?>
+
+
+
+
+ Бойцовский Клуб
+
+
+
+
+
+ Парковая Улица
+
+
+
+
+
+ Магазин
+
+
+
+
+
+ Ремонтная Мастерская
+
+
+
+
+
+ Страшилкина Улица
+
+
+
+
+
+ Вокзал
+
+
+
+
+
= $rowonmax; ?> - |