<td align="left"><q><img src="images/icons/class/<?php 
    echo $char["class"];
    ?>
.gif" onmouseover="showTip('<?php 
    echo GetNameFromDB($char["class"], "dbc_chrclasses");
    ?>
')" onmouseout="hideTip()"></q></td>
<td align="center"><q><img width="20" height="20" src="images/icon-<?php 
    echo $char["faction"];
    ?>
.gif" onMouseOver="showTip('<?php 
    echo $lang[$char["faction"]];
    ?>
')" onmouseout="hideTip()"></q></td>
<td><q><?php 
    echo guild_tooltip($char["guildid"]);
    ?>
</q></td>
<td align="center"><q><i><span class="veryplain"><?php 
    echo $char["kills"];
    ?>
</span></i></q></td>
<td align="center"><q><i><span class="veryplain"><?php 
    echo $char["honor"];
    ?>
</span></i></q></td><td align="right">
<div>
<b></b>
</div>
</td>
</tr>
        unset($_char_data);
        $_char_gender = str_pad($_char_gender, 8, 0, STR_PAD_LEFT);
        $cdata["gender"] = $_char_gender[3];
        echo "<tr class=\"";
        if ($arenateam["captainguid"] == $cdata["guid"]) {
            echo "data3";
        }
        echo "\">\r\n\t\t<td>\r\n\t\t<div>\r\n\t\t<p></p>\r\n\t\t</div>\r\n\t\t</td><td><q><span class=\"";
        if ($arenateam["captainguid"] == $cdata["guid"]) {
            echo "gm";
        }
        echo "\"><a href=\"index.php?searchType=profile&character=", $cdata["name"], "&realm=", REALM_NAME, "\">", $cdata["name"], "</a></span></q></td>";
        switchConnection("characters", REALM_NAME);
        $gquery = mysql_fetch_assoc(execute_query("SELECT `guildid` FROM `guild_member` WHERE `guid` = " . $cdata["guid"] . " LIMIT 1"));
        $guildid = $gquery ? $gquery["guildid"] : 0;
        echo "<td class=\"\"><q><strong>", guild_tooltip($guildid), "</strong></q></td>";
        if ($cdata["played_season"]) {
            $win_percent = round($cdata["wons_season"] / $cdata["played_season"] * 100);
        } else {
            $win_percent = 0;
        }
        ?>
<td align="center"><img class="ci" onmouseout="hideTip()" onMouseOver="showTip('<?php 
        echo GetNameFromDB($cdata["race"], "dbc_chrraces");
        ?>
')" src="images/icons/race/<?php 
        echo $cdata["race"], "-", $cdata["gender"];
        ?>
.gif"><img src="shared/wow-com/images/layout/pixel.gif" width="2">
<img class="ci" onmouseout="hideTip()" onMouseOver="showTip('<?php 
        echo GetNameFromDB($cdata["class"], "dbc_chrclasses");
<div class="character-clone">
<table>
<tr>
<td>
<h1>
<span style="font-size: 16px; color: #fff7d2"><!--Grunt--></span>
</h1>
<h2><?php 
    echo $stat["name"];
    ?>
<span style="font-size: 16px; font-weight: normal;  color: #fff7d2"><!--, Guardian of Cenarius--></span>
</h2>
<h3>
<?php 
    if ($stat["guild"]) {
        echo guild_tooltip($stat["guild"]);
    }
    ?>
</h3>
<h4>
<span class=""><?php 
    echo $lang["level"];
    ?>
&nbsp;</span><span class=""><?php 
    echo $stat["level"];
    ?>
&nbsp;</span><span class=""><?php 
    echo $race;
    ?>
&nbsp;</span><span class=""><?php 
    echo $class;