Changeset 4283 for irpg


Ignore:
Timestamp:
Jan 21, 2011, 8:44:43 PM (13 years ago)
Author:
Daimonos Tereutes
Message:

suppression des shortopentags

Location:
irpg/trunk/htdocs
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • irpg/trunk/htdocs/config.php

    r1453 r4283  
    1616
    1717// character database
    18 $irpg_db="/home/nainwak/zZzZ/bot/irpg.db";
     18$irpg_db="/home2/zZzZ/bot/irpg.db";
    1919
    2020// item database
    21 $irpg_itemdb="/home/nainwak/zZzZ/bot/mapitems.db";
     21$irpg_itemdb="/home2/zZzZ/bot/mapitems.db";
    2222
    2323// time modifiers file
    24 $irpg_mod="/home/nainwak/zZzZ/bot/modifiers.txt";
     24$irpg_mod="/home2/zZzZ/bot/modifiers.txt";
    2525
    2626// active quest info file
    27 $irpg_qfile="/home/nainwak/zZzZ/bot/questinfo.txt";
     27$irpg_qfile="/home2/zZzZ/bot/questinfo.txt";
    2828
    2929// image to use for the top logo
  • irpg/trunk/htdocs/header.php

    r1566 r4283  
    1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN"
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN"
    22        "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    33
    44<html>
    55  <head>
    6     <title><?echo $irpg_chan;?> Idle RPG: <?echo $irpg_page_title;?></title>
     6    <title><?php echo $irpg_chan;?> Idle RPG: <?php echo $irpg_page_title;?></title>
    77    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    88    <link rel="stylesheet" type="text/css" href="g7.css" />
  • irpg/trunk/htdocs/index.php

    r1468 r4283  
    2727     
    2828        <code>
    29           /msg <?echo $irpg_bot;?> REGISTER &lt;pseudo&gt; &lt;mot de passe&gt;
     29          /msg <?php echo $irpg_bot;?> REGISTER &lt;pseudo&gt; &lt;mot de passe&gt;
    3030          &lt;profession&gt;
    3131        </code>
     
    4545     
    4646        <code>
    47           /msg <?echo $irpg_bot;?> LOGIN &lt;pseudo&gt; &lt;mot de passe&gt;
     47          /msg <?php echo $irpg_bot;?> LOGIN &lt;pseudo&gt; &lt;mot de passe&gt;
    4848        </code>
    4949     
     
    5757     
    5858        <code>
    59           /msg <?echo $irpg_bot;?> LOGOUT
     59          /msg <?php echo $irpg_bot;?> LOGOUT
    6060        </code>
    6161     
     
    6969     
    7070        <code>
    71           /msg <?echo $irpg_bot;?> NEWPASS &lt;nouveau mot de passe&gt;
     71          /msg <?php echo $irpg_bot;?> NEWPASS &lt;nouveau mot de passe&gt;
    7272        </code>
    7373     
     
    8585     
    8686        <code>
    87           /msg <?echo $irpg_bot;?> REMOVEME
     87          /msg <?php echo $irpg_bot;?> REMOVEME
    8888        </code>
    8989     
     
    9797     
    9898        <code>
    99           /msg <?echo $irpg_bot;?> ALIGN &lt;good|neutral|evil&gt;
     99          /msg <?php echo $irpg_bot;?> ALIGN &lt;good|neutral|evil&gt;
    100100        </code>
    101101     
     
    147147     
    148148        <code>
    149           /msg <?echo $irpg_bot;?> INFO
     149          /msg <?php echo $irpg_bot;?> INFO
    150150        </code>
    151151     
     
    185185     
    186186        <code>
    187           /msg <?echo $irpg_bot;?> QUEST
     187          /msg <?php echo $irpg_bot;?> QUEST
    188188        </code>
    189189     
     
    197197     
    198198        <code>
    199           /msg <?echo $irpg_bot;?> WHOAMI
     199          /msg <?php echo $irpg_bot;?> WHOAMI
    200200        </code>
    201201     
  • irpg/trunk/htdocs/makemap.php

    r1451 r4283  
    1 <?
     1<?php
    22    include("config.php");
    33    session_start(); // sessions to generate only one map / person / 20s
  • irpg/trunk/htdocs/makequestmap.php

    r1451 r4283  
    1 <?
     1<?php
    22    include("config.php");
    33    $file = fopen($irpg_db,"r");
  • irpg/trunk/htdocs/makeworldmap.php

    r1451 r4283  
    1 <?
     1<?php
    22    include("config.php");
    33    $file = fopen($irpg_db,"r");
  • irpg/trunk/htdocs/players.php

    r1451 r4283  
    1 <?
     1<?php
    22    include("config.php");
    33    include("commonfunctions.php");
     
    3232  <p>La liste des joueurs dans un <a href="db.php">tableau</a>.</p>
    3333
    34 <?include("footer.php")?>
     34<?php include("footer.php")?>
  • irpg/trunk/htdocs/playerview.php

    r1563 r4283  
    1010   
    1111    $irpg_page_title = "Joueur: " . htmlentities($_GET['player']);
    12     $showmap = $_GET['showmap'];
     12    $showmap = isset($_GET['showmap'])?$_GET['showmap']:false;
     13    $allmods = isset($_GET['allmods'])?$_GET['allmods']:false;
    1314   
    1415    include("header.php");
     
    127128        if (!is_null($temp) && count($temp)) {
    128129            echo('<h2>');
    129             echo $_GET['allmods']!=1?"Derni&egrave;res ":"";
     130            echo (!$allmods)?"Derni&egrave;res ":"";
    130131            echo('Modifications d\'Horlorge</h2><p>');
    131             if ($_GET['allmods'] == 1 || count($temp) < 6) {
     132            if ($allmods == 1 || count($temp) < 6) {
    132133                foreach ($temp as $line) {
    133134                    $line=htmlentities(trim($line));
     
    145146            }
    146147        }
    147         if ($_GET['allmods'] != 1 && count($temp) > 5) {
     148        if ($allmods != 1 && count($temp) > 5) {
    148149?>
    149150      <br />
    150       [<a href="<?php echo $_SERVER['PHP_SELF']."?player=".urlencode($user);?>&amp;allmods=1">Voir toutes les modifications</a> (<?=count($temp)?>)]
     151      [<a href="<?php echo $_SERVER['PHP_SELF']."?player=".urlencode($user);?>&amp;allmods=1">Voir toutes les modifications</a> (<?php echo count($temp)?>)]
    151152      </p>
    152153<?php
  • irpg/trunk/htdocs/worldmap.php

    r1451 r4283  
    1 <?
     1<?php
    22    include("config.php");
    33    $irpg_page_title = "Carte du monde";
     
    1212    <img src="makeworldmap.php" alt="Carte du monde de IdleRPG" title="Carte du monde de IdleRPG" usemap="#world" border="0" />
    1313    <map id="world" name="world">
    14 <?
     14<?php
    1515    $file = fopen($irpg_db,"r");
    1616    fgets($file,1024);
     
    3232</div>
    3333
    34 <?include("footer.php");?>
     34<?php include("footer.php");?>
Note: See TracChangeset for help on using the changeset viewer.