Changeset 374 for minimanager/char_list.php
- Timestamp:
- Sep 11, 2008, 9:10:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/char_list.php
r307 r374 10 10 11 11 require_once("header.php"); 12 valid_login( 1);12 valid_login($action_permission['read']); 13 13 require_once("scripts/id_tab.php"); 14 14 require_once("scripts/defines.php"); … … 108 108 $owner_acc_name = $sql->result($result, 0, 'username'); 109 109 110 $level = $char[9]; 111 112 if($level < 10) 113 $lev = '<font color="#FFFFFF">'.$level.'</font>'; 114 else if($level < 20) 115 $lev = '<font color="#858585">'.$level.'</font>'; 116 else if($level < 30) 117 $lev = '<font color="#339900">'.$level.'</font>'; 118 else if($level < 40) 119 $lev = '<font color="#3300CC">'.$level.'</font>'; 120 else if($level < 50) 121 $lev = '<font color="#C552FF">'.$level.'</font>'; 122 else if($level < 60) 123 $lev = '<font color="#FF8000">'.$level.'</font>'; 124 else if($level < 70) 125 $lev = '<font color="#FFF280">'.$level.'</font>'; 126 else if($level < 80) 127 $lev = '<font color="#FF0000">'.$level.'</font>'; 128 else 129 $lev = '<font color="#000000">'.$level.'</font>'; 130 110 131 if (($user_lvl >= $owner_gmlvl)||($owner_acc_name == $user_name)){ 111 132 $output .= "<tr>"; … … 118 139 <td><img src='img/c_icons/{$char[3]}-{$char[10]}.gif' onmousemove='toolTip(\"".get_player_race($char[3])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td> 119 140 <td><img src='img/c_icons/{$char[4]}.gif' onmousemove='toolTip(\"".get_player_class($char[4])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td> 120 <td>$ char[9]</td>141 <td>$lev</td> 121 142 <td>".get_map_name($char[6])."</td> 122 143 <td>".get_zone_name($char[5])."</td> … … 158 179 $search_value = $sql->quote_smart($_GET['search_value']); 159 180 $search_by = (isset($_GET['search_by'])) ? $sql->quote_smart($_GET['search_by']) : "name"; 181 $search_menu = array('name', 'guid', 'account', 'level', 'greater_level', 'guild', 'race', 'class', 'map', 'highest_rank', 'greater_rank', 'online', 'gold', 'item'); 182 if (!array_key_exists($search_by, $search_menu)) $search_by = 'name'; 160 183 $order_by = (isset($_GET['order_by'])) ? $sql->quote_smart($_GET['order_by']) : "guid"; 161 184 … … 342 365 $owner_acc_name = $sql->result($result, 0, 'username'); 343 366 367 $level = $char[9]; 368 369 if($level < 10) 370 $lev = '<font color="#FFFFFF">'.$level.'</font>'; 371 else if($level < 20) 372 $lev = '<font color="#858585">'.$level.'</font>'; 373 else if($level < 30) 374 $lev = '<font color="#339900">'.$level.'</font>'; 375 else if($level < 40) 376 $lev = '<font color="#3300CC">'.$level.'</font>'; 377 else if($level < 50) 378 $lev = '<font color="#C552FF">'.$level.'</font>'; 379 else if($level < 60) 380 $lev = '<font color="#FF8000">'.$level.'</font>'; 381 else if($level < 70) 382 $lev = '<font color="#FFF280">'.$level.'</font>'; 383 else if($level < 80) 384 $lev = '<font color="#FF0000">'.$level.'</font>'; 385 else 386 $lev = '<font color="#000000">'.$level.'</font>'; 387 344 388 if (($user_lvl >= $owner_gmlvl)||($owner_acc_name == $user_name)){ 345 389 $output .= "<tr>"; … … 353 397 <td><img src='img/c_icons/{$char[3]}-{$char[10]}.gif' onmousemove='toolTip(\"".get_player_race($char[3])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td> 354 398 <td><img src='img/c_icons/{$char[4]}.gif' onmousemove='toolTip(\"".get_player_class($char[4])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td> 355 <td>$ char[9]</td>399 <td>$lev</td> 356 400 <td>".get_map_name($char[6])."</td> 357 401 <td>".get_zone_name($char[5])."</td>
Note:
See TracChangeset
for help on using the changeset viewer.