Changeset 417
- Timestamp:
- Feb 9, 2009, 10:48:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
beta/index.php
r412 r417 1 <?php 1 <script> 2 function popup(url, wid, hei) { 3 left = (window.screen.availWidth-wid)/2; 4 shora = (window.screen.availHeight-hei)/2; 5 window.open(url,"_blank","left="+left+",top="+shora+",scrollbars=yes,resiza ble=no,toolbar=no,menubar=no,status=no,location=0,width="+wid+",height ="+hei); 6 } 7 </script> 8 <?php 2 9 session_start(); 3 10 include_once("./inc/db.php"); … … 43 50 echo "<a href=\"?page=links\">Odkazy</a><br />"; 44 51 echo "<a href=\"?page=online\">Online hráči</a><br />"; 45 echo "<a href=\"#\" onclick=\" window.open('../minimanager/pomm_public/pomm.php','Mapa online hráčů','width=758,height=525');return false;\">Mapa hráčů</a><br />";52 echo "<a href=\"#\" onclick=\"popup('../minimanager/pomm_public/pomm.php', 758, 525);return false;\">Mapa hráčů</a><br />"; 46 53 echo "<a href=\"?page=guildy\">Guildy</a><br />"; 47 54 echo "<a href=\"?page=gh\">Domky Guild</a><br />";
Note:
See TracChangeset
for help on using the changeset viewer.