Changeset 417 for beta/index.php


Ignore:
Timestamp:
Feb 9, 2009, 10:48:06 PM (16 years ago)
Author:
amun
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • beta/index.php

    r412 r417  
    1 <?php
     1<script>
     2function popup(url, wid, hei) {
     3left = (window.screen.availWidth-wid)/2;
     4shora = (window.screen.availHeight-hei)/2;
     5window.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
    29  session_start();
    310include_once("./inc/db.php");
     
    4350  echo "<a href=\"?page=links\">Odkazy</a><br />";
    4451  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 />";
    4653  echo "<a href=\"?page=guildy\">Guildy</a><br />";
    4754  echo "<a href=\"?page=gh\">Domky Guild</a><br />";
Note: See TracChangeset for help on using the changeset viewer.