示例#1
0
<!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" xml:lang="en" lang="en">
<head>
    <!-- metas -->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <!-- css -->
    <?=includeCSS("style.css")?>

    <title><?=$project->title?></title>
</head>
    <body>
    <?=$menu?>
        <div id="content" >
示例#2
0
 public function result($view)
 {
     $this->view = $view;
     //default request to page routing
     $mode = self::MODE_INTERNAL_PAGE;
     $first = Request::get(0);
     if (!$first) {
         $first = 'home';
     }
     //handle non existant pages
     switch ($mode) {
         case self::MODE_INTERNAL_PAGE:
             if ($page = $this->getPage($first)) {
                 $view->page = $page;
                 break;
             }
         default:
             $view->page = $this->pages_path . "/404";
             $view->missing = $first;
             break;
     }
     //set site name for page titles
     $site_name = request::readConfig('site_name');
     if (!$site_name) {
         $url = parse_url(SITE_ROOT_URL);
         $site_name = $url['host'];
         $parts = explode('.', $site_name);
         if (count($parts) > 2) {
             unset($parts[0]);
             $site_name = implode('.', $parts);
         }
     }
     $view->site_name = $site_name;
     $view->js_includes = array();
     $view->css_includes = array();
     includeJS($view, '/js/jquery-1.4.2.min.js');
     includeJS($view, '/js/jquery.extensions.js');
     includeJS($view, '/js/swfobject.js');
     includeCSS($view, '/css/reset.css');
     includeCSS($view, '/css/base.css');
     $view->page = $this->loadViewHTML($view->page);
     $view->header = $this->panels_path . '/header';
     $view->footer = $this->panels_path . '/footer';
     $view->popups = $this->panels_path . '/popups';
     //---------------
     //---------------
     $ua = get($_SERVER, 'HTTP_USER_AGENT');
     $ie6 = strpos($ua, 'MSIE 6.0') !== false;
     $ie7 = strpos($ua, 'MSIE 7.0') !== false;
     $ie8 = strpos($ua, 'MSIE 8.0') !== false;
     $ie9 = strpos($ua, 'MSIE 9.0') !== false;
     $opera = false;
     if (strpos($ua, 'Opera') !== false) {
         $parts = explode($ua, 'Presto/2.');
         //presto 2.3 and later are rumored to have border-radius
         $opera = true;
         if (isset($parts[1]) && intval($parts[1][0]) > 2) {
             $opera = false;
         }
     }
     $konqueror = false;
     if (strpos($ua, 'Konqueror') !== false) {
         $parts = explode($ua, 'KHTML/4.');
         $konqueror = true;
         if (isset($parts[1]) && intval($parts[1][0]) > 2) {
             $konqueror = false;
         }
     }
     $ie = $ie6 || $ie7 || $ie8;
     //---------------
     //---------------
     if ($ie6) {
         //includeJS($view,'/js/ie.js');
         //includeCSS($view,'/css/ie6.css');
     }
     if ($ie || $opera || $konqueror) {
         //includeCSS($view,'/css/corners.css');
     }
     //---------------
     $this->cssIncludes();
     $this->jsIncludes();
 }
示例#3
0
文件: header.php 项目: alejesus/fato
<?php

includeCSS("redmond/jquery-ui-1.8.17.custom");
includeCSS("pre-focus/jquery-ui-1.8.17.custom");
includeCSS("negative-focus/jquery-ui-1.8.17.custom");
?>
<!--<script type="text/javascript" src="https://www.google.com/jsapi?key=ABQIAAAAuufnZm8NRV6YtPRt4dbW-RQWNXtGms_VIb9C_4380tAehYtOdBR455zok8U9p500bdctHKk0EFDUUQ"></script>-->
<script>
//	google.load("jquery", "1.5.1");
//	google.load("jqueryui", "1.8.1");
</script>





<?php 
includeJs("jquery");
includeJs("jquery-ui-1.8.17.custom.min");
includeJs("jquery.xml2json");
includeJs("jquery.validate");
includeJs("jquery.ui.selectmenu");
includeJs("jquery.mask");
includeJs("utils");
includeJs("entidades");
includeCSS("estilos");
includeCSS("superfish");
?>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>..::BillSys::..</title>
示例#4
0
<?php

include_once '../templates/topo.php';
includeJs("jquery.dataTables.min");
includeCSS("redmond/jquery.dataTables_themeroller");
?>
<div class="innerContent" style="display: table; width: 100%;float:right; min-widh: 900px;margin-top: 75px;">
			
			<div class='title'>
				<div class="contentBlock center">
					<h2>Contatos</h2>
				</div>
			</div>
			
			<div class="contentBlock center">
				<input type="text" size='60' id="txtBusca">
				<button id="btnBuscar" >Buscar</button>
				<button id="btnNovo"  >Novo</button>
				<script>
									var arrOpts = {
											text:false,
											icons: ""
									};

									arrOpts.icons = {
											primary: "ui-icon-search"
									}
									$('#btnBuscar').button(arrOpts);
									arrOpts.icons = {
											primary: "ui-icon-person"
									}
示例#5
0
<? output('_header.html.php', $output) ?>

<?= includeCSS("uEditor.css"); ?>

<!-- custom javascript -->
<?= includeJS("jquery.oembed.min.js"); ?>
<?= includeJS("jquery.dropp.js"); ?>
<?= includeJS("jquery.html5_upload.js"); ?>
<?= includeJS("uEditor.js"); ?>
<?= includeJS("admin_project_edit.js"); ?>

<script type="text/javascript" >
    var project_slug = '<?= $project->slug ?>';
    var editorCSSUrl = '<?= includeCSS('editor_style.css', false) ?>';
</script>

<? output('_header2.html.php', $output) ?>

<div class="top-fixed" >
    <div class="pad" >
        <div id="slug" ><?= makeUrl('project/') ?>/<a href="#editslug" ><span><?=$project->slug?></span> &larr; <em>edit url</em></a>
        </div>
        <div id="title_section">
            <div class="pad" >
        <input type="text" id="project_title" value="<?= $project->title ?>" >
        
            </div>
        </div>