コード例 #1
0
error_reporting(E_ALL ^ E_NOTICE);
require_once "inc/config.inc.php";
require_once "inc/connection.inc.php";
require_once "inc/functions.inc.php";
require_once "inc/functions.php";
require_once "inc/PageManager.class.php";
$pMgr = new PageManager("pages", "page");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="keywords" content="siri,port,siri port,full,full siri port,jimmykane9,free full siri port,free,free port,siri iphone 4,iphone 4,iphone 3gs" />
        <meta name="description" content="Free and opensource Siri Proxy server by @JimmyKane9. Website by @WouterDS." />
        <title>The Three Little Pigs :: Siri Proxy | <?php 
echo $pMgr->getTitle();
?>
</title>
        <link rel="stylesheet" type="text/css" media="screen" href="design/css/style.css" />
        <link rel="shortcut icon" href="design/img/favicon.ico" />
        <script src="http://code.jquery.com/jquery-latest.js"></script>
    </head>
    <body>
        <div id="top">
            <div class="centerContainer">
                <?php 
echo $pMgr->navigation();
?>

                <div id="header">
                    <h1>The Three Little Pigs - A Siri Server That Needs To Be Fed</h1>
コード例 #2
0
require_once $document_root . '/common/php/UserManager.php';
require_once $document_root . '/common/php/ApplicationManager.php';
require_once $document_root . '/common/php/PageManager.php';
require_once $document_root . '/common/php/MenuManager.php';
Utils::startSession();
$user_mgr = new UserManager();
$is_login = $user_mgr->isLogin();
if (!$is_login) {
    //ログインページに遷移する
    header("Location: /login/login.php");
    exit;
}
$user = $user_mgr->getUser();
$page_mgr = new PageManager(PageManager::PAGE_PROSPECT);
$menu_mgr = new MenuManager();
$title = $page_mgr->getTitle();
$organ_id = $user['organ_id'];
$user_id = $user['user_id'];
$tag_options = array('mycss' => true, 'angularjs' => true, 'ngroute' => true, 'nganimate' => true, 'nggrid' => true, 'uirouter' => true, 'jquery1' => true, 'jqueryuilatest' => true, 'jquerydatepicker' => true, 'jquerydatetimepicker' => true, 'jquerymultiselect' => true, 'jquerycookie' => true, 'ngfileupload' => true, 'uplogiccommon' => true, 'list' => true, 'search' => true, 'import' => true, 'activity_history' => true, 'item_setting' => true, 'ngdialog' => true, 'exclusion_smart_admin' => true);
?>
<!DOCTYPE html>
<html lang="ja" ng-app="myApp">
<head>
  <?php 
echo $page_mgr->getHeader($tag_options);
?>
  <?php 
echo $page_mgr->getScriptTags($tag_options);
?>
</head>
<body ng-controller="MyCntr" style="overflow-y: auto;">
コード例 #3
0
 include_once "inc/config.inc.php";
 include_once "inc/Admin.class.php";
 include_once "inc/Client.class.php";
 include_once "inc/Layout.class.php";
 include_once "inc/functions.inc.php";
 include_once "inc/connection.inc.php";
 include_once "inc/Statistics.class.php";
 include_once "inc/PageManager.class.php";
 include_once "inc/Announcement.class.php";
 include_once "inc/WebsiteProperty.class.php";
 /* Build content
  ******************************************************************/
 $pMgr = new PageManager("pages", "page");
 $websiteProperty = new WebsiteProperty();
 $ban = new Ban();
 $layout = new Layout($websiteProperty->getProperty('website_title') . ' :: ' . $pMgr->getTitle(), $pMgr->navigation());
 echo $layout->buildTop();
 if ($ban->checkBan()) {
     echo '<p class="notification red">Your IP has been banned on ' . $ban->checkBan("dtime") . '<br />Reason: ' . $ban->checkBan("reason") . '</p>';
 } else {
     if ($_GET['page'] == 'admin') {
         $pMgr->getPageContent();
     } else {
         $announcement = new Announcement();
         $dataArr = $announcement->getAnnouncements();
         if ($dataArr !== false) {
             foreach ($dataArr as $data) {
                 echo '<p class="notification ' . strtolower($data['announcement_type']) . '">[' . $data['date_added'] . '] ' . stripslashes($data['announcement_text']) . '</p>';
             }
         }
         echo ads();