예제 #1
0
 /**
  * @return InitGraphic
  */
 public static function getInstance()
 {
     if (!isset($instance)) {
         self::$instance = new InitGraphic();
     }
     return self::$instance;
 }
예제 #2
0
<?php

session_start();
session_destroy();
session_start();
require "include/beContent.inc.php";
require_once "include/content.inc.php";
require "include/auth.inc.php";
require_once realpath(dirname(__FILE__)) . '/include/view/template/InitGraphic.php';
$main = new Skin('system');
InitGraphic::getInstance()->createSystemGraphic($main);
$loginBody = new Skinlet('login');
$main->setContent('body', $loginBody->get());
$main->close();
예제 #3
0
<?php

require_once "include/skin.inc.php";
require_once 'include/skinlet.inc.php';
require_once "include/beContent.inc.php";
require_once "include/entities.inc.php";
require_once "include/content.inc.php";
require_once realpath(dirname(__FILE__)) . '/include/view/template/InitGraphic.php';
$main = new Skin();
InitGraphic::getInstance()->createGraphic($main, false, false);
$news = new Content($newsEntity, $usersEntity);
$news->setOrderFields("date DESC");
$main->setContent("body", $news->get());
$main->close();