Changeset 28 for guildy.php


Ignore:
Timestamp:
Aug 18, 2007, 1:49:26 PM (17 years ago)
Author:
george
Message:
  • Změna kódování stránek na ISO-8859-2!!! Windows-1250 se nadále nebude používat.
  • Jiné menší úpravy
File:
1 edited

Legend:

Unmodified
Added
Removed
  • guildy.php

    r24 r28  
    1313{
    1414  echo('<h3>Seznam guild:</h3><div align="center">');
    15   echo('<table class="TableGuilda" border="1" cellpadding="3" cellspacing="0" ><tr><th>Název</th><th>Poèet èlenù</th><th>Souèet levelù</th><th>Souèet bodù cti</th><th>Webové stránky</th></tr>');
     15  echo('<table class="TableGuilda" border="1" cellpadding="3" cellspacing="0"><tr><th>Název</th><th>Poèet èlenù</th><th>Souèet levelù</th><th>Souèet bodù cti</th><th>Webové stránky</th></tr>');
    1616//  DB_Query(' COUNT(guild_member.guildid) as member_count FROM guild JOIN guild_member ON guild_member.guildid = guild.guildid GROUP BY guild.name ORDER BY member_count DESC');
    1717  $Result = $Database->query('SELECT `guild`.name, guild.guildid, COUNT(`guild_member`.`guildid`) as member_count, SUM(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, " ", 35), " ", -1)) as guild_level, SUM(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, " ", 1421), " ", -1)) as guild_honor FROM `guild` JOIN `guild_member` ON `guild_member`.`guildid` = `guild`.`guildid` JOIN `character` ON `character`.`guid`= `guild_member`.`guid` GROUP BY guild.name ORDER BY guild.name');
Note: See TracChangeset for help on using the changeset viewer.