Changeset 606 for trunk


Ignore:
Timestamp:
Jun 27, 2009, 9:03:36 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Změna adresy teamspeaku z game.zdechov.net na wow.zdechov.net.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/minimanager/lang/czech.php

    r603 r606  
    210210$lang_footer = array(
    211211        // -----FOOTER.PHP -----
    212         'bugs_to_admin' => 'Problémy a chyby hlašte',
     212        'bugs_to_admin' => 'Problémy a chyby hlásit',
    213213        'site_admin' => 'Správci webu'
    214214        );
     
    979979        'quality' => 'Kvalita',
    980980        'quality_desc' => 'Celková kvalita věci.',
    981         'inv_type' => 'Typ minventáře',
     981        'inv_type' => 'Typ inventáře',
    982982        'inv_type_desc' => 'Kde může být věc vybavena.',
    983983        'flags' => 'Vlajky',
  • trunk/pages/teamspeak.php

    r405 r606  
    11<?php
    2 echo "<center><h3>TeamSpeak Server Heroes of Fantasy :</h3></center>";
    3 echo "<table align=\"center\" border=\"0\"><td>";
    42
    5         // The code between the 2 lines below turns on PHPs error handlers.
    6         // Uncomment it for debugging purposes, but leave commented in live
    7         // environments. Having your script running in a live environment with the
    8         // error handlers turned on, decreases your sites security as a warning may
    9         // reveal information used to exploit security holes in your site.
    10         //================== BEGIN OF ERROR REPORTING CODE ====================
    11         //echo("<span style=\"color: #dd0000; font-weight: bold\">Error reporting ");
    12         //echo("is currently on. Turn it off in live environments !</span><br><br>\n");
    13         //error_reporting(E_ALL);
    14         //ini_set("display_errors", "1");
    15         //ini_set("display_startup_errors", "1");
    16         //ini_set("ignore_repeated_errors", "0");
    17         //ini_set("ignore_repeated_source", "0");
    18         //ini_set("report_memleaks", "1");
    19         //ini_set("track_errors", "1");
    20         //ini_set("html_errors", "1");
    21         //ini_set("warn_plus_overloading", "1");
    22         //================== END OF ERROR REPORTING CODE ======================
    23        
    24         // Load the Teamspeak Display:
    25         require("inc/teamspeakdisplay/teamspeakdisplay.php");
    26        
    27         // Get the default settings
    28         $settings = $teamspeakDisplay->getDefaultSettings();
    29        
    30         //================== BEGIN OF CONFIGURATION CODE ======================
    31        
    32         // Set the teamspeak server IP or Hostname below (DO NOT INCLUDE THE
    33         // PORT NUMBER):
    34         $settings["serveraddress"] = "game.zdechov.net";
    35        
    36         // If your you use another port than 8767 to connect to your teamspeak
    37         // server using a teamspeak client, then uncomment the line below and
    38         // set the correct teamspeak port:
    39         //$settings["serverudpport"] = 8767;
    40        
    41         // If your teamspeak server uses another query port than 51234, then
    42         // uncomment the line below and set the teamspeak query port of your
    43         // server (look in the server.ini of your teamspeak server for this
    44         // portnumber):
    45         //$settings["serverqueryport"] = 51234;
    46        
    47         // If you want to limit the display to only one channel including it's
    48         // players and subchannels, uncomment the following line and set the
    49         // exact name of the channel. This feature is case-sensitive!
    50         //$settings["limitchannel"] = "";
    51        
    52         // If your teamspeak server uses another set of forbidden nickname
    53         // characters than "()[]{}" (look in your server.ini for this setting),
    54         // then uncomment the following line and set the correct set of
    55         // forbidden nickname characters:
    56         //$settings["forbiddennicknamechars"] = "()[]{}";
    57        
    58         //================== END OF CONFIGURATION CODE ========================
    59        
    60         // Is the script improperly configured?
    61         if ($settings["serveraddress"] == "") { die("You need to configure this script as described inside the CONFIGURATION CODE block in " . $_SERVER["PHP_SELF"] . "<br>\n"); }
    62         // Display the Teamspeak server
    63         $teamspeakDisplay->displayTeamspeakEx($settings);
     3echo('<table class="SimpleTable"><tr><td>');
     4echo('<h4>TeamSpeak server</h4>');
     5echo('Adresa pro připojení: wow.zdechov.net<br /><br />');
    646
    65 echo "</td></table>";
     7  // The code between the 2 lines below turns on PHPs error handlers.
     8  // Uncomment it for debugging purposes, but leave commented in live
     9  // environments. Having your script running in a live environment with the
     10  // error handlers turned on, decreases your sites security as a warning may
     11  // reveal information used to exploit security holes in your site.
     12  //================== BEGIN OF ERROR REPORTING CODE ====================
     13  //echo("<span style=\"color: #dd0000; font-weight: bold\">Error reporting ");
     14  //echo("is currently on. Turn it off in live environments !</span><br><br>\n");
     15  //error_reporting(E_ALL);
     16  //ini_set("display_errors", "1");
     17  //ini_set("display_startup_errors", "1");
     18  //ini_set("ignore_repeated_errors", "0");
     19  //ini_set("ignore_repeated_source", "0");
     20  //ini_set("report_memleaks", "1");
     21  //ini_set("track_errors", "1");
     22  //ini_set("html_errors", "1");
     23  //ini_set("warn_plus_overloading", "1");
     24  //================== END OF ERROR REPORTING CODE ======================
     25 
     26  // Load the Teamspeak Display:
     27  require('inc/teamspeakdisplay/teamspeakdisplay.php');
     28  require('inc/code.php');
     29 
     30  // Get the default settings
     31  $settings = $teamspeakDisplay->getDefaultSettings();
     32 
     33  //================== BEGIN OF CONFIGURATION CODE ======================
     34 
     35  // Set the teamspeak server IP or Hostname below (DO NOT INCLUDE THE
     36  // PORT NUMBER):
     37  $settings['serveraddress'] = 'wow.zdechov.net';
     38 
     39  // If your you use another port than 8767 to connect to your teamspeak
     40  // server using a teamspeak client, then uncomment the line below and
     41  // set the correct teamspeak port:
     42  //$settings["serverudpport"] = 8767;
     43 
     44  // If your teamspeak server uses another query port than 51234, then
     45  // uncomment the line below and set the teamspeak query port of your
     46  // server (look in the server.ini of your teamspeak server for this
     47  // portnumber):
     48  //$settings["serverqueryport"] = 51234;
     49 
     50  // If you want to limit the display to only one channel including it's
     51  // players and subchannels, uncomment the following line and set the
     52  // exact name of the channel. This feature is case-sensitive!
     53  //$settings["limitchannel"] = "";
     54 
     55  // If your teamspeak server uses another set of forbidden nickname
     56  // characters than "()[]{}" (look in your server.ini for this setting),
     57  // then uncomment the following line and set the correct set of
     58  // forbidden nickname characters:
     59  //$settings["forbiddennicknamechars"] = "()[]{}";
     60 
     61  //================== END OF CONFIGURATION CODE ========================
     62 
     63  // Is the script improperly configured?
     64  if($settings['serveraddress'] == '')
     65  {
     66    die('You need to configure this script as described inside the CONFIGURATION CODE block in '.$_SERVER['PHP_SELF'].'<br>'."\n");
     67  }
     68  // Display the Teamspeak server
     69  $teamspeakDisplay->displayTeamspeakEx($settings);
     70
     71echo('</td></tr></table>');
     72
     73
    6674?>
Note: See TracChangeset for help on using the changeset viewer.