Parašė Romaxi· 2010 Lie. 18 23:07:02
#7
:D arba atsidarik maicore.php tada sita pastraipa is ten istrini
// Check if users full or partial ip is blacklisted
$sub_ip1 = substr(USER_IP,0,strlen(USER_IP)-strlen(strrchr(USER_IP,".")));
$sub_ip2 = substr($sub_ip1,0,strlen($sub_ip1)-strlen(strrchr($sub_ip1,".")));
if (dbcount("(*)", "blacklist", "blacklist_ip='".USER_IP."' OR blacklist_ip='$sub_ip1' OR blacklist_ip='$sub_ip2'")) {
header("Location:
http://www.google.lt/"); exit;
}
isaugok:)
tada eini i savo weba tada adminke tada Vartotojų administracija tada juodasis sarasas savo ip susirask istrink is ten tada
vel grisk i maicore.php susirask include LOCALE.LOCALESET."global.php"; po jo idek
// Check if users full or partial ip is blacklisted
$sub_ip1 = substr(USER_IP,0,strlen(USER_IP)-strlen(strrchr(USER_IP,".")));
$sub_ip2 = substr($sub_ip1,0,strlen($sub_ip1)-strlen(strrchr($sub_ip1,".")));
if (dbcount("(*)", "blacklist", "blacklist_ip='".USER_IP."' OR blacklist_ip='$sub_ip1' OR blacklist_ip='$sub_ip2'")) {
header("Location:
http://www.google.lt/"); exit;
}
isaugok faila viskas..
aisku , per
phpmyadmin gerausai ;)
Redagavo Romaxi· 2010 Lie. 18 23:07:46