Ejemplo n.º 1
0
<?php

$css = func_css(array(URL_BASE . "/public/css/bootstrap.css", URL_BASE . "/public/css/bootstrap-responsive.css"));
$js = func_js(array("http://code.jquery.com/jquery-latest.js", URL_BASE . "/public/js/bootstrap.js", URL_BASE . "/public/js/custom.js"));
$meta = func_meta("Dehbora | " . $dados_feed['titulo']);
include 'templates/inc/header.php';
?>
<style type="text/css">
    body {
        margin: 0;
        padding: 0;
        overflow:hidden;
        height: 100%;
    }
    .shadow {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
        -moz-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
        -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    }
    .cinza {
        background: #ccc;
    }
</style>
<div class="container">
    <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
Ejemplo n.º 2
0
<?php

//Meta informações, CSS e Javascript
$css = func_css(array(URL_BASE . "/public/css/bootstrap.css", URL_BASE . "/public/css/bootstrap-responsive.css", URL_BASE . "/public/css/layout.css", URL_BASE . "/public/css/jquery.mCustomScrollbar.css", URL_BASE . "/public/js/introjs/introjs.css"));
$js = func_js(array("http://code.jquery.com/jquery-latest.js", URL_BASE . "/public/js/bootstrap.js", URL_BASE . "/public/js/jquery.quicksearch.js", URL_BASE . "/public/js/custom.js", URL_BASE . "/public/js/jquery-ui.min.js", URL_BASE . "/public/js/jquery.mousewheel.min.js", URL_BASE . "/public/js/jquery.mCustomScrollbar.js", URL_BASE . "/public/js/introjs/intro.js"));
$meta = func_meta("Dehbora");
include 'templates/inc/header.php';
include 'templates/inc/nav_home.php';
include 'templates/inc/sidebar.php';
$useragent = $_SERVER['HTTP_USER_AGENT'];
if (preg_match('|MSIE ([0-9].[0-9]{1,2})|', $useragent)) {
}
if (isset($_SESSION['slim.flash']['primeiro_uso'])) {
    echo "<script type='text/javascript'>\$(document).ready(function(){ \$('#bem-vindo').modal('show'); });</script>";
}
?>
<script type="text/javascript">
    $(document).ready(function(){

        function abrirTour(){
            $('#bem-vindo').modal('show');
        };

        /* Live Search para as Notícias */
        $('input#searchdom').quicksearch('div#alvosearch div.item-feed',
            {
                'delay': 300,
                'loader': 'span.input-loader',
                'noResults': 'Nenhum resultado'
            }
        );