@@ -2,7 +2,7 @@
/*
*
* OGP - Open Game Panel
- * Copyright (C) 2008 - 2016 The OGP Development Team
+ * Copyright (C) 2008 - 2017 The OGP Development Team
* http://www.opengamepanel.org/
@@ -21,6 +21,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+
function pretty_text_ttf($im, $fontsize, $angle, $x, $y, $color, $font, $string, $outline = false) {
$black = imagecolorallocate($bgImg, 0, 0, 0);
- * Copyright (C) 2008 - 2015 The OGP Development Team
?>
<style>
.tip{
- * Copyright (C) 2008 - 2014 The OGP Development Team
@@ -21,7 +21,7 @@
-
// Ignore any request with unwanted values at 'm' or 'p'
if( isset($_REQUEST['m']) and !preg_match("/^([a-z]|[0-9]|_|-)+$/i", $_REQUEST['m']) )
unset($_POST['m'], $_GET['m'], $_REQUEST['m']);
# Open Game Panel refreshed Class
# Wrote by: Nirock
# Sample Setup:
error_reporting(E_ALL);
$_GET['action'] = true;
define("MODULES", "modules/");
@@ -125,5 +125,4 @@ define('admin_dsi', "DSi Settings");
define('user_dsi', "DSi");
define('list_dsi', "DSi List");
define('no_remote_servers', "There is no known remote servers! Add a server to use this function.");
@@ -198,4 +198,4 @@ define('attempting_nonmaster_update', "You are attempting to update this server
define('cannot_update_from_own_self', "Local Server Update may not run on a master server.");
define('show_server_id', "Show Server IDs");
define('hide_server_id', "Hide Server IDs");
-?>
+?>
@@ -53,4 +53,4 @@ define('blacklist_files', "Blacklist files");
define('blacklist_files_info', "All marked files will not be updated.");
define('save_to_blacklist', "Save to blacklist");
define('no_new_updates', "No new updates");
@@ -108,4 +108,4 @@ define('editing_profile', "Editing Profile: %s");
define('valid_user', "Please specify a valid user.");
define('enter_valid_username', "Please enter a valid username.");
define('unexpected_role', "Unexpected user role received.");
error_reporting(E_ERROR);
chdir("..");
require_once("includes/helpers.php");
- * Copyright (C) 2008 - 2013 The OGP Development Team
function do_progress($kbytes,$totalsize)
{
$mbytes = round($kbytes / 1024, 2);
function exec_ogp_module() {
global $db;
$home_id = $_GET['home_id'];
function exec_ogp_module()
global $db,$view;
$path = getcwd()."/".$_GET['randir']."/"; // change the path to fit your websites document structure
@@ -3,7 +3,7 @@
@@ -22,6 +22,7 @@
echo "<h2>".get_lang('ban_list')."</h2>";
global $db, $loggedInUserInfo;
echo "<h2>".get_lang('watch_logger')."</h2>";
@$arch = $_POST['arch'];
@$os = $_POST['os'];
<h2>XML Config Creator</h2>
@@ -4,7 +4,7 @@
@@ -23,6 +23,7 @@
require('includes/lib_remote.php');
function print_player_list($player_list,$players,$playersmax,$gamename)
$data = "<center><table class='currently-online' >".
require('modules/update/unzip.php');
require('modules/modulemanager/module_handling.php');
/******************
* Functions *
* ***************/