w README napisane jest tak:
Kod
These scripts can be used to parse and display information stored in etpub's
xpsave.cfg format.
You will need to edit xpsave_table.php to replace $GLOBALS["XPSAVE_CFG"] with
the full path to your xpsave.cfg file (or set $GLOBALS["XPSAVE_CFG"]).
xpsave_table.php
This is the script that should be run (or included) to draw the
table containing xpsave.cfg data
xpsave.php
This is a file that is included by xpsave_table.php. It contains
functions nececessary for parsing the xpsave.cfg file.
xpsave.cfg format.
You will need to edit xpsave_table.php to replace $GLOBALS["XPSAVE_CFG"] with
the full path to your xpsave.cfg file (or set $GLOBALS["XPSAVE_CFG"]).
xpsave_table.php
This is the script that should be run (or included) to draw the
table containing xpsave.cfg data
xpsave.php
This is a file that is included by xpsave_table.php. It contains
functions nececessary for parsing the xpsave.cfg file.
plik do zmiany (xpsave_table.php):
<?php require_once("../globals.php"); require_once("xpsave.php"); $_REQUEST["xpsave_sort"] = "win"; ?> <table border = 1> <tr> <?php "name" => "Name", "win" => "PR Win %", "kd" => "KR K/D", //"lower_rating" => "Range", //"player_rating" => "Player Rating", //"player_rating_variance" => "Player Rating Deviation", //"killrating" => "Kill Rating", //"playerrating" => "Player Rating", //"skill[0]" => "Battle Sense", //"skill[1]" => "Engineering", //"skill[2]" => "First Aid", //"skill[3]" => "Signals", //"skill[4]" => "Light Weapons", //"skill[5]" => "Heavy Weapons", //"skill[6]" => "Covert Ops", "time" => "Last Seen" ); ?> <TD>Rank</TD> <?php ?> <TD><?php if($_REQUEST["xpsave_sort"] != $k) { ?> <a href="<?php $_SERVER["PHP_SELF"];?>?xpsave_sort=<?php <?php } else { ?> <?php } ?> </td> <?php } ?> </td> </tr> <?php $xpsaves = xpsave_readconfig($GLOBALS["XPSAVE_CFG"], $_REQUEST["xpsave_sort"]); $rank = 0; $rank++; ?> <tr> <td> <?php ?></td> <?php if($x[$k] == "") { switch($k) { case "killrating": $x[$k] = 1600; case "rating": $x[$k] = 0; break; case "rating_variance": $x[$k] = 1.0; break; case "name": $x[$k] = ""; break; default: $x[$k] = 0; break; } } if($k == "time") { } else if($k == "name") { } ?> <td><?php ?></td> <?php } ?> </tr> <?php } ?> </table> $fields = array( "name" => "Name", "win" => "PR Win %", "kd" => "KR K/D", //"lower_rating" => "Range", //"player_rating" => "Player Rating", //"player_rating_variance" => "Player Rating Deviation", //"killrating" => "Kill Rating", //"playerrating" => "Player Rating", //"skill[0]" => "Battle Sense", //"skill[1]" => "Engineering", //"skill[2]" => "First Aid", //"skill[3]" => "Signals", //"skill[4]" => "Light Weapons", //"skill[5]" => "Heavy Weapons", //"skill[6]" => "Covert Ops", "time" => "Last Seen" ); ?> <TD>Rank</TD> <?php ?> <TD><?php if($_REQUEST["xpsave_sort"] != $k) { ?> <a href="<?php $_SERVER["PHP_SELF"];?>?xpsave_sort=<?php <?php } else { ?> <?php } ?> </td> <?php } ?> </td> </tr> <?php $xpsaves = xpsave_readconfig($GLOBALS["XPSAVE_CFG"], $_REQUEST["xpsave_sort"]); $rank = 0; $rank++; ?> <tr> <td> <?php ?></td> <?php if($x[$k] == "") { switch($k) { case "killrating": $x[$k] = 1600; case "rating": $x[$k] = 0; break; case "rating_variance": $x[$k] = 1.0; break; case "name": $x[$k] = ""; break; default: $x[$k] = 0; break; } } if($k == "time") { } else if($k == "name") { } ?> <td><?php ?></td> <?php } ?> </tr> <?php } ?> </table>
sciezka do pliku xpsave.cfg:
Kod
"/home/eura7/fragers/users/Kynval/wyzwoleni-z-oswiecimia/etpub/xpsave.cfg"
albo inne linki do pliku xpsave.cfg:
Kod
http://templars-clan.cba.pl/etpub/xpsave.cfg"
"/217.149.252.130/wyzwoleni-z-oswiecimia/etpub/xpsave.cfg"
"/217.149.252.130/wyzwoleni-z-oswiecimia/etpub/xpsave.cfg"
zmienialem ale jakos nie chce dzialac.
czekam na info.