Changeset 304 for minimanager/honor.php


Ignore:
Timestamp:
Mar 13, 2008, 7:39:11 PM (17 years ago)
Author:
george
Message:

Aktualizace na minimanager 0.1.6d.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • minimanager/honor.php

    r178 r304  
    3030                                guid,name,race,class,
    3131                                CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_HONOR_POINTS+1)."), ' ', -1) AS UNSIGNED) AS honor ,
    32                                 CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_LEVEL+1)."), ' ', -1)AS UNSIGNED) AS level,
    33                                 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_GUILD_ID+1)."), ' ', -1) AS UNSIGNED) as GNAME
     32                                CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_LEVEL+1)."), ' ', -1)AS UNSIGNED) AS level,
     33                                CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_GUILD_ID+1)."), ' ', -1) AS UNSIGNED) as GNAME,
     34                                mid(lpad( hex( CAST(substring_index(substring_index(data,' ',".(36+1)."),' ',-1) as unsigned) ),8,'0'),4,1) as gender
    3435                                FROM `character`
    3536                                where race in (1,3,4,7,11)
     
    4445 </script>
    4546 <center>
    46  <fieldset style=\"width: 950px;\">
     47 <fieldset style=\"width: 776px;\">
    4748        <legend><img src='img/alliance.gif' /></legend>
    4849
    49  <table class=\"lined\" style=\"width: 910px;\">
     50 <table class=\"lined\" style=\"width: 705px;\">
    5051
    5152  <tr class=\"bold\">
     
    112113        $output .= " <tr>
    113114                         <td><a href=\"char.php?id=$char[0]\">$char[1]</a></td>
    114                          <td><img src='img/c_icons/{$char[2]}-0.gif' onmousemove='toolTip(\"".get_player_race($char[2])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td>
     115                         <td><img src='img/c_icons/{$char[2]}-{$char[7]}.gif' onmousemove='toolTip(\"".get_player_race($char[2])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td>
    115116                         <td><img src='img/c_icons/{$char[3]}.gif' onmousemove='toolTip(\"".get_player_class($char[3])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td>
    116117                         <td>$lev</td>
    117118                         <td>$char[4]</td>
    118119                     <td><span onmouseover='toolTip(\"".$CHAR_RANK[$CHAR_RACE[$char[2]][1]][pvp_ranks($char[4])]."\",\"item_tooltip\")' onmouseout='toolTip()' style='color: white;'><img src='img/ranks/rank".pvp_ranks($char[4],$CHAR_RACE[$char[2]][1]).".gif'></span></td>
    119                          <td><a href=\"guild.php?id=$char[6]\">$guild_name[0]</a></td>
    120            </tr>";
     120                         <td><a href=\"guild.php?action=view_guild&amp;error=3&amp;id=$char[6]\">$guild_name[0]</a></td>
     121                         </tr>";
    121122}
    122123
     
    127128                                CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_HONOR_POINTS+1)."), ' ', -1) AS UNSIGNED) AS highest_rank ,
    128129                                CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_LEVEL+1)."), ' ', -1)AS UNSIGNED) AS level,
    129                                 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_GUILD_ID+1)."), ' ', -1) AS UNSIGNED) as GNAME
     130                                CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_GUILD_ID+1)."), ' ', -1) AS UNSIGNED) as GNAME,
     131                                mid(lpad( hex( CAST(substring_index(substring_index(data,' ',".(36+1)."),' ',-1) as unsigned) ),8,'0'),4,1) as gender
    130132                                FROM `character`
    131133                                where race not in (1,3,4,7,11)
     
    141143 </script>
    142144 <center>
    143  <fieldset style=\"width: 950px;\">
     145 <fieldset style=\"width: 776px;\">
    144146        <legend><img src='img/horde.gif' /></legend>
    145  <table class=\"lined\" style=\"width: 910px;\">
     147 <table class=\"lined\" style=\"width: 705px;\">
    146148  <tr class=\"bold\">
    147149    <td colspan=\"11\">{$lang_honor['horde']} {$lang_honor ['browse_honor']}</td>
     
    204206        $output .= " <tr>
    205207                         <td><a href=\"char.php?id=$char[0]\">$char[1]</a></td>
    206                          <td><img src='img/c_icons/{$char[2]}-0.gif' onmousemove='toolTip(\"".get_player_race($char[2])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td>
     208                         <td><img src='img/c_icons/{$char[2]}-{$char[7]}.gif' onmousemove='toolTip(\"".get_player_race($char[2])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td>
    207209                         <td><img src='img/c_icons/{$char[3]}.gif' onmousemove='toolTip(\"".get_player_class($char[3])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td>
    208210                         <td>$lev</td>
    209211                         <td>$char[4]</td>
    210212                     <td><span onmouseover='toolTip(\"".$CHAR_RANK[$CHAR_RACE[$char[2]][1]][pvp_ranks($char[4])]."\",\"item_tooltip\")' onmouseout='toolTip()' style='color: white;'><img src='img/ranks/rank".pvp_ranks($char[4],$CHAR_RACE[$char[2]][1]).".gif'></span></td>
    211                          <td><a href=\"guild.php?id=$char[6]\">$guild_name[0]</a></td>
    212             </tr>";
     213                         <td><a href=\"guild.php?action=view_guild&amp;error=3&amp;id=$char[6]\">$guild_name[0]</a></td>
     214                        </tr>";
    213215}
    214216
Note: See TracChangeset for help on using the changeset viewer.