$text .= ebImageTextButton('clanchangeowner', 'user_go.ico', EB_CLANM_L8); $text .= '</td>'; $text .= '</tr>'; $text .= '</table>'; $text .= '</td>'; $text .= '</tr>'; $text .= ' </tbody> </table> </form> </div>'; // tab-page "Team Summary" //*************************************************************************************** // tab-page "Team Settings" $text .= '<div id="tabs-2">'; $text .= $clan->displayClanSettingsForm(); $text .= '</div>'; // tab-page "Team Settings" //*************************************************************************************** // tab-page "Team Divisions" $text .= '<div id="tabs-3">'; $q = "SELECT DISTINCT " . TBL_GAMES . ".*" . " FROM " . TBL_GAMES . " ORDER BY Name"; $result = $sql->db_Query($q); /* Error occurred, return given name by default */ $numGames = mysql_numrows($result); if ($numGames > 0) { $text .= '<form action="' . e_PLUGIN . 'ebattles/clanprocess.php?clanid=' . $clan_id . '" method="post">'; $text .= '<table class="eb_table" style="width:95%">'; $text .= '<tbody>'; $text .= '<tr>'; $text .= '<td class="eb_td">';