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 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN"
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN"
         "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 
 <html>
   <head>
-    <title><?echo $irpg_chan;?> Idle RPG: <?echo $irpg_page_title;?></title>
+    <title><?php echo $irpg_chan;?> Idle RPG: <?php echo $irpg_page_title;?></title>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <link rel="stylesheet" type="text/css" href="g7.css" />
Index: irpg/trunk/htdocs/index.php
===================================================================
--- irpg/trunk/htdocs/index.php	(revision 1566)
+++ irpg/trunk/htdocs/index.php	(revision 4283)
@@ -27,5 +27,5 @@
       
         <code>
-          /msg <?echo $irpg_bot;?> REGISTER &lt;pseudo&gt; &lt;mot de passe&gt;
+          /msg <?php echo $irpg_bot;?> REGISTER &lt;pseudo&gt; &lt;mot de passe&gt;
           &lt;profession&gt;
         </code>
@@ -45,5 +45,5 @@
       
         <code>
-          /msg <?echo $irpg_bot;?> LOGIN &lt;pseudo&gt; &lt;mot de passe&gt;
+          /msg <?php echo $irpg_bot;?> LOGIN &lt;pseudo&gt; &lt;mot de passe&gt;
         </code>
       
@@ -57,5 +57,5 @@
       
         <code>
-          /msg <?echo $irpg_bot;?> LOGOUT
+          /msg <?php echo $irpg_bot;?> LOGOUT
         </code>
       
@@ -69,5 +69,5 @@
       
         <code>
-          /msg <?echo $irpg_bot;?> NEWPASS &lt;nouveau mot de passe&gt;
+          /msg <?php echo $irpg_bot;?> NEWPASS &lt;nouveau mot de passe&gt;
         </code>
       
@@ -85,5 +85,5 @@
       
         <code>
-          /msg <?echo $irpg_bot;?> REMOVEME
+          /msg <?php echo $irpg_bot;?> REMOVEME
         </code>
       
@@ -97,5 +97,5 @@
       
         <code>
-          /msg <?echo $irpg_bot;?> ALIGN &lt;good|neutral|evil&gt;
+          /msg <?php echo $irpg_bot;?> ALIGN &lt;good|neutral|evil&gt;
         </code>
       
@@ -147,5 +147,5 @@
       
         <code>
-          /msg <?echo $irpg_bot;?> INFO
+          /msg <?php echo $irpg_bot;?> INFO
         </code>
       
@@ -185,5 +185,5 @@
       
         <code>
-          /msg <?echo $irpg_bot;?> QUEST
+          /msg <?php echo $irpg_bot;?> QUEST
         </code>
       
@@ -197,5 +197,5 @@
       
         <code>
-          /msg <?echo $irpg_bot;?> WHOAMI
+          /msg <?php echo $irpg_bot;?> WHOAMI
         </code>
       
Index: irpg/trunk/htdocs/makemap.php
===================================================================
--- irpg/trunk/htdocs/makemap.php	(revision 1566)
+++ irpg/trunk/htdocs/makemap.php	(revision 4283)
@@ -1,3 +1,3 @@
-<?
+<?php
     include("config.php");
     session_start(); // sessions to generate only one map / person / 20s
Index: irpg/trunk/htdocs/makequestmap.php
===================================================================
--- irpg/trunk/htdocs/makequestmap.php	(revision 1566)
+++ irpg/trunk/htdocs/makequestmap.php	(revision 4283)
@@ -1,3 +1,3 @@
-<?
+<?php
     include("config.php");
     $file = fopen($irpg_db,"r");
Index: irpg/trunk/htdocs/makeworldmap.php
===================================================================
--- irpg/trunk/htdocs/makeworldmap.php	(revision 1566)
+++ irpg/trunk/htdocs/makeworldmap.php	(revision 4283)
@@ -1,3 +1,3 @@
-<?
+<?php
     include("config.php");
     $file = fopen($irpg_db,"r");
Index: irpg/trunk/htdocs/players.php
===================================================================
--- irpg/trunk/htdocs/players.php	(revision 1566)
+++ irpg/trunk/htdocs/players.php	(revision 4283)
@@ -1,3 +1,3 @@
-<?
+<?php
     include("config.php");
     include("commonfunctions.php");
@@ -32,3 +32,3 @@
   <p>La liste des joueurs dans un <a href="db.php">tableau</a>.</p>
 
-<?include("footer.php")?>
+<?php include("footer.php")?>
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('<h2>');
-            echo $_GET['allmods']!=1?"Derni&egrave;res ":"";
+            echo (!$allmods)?"Derni&egrave;res ":"";
             echo('Modifications d\'Horlorge</h2><p>');
-            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) {
 ?>
       <br />
-      [<a href="<?php echo $_SERVER['PHP_SELF']."?player=".urlencode($user);?>&amp;allmods=1">Voir toutes les modifications</a> (<?=count($temp)?>)]
+      [<a href="<?php echo $_SERVER['PHP_SELF']."?player=".urlencode($user);?>&amp;allmods=1">Voir toutes les modifications</a> (<?php echo count($temp)?>)]
       </p>
 <?php
Index: irpg/trunk/htdocs/worldmap.php
===================================================================
--- irpg/trunk/htdocs/worldmap.php	(revision 1566)
+++ irpg/trunk/htdocs/worldmap.php	(revision 4283)
@@ -1,3 +1,3 @@
-<?
+<?php
     include("config.php");
     $irpg_page_title = "Carte du monde";
@@ -12,5 +12,5 @@
     <img src="makeworldmap.php" alt="Carte du monde de IdleRPG" title="Carte du monde de IdleRPG" usemap="#world" border="0" />
     <map id="world" name="world">
-<?
+<?php
     $file = fopen($irpg_db,"r");
     fgets($file,1024);
@@ -32,3 +32,3 @@
 </div>
 
-<?include("footer.php");?>
+<?php include("footer.php");?>
