- Timestamp:
- Jun 27, 2009, 9:03:36 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/minimanager/lang/czech.php
r603 r606 210 210 $lang_footer = array( 211 211 // -----FOOTER.PHP ----- 212 'bugs_to_admin' => 'Problémy a chyby hl ašte',212 'bugs_to_admin' => 'Problémy a chyby hlásit', 213 213 'site_admin' => 'Správci webu' 214 214 ); … … 979 979 'quality' => 'Kvalita', 980 980 'quality_desc' => 'Celková kvalita věci.', 981 'inv_type' => 'Typ minventáře',981 'inv_type' => 'Typ inventáře', 982 982 'inv_type_desc' => 'Kde může být věc vybavena.', 983 983 'flags' => 'Vlajky', -
trunk/pages/teamspeak.php
r405 r606 1 1 <?php 2 echo "<center><h3>TeamSpeak Server Heroes of Fantasy :</h3></center>";3 echo "<table align=\"center\" border=\"0\"><td>";4 2 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); 3 echo('<table class="SimpleTable"><tr><td>'); 4 echo('<h4>TeamSpeak server</h4>'); 5 echo('Adresa pro připojení: wow.zdechov.net<br /><br />'); 64 6 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 71 echo('</td></tr></table>'); 72 73 66 74 ?>
Note:
See TracChangeset
for help on using the changeset viewer.