<?php

global $current_section;
$current_section = 'profile';
require_once '../../init.php';
// Required files
require_once MAD_PATH . '/www/cp/auth.php';
require_once MAD_PATH . '/functions/adminredirect.php';
require_once MAD_PATH . '/www/cp/restricted.php';
require_once MAD_PATH . '/www/cp/admin_functions.php';
if (isset($_POST['update'])) {
    if (do_update_data('profilesettings', $_POST, $user_detail['user_id'])) {
        global $updated;
        $updated = 1;
        updatecurrentuserdata($user_detail['user_id']);
    } else {
        global $updated;
        $updated = 2;
    }
}
require_once MAD_PATH . '/www/cp/templates/header.tpl.php';
?>
    <div id="content">

        <div id="contentHeader">
            <h1>My Profile</h1>
        </div>
        <!-- #contentHeader -->

        <div class="container">
<?php

global $current_section;
$current_section = 'configuration';
require_once '../../init.php';
// Required files
require_once MAD_PATH . '/www/cp/auth.php';
require_once MAD_PATH . '/functions/adminredirect.php';
require_once MAD_PATH . '/www/cp/restricted.php';
require_once MAD_PATH . '/www/cp/admin_functions.php';
if (!check_permission('configuration', $user_detail['user_id'])) {
    exit;
}
if (isset($_POST['update'])) {
    if (do_update_data('generalsettings', $_POST, $user_detail['user_id'])) {
        global $updated;
        $updated = 1;
    } else {
        global $updated;
        $updated = 2;
    }
}
require_once MAD_PATH . '/www/cp/templates/header.tpl.php';
?>
    <div id="content">

        <div id="contentHeader">
            <h1>Server Configuration</h1>
        </div>
        <!-- #contentHeader -->
<?php

global $current_section;
$current_section = 'configuration';
require_once '../../init.php';
// Required files
require_once MAD_PATH . '/www/cp/auth.php';
require_once MAD_PATH . '/functions/adminredirect.php';
require_once MAD_PATH . '/www/cp/restricted.php';
require_once MAD_PATH . '/www/cp/admin_functions.php';
if (!check_permission('configuration', $user_detail['user_id'])) {
    exit;
}
if (isset($_POST['update'])) {
    if (do_update_data('mobfox_connect', $_POST, $user_detail['user_id'])) {
        global $updated;
        $updated = 1;
    } else {
        global $updated;
        $updated = 2;
    }
}
require_once MAD_PATH . '/www/cp/templates/header.tpl.php';
?>
<div id="content">		
		
		<div id="contentHeader">
			<h1>MobFox:Connect Configuration</h1>
		</div> <!-- #contentHeader -->	
		
		<div class="container">
Beispiel #4
0
<?php

global $current_section;
$current_section = 'profile';
require_once '../../init.php';
// Required files
require_once MAD_PATH . '/www/cp/auth.php';
require_once MAD_PATH . '/functions/adminredirect.php';
require_once MAD_PATH . '/www/cp/restricted.php';
require_once MAD_PATH . '/www/cp/admin_functions.php';
if (isset($_POST['update'])) {
    if (do_update_data('password', $_POST, $user_detail['user_id'])) {
        global $updated;
        $updated = 1;
    } else {
        global $updated;
        $updated = 2;
    }
}
require_once MAD_PATH . '/www/cp/templates/header.tpl.php';
?>
<div id="content">		
		
		<div id="contentHeader">
			<h1>My Profile</h1>
		</div> <!-- #contentHeader -->	
		
		<div class="container">
			
				
			<div class="grid-24">