Changeset 377 for beta/pages/guildy.php
- Timestamp:
- Sep 16, 2008, 6:53:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
beta/pages/guildy.php
r373 r377 68 68 { 69 69 $online_mem = $db -> query("SELECT count(*) AS online_mem FROM `guild_member`, `characters`, `guild` WHERE guild.guildid = ".$row["guildid"]." AND guild_member.guildid = guild.guildid AND guild_member.guid = characters.guid AND characters.online = 1;") -> fetch_array();; 70 70 $date_arr = explode(" ",$row["createdate"]); 71 $date = explode("-",$date_arr[0]); 72 $time_stp = explode(":",$date_arr[1]); 73 $time = mktime($time_stp[0],$time_stp[1],$time_stp[2],$date[1],$date[2],$date[0]); 74 $human_date = date ("d.m.Y H:i:s",$time); 71 75 echo " 72 76 <tr> … … 77 81 <td align=\"center\">".$server -> GuidToCharName($row["leader"])."</td> 78 82 <td align=\"center\">".GuildPages($row["homepage"],$row["name"])."</td> 79 <td align=\"center\">".$ row["createdate"]."</td>83 <td align=\"center\">".$human_date."</td> 80 84 </tr> 81 85 ";
Note:
See TracChangeset
for help on using the changeset viewer.