Explorar o código

ANKIETa wazna 10* tyle co BADANIE

a.binder %!s(int64=9) %!d(string=hai) anos
pai
achega
32c21f5a65
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      SE/superedit-STATYSTYKA_TABELE.php

+ 3 - 3
SE/superedit-STATYSTYKA_TABELE.php

@@ -548,9 +548,9 @@ function STATYSTYKA_TABELE() {
 						), 1, 0)
 					) / count(USERS2_MARKETING.S_ADDRESS_STREET) * 100), 2) as BADAN_I
 				, round(( sum( if(
-						(	USERS2_MARKETING.I_BAD_DATE> from_unixtime(unix_timestamp(now())-31536000)
-						or USERS2_MARKETING.T_BAD_DATE> from_unixtime(unix_timestamp(now())-31536000)
-						or USERS2_MARKETING.TV_BAD_DATE> from_unixtime(unix_timestamp(now())-31536000)
+						(	USERS2_MARKETING.I_BAD_DATE> from_unixtime(unix_timestamp(now())-315360000)
+						or USERS2_MARKETING.T_BAD_DATE> from_unixtime(unix_timestamp(now())-315360000)
+						or USERS2_MARKETING.TV_BAD_DATE> from_unixtime(unix_timestamp(now())-315360000)
 						or USERS2_MARKETING.I_OPER='BN'
 						or USERS2_MARKETING.T_OPER='BN'
 						or USERS2_MARKETING.TV_OPER='BN'), 1, 0)