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.'; } ?> - - - -
- - - - - -
- ' . $re . ''; - } ?> - - - + - -
-
- -
- -   - Форум проекта -   -
- -
- - src="//img.new-combats.tech/i/images/300x225/capital/2klub.gif" - width="236" height="157" class="aFilter"/>
-
- - src="//img.new-combats.tech/city/capitalcity/day/loto.gif" - class="aFilter" width="86" height="63"/>
-
- - src="//img.new-combats.tech/i/images/300x225/capital/2shop.gif" - width="73" height="47" class="aFilter"/>
-
- - src="//img.new-combats.tech/i/images/300x225/capital/2remont.gif" - width="71" height="45" class="aFilter"/>
+
+
+ ' . $re . ''; + } ?> +
+ +
+ +   + Форум проекта +
+ +
+ src="/i/images/300x225/capital/2klub.gif" width="236" height="157" class="aFilter" alt=""> +
+
+ src="/city/capitalcity/day/loto.gif" width="86" height="63" class="aFilter" alt=""> +
+
+ src="/i/images/300x225/capital/2shop.gif" width="73" height="47" class="aFilter" alt=""> +
+
+ src="/i/images/300x225/capital/2remont.gif" width="71" height="45" class="aFilter" alt=""> +
- -
-
- + +
+ +
+ - -
-
- + +
+ +
+ - - -
-
- -
- - src="//img.new-combats.tech/newyear2014.png" width="60" - height="90" title="" class="aFilter"/>
- -
- - onclick="alert('Не работает. Находится на реконструкции.')" - onMouseOver="this.className='aFilterhover';" - onMouseOut="this.className='aFilter';" - src="//img.new-combats.tech/city/capitalcity/day/2vokzal.gif" - width="92" height="62" class="aFilter"/>
-
- - src="//img.new-combats.tech/i/images/300x225/capital/2strelka.gif" - width="30" height="54" class="aFilter"/>
-
- class="aFilter"/>
-
- -
-
- = 22) { - ?> - - - - - - -
+ +
+ +
+ +
+ src="/newyear2014.png" width="60" + height="90" title="" class="aFilter" alt=""> +
+ +
+ onclick="alert('Не работает. Находится на реконструкции.')" + onMouseOver="this.className='aFilterhover';" + onMouseOut="this.className='aFilter';" + src="/city/capitalcity/day/2vokzal.gif" width="92" height="62" class="aFilter" alt=""> +
+
+ src="/i/images/300x225/capital/2strelka.gif" + width="30" height="54" class="aFilter" alt=""> +
+
+ class="aFilter" alt=""> +
+
+ +
+ = 22): ?> + + + +
+ +   + + Бойцовский Клуб + + + +   + + Парковая Улица + + + +   + + Магазин + + + +   + + Ремонтная Мастерская + + + +   + + Страшилкина Улица + + + +   + + Вокзал + + +
+ +


-