Index: irpg/trunk/htdocs/config.php =================================================================== --- irpg/trunk/htdocs/config.php (revision 1566) +++ irpg/trunk/htdocs/config.php (revision 4283) @@ -16,14 +16,14 @@ // character database -$irpg_db="/home/nainwak/zZzZ/bot/irpg.db"; +$irpg_db="/home2/zZzZ/bot/irpg.db"; // item database -$irpg_itemdb="/home/nainwak/zZzZ/bot/mapitems.db"; +$irpg_itemdb="/home2/zZzZ/bot/mapitems.db"; // time modifiers file -$irpg_mod="/home/nainwak/zZzZ/bot/modifiers.txt"; +$irpg_mod="/home2/zZzZ/bot/modifiers.txt"; // active quest info file -$irpg_qfile="/home/nainwak/zZzZ/bot/questinfo.txt"; +$irpg_qfile="/home2/zZzZ/bot/questinfo.txt"; // image to use for the top logo Index: irpg/trunk/htdocs/header.php =================================================================== --- irpg/trunk/htdocs/header.php (revision 1566) +++ irpg/trunk/htdocs/header.php (revision 4283) @@ -1,8 +1,8 @@ -
-
- /msg REGISTER <pseudo> <mot de passe>
+ /msg REGISTER <pseudo> <mot de passe>
<profession>
@@ -45,5 +45,5 @@
- /msg LOGIN <pseudo> <mot de passe>
+ /msg LOGIN <pseudo> <mot de passe>
@@ -57,5 +57,5 @@
- /msg LOGOUT
+ /msg LOGOUT
@@ -69,5 +69,5 @@
- /msg NEWPASS <nouveau mot de passe>
+ /msg NEWPASS <nouveau mot de passe>
@@ -85,5 +85,5 @@
- /msg REMOVEME
+ /msg REMOVEME
@@ -97,5 +97,5 @@
- /msg ALIGN <good|neutral|evil>
+ /msg ALIGN <good|neutral|evil>
@@ -147,5 +147,5 @@
- /msg INFO
+ /msg INFO
@@ -185,5 +185,5 @@
- /msg QUEST
+ /msg QUEST
@@ -197,5 +197,5 @@
- /msg WHOAMI
+ /msg WHOAMI
Index: irpg/trunk/htdocs/makemap.php
===================================================================
--- irpg/trunk/htdocs/makemap.php (revision 1566)
+++ irpg/trunk/htdocs/makemap.php (revision 4283)
@@ -1,3 +1,3 @@
-
+La liste des joueurs dans un tableau.
-
+
Index: irpg/trunk/htdocs/playerview.php
===================================================================
--- irpg/trunk/htdocs/playerview.php (revision 1566)
+++ irpg/trunk/htdocs/playerview.php (revision 4283)
@@ -10,5 +10,6 @@
$irpg_page_title = "Joueur: " . htmlentities($_GET['player']);
- $showmap = $_GET['showmap'];
+ $showmap = isset($_GET['showmap'])?$_GET['showmap']:false;
+ $allmods = isset($_GET['allmods'])?$_GET['allmods']:false;
include("header.php");
@@ -127,7 +128,7 @@
if (!is_null($temp) && count($temp)) {
echo('');
- if ($_GET['allmods'] == 1 || count($temp) < 6) {
+ if ($allmods == 1 || count($temp) < 6) {
foreach ($temp as $line) {
$line=htmlentities(trim($line));
@@ -145,8 +146,8 @@
}
}
- if ($_GET['allmods'] != 1 && count($temp) > 5) {
+ if ($allmods != 1 && count($temp) > 5) {
?>
- [&allmods=1">Voir toutes les modifications (=count($temp)?>)]
+ [&allmods=1">Voir toutes les modifications ()]