Пример #1
0
 function __construct()
 {
     global $Core;
     $Request = new RequestObject();
     $this->com = $Request->get('com');
     if (empty($this->com)) {
         $this->com = 'skin';
         $Request->com = 'skin';
     }
     if (!in_array($this->com, $this->valid_coms)) {
         Core::SBRedirect(SKINNER_URL . "&com=skin");
     }
     $Controller = MVC::getController($Request);
     $Controller->execute();
     $Controller->display();
 }
Пример #2
0
/**
* @version      RC 1.1 2008-12-12 19:47:43 $
* @package      SkyBlueCanvas
* @copyright    Copyright (C) 2005 - 2008 Scott Edwin Lewis. All rights reserved.
* @license      GNU/GPL, see COPYING.txt
* SkyBlueCanvas is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYING.txt for copyright notices and details.
*/
defined('SKYBLUE') or die(basename(__FILE__));
$Request = new RequestObject();
$Filter = new Filter();
$com = $Request->get('com', 'skin');
?>
<style type="text/css">
    @import "managers/skinner/styles.css";
</style>
<script type="text/javascript">
function hide_mgr_message() {
    $("#mgr-message").fadeOut("slow");
};
$(function() {
    setTimeout('hide_mgr_message()', 5000);
});
$(function() {
    $("#install_button").bind("click", function(e) {
        if ($("#upload_file").val() == "") {
            e.preventDefault();
Пример #3
0
/**
* @version      RC 1.1 2008-12-12 19:47:43 $
* @package      SkyBlueCanvas
* @copyright    Copyright (C) 2005 - 2008 Scott Edwin Lewis. All rights reserved.
* @license      GNU/GPL, see COPYING.txt
* SkyBlueCanvas is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYING.txt for copyright notices and details.
*/
defined('SKYBLUE') or die(basename(__FILE__));
$Request = new RequestObject();
$Filter = new Filter();
$com = $Request->get('com', 'manager');
?>
<style type="text/css">
    @import "managers/installer/styles.css";
</style>
<script type="text/javascript">
function hide_mgr_message() {
    $("#mgr-message").fadeOut("slow");
};
$(function() {
    setTimeout('hide_mgr_message()', 5000);
});
$(function() {
    $("#install_button").bind("click", function(e) {
        if ($("#upload_file").val() == "") {
            e.preventDefault();