Changeset 4283 for irpg/trunk/htdocs/playerview.php
- Timestamp:
- Jan 21, 2011, 8:44:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.