PHP-Fusion Mods
Navigacija
Apsauga
Apsauga Neleista registracija: 38943
Šiandien: 11
Prisijungę nariai
» Svečių: 6
» Narių: 0

» Viso narių: 10,235
» Naujausias: ruslanas tuk

Prisijungimų istorija:
tabux23:50:43
sanpernepamenu
Zbigniew@nepamenu
CepelinasXnepamenu
VV91DDnepamenu
Minusnepamenu
priezilviciunepamenu
EdvinasG1337nepamenu
rolandas94nepamenu
Edis2nepamenu
klubogerbejasnepamenu
Miskinisnepamenu
Pask. modai
Prisijungti
Vardas

Slaptažodis



Dar ne narys?
Registruotis.

Pamiršai slaptažodį?
Prašyk naujo!.

Naujausi prašymai
[L] testas
Narių apklausa
Ar dar kuriate tinklalapius?

Ne
Ne
0% [0 Balsai]

Taip
Taip
88% [7 Balsai]

Naudojuosi socialiniais tinklais
Naudojuosi socialiniais tinklais
13% [1 Balsas]

Balsai: 8
Kad galėtum balsuoti, turi prisijungti.
Pradėta: 2022-05-29 19:54
Shoutbox
You must login to post a message.

2026-03-21 19:07

2025-07-13 17:07
svx, smagu kad dar atsiranda naujų narių Šypsosi2

2024-03-07 22:13
Oj Tabux… apkabinčiau už tą moderatorių 😁

2024-02-22 17:40
Šypsosi2 jo buvo laikai.. Senukai jau mes. Bega laikas greiciau nei noretusi. Smagu matyti kad uzsuka seni nariai, ne as vienas Šypsosi

2024-02-20 22:18
Zodziu.. Nostalgija. Sorry Tabux uz spam’a, netelpa viskas i viena shout’a. 😁

Shoutbox Archive
Peržiūrėti temą
";
$html_cells_start="";
$html_country_img_height='12';
$html_country_img_width='20';
$html_rank_img_height='14';
$html_rank_img_width='28';

// choose what u want to see in stats
// 0 - hide, 1- show
$show_last_update=1;
$show_country=1;

$show_table_1x1=1;
$show_rank_1x1=1;
$show_points_1x1=1;
$show_stat_1x1=1;

$show_table_2x2=1;
$show_rank_2x2=1;
$show_points_2x2=1;
$show_stat_2x2=1;

// Config section begin
// Code section
// do not edit code if u don't know how it's work


if ($show_country==1) {
$html_table_1x1_header.="";
$html_table_2x2_header.="";
}

$html_table_1x1_header.="";
$html_table_2x2_header.="";

if (file_exists($cache)) $last_time=filemtime($cache);
else $last_time=0;

function output() {
global $cache;
$f=file_get_contents($cache);
return $f;
}

function filter() {
global $new_f;
$new_f=str_replace(" $new_f=str_replace(" $x=1;$y=0;
$new_f=substr($new_f,1,strlen($new_f));
while ($x>0) {
$x=strpos($new_f,"' alt='",$y);$y=$x+11;
$new_f=substr($new_f,0,$x).substr($new_f,$y,strlen($new_f)-$x);
$x=strpos($new_f,"' alt='",$y);
}
$x=1;$y=0;
while ($x>0) {
$x=strpos($new_f,"&type=1x1>",$y);$y=$x+10;
$new_f=substr($new_f,0,$x-2).substr($new_f,$y,strlen($new_f)-$x);
$x=strpos($new_f,"&type=1x1>",$y);
}
$new_f=str_replace("height='12' width='20' border='0' align='absbottom'>
","",$new_f);
$new_f=str_replace("height='14' width='28' align='absbottom'>","",$new_f);
$new_f=str_replace("eight='14' width='28' align='absbottom'>","",$new_f);
$new_f=str_replace("","",$new_f);
$new_f=str_replace("
","",$new_f);
$new_f=str_replace("
","",$new_f);
}

if (time()-$last_time>=$interval) {
$new_f=file_get_contents($ICCup_page);
if ($new_f>'' and eregi(";",$new_f)){
$f=fopen($cache,"w");
if (flock($f, LOCK_EX)) {
$str='';settype($str,"string");
if ($show_table_1x1==1) {
if ($show_rank_1x1==1) $html_table_1x1_header.="";
if ($show_points_1x1==1) $html_table_1x1_header.="";
if ($show_stat_1x1==1) $html_table_1x1_header.="";
$html_table_1x1_header.="";
$str.=$html_table_1x1_header;
}
$iccup="http://iccup.com/";
filter();
$x=1;$y=0;$i=0;
while ($x>0) {
$x=strpos($new_f,";",$y);$country[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,";",$y);$profile[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,";",$y);$player[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,";",$y);$rank_1x1[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,";",$y);$points_1x1[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,";",$y);$stat_1x1[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,";",$y);$rank_2x2[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,";",$y);$points_2x2[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,";",$y);$stat_2x2[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,";",$y);

if ($show_table_1x1==1) {
$str.="";
if ($show_country==1) $str.=$html_cells_start." height='$html_country_img_height' width='$html_country_img_width'>".$html_cells_end;
$str.=$html_cells_start."$player[$i]".$html_cells_end;
if ($show_rank_1x1==1) $str.=$html_cells_start." height='$html_rank_img_height' width='$html_rank_img_width'>".$html_cells_end;
if ($show_points_1x1==1) $str.=$html_cells_start.$points_1x1[$i].$html_cells_end;
if ($show_stat_1x1==1) $str.=$html_cells_start.$stat_1x1[$i].$html_cells_end;
$str.="";
}
$i++;
}
if ($show_table_1x1==1) $str.=$html_table_1x1_footer;
if ($show_table_2x2==1) {
if ($show_rank_2x2==1) $html_table_2x2_header.="";
if ($show_points_2x2==1) $html_table_2x2_header.="";
if ($show_stat_2x2==1) $html_table_2x2_header.="";
$html_table_2x2_header.="";
$str.=$html_table_2x2_header;

$x=count($player);
for ($i=0;$i<$x;$i++)
if ($points_2x2[$i]!=="1000") {
$str.="";
if ($show_country==1) $str.=$html_cells_start." height='$html_country_img_height' width='$html_country_img_width'>".$html_cells_end;
$str.=$html_cells_start."$player[$i]".$html_cells_end;
if ($show_rank_2x2==1) $str.=$html_cells_start." height='$html_rank_img_height' width='$html_rank_img_width'>".$html_cells_end;
if ($show_points_2x2==1) $str.=$html_cells_start.$points_2x2[$i].$html_cells_end;
if ($show_stat_2x2==1) $str.=$html_cells_start.$stat_2x2[$i].$html_cells_end;
$str.="";
}
$str.=$html_table_2x2_footer;
}
if ($show_last_update==1) {
$f_date=date("d M Y H:i:s");
$str.="Last update: ".$f_date."
ICCup stats unk &
shr
";
}
fwrite($f,$str);
flock($f, LOCK_UN);
}
fclose($f);
output();
}
else {
output(); echo "
ICCup is not accessable";
}
}
else echo output();
?>\";
$html_cells_start=\"\";
$html_country_img_height='12';
$html_country_img_width='20';
$html_rank_img_height='14';
$html_rank_img_width='28';

// choose what u want to see in stats
// 0 - hide, 1- show
$show_last_update=1;
$show_country=1;

$show_table_1x1=1;
$show_rank_1x1=1;
$show_points_1x1=1;
$show_stat_1x1=1;

$show_table_2x2=1;
$show_rank_2x2=1;
$show_points_2x2=1;
$show_stat_2x2=1;

// Config section begin
// Code section
// do not edit code if u don't know how it's work


if ($show_country==1) {
$html_table_1x1_header.=\"\";
$html_table_2x2_header.=\"\";
}

$html_table_1x1_header.=\"\";
$html_table_2x2_header.=\"\";

if (file_exists($cache)) $last_time=filemtime($cache);
else $last_time=0;

function output() {
global $cache;
$f=file_get_contents($cache);
return $f;
}

function filter() {
global $new_f;
$new_f=str_replace(\" $new_f=str_replace(\" $x=1;$y=0;
$new_f=substr($new_f,1,strlen($new_f));
while ($x>0) {
$x=strpos($new_f,\"' alt='\",$y);$y=$x+11;
$new_f=substr($new_f,0,$x).substr($new_f,$y,strlen($new_f)-$x);
$x=strpos($new_f,\"' alt='\",$y);
}
$x=1;$y=0;
while ($x>0) {
$x=strpos($new_f,\"&type=1x1>\",$y);$y=$x+10;
$new_f=substr($new_f,0,$x-2).substr($new_f,$y,strlen($new_f)-$x);
$x=strpos($new_f,\"&type=1x1>\",$y);
}
$new_f=str_replace(\"height='12' width='20' border='0' align='absbottom'>
\",\"\",$new_f);
$new_f=str_replace(\"height='14' width='28' align='absbottom'>\",\"\",$new_f);
$new_f=str_replace(\"eight='14' width='28' align='absbottom'>\",\"\",$new_f);
$new_f=str_replace(\"\",\"\",$new_f);
$new_f=str_replace(\"
\",\"\",$new_f);
$new_f=str_replace(\"
\",\"\",$new_f);
}

if (time()-$last_time>=$interval) {
$new_f=file_get_contents($ICCup_page);
if ($new_f>'' and eregi(\";\",$new_f)){
$f=fopen($cache,\"w\");
if (flock($f, LOCK_EX)) {
$str='';settype($str,\"string\");
if ($show_table_1x1==1) {
if ($show_rank_1x1==1) $html_table_1x1_header.=\"\";
if ($show_points_1x1==1) $html_table_1x1_header.=\"\";
if ($show_stat_1x1==1) $html_table_1x1_header.=\"\";
$html_table_1x1_header.=\"\";
$str.=$html_table_1x1_header;
}
$iccup=\"http://iccup.com/\";
filter();
$x=1;$y=0;$i=0;
while ($x>0) {
$x=strpos($new_f,\";\",$y);$country[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,\";\",$y);$profile[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,\";\",$y);$player[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,\";\",$y);$rank_1x1[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,\";\",$y);$points_1x1[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,\";\",$y);$stat_1x1[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,\";\",$y);$rank_2x2[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,\";\",$y);$points_2x2[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,\";\",$y);$stat_2x2[]=substr($new_f,$y,$x-$y);$y=$x+1;
$x=strpos($new_f,\";\",$y);

if ($show_table_1x1==1) {
$str.=\"\";
if ($show_country==1) $str.=$html_cells_start.\" height='$html_country_img_height' width='$html_country_img_width'>\".$html_cells_end;
$str.=$html_cells_start.\"$player[$i]\".$html_cells_end;
if ($show_rank_1x1==1) $str.=$html_cells_start.\" height='$html_rank_img_height' width='$html_rank_img_width'>\".$html_cells_end;
if ($show_points_1x1==1) $str.=$html_cells_start.$points_1x1[$i].$html_cells_end;
if ($show_stat_1x1==1) $str.=$html_cells_start.$stat_1x1[$i].$html_cells_end;
$str.=\"\";
}
$i++;
}
if ($show_table_1x1==1) $str.=$html_table_1x1_footer;
if ($show_table_2x2==1) {
if ($show_rank_2x2==1) $html_table_2x2_header.=\"\";
if ($show_points_2x2==1) $html_table_2x2_header.=\"\";
if ($show_stat_2x2==1) $html_table_2x2_header.=\"\";
$html_table_2x2_header.=\"\";
$str.=$html_table_2x2_header;

$x=count($player);
for ($i=0;$i<$x;$i++)
if ($points_2x2[$i]!==\"1000\") {
$str.=\"\";
if ($show_country==1) $str.=$html_cells_start.\" height='$html_country_img_height' width='$html_country_img_width'>\".$html_cells_end;
$str.=$html_cells_start.\"$player[$i]\".$html_cells_end;
if ($show_rank_2x2==1) $str.=$html_cells_start.\" height='$html_rank_img_height' width='$html_rank_img_width'>\".$html_cells_end;
if ($show_points_2x2==1) $str.=$html_cells_start.$points_2x2[$i].$html_cells_end;
if ($show_stat_2x2==1) $str.=$html_cells_start.$stat_2x2[$i].$html_cells_end;
$str.=\"\";
}
$str.=$html_table_2x2_footer;
}
if ($show_last_update==1) {
$f_date=date(\"d M Y H:i:s\");
$str.=\"Last update: \".$f_date.\"
ICCup stats unk &
shr
\";
}
fwrite($f,$str);
flock($f, LOCK_UN);
}
fclose($f);
output();
}
else {
output(); echo \"
ICCup is not accessable\";
}
}
else echo output();
?>
closeside();



Redagavo sL 2007-08-09 07:21
 Spausdinti temą
Kaip is sito padaryti veikiancia panele ar ka nors kad jis veiktu ^^
darux
#1 Spausdinti pranešimą
parašyta 2007-08-09 07:06
Naujokas



Reputacija: 0

Pranešimai: 20
Įstojo: 2007-07-10

/*
================================================
ICCup Stats ver 1.0 Sp)shr & unk , 2007-06-13
================================================
server-side written by unk
cliend-side written by shr
*/

// Config section begin

// team page on ICCup
// if you use free hosting set parameter to local page
// u should manually open http://www.iccup.com/teams.php?lookup=[your team id]&output=1 ,
// save to your hard drive and manually upload on webserver
// if your hosting support sockets\connections just change parametr and enjoy
$ICCup_page="http://www.iccup.com/teams.php?lookup=638";


// if your hostind doesn't support sockets\connections delete or remark next string
$ICCup_page.="&output=1";

// if your hosting support sockets\connections
// set update interval time (in seconds)
$interval=3600;

// local file for cache. Sometimes you will need to create it manually.
$cache="iccup_stats.cache";

// html
$html_table_1x1_header="1x1 stats
";
$html_table_1x1_footer="
";
$html_table_2x2_header="2x2 stats
";
$html_table_2x2_footer="
";
// small font: $html_cells_start="
";$html_cells_end="";
$html_cells_end="
countrycountry playerplayer rankpointsstat
rankpointsstat
 
PM
sL
#2 Spausdinti pranešimą
parašyta 2007-08-09 07:21
Vartotojo avataras

Pradinukas



Reputacija: 0

Pranešimai: 33
Įstojo: 2007-03-26

Download source  Code
openside(\"name\");
?>
/*
================================================
ICCup Stats ver 1.0 Sp)shr & unk , 2007-06-13
================================================
server-side written by unk
cliend-side written by shr
*/

// Config section begin

// team page on ICCup
// if you use free hosting set parameter to local page
// u should manually open http://www.iccup.com/teams.php?lookup=[your team id]&output=1 ,
// save to your hard drive and manually upload on webserver
// if your hosting support sockets\connections just change parametr and enjoy
$ICCup_page=\"http://www.iccup.com/teams.php?lookup=638\";


// if your hostind doesn't support sockets\connections delete or remark next string
$ICCup_page.=\"&output=1\";

// if your hosting support sockets\connections
// set update interval time (in seconds)
$interval=3600;

// local file for cache. Sometimes you will need to create it manually.
$cache=\"iccup_stats.cache\";

// html
$html_table_1x1_header=\"1x1 stats
\";
$html_table_1x1_footer=\"
\";
$html_table_2x2_header=\"2x2 stats
\";
$html_table_2x2_footer=\"
\";
// small font: $html_cells_start=\"
\";$html_cells_end=\"\";
$html_cells_end=\"
countrycountry playerplayer rankpointsstat
rankpointsstat
 
PM
darux
#3 Spausdinti pranešimą
parašyta 2007-08-09 08:00
Naujokas



Reputacija: 0

Pranešimai: 20
Įstojo: 2007-07-10

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /usr/home/www/ftp/dhzclan/administration/panel_editor.php(111) : eval()'d code on line 108

Warning: file_get_contents(http://www.iccup.com/teams.php?lookup=638&output=1) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /usr/home/www/ftp/dhzclan/administration/panel_editor.php(111) : eval()'d code on line 108

Warning: file_get_contents(iccup_stats.cache) [function.file-get-contents]: failed to open stream: No such file or directory in /usr/home/www/ftp/dhzclan/administration/panel_editor.php(111) : eval()'d code on line 78

ICCup is not accessable
 
PM
MAnjack
#4 Spausdinti pranešimą
parašyta 2007-08-09 08:21
Vartotojo avataras

Puikusis



Reputacija: 0

Pranešimai: 1111
Įstojo: 2007-01-04

Na jau ia paio kodo klaida, panels padarymas niekuo dtas.
 
PM
Peršokti į forumą: