Куча мелких фиксов, уборка мусора.

This commit is contained in:
lopar
2020-09-30 01:39:06 +03:00
parent 640e85cf18
commit 5ac30becb7
149 changed files with 4221 additions and 11012 deletions
+11 -11
View File
@@ -1,15 +1,15 @@
<?
$Loca=$mesto;
<?php
$Loca=$mesto ?? 0;
if($mesto<0){$Loca=0;}
if($mesto==01){$Loca=1;}
if($mesto==02){$Loca=2;}
if($mesto==03){$Loca=3;}
if($mesto==04){$Loca=4;}
if($mesto==05){$Loca=5;}
if($mesto==06){$Loca=6;}
if($mesto==07){$Loca=7;}
if($mesto==08){$Loca=8;}
if($mesto==09){$Loca=9;}
if($mesto=='01'){$Loca=1;}
if($mesto=='02'){$Loca=2;}
if($mesto=='03'){$Loca=3;}
if($mesto=='04'){$Loca=4;}
if($mesto=='05'){$Loca=5;}
if($mesto=='06'){$Loca=6;}
if($mesto=='07'){$Loca=7;}
if($mesto=='08'){$Loca=8;}
if($mesto=='09'){$Loca=9;}
$ferrr = mysql_query("SELECT n$Loca FROM podzem3 WHERE glava='$glava' and name='".$mir['name']."'");
if($retr = mysql_fetch_array($ferrr)){