I co usunac to jest plik memberlist:
<?php
/////////////////////////////////////////////////////////////////////////////////////
// what is: PSYWERX PUMA (Protection & User MAnagement)
// who did: PSYWERX php TEAM
// version: 1.0.RC2
// build: 180204.1940.RC2.00.09.00
/////////////////////////////////////////////////////////////////////////////////////
/*
if(!function_exists('session_cache_limiter'))
@session_cache_limiter("public, must-revalidate");
set_magic_quotes_runtime(0);
*/
// PUMA version
$curver = "1.0.RC2";
$build = "180204.1940.RC2.00.09.00";
function rpath(){
}
$fpath = rpath();
// Config file
require("config.php");
// Functions file
require_once("functions.php");
if(!isset($_GET["id"])){ $id = "";}else{$id = $_GET["id"];} if(!isset($_GET["user"])){ $user = "";}else{$user = $_GET["user"];}
if(ban()){
if($id == view){
$filename = $fpath."./userdata/$user/$user.php";
foreach($data as $value){
list
($unempowered,$usrn,$pass,$email,$status,$rank,$random,$aurl,$emlalw,$fld1,$fld2,$fld3,$fld4,$fld5,$fld6,$fld7,$fld8,$fld9,$fld10,$fld11,$fld12,$fld13,$fld14,$fld15,$fld16,$fld17,$fld18,$fld19,$fld20) = explode("{|}",$value);}
$fields = array($fld1,$fld2,$fld3,$fld4,$fld5,$fld6,$fld7,$fld8,$fld9,$fld10,$fld11,$fld12,$fld13,$fld14,$fld15,$fld16,$fld17,$fld18,$fld19,$fld20);
$content = <<<html
<b>$lang_proc104<br><br>
<table width="400" border="0" cellpadding="0" cellspacing="1" >
<tr>
<td width="40%" valign="top" >
html;
$type = $avatar[2];
if($type != 0){
if($avatar[0] > $awt or $avatar[1] > $aht){
$content .= "<img width="$awt" height="$aht" src="$aurl"><br><br>";
}else{
$content .= "<img src="$aurl"><br><br>";
}
}else{
$content .= $lang_proc92;
}
$content .= <<<html
?>
a to logowanie.php (czyli index.php):
<?php
/////////////////////////////////////////////////////////////////////////////////////
// what is: PSYWERX PUMA (Protection & User MAnagement)
// who did: PSYWERX php TEAM
// version: 1.0.RC2
// build: 180204.1940.RC2.00.09.00
/////////////////////////////////////////////////////////////////////////////////////
// TODO:
// 1. - Fix ' PM issue
/////////////////////////////////////////////////////////////////////////////////////
/*
if(!function_exists('session_cache_limiter'))
@session_cache_limiter("public, must-revalidate");
set_magic_quotes_runtime(0);
*/
// PUMA version
$curver = "1.0.RC2";
$build = "180204.1940.RC2.00.09.00";
function rpath(){
}
$fpath = rpath();
// Config file
require("config.php");
// Functions file
require_once("functions.php");
if(!isset($_GET["id"])){ $id = "";}else{$id = $_GET["id"];} if(!isset($_GET["page"])){ $page = "";}else{$page = $_GET["page"];} if(!isset($_GET["pm"])){ $pm = "";}else{$pm = $_GET["pm"];}
// Logout
if($id == logout){
// Records Logout time
if($cookies == 2){
$MyUsrn = $_SESSION["publicusrn"];
}else{
$MyUsrn = $_COOKIE["publicusrn"];
}
$filename = $fpath."userdata/$MyUsrn/pm.php";
foreach($data as $value){
list
($unempowered,$logt,$sndt) = explode("{|}",$value);}
$fd = fopen ($filename, "w");
$pmn = ("<?php die("ACCESS DENIED");?>{|}$logt{|}$sndt");
fputs($fd, $pmn);
fclose($fd);
if($cookies == 2){
session_destroy();
header("Location: ./logowanie.php");
}else{
setcookie("publicuser", "", time() - 3600, "/");
setcookie("publicusrn", "", time() - 3600, "/");
setcookie("publicpass", "", time() - 3600, "/");
setcookie("publicsuper", "", time() - 3600, "/");
setcookie("publicnormal", "", time() - 3600, "/");
setcookie("publicrank", "", time() - 3600, "/");
header("Location: ./logowanie.php");
}
}
if(ban()){
if(!isset($_SESSION["publicuser"]) and !isset($_COOKIE["publicuser"])){
// LOCATION: Login
$content = <<<html
<form action="logowanie.php?id=login" method="POST">
<table width="145" height="25" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="50%" height="25" valign="top" >
<b><FONT COLOR="#2E76C1">U</FONT></b>zytkownik: