Esempio n. 1
0
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Creative Commons Attribution 3.0 License for more details. 
* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin, 
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/
require_once 'header.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'db.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'design.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'prof.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'languages.inc.php';
bx_import('BxDolPermalinks');
bx_import('BxDolTemplateAdmin');
bx_import('BxDolAdminMenu');
$oAdmTemplate = new BxDolTemplateAdmin($admin_dir);
$oAdmTemplate->init();
$oAdmTemplate->addCss(array('general.css', 'anchor.css'));
$oAdmTemplate->addJs(array('jquery.js', 'jquery.dimensions.js', 'jquery.form.js', 'jquery.webForms.js', 'jquery.dolPopup.js', 'jquery.float_info.js', 'jquery.jfeed.js', 'jquery.dolRSSFeed.js', 'common_anim.js', 'functions.js', 'functions.admin.js'));
$l = 'base64_decode';
function PageCodeAdmin($oTemplate = null)
{
    if (empty($oTemplate)) {
        $oTemplate = $GLOBALS['oAdmTemplate'];
    }
    $iNameIndex = $GLOBALS['_page']['name_index'];
    header('Content-type: text/html; charset=utf-8');
    echo $oTemplate->parsePageByName('page_' . $iNameIndex . '.html', $GLOBALS['_page_cont'][$iNameIndex]);
}
function DesignBoxAdmin($sTitle, $sContent, $mixedTopItems = '', $sBottomItems = '', $iIndex = 1)
{
Esempio n. 2
0
<?php

/**
 * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
 * CC-BY License - http://creativecommons.org/licenses/by/3.0/
 */
require_once 'header.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'db.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'design.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'prof.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'languages.inc.php';
bx_import('BxDolPermalinks');
bx_import('BxDolTemplateAdmin');
bx_import('BxDolAdminMenu');
$oAdmTemplate = new BxDolTemplateAdmin($admin_dir);
$oAdmTemplate->init();
$oAdmTemplate->addCss(array('default.css', 'general.css', 'anchor.css', 'icons.css', 'colors.css'));
$oAdmTemplate->addJs(array('jquery.js', 'jquery.ui.position.min.js', 'jquery.form.js', 'jquery.webForms.js', 'jquery.dolPopup.js', 'jquery.float_info.js', 'jquery.jfeed.js', 'jquery.dolRSSFeed.js', 'common_anim.js', 'functions.js', 'functions.admin.js'));
$l = 'base64_decode';
function PageCodeAdmin($oTemplate = null)
{
    if (empty($oTemplate)) {
        $oTemplate = $GLOBALS['oAdmTemplate'];
    }
    $iNameIndex = $GLOBALS['_page']['name_index'];
    header('Content-type: text/html; charset=utf-8');
    echo $oTemplate->parsePageByName('page_' . $iNameIndex . '.html', $GLOBALS['_page_cont'][$iNameIndex]);
}
function DesignBoxAdmin($sTitle, $sContent, $mixedTopItems = '', $sBottomItems = '', $iIndex = 1)
{
    if (is_array($mixedTopItems)) {