This commit is contained in:
yi12345
2013-08-04 23:26:40 +03:00
parent a6eb1c6b86
commit 34110170ca
3 changed files with 26 additions and 17 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
\** --------------------------------------------------- **/
if(!is_numeric($_SESSION['search'])) {
?>
<center><font color=orange size=2><p class=\"error\">The user <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist or has no hero.</p></font></center>
<center><font color=orange size=2><p class=\"error\">The hero <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist.</p></font></center>
<?php
$search = 0;
} else {
+1 -1
View File
@@ -8,7 +8,7 @@ if(!isset($_GET['id'])){ $_GET['id']='1'; }
<div class="search">
<span>rank<input type="text" class="text ra" maxlength="5" name="rank" value="<?php echo ($search == 0)? $start : $search; ?>" /></span>
<span class="or">or</span>
<span>name<input type="text" class="text name" maxlength="20" name="name" value="<?php if(!is_numeric($search)) {echo $search; } ?>" /></span>
<span>name<input type="text" class="text name" maxlength="30" name="name" value="<?php if(!is_numeric($search)) {echo $search; } ?>" /></span>
<input type="hidden" name="ft" value="r<?php echo isset($_GET['id'])? $_GET['id'] : 1; ?>" />
<input type="image" value="submit" name="submit" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" />
</div>