diff options
author | Matthijs Kuiper <info@matthijskuiper.nl> | 2018-01-10 20:08:33 +0100 |
---|---|---|
committer | Matthijs Kuiper <info@matthijskuiper.nl> | 2018-01-10 20:08:33 +0100 |
commit | 861e3230f0154e6a5942698adedf18d5eb0e0b8a (patch) | |
tree | 904f4efa242804c12f6989bd825b93534ef0a599 /html/pages/players_search.php | |
parent | fdd379c949056fb3a2198039e452f6aae600ef35 (diff) |
Move imaegs to assets folder
Diffstat (limited to 'html/pages/players_search.php')
-rw-r--r-- | html/pages/players_search.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/html/pages/players_search.php b/html/pages/players_search.php index 39ab53f..133f46c 100644 --- a/html/pages/players_search.php +++ b/html/pages/players_search.php @@ -8,7 +8,7 @@ function InvertSort($curr_field, $filter, $sort) { function SortPic($curr_field, $filter, $sort) {
if ($curr_field != $filter) return;
- $fname = 'images/s_'. strtolower($sort) .'.png';
+ $fname = 'assets/images/s_'. strtolower($sort) .'.png';
if (!file_exists($fname)) return;
return(' <img src="'. $fname .'" border="0" width="11" height="9" alt="" class="tooltip" title="('.strtolower($sort).'ending)">');
}
@@ -38,10 +38,10 @@ echo' </th>
<tr>
<th class ="smheading" colspan = "12" ALIGN="center">
- <div class="darksearch">
+ <div class="darksearch">
<span><input type="text" class="search square" placeholder="Search player..." name="name" value="'.htmlentities($playername).'"><input class="searchbutton" type="submit" value="Search"></span></div>
</th>
-
+
</tr>
<tr>
<td class="smheading" align="center" width="150"><a class="smheading" href="./?p=psearch&name='.urlencode($playername).'&filter=name&sort='.InvertSort('name', $filter, $sort).'">Player Name</a>'.SortPic('name', $filter, $sort).'</td>
@@ -68,7 +68,7 @@ while ($r_plist = mysql_fetch_array($q_plist)) { $eff = get_dp($r_plist[eff]);
$acc = get_dp($r_plist[accuracy]);
$ttl = GetMinutes($r_plist[ttl]);
-
+
echo'
<tr class="clickableRow" href="./?p=pinfo&pid='.$r_plist['pid'].'">
<td nowrap align="left"><a href="./?p=pinfo&pid='.$r_plist['pid'].'">'.FormatPlayerName($r_plist[country], $r_plist['pid'], $r_plist[name]).'</a></td>
@@ -86,4 +86,4 @@ while ($r_plist = mysql_fetch_array($q_plist)) { }
echo'
</tbody></table></form>';
-?>
\ No newline at end of file +?>
|