Changeset 377 for beta/pages/guilda.php
- Timestamp:
- Sep 16, 2008, 6:53:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
beta/pages/guilda.php
r373 r377 19 19 $online_mem = $db -> query("SELECT count(*) AS online_mem FROM `guild_member`, `characters`, `guild` WHERE guild.guildid = ".$guild_id." AND guild_member.guildid = guild.guildid AND guild_member.guid = characters.guid AND characters.online = 1;") -> fetch_array();; 20 20 // guild info 21 $date_arr = explode(" ",$guild_data["createdate"]); 22 $date = explode("-",$date_arr[0]); 23 $time_stp = explode(":",$date_arr[1]); 24 $time = mktime($time_stp[0],$time_stp[1],$time_stp[2],$date[1],$date[2],$date[0]); 25 $human_date = date ("d.m.Y H:i:s",$time); 21 26 echo "<a href=\"?page=guildy\"><- Zpět na výpis</a><br />"; 22 27 echo " … … 27 32 <tr> 28 33 <th>Datum založení: </th> 29 <td>".$ guild_data["createdate"]."</td>34 <td>".$human_date."</td> 30 35 </tr> 31 36 <tr>
Note:
See TracChangeset
for help on using the changeset viewer.