Exemple #1
0
 public function executeFunction($link, $type)
 {
     switch ($type) {
         case 'js':
             Assets::js([$link]);
             break;
         case 'css':
             Assets::css([$link]);
             break;
     }
 }
Exemple #2
0
    <head>

        <!-- Site meta -->
        <meta charset="utf-8">
        <?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
        <title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>

        <!-- CSS -->
        <?php 
$theroute = DIR . 'app/Modules/Search/templates/search/';
Assets::css(array($theroute . 'css/ajaxlivesearch.min.css', $theroute . 'css/fontello.css', $theroute . 'css/animation.css', $theroute . 'font/fontello.woff'));
//hook for plugging in css
$hooks->run('css');
?>

    </head>
    <body>
        <?php 
//hook for running code after body tag
$hooks->run('afterBody');
?>

        <div class="container">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
	<?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>

	<!-- CSS -->
	<?php 
Assets::css(array('//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css', '//fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic', Url::templatePath() . 'css/style.css', Url::templatePath() . 'css/landing-page.css', Url::templatePath() . 'font-awesome/css/font-awesome.min.css'));
//hook for plugging in css
$hooks->run('css');
?>

    <!--

    <?php 
// Assets::css(array(
//   '/vendor/bootstrap/dist/css/bootstrap.min.css',
//   '/assets/css/fonts.css',
//   '/assets/css/royalslider.css',
//   '/assets/css/style.css',
//   '/assets/css/landing-page.css',
// ));
// //hook for plugging in css
Exemple #4
0
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">    
	<?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>

	<!-- CSS -->
	<?php 
Assets::css(array('https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900', Url::assetPath('css') . 'icons/icomoon/styles.css', Url::assetPath('css') . 'icons/fontawesome/styles.min.css', Url::assetPath('css') . 'icons/flaticon/flaticon.css', Url::assetPath('css') . 'bootstrap.css', Url::assetPath('css') . 'core.css', Url::assetPath('css') . 'components.css', Url::assetPath('css') . 'colors.css'));
//hook for plugging in css
$hooks->run('css');
?>

</head>

<?php 
$bing = new BingPhoto(BingPhoto::TODAY, 8);
foreach ($bing->getImages() as $image) {
    $images[] = $image['url'];
}
?>

<body class="login-cover" style="background-image: url(<?php 
echo $images[array_rand($images)];
Exemple #5
0
">
<head>

	<!-- Site meta -->
	<meta charset="utf-8">
	<?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/config.php
?>
</title>

	<!-- CSS -->
	<?php 
Assets::css(array('//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css', DIR . 'css/style.css'));
//hook for plugging in css
$hooks->run('css');
?>

</head>
<body>
<?php 
//hook for running code after body tag
$hooks->run('afterBody');
?>

<div class="container">
Exemple #6
0
</title>
     <!-- <base href="<?php 
//echo Url::get_template_path();
?>
"><meta name="description" content="Bootstrap Metro Dashboard"> -->
	<meta name="author" content="Oluwafemi Korede">
	<meta name="keyword" content="Dashboard">
	<!-- end: Meta -->
	
	<!-- start: Mobile Specific -->
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- end: Mobile Specific -->
	
	<!-- start: CSS -->
	 <?php 
Assets::css(array(Url::templatePath() . 'css/bootstrap.min.css', Url::templatePath() . 'css/bootstrap-responsive.min.css', Url::templatePath() . 'css/style.css', Url::templatePath() . 'css/style-responsive.css', 'http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,latin-ext'));
//hook for plugging in css
$hooks->run('css');
?>
	<!-- end: CSS -->
	

	<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
	  	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<link id="ie-style" href="css/ie.css" rel="stylesheet">
	<![endif]-->
	
	<!--[if IE 9]>
		<link id="ie9style" href="css/ie9.css" rel="stylesheet">
	<![endif]-->
Exemple #7
0
	<!-- Site meta -->
	<meta charset="utf-8">
	<?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>

	<!-- CSS -->
	<?php 
Assets::css(array('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css', Url::templatePath() . 'css/style.css', Url::templatePath() . 'https://fonts.googleapis.com/css?family=Roboto', Url::templatePath() . 'css/style2.css', Url::templatePath() . 'css/galerie.css'));
//hook for plugging in css
$hooks->run('css');
?>

</head>
<body>
<?php 
//hook for running code after body tag
$hooks->run('afterBody');
?>
<div class="nav navbar-fixed-top">
	<div class="container-fluid">
		<span class="title"><?php 
echo $data['title'];
?>
Exemple #8
0
    <!-- Site meta -->
    <meta charset="utf-8">
    <?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
    <title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>

    <!-- CSS -->
    <?php 
Assets::css(array(Url::templatePath() . 'css/bootstrap.min.css', Url::templatePath() . 'css/style.css'));
//hook for plugging in css
$hooks->run('css');
?>

</head>
<body>
<?php 
//hook for running code after body tag
$hooks->run('afterBody');
?>
<nav class="navbar navbar-inverse">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
Exemple #9
0
	<!-- Site meta -->
	<meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>

	<!-- CSS -->
	<?php 
Assets::css(array('//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css', '//cdn.datatables.net/plug-ins/1.10.7/integration/bootstrap/3/dataTables.bootstrap.css', '//blueimp.github.io/Gallery/css/blueimp-gallery.min.css', 'https://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css', '//cdn.rawgit.com/morteza/bootstrap-rtl/master/dist/cdnjs/3.3.1/css/bootstrap-rtl.min.css', Url::templatePath() . 'css/style.css'));
//hook for plugging in css
$hooks->run('css');
?>

</head>
<body>
<?php 
//hook for running code after body tag
$hooks->run('afterBody');
?>

<div class="container">

	<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
  <div class="container-fluid">
Exemple #10
0
?>
	<title><?php 
echo SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>

	<?php 
//CSS
$css_default = array('https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900', Url::assetPath('css') . 'icons/icomoon/styles.css', Url::assetPath('css') . 'icons/fontawesome/styles.min.css', Url::assetPath('css') . 'icons/flaticon/flaticon.css', Url::assetPath('css') . 'bootstrap.css', Url::assetPath('css') . 'core.css', Url::assetPath('css') . 'components.css', Url::assetPath('css') . 'colors.css');
if (isset($data['css'])) {
    $all_css = array_merge($css_default, $data['css']);
} else {
    $all_css = $css_default;
}
Assets::css($all_css);
//hook for plugging in css
$hooks->run('css');
if ($_SESSION['language_code'] != 'en') {
    $moment = Url::assetPath('js') . 'plugins/moment/locale/' . $_SESSION['language_code'] . '.js';
}
//JS
$js_default = array(Url::assetPath('js') . 'plugins/loaders/pace.min.js', Url::assetPath('js') . 'core/libraries/jquery.min.js', Url::assetPath('js') . 'core/libraries/bootstrap.min.js', Url::assetPath('js') . 'plugins/loaders/blockui.min.js', Url::assetPath('js') . 'plugins/ui/nicescroll.min.js', Url::assetPath('js') . 'plugins/forms/selects/select2.min.js', Url::assetPath('js') . 'plugins/forms/styling/switchery.min.js', Url::assetPath('js') . 'plugins/forms/styling/switch.min.js', Url::assetPath('js') . 'plugins/moment/moment.min.js', $moment, Url::assetPath('js') . 'core/app.js', Url::assetPath('js') . 'pages/layout_fixed_custom.js');
if (isset($data['js'])) {
    $all_js = array_merge($js_default, $data['js']);
} else {
    $all_js = $js_default;
}
Assets::js($all_js);
//hook for plugging in javascript
$hooks->run('js');
Exemple #11
0
                    </li>
                    <?php 
if (Session::get('loggedin') == true) {
    echo "<li><a href='/projet/ladeconnexion/'>Deconnexion</a></li>";
    echo "<li>" . Session::get('message') . "</li>";
} else {
    echo "<li><a href='/projet/connexion/'>Connexion</a></li>";
}
?>
                </ul>
            </nav>
        </div>
    </header>
	<!-- CSS -->
	<?php 
Assets::css(array('//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css', Url::templatePath() . 'css/style.css', '/projet/sweetalert/dist/sweetalert2.css'));
//hook for plugging in css
$hooks->run('css');
?>

</head>


<body style="padding-top:60px;">
<?php 
//hook for running code after body tag
$hooks->run('afterBody');
?>

<div class="container">
Exemple #12
0
    <!-- Site meta -->
    <meta charset="utf-8">
    <?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
    <title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>

    <!-- CSS -->
    <?php 
Assets::css(array(Url::templatePath() . 'css/reset.css', Url::templatePath() . 'css/layout.css', Url::templatePath() . 'css/style.css'));
//hook for plugging in css
$hooks->run('css');
?>

    <!-- JAVASCRIPT -->
    <?php 
Assets::js(array(Url::templatePath() . 'js/jquery-1.5.2.js', Url::templatePath() . 'js/cufon-yui.js', Url::templatePath() . 'js/cufon-replace.js', Url::templatePath() . 'js/Cabin_400.font.js', Url::templatePath() . 'js/tabs.js', Url::templatePath() . 'js/jquery.jqtransform.js', Url::templatePath() . 'js/jquery.nivo.slider.pack.js', Url::templatePath() . 'js/atooltip.jquery.js', Url::templatePath() . 'js/script.js'));
//hook for plugging in javascript
$hooks->run('js');
?>

</head>

<body id="<?php 
echo $data['page'];
Exemple #13
0
?>
<!DOCTYPE html>
<html lang="en" class="app">
<head>  
  <meta charset="utf-8" />
  <meta name="description" content="app, web app, responsive, admin dashboard, admin, flat, flat ui, ui kit, off screen nav" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  

  <title><?php 
echo $title . ' | ' . SITETITLE;
?>
</title>

    <?php 
Assets::css(array(Url::templatePath() . 'js/jPlayer/jplayer.flat.css', Url::templatePath() . 'css/bootstrap.css', Url::templatePath() . 'css/animate.css', Url::templatePath() . 'css/font-awesome.min.css', Url::templatePath() . 'css/simple-line-icons.css', Url::templatePath() . 'css/font.css', Url::templatePath() . 'css/app.css'));
//hook for plugging in css
$hooks->run('css');
?>


 
    <!--[if lt IE 9]>
    <?php 
Assets::js(array(Url::templatePath() . 'js/ie/html5shiv.js', Url::templatePath() . 'js/ie/respond.min.js', Url::templatePath() . 'js/ie/excanvas.js'));
?>
  <![endif]-->
<!-- 
  <script type="text/javascript" src="http://hosted.musesradioplayer.com/mrp.js"></script>
<script type="text/javascript">
MRP.insert({
Exemple #14
0
?>
">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <?php 
$hooks->run('meta');
?>
        <title><?php 
echo $data['title'] . ' - ' . SITETITLE;
?>
</title>
        <link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
        <?php 
Assets::css(array(Url::templatePath() . 'font-awesome/css/font-awesome.min.css', Url::templatePath() . 'css/bootstrap.min.css', Url::templatePath() . 'css/bootstrap-material-design.min.css', Url::templatePath() . 'css/ripples.min.css', Url::templatePath() . 'css/style.css'));
$hooks->run('css');
?>
        <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->
    </head>
    <body>
        <?php 
$hooks->run('afterBody');
?>
        <div id="mobile-indicator"></div> <!-- Para cambiar navbar cuando este en modo resposivo -->
        <div id="startchange"></div> <!-- Para el background del navbar -->
        <nav class="navbar navbar-default navbar-fixed-top">
Exemple #15
0
$hooks = Hooks::get();
?>
<!DOCTYPE html>
<html lang="<?php 
echo LANGUAGE_CODE;
?>
">
    <head>
        <!-- Site meta -->
        <meta charset="utf-8">
        <?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
        <title><?php 
echo $data['title'] . ' - ' . SITETITLE;
?>
</title>
        <!-- CSS -->
        <?php 
echo Assets::css(array(Url::templatePath() . 'css/bootstrap.min.css', Url::templatePath() . 'css/bootstrap-theme.min.css', Url::templatePath() . 'css/bootstrap-dialog.min.css'));
//hook for plugging in css
$hooks->run('css');
echo Assets::js(array(Url::templatePath() . 'js/jquery-2.1.4.min.js', Url::templatePath() . 'js/bootstrap.min.js', Url::templatePath() . 'js/bootstrap-dialog.min.js'));
$hooks->run('js');
?>

    </head>
    <body>
        <?php 
$hooks->run('afterBody');
Exemple #16
0
<head>

	<!-- Site meta -->
	<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/core/config.php
?>
</title>

	<!-- CSS -->
	<?php 
Assets::css(array('//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css', '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', '//cdnjs.cloudflare.com/ajax/libs/metisMenu/2.0.1/metisMenu.min.css', Url::templateAdminPath() . 'css/sb-admin-2.css', Url::templateAdminPath() . 'css/paddingmargin.css'));
?>
    
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    
</head>
<body>
    <div id="wrapper">
        
    <nav class="navbar navbar-blue navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

	<?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>

	<title><?php 
echo SITETITLE . ' | ' . $data['title'];
//SITETITLE defined in config file
?>
</title>

	<!-- CSS -->
	<?php 
Assets::css(array('//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css', '//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css', '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css', Url::templatePath() . 'backoffice/css/AdminLTE.css', Url::templatePath() . 'backoffice/css/skins/skin-blue.css'));
//hook for plugging in css
$hooks->run('css');
?>

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body class="sidebar-mini skin-blue">
	<div class="wrapper">

	<!-- Main Header -->
Exemple #18
0
	<meta content="yes" name="apple-touch-fullscreen" />
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="description" content="Ce site vous permet de suivre la météo dans la ville de Colmar, c'est une station amateur utilisant un Arduino ! "/>
	<meta name="theme-color" content="#212121">
	<meta name="msapplication-navbutton-color" content="#212121">
	<meta name="apple-mobile-web-app-status-bar-style" content="#212121">
	<meta name="apple-touch-fullscreen" content="yes">
	
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
?>
</title>
	<script src="https://code.jquery.com/jquery-2.1.4.min.js" type="text/javascript"></script>

	<?php 
Assets::css(array('https://fonts.googleapis.com/icon?family=Material+Icons', Url::templatePath() . 'css/materialize.min.css', Url::templatePath() . 'css/main.css'));
$hooks->run('css');
?>

	<link rel="icon" type="image/png" href=<?php 
echo Url::templatePath() . '/icons/favicon.ico';
?>
 />
	<link rel="apple-touch-icon" sizes="57x57" href=<?php 
echo Url::templatePath() . '/icons/apple-touch-icon-57x57.png';
?>
>
	<link rel="apple-touch-icon" sizes="60x60" href=<?php 
echo Url::templatePath() . '/icons/apple-touch-icon-60x60.png';
?>
>
Exemple #19
0
    <?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>
    <meta name="description" content="<?php 
echo $data['meta_description'];
?>
">
	<!-- CSS -->
	<?php 
Assets::css(array('//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css', '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', Url::templatePath() . 'css/style.css'));
//hook for plugging in css
$hooks->run('css');
?>
    <link rel="shortcut icon" href="assets/ico/favicon.ico">
    
  </head>

  <body>

    <!-- Fixed navbar -->
    <div class="navbar navbar-default navbar-fixed-top" role="navigation">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
Exemple #20
0
?>
">
<head>

	<!-- Site meta -->
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
	<title><?php 
echo SITETITLE;
?>
</title>

	<!-- CSS -->
	<?php 
Assets::css(array('//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css', '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', Url::templatePath() . 'css/plugins/fullcalendar/fullcalendar.css', Url::templatePath() . 'css/plugins/fullcalendar/fullcalendar.print.css', Url::templatePath() . 'css/animate.css', Url::templatePath() . 'css/style.css', Url::templatePath() . 'css/custom.css'));
//hook for plugging in css
$hooks->run('css');
?>

</head>
<body>
<?php 
//hook for running code after body tag
$hooks->run('afterBody');
?>

<div id="wrapper">
	<!-- Site meta -->
	<meta charset="utf-8">
	<?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>

	<!-- CSS -->
	<?php 
Assets::css(array(Url::templatePath() . 'css/bootstrap.min.css', Url::templatePath() . 'css/londinium-theme.css', Url::templatePath() . 'css/icons.css', Url::templatePath() . 'css/styles.css', Url::templatePath() . 'css/video-js.css', 'http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&amp;subset=latin,cyrillic-ext'));
//hook for plugging in css
$hooks->run('css');
?>
	<!-- JS -->
	<?php 
Assets::js(array('http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js', Url::templatePath() . 'js/plugins/charts/sparkline.min.js', Url::templatePath() . 'js/plugins/forms/uniform.min.js', Url::templatePath() . 'js/plugins/forms/select2.min.js', Url::templatePath() . 'js/plugins/forms/inputmask.js', Url::templatePath() . 'js/plugins/forms/autosize.js', Url::templatePath() . 'js/plugins/forms/inputlimit.min.js', Url::templatePath() . 'js/plugins/forms/listbox.js', Url::templatePath() . 'js/plugins/forms/multiselect.js', Url::templatePath() . 'js/plugins/forms/validate.min.js', Url::templatePath() . 'js/plugins/forms/tags.min.js', Url::templatePath() . 'js/plugins/forms/switch.min.js', Url::templatePath() . 'js/plugins/forms/uploader/plupload.full.min.js', Url::templatePath() . 'js/plugins/forms/uploader/plupload.queue.min.js', Url::templatePath() . 'js/plugins/forms/wysihtml5/wysihtml5.min.js', Url::templatePath() . 'js/plugins/forms/wysihtml5/toolbar.js', Url::templatePath() . 'js/plugins/interface/daterangepicker.js', Url::templatePath() . 'js/plugins/interface/fancybox.min.js', Url::templatePath() . 'js/plugins/interface/moment.js', Url::templatePath() . 'js/plugins/interface/jgrowl.min.js', Url::templatePath() . 'js/plugins/interface/datatables.min.js', Url::templatePath() . 'js/plugins/interface/colorpicker.js', Url::templatePath() . 'js/plugins/interface/fullcalendar.min.js', Url::templatePath() . 'js/plugins/interface/timepicker.min.js', Url::templatePath() . 'js/bootstrap.min.js', Url::templatePath() . 'js/video.js', Url::templatePath() . 'js/application.js'));
//hook for plugging in javascript
$hooks->run('js');
?>
	<script>
    	videojs.options.flash.swf = "<?php 
echo Url::templatePath() . 'swf/video-js.swf';
?>
";
  	</script>
Exemple #22
0
?>
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>

	<!-- CSS -->
	<?php 
$css_array = array('//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css', Url::templatePath() . 'css/style.css');
if (array_key_exists('css', $data)) {
    foreach ($data['css'] as $css) {
        array_push($css_array, Url::templatePath() . $css);
    }
}
Assets::css($css_array);
//hook for plugging in css
$hooks->run('css');
?>

</head>
<script src="<?php 
echo Url::templatePath();
?>
js/jquery.js"></script>
<body>
<?php 
//hook for running code after body tag
$hooks->run('afterBody');
?>
Exemple #23
0
	<!-- Site meta -->
	<meta charset="utf-8">
	<?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>

	<!-- CSS -->
	<?php 
Assets::css(array('//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css', Url::templatePath() . 'css/style.css'));
//hook for plugging in css
$hooks->run('css');
?>
</head>
<body>
<?php 
//hook for running code after body tag
$hooks->run('afterBody');
?>

<div class="container">

<div class="page-header">
<h1>Credentials</h1>
</div>
Exemple #24
0
<?php

use Helpers\Assets;
use Helpers\Url;
?>
<!DOCTYPE html>
<html lang="<?php 
echo LANGUAGE_CODE;
?>
">
<head>

	<!-- Site meta -->
	<meta charset="utf-8">
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/core/config.php
?>
</title>

	<!-- CSS -->
	<?php 
Assets::css(['//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css', Url::templatePath() . 'css/style.css']);
?>

</head>
<body>

<div class="container">
Exemple #25
0
        <!-- Site meta -->
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

        <?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
        <title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>

        <!-- CSS -->
        <?php 
Assets::css(array(Url::templatePath() . 'semanticui/semantic.min.css', Url::templatePath() . 'css/style.css'));
//hook for plugging in css
$hooks->run('css');
?>

    </head>
    <body>
        <?php 
//hook for running code after body tag
$hooks->run('afterBody');
?>

     
Exemple #26
0
">
<head>

	<!-- Site meta -->
	<meta charset="utf-8">
	<?php 
//hook for plugging in meta tags
$hooks->run('meta');
?>
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/Core/Config.php
?>
</title>

	<!-- CSS -->
	<?php 
Assets::css(array('app/templates/default/css/bootstrap.min.css', 'app/templates/default/css/style.css', 'app/templates/default/css/carousel.css', 'app/templates/default/css/scrollingSidebar.css'));
//hook for plugging in css
$hooks->run('css');
?>

</head>
<body>
<?php 
//hook for running code after body tag
$hooks->run('afterBody');
?>

<div class="container">