예제 #1
0
function spyropress_theme_setup()
{
    // Add wordpress features
    add_theme_support('automatic-feed-links');
    // Add post thumbnails (http://codex.wordpress.org/Post_Thumbnails)
    add_theme_support('post-thumbnails');
    // Tell the TinyMCE editor to use a custom stylesheet
    add_editor_style(assets_css() . 'editor-style.css');
    // Root Relative Urls Support
    add_theme_support('relative-urls');
    // SpyroPress Builder
    add_theme_support('spyropress-builder');
    //Shortcode Generator
    add_theme_support('spyropress-shortcode-generator');
    // Custom CSS Editor
    add_theme_support('spyropress-ace');
    // Post Formats
    add_theme_support('post-formats', array('gallery', 'image', 'quote', 'video', 'audio'));
    // WooCommerce
    add_theme_support('woocommerce');
    // Add Components
    add_theme_support('spyropress-components', array('bucket', 'faqs', 'portfolio', 'pricing-table', 'slider', 'staff', 'testimonials', 'page', 'post', 'mega-menu', 'bootstrap-nav', 'pagination'));
    // Add Sliders
    $sliders = array('nivo' => __('Nivo Slider', 'spyropress'));
    add_theme_support('spyropress-sliders', $sliders);
    // Add Menus
    add_theme_support('spyropress-core-menus', array('primary' => 'MainMenu', 'secondary' => 'TopMenu', 'footer' => 'Footer', 'page-404' => 'Useful', 'sitemap' => 'MainMenu'));
    // Add Sidebars
    $sidebars = array('page' => array('name' => __('Page', 'spyropress'), 'description' => __('Sidebar loads on pages.', 'spyropress'), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div><hr />', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>'), 'blog' => array('name' => __('Blog', 'spyropress'), 'description' => __('Sidebar loads on blog page.', 'spyropress'), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div><hr />', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>'), 'woocomerce' => array('name' => __('WooCommerce', 'spyropress'), 'description' => __('Sidebar loads on WooCommerce pages.', 'spyropress'), 'before_widget' => '<div id="%1$s" class="%2$s">', 'after_widget' => '</div><hr />', 'before_title' => '<h5>', 'after_title' => '</h5>'), 'footer-1' => array('name' => __('Footer 1', 'spyropress'), 'description' => __('A widget area loaded in the footer of the site.', 'spyropress'), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>'), 'footer-2' => array('name' => __('Footer 2', 'spyropress'), 'description' => __('A widget area loaded in the footer of the site.', 'spyropress'), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>'), 'footer-3' => array('name' => __('Footer 3', 'spyropress'), 'description' => __('A widget area loaded in the footer of the site.', 'spyropress'), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>'), 'footer-4' => array('name' => __('Footer 4', 'spyropress'), 'description' => __('A widget area loaded in the footer of the site.', 'spyropress'), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>'), 'footer-5' => array('name' => __('Footer 5', 'spyropress'), 'description' => __('A widget area loaded in the footer of the site.', 'spyropress'), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h5 class="widget-title">', 'after_title' => '</h5>'));
    add_theme_support('spyropress-core-sidebars', $sidebars);
    // Options
    $options = array('theme' => array('page_title' => __('Theme Options', 'spyropress'), 'menu_title' => __('Theme Options', 'spyropress'), 'isactive' => true, 'hidden' => false));
    add_theme_support('spyropress-options', $options);
}
예제 #2
0
<!DOCTYPE html>
<html>
<head>
	<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 $template['title'];
?>
</title>

	<?php 
$css = array('bootstrap.min.css', 'AdminLTE.min.css', 'font-awesome.min.css', 'skin-blue.min.css');
echo assets_css($css, 'admin');
$js = array('jquery-1.9.1.min.js', 'bootstrap.min.js', 'app.min.js');
echo assets_js($js, 'admin');
echo isset($template['metadata']) ? $template['metadata'] : '';
?>
</head>
<body class="hold-transition skin-blue sidebar-mini">
	<div class="wrapper">
		<!-- Header -->
		<?php 
echo $template['partials']['header'];
?>
	    
	    <!-- Left side column. contains the logo and sidebar -->
		<?php 
echo $template['partials']['sidebar'];
?>
	    <!-- /.sidebar -->
function assets_css_e($file = '')
{
    echo assets_css($file);
}
예제 #4
0
function spyropress_conditional_scripts()
{
    $content = '
  		<!--[if IE]>
			<link rel="stylesheet" href="' . assets_css() . 'ie.css">
		<![endif]-->

		<!--[if lte IE 8]>
			<script src="' . assets() . 'vendor/respond/respond.js"></script>
            <script src="' . assets() . 'vendor/excanvas/excanvas.js"></script>
		<![endif]-->';
    echo get_relative_url($content);
}
예제 #5
0
파일: head.php 프로젝트: gaiius/SunQA
echo assets_img('favicon.png');
?>
">
<link rel="stylesheet" href="<?php 
echo assets_css('metro.min.css');
?>
">
<link rel="stylesheet" href="<?php 
echo assets_css('style.css');
?>
">
<link rel="stylesheet" href="<?php 
echo assets_css('metro-responsive.min.css');
?>
">
<link rel="stylesheet" href="<?php 
echo assets_css('metro-icons.min.css');
?>
">
<link rel="stylesheet" href="<?php 
echo assets_css('metro-schemes.min.css');
?>
">
<script src="<?php 
echo assets_js('jQuery.min.js');
?>
"></script>
<script src="<?php 
echo assets_js('metro.min.js');
?>
"></script>
예제 #6
0
    echo assets_js(array('datatables/jquery.dataTables.min.js', 'datatables/dataTables.bootstrap.min.js'));
}
if (isset($jq) && $jq == true) {
    echo assets_css(array('pub/css/girlly/jquery-ui-1.10.3.custom.min.css', 'pub/css/ui.jqgrid.css', 'pub/css/ui.jqgrid-bootstrap.css', 'pub/css/ui.jqgrid-bootstrap-ui.css'));
    echo assets_js(array('pub/js/jquery.jqGrid.min.js', 'pub/js/i18n/grid.locale-en.js'));
}
if (isset($valid) && $valid == true) {
    echo assets_css(array('pub/css/validationEngine.jquery.css'));
    echo assets_js(array('pub/js/languages/jquery.validationEngine-id.js', 'pub/js/jquery.validationEngine.js'));
}
if (isset($tree) && $tree == true) {
    echo assets_css(array('pub/css/skin-vista/ui.dynatree.css', 'pub/css/girlly/jquery-ui-1.10.3.custom.min.css'));
    echo assets_js(array('pub/js/jquery-ui-1.10.3.custom.min.js', 'pub/js/jquery.dynatree.min.js'));
}
if (isset($edit_txt) && $edit_txt == true) {
    echo assets_css(array('pub/css/font.min.css', 'pub/css/editor.css'));
    echo assets_js(array('pub/js/editor.js'));
}
if (isset($money) && $money == true) {
    echo assets_js(array('pub/js/jquery.maskMoney.min.js'));
}
if (isset($highchart) && $highchart == true) {
    echo assets_js(array('js/highchart.js', 'js/highchart3d.js', 'js/exporting2.js', 'js/jquery.highchartTable.js'));
}
?>

    <!-- 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>
    <![endif]-->
echo assets_js('date.js');
?>
  <?php 
echo assets_js('star-rating.js');
?>
  <?php 
echo assets_css('bootstrap.css');
?>
  <?php 
echo assets_css('cbt.css');
?>
  <?php 
echo assets_css('font-awesome.css');
?>
  <?php 
echo assets_css('star-rating.css');
?>
</head>
<body ng-app="myApp" style="background-color: #5A5A5A;">
<header id="" class="navbar" style="margin-bottom: 1px;">
  <nav class="navbar navbar-yellow navbar-fixed-top">
    <div class="container">
      <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>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a href="<?php 
echo base_url();
 protected function get_stylesheets()
 {
     return assets_css($this->stylesheets);
 }
예제 #9
0
    echo assets_css(array('custom.css'));
}
if (isset($dt_loc) && $dt_loc == true) {
    echo assets_css(array('datatables/dataTables.bootstrap.css'));
    echo assets_js(array('datatables/jquery.dataTables.min.js', 'datatables/dataTables.bootstrap.min.js'));
}
if (isset($validate) && $validate == true) {
    echo assets_css(array('validate_engine.css'));
    echo assets_js(array('validate_engine_eng.js', 'validate_engine.js'));
}
if (isset($tree_) && $tree_ == true) {
    echo assets_css(array('ui.dynatree.css'));
    echo assets_js(array('jquery-ui-1.10.3.custom.min.js', 'jquery.dynatree.min.js'));
}
if (isset($edit_txt) && $edit_txt == true) {
    echo assets_css(array('font.min.css', 'editor.css'));
    echo assets_js(array('editor.js'));
}
?>

    <!-- 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>
    <![endif]-->

    <!-- The fav icon -->
    <link rel="shortcut icon" href="img/favicon.ico">

</head>

<body class="preloader3 ">
예제 #10
0
	<link rel="icon" href="./favicon.ico" type="image/x-icon">

	<meta name="keywords" content="<?php 
echo isset($meta_tag) && $meta_tag != '' ? $meta_tag : $settings['meta_tag'];
?>
">
	<meta name="description" content="<?php 
echo isset($meta_description) && $meta_description != '' ? $meta_description : $settings['meta_description'];
?>
">
	<meta name="robots" content="index, follow">
	<meta name="author" content="Mexious Photography">

	<?php 
$css = array('bootstrap.css', 'owl.carousel.css', 'font-awesome.min.css', 'costum.css');
echo assets_css($css, 'public');
$js = array('jquery-1.9.1.min.js', 'bootstrap.min.js', 'owl.carousel.min.js', 'costum.js');
echo assets_js($js, 'public');
?>

	<script>
		(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
		(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
		m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
		})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

		ga('create', 'UA-82675917-1', 'auto');
		ga('send', 'pageview');
	</script>
	
</head>
예제 #11
0
" />
    <?php 
echo assets_js('angular/angular.min.js');
?>

    <?php 
echo assets_css('bootstrap.css');
?>
    <?php 
echo assets_css('carousel.css');
?>
    <?php 
echo assets_css('cbt.css');
?>
    <?php 
echo assets_css('styles.css');
?>
</head>

<body ng-app="myApp">
<div class="container">
    <div class="login-container">
        <h1 class="text-center login-title">Sistem Informasi Rapor <br> Omah Bocah</h1>
        <!-- <div class="account-wall"> -->
        <?php 
echo assets_img('user.png', array('class' => 'profile-img'));
?>
    <div class="form-box" ng-controller="LoginController">
        <form novalidate class="login-form" style="padding-right:0px; padding-left:0px;">
            <input type="text" placeholder="Username" ng-model="log.username" /><br />
            <input type="password" placeholder="Username" ng-model="log.password" /><br />
예제 #12
0
echo assets_js('bootstrap.min.js');
?>
  <?php 
echo assets_js('date.js');
?>
  <?php 
echo assets_css('bootstrap.css');
?>
  <?php 
echo assets_css('font-awesome.css');
?>
  <?php 
echo assets_css('cbt.css');
?>
  <?php 
echo assets_css('calendar.css');
?>
</head>
<body ng-app="myApp" style="background-color: #5A5A5A;">
<header id="" class="navbar" style="margin-bottom: 1px;">
  <nav class="navbar navbar-yellow navbar-fixed-top">
    <div class="container">
      <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>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a href="<?php 
echo base_url();
예제 #13
0
echo assets_path('img/favicon.ico');
?>
">

	<link id="basePath" href="<?php 
echo site_url();
?>
" />
	<?php 
echo assets_css('bootstrap.css');
?>
	<?php 
echo assets_css('carousel.css');
?>
	<?php 
echo assets_css('cbt.css');
?>
	<?php 
echo assets_js('jquery.min.js');
?>
	<?php 
echo assets_js('bootstrap.min.js');
?>
</head>

<body ng-app="myApp" style="padding-bottom: 0px;">

	<div class="container">

		<!-- Header -->
		<header id="" class="navbar" style="margin-bottom: 1px;">
예제 #14
0
         
         <?php
        
			if (isset($dp) && $dp==true) {
				echo assets_css(array('bootstrap-datetimepicker.min.css'));
                echo assets_js(array('bootstrap-datetimepicker.min.js','bootstrap-datetimepicker.id.js'));
            }
			if (isset($dd) && $dd==true) {
				echo assets_css(array('bootstrap-select.min.css'));
                echo assets_js(array('bootstrap-select.min.js'));
            }
			if (isset($ac) && $ac==true) {
				echo assets_js(array('bootstrap3-typeahead.min.js'));
            }
			if (isset($dt_loc) && $dt_loc==true) {
				echo assets_css(array('jquery.dataTables.min.css'));
                echo assets_js(array('jquery.dataTables.min.js','dataTables.select.min.js','data_table.search.min.js'));
            }
		?>

    <link rel="shortcut icon" href="<?php echo base_url(); ?>assets/img/favicon.ico">
   	<style type="text/css">
    .bawah {
      height:60px;
      background-color: lightblue;
    }
    .bawah p {
     margin-top:10px;
    }
	
	
예제 #15
0
파일: get.php 프로젝트: gaiius/SunQA
<?php

foreach ($user as $user) {
    ?>
<title><?php 
    echo $user->nama;
    ?>
 - <?php 
    echo $this->config->item('web_name');
    ?>
</title>
<link rel="stylesheet" href="<?php 
    echo assets_css('style-nested.css');
    ?>
">
</head>
<body>
<?php 
    $this->load->view('must/menu');
    ?>
    <div class="container page-content" style="padding-top: 100px;">
        <div class="warapper-border" data-text="<?php 
    echo $user->username;
    ?>
">
            <div class="grid">
                <div class="row cells6">
                    <div class="cell">
                        <img src="<?php 
    echo pic_user($user->image);
    ?>