Changeset 396
- Timestamp:
- Oct 27, 2008, 7:32:04 AM (16 years ago)
- Location:
- beta
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
beta/inc/server.php
r393 r396 7 7 } 8 8 // -- 9 public function HumanDate ($date )9 public function HumanDate ($date,$time = 1) 10 10 { 11 11 // input date is 0000-00-00 00:00:00 … … 14 14 $time_stp = explode(":",$date_arr[1]); 15 15 $time = mktime($time_stp[0],$time_stp[1],$time_stp[2],$date[1],$date[2],$date[0]); 16 $human_date = date ("d.m.Y H:i:s",$time); 16 if ($time == 1) 17 { 18 $human_date = date ("d.m.Y H:i:s",$time); 19 } 20 else 21 { 22 $human_date = date ("d.m.Y",$time); 23 } 17 24 return $human_date; 18 25 } -
beta/index.php
r386 r396 44 44 echo "<a href=\"?page=online\">Online hráči</a><br />"; 45 45 echo "<a href=\"?page=guildy\">Guildy</a><br />"; 46 echo "<a href=\"?page=arena\">Arény</a><br />"; 46 47 echo "<a href=\"?page=aukce\">Aukce</a><br />"; 47 48 echo "<a href=\"?page=events\">Eventy</a><br />"; 48 // echo "<a href=\"?page=online\">Dotace</a><br />";49 echo "<a href=\"?page=dotation\">Dotace</a><br />"; 49 50 echo "<a href=\"?page=teamspeak\">Team speak</a><br />"; 50 51 echo "<a href=\"?page=gmlog\">GM log</a><br />"; -
beta/pages/admin.php
r383 r396 1 1 <?php 2 echo "Menu"; 2 echo "<h3>Admin menu:</h3>"; 3 echo "- <a href=\"?page=admin_novinky\">Přidávání novinek</a><br />"; 4 echo "- <a href=\"?page=admin_finance\">Přidávání financí</a><br />"; 5 echo "- <a href=\"\"></a><br />"; 6 echo "- <a href=\"\"></a><br />"; 7 echo "- <a href=\"\"></a><br />"; 3 8 ?> -
beta/pages/admin_novinky.php
r383 r396 39 39 "; 40 40 41 if (isset($_POST["add"]) )41 if (isset($_POST["add"]) AND $lvl > 0) 42 42 { 43 43 $db -> select_db("web");
Note:
See TracChangeset
for help on using the changeset viewer.