- Timestamp:
- Jan 21, 2011, 8:44:43 PM (14 years ago)
- Location:
- irpg/trunk/htdocs
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
irpg/trunk/htdocs/config.php
r1453 r4283 16 16 17 17 // character database 18 $irpg_db="/home /nainwak/zZzZ/bot/irpg.db";18 $irpg_db="/home2/zZzZ/bot/irpg.db"; 19 19 20 20 // item database 21 $irpg_itemdb="/home /nainwak/zZzZ/bot/mapitems.db";21 $irpg_itemdb="/home2/zZzZ/bot/mapitems.db"; 22 22 23 23 // time modifiers file 24 $irpg_mod="/home /nainwak/zZzZ/bot/modifiers.txt";24 $irpg_mod="/home2/zZzZ/bot/modifiers.txt"; 25 25 26 26 // active quest info file 27 $irpg_qfile="/home /nainwak/zZzZ/bot/questinfo.txt";27 $irpg_qfile="/home2/zZzZ/bot/questinfo.txt"; 28 28 29 29 // 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" 2 2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 3 3 4 4 <html> 5 5 <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> 7 7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 8 8 <link rel="stylesheet" type="text/css" href="g7.css" /> -
irpg/trunk/htdocs/index.php
r1468 r4283 27 27 28 28 <code> 29 /msg <? echo $irpg_bot;?> REGISTER <pseudo> <mot de passe>29 /msg <?php echo $irpg_bot;?> REGISTER <pseudo> <mot de passe> 30 30 <profession> 31 31 </code> … … 45 45 46 46 <code> 47 /msg <? echo $irpg_bot;?> LOGIN <pseudo> <mot de passe>47 /msg <?php echo $irpg_bot;?> LOGIN <pseudo> <mot de passe> 48 48 </code> 49 49 … … 57 57 58 58 <code> 59 /msg <? echo $irpg_bot;?> LOGOUT59 /msg <?php echo $irpg_bot;?> LOGOUT 60 60 </code> 61 61 … … 69 69 70 70 <code> 71 /msg <? echo $irpg_bot;?> NEWPASS <nouveau mot de passe>71 /msg <?php echo $irpg_bot;?> NEWPASS <nouveau mot de passe> 72 72 </code> 73 73 … … 85 85 86 86 <code> 87 /msg <? echo $irpg_bot;?> REMOVEME87 /msg <?php echo $irpg_bot;?> REMOVEME 88 88 </code> 89 89 … … 97 97 98 98 <code> 99 /msg <? echo $irpg_bot;?> ALIGN <good|neutral|evil>99 /msg <?php echo $irpg_bot;?> ALIGN <good|neutral|evil> 100 100 </code> 101 101 … … 147 147 148 148 <code> 149 /msg <? echo $irpg_bot;?> INFO149 /msg <?php echo $irpg_bot;?> INFO 150 150 </code> 151 151 … … 185 185 186 186 <code> 187 /msg <? echo $irpg_bot;?> QUEST187 /msg <?php echo $irpg_bot;?> QUEST 188 188 </code> 189 189 … … 197 197 198 198 <code> 199 /msg <? echo $irpg_bot;?> WHOAMI199 /msg <?php echo $irpg_bot;?> WHOAMI 200 200 </code> 201 201 -
irpg/trunk/htdocs/makemap.php
r1451 r4283 1 <? 1 <?php 2 2 include("config.php"); 3 3 session_start(); // sessions to generate only one map / person / 20s -
irpg/trunk/htdocs/makequestmap.php
r1451 r4283 1 <? 1 <?php 2 2 include("config.php"); 3 3 $file = fopen($irpg_db,"r"); -
irpg/trunk/htdocs/makeworldmap.php
r1451 r4283 1 <? 1 <?php 2 2 include("config.php"); 3 3 $file = fopen($irpg_db,"r"); -
irpg/trunk/htdocs/players.php
r1451 r4283 1 <? 1 <?php 2 2 include("config.php"); 3 3 include("commonfunctions.php"); … … 32 32 <p>La liste des joueurs dans un <a href="db.php">tableau</a>.</p> 33 33 34 <? include("footer.php")?>34 <?php include("footer.php")?> -
irpg/trunk/htdocs/playerview.php
r1563 r4283 10 10 11 11 $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; 13 14 14 15 include("header.php"); … … 127 128 if (!is_null($temp) && count($temp)) { 128 129 echo('<h2>'); 129 echo $_GET['allmods']!=1?"Dernières ":"";130 echo (!$allmods)?"Dernières ":""; 130 131 echo('Modifications d\'Horlorge</h2><p>'); 131 if ($ _GET['allmods']== 1 || count($temp) < 6) {132 if ($allmods == 1 || count($temp) < 6) { 132 133 foreach ($temp as $line) { 133 134 $line=htmlentities(trim($line)); … … 145 146 } 146 147 } 147 if ($ _GET['allmods']!= 1 && count($temp) > 5) {148 if ($allmods != 1 && count($temp) > 5) { 148 149 ?> 149 150 <br /> 150 [<a href="<?php echo $_SERVER['PHP_SELF']."?player=".urlencode($user);?>&allmods=1">Voir toutes les modifications</a> (<? =count($temp)?>)]151 [<a href="<?php echo $_SERVER['PHP_SELF']."?player=".urlencode($user);?>&allmods=1">Voir toutes les modifications</a> (<?php echo count($temp)?>)] 151 152 </p> 152 153 <?php -
irpg/trunk/htdocs/worldmap.php
r1451 r4283 1 <? 1 <?php 2 2 include("config.php"); 3 3 $irpg_page_title = "Carte du monde"; … … 12 12 <img src="makeworldmap.php" alt="Carte du monde de IdleRPG" title="Carte du monde de IdleRPG" usemap="#world" border="0" /> 13 13 <map id="world" name="world"> 14 <? 14 <?php 15 15 $file = fopen($irpg_db,"r"); 16 16 fgets($file,1024); … … 32 32 </div> 33 33 34 <? include("footer.php");?>34 <?php include("footer.php");?>
Note:
See TracChangeset
for help on using the changeset viewer.