Beispiel #1
0
        <?php 
echo \Asset::js('jquery-ui.min.js');
echo \Asset::js('bootstrap.min.js');
echo $theme->asset->js('smartmenus/jquery.smartmenus.min.js');
echo $theme->asset->js('chosen/chosen.jquery.min.js');
echo $theme->asset->js('icheck/icheck.min.js');
echo $theme->asset->js('jquery.floatThead.min.js');
echo $theme->asset->js('fs-sys2-sidebar-menu.min.js');
echo \Asset::render('fuelstart_footer');
echo $theme->asset->render('fuelstart_footer');
echo $theme->asset->js('main.js');
echo $theme->asset->js('fs-sys2-admin.js');
?>
 
    </body>
</html>
Beispiel #2
0
<script src="//ajax.googleapis.com/ajax/libs/angularjs/<?php 
    echo $angularjs_version;
    ?>
/angular.min.js"></script>
<script>
if (typeof angular == 'undefined') document.write('<script src="<?php 
    echo Uri::base_path('assets/js/angularjs/' . $angularjs_version . '/angular.min.js');
    ?>
"><\/script>')
</script>
<?php 
}
?>

<?php 
Asset::js(array('bootstrap.js', 'apprise-1.5.full.js', 'jquery.autogrow-textarea.js', 'jquery.jgrowl.js', 'moment.js', 'moment.lang_ja.js', 'livestamp.js', 'js-url/js-url.js', 'util.js'), null, 'js_common', false, true);
echo Asset::render('js_common', false, 'js');
?>

<script>var gapi;</script>
<?php 
if (is_enabled_share('google')) {
    ?>
<script src="//apis.google.com/js/platform.js" async defer>
	{lang: "ja"}
</script>
<?php 
}
?>

<?php

Asset::js(array('bootstrap-datetimepicker.js', 'locales/bootstrap-datetimepicker.ja.js'), null, 'js_datetimepicker', false, true);
echo Asset::render('js_datetimepicker', false, 'js');
?>
<script>
$(function () {
	$('<?php 
echo isset($attr) ? $attr : '#form_date';
?>
').datetimepicker({
		useCurrent: true,               //when true, picker will set the value to the current date/time     
		//minuteStepping:1,               //set the minute stepping
		minDate:'1/1/1900',               //set a minimum date
<?php 
if (isset($max_date) && ($max_date = 'now')) {
    ?>
		maxDate: moment(),     //set a maximum date (defaults to today +100 years)
<?php 
}
?>
		language:'ja',                  //sets language locale
		//defaultDate:"",                 //sets a default date, accepts js dates, strings and moment objects
		//disabledDates:[],               //an array of dates that cannot be selected
		//enabledDates:[],                //an array of dates that can be selected
		//useStrict: true,               //use "strict" when validating dates  
		//sideBySide: true,              //show the date and time picker side by side
		//daysOfWeekDisabled:[]          //for example use daysOfWeekDisabled: [0,6] to disable weekends 
	});
});
</script>
Beispiel #4
0
<?php

echo Asset::render('footer');
?>
asdasdsad
Beispiel #5
0
<?php

$data = array();
if (!empty($thumbnail_size)) {
    $data['thumbnail_size'] = $thumbnail_size;
}
if (!empty($insert_target)) {
    $data['insert_target'] = $insert_target;
}
echo render('filetmp/_parts/tmpl/image', $data);
echo Asset::js('jquery-file-upload/vendor/jquery.ui.widget.js');
echo Asset::js('jquery-file-upload/tmpl.min.js');
// The Templates plugin is included to render the upload/download listings
Asset::js(array('jquery-file-upload/load-image.all.min.js', 'jquery-file-upload/canvas-to-blob.min.js', 'blueimp-gallery/jquery.blueimp-gallery.min.js', 'jquery-file-upload/jquery.iframe-transport.js', 'jquery-file-upload/jquery.fileupload.js', 'jquery-file-upload/jquery.fileupload-process.js', 'jquery-file-upload/jquery.fileupload-image.js', 'jquery-file-upload/jquery.fileupload-validate.js', 'jquery-file-upload/jquery.fileupload-ui.js', 'site/common/file_tmp_upload.js'), null, 'js_upload', false, true);
echo Asset::render('js_upload', false, 'js');
?>

<!-- The XDomainRequest Transport is included for cross-domain file deletion for IE 8 and IE 9 -->
<!--[if (gte IE 8)&(lt IE 10)]>
<?php 
echo Asset::js('jquery-file-upload/cors/jquery.xdr-transport.js');
?>
<![endif]-->

echo @$description;
?>
">
<meta property="og:url" content="http://www.rakuichi-rakuza.jp/">
<meta property="og:image" content="http://www.rakuichi-rakuza.jp/assets/img/ogimage.png">
<link rel="apple-touch-icon" href="http://www.rakuichi-rakuza.jp/assets/img/ogimage.png">
<meta property="og:site_name" content="フリーマーケット楽市楽座">
<meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=yes">
<link href="/assets/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/reset.css" rel="stylesheet">
<link href="/assets/css/base.css?20140526" rel="stylesheet">
<script src="/assets/js/jquery.min.js"></script>
<script src="/assets/js/bootstrap.min.js"></script>
<?php 
echo Asset::render('add_css', false);
echo Asset::render('add_js', false);
?>
</head>
<body>
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-KWFSV9"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
      new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-KWFSV9');</script>
<!-- End Google Tag Manager -->
<!-- header -->
<div id="header">
  <!-- headerBar -->
Beispiel #7
0
css/addition_fonts.css?family=mtcorsva' rel='stylesheet' type='text/css'>
    </head>

    <body id="page-top">

        <!--menu-->
        <?php 
require_once 'menu_detail.php';
?>

        <div class="container detail-article-container" style="padding-top: 80px;">
            <?php 
echo isset($content) ? $content : '';
?>
        </div>

        <!-- FOOTER -->
        <div class="detail-article-footer">
            <?php 
require_once 'footer_news.php';
?>
        </div>

        <?php 
echo Asset::render('js');
?>

    </body>

</html>
<!DOCTYPE html>
<html lang="ja">
  <head>
    <meta charset="utf-8">
    <script src="/assets/js/jquery.min.js"></script>
    <script src="/assets/js/bootstrap.min.js"></script>
    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="/assets/css/admin.css" rel="stylesheet">
    <?php 
echo Asset::render('add_css');
?>
    <?php 
echo Asset::render('add_js');
?>
  </head>
  <body>
    <nav role="navigation" class="navbar navbar-default navbar-fixed-top">
      <!-- We use the fluid option here to avoid overriding the fixed width of a normal container within the narrow content columns. -->
      <div class="container-fluid">
        <div class="navbar-header">
          <button data-target="#bs-example-navbar-collapse-6" data-toggle="collapse" class="navbar-toggle" type="button">
            <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="/admin/index" class="navbar-brand">楽市楽座</a>
        </div>
        <?php 
if ($is_login) {
    ?>
Beispiel #9
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" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><?php 
echo $template['title'];
?>
</title>
	<?php 
Asset::css('login.css', array(), 'login-css');
?>
	<?php 
echo Asset::render('login-css');
?>
 
</head>
<body>
<div id="wrapper">
	<?php 
if (!isset($hide_header)) {
    ?>
	<div class="header-area">
		 <div class='img-logo'>
		<?php 
    echo logo();
    ?>
		</div>
	</div><!-- /header-area end -->
	<?php 
}
?>
Beispiel #10
0
<?php

Asset::js(array('jquery-ui-1.10.3.custom.js', 'util/jquery-ui.js'), null, 'js_jquery_ui', false, true);
echo Asset::render('js_jquery_ui', false, 'js');
?>

Beispiel #11
0
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title><?php 
echo __('title.system_manager_title');
?>
</title>
    <?php 
echo Asset::render('css');
?>
  </head>
  <body>
    <div class="container">
        <div>
            <img style="height: 185px; display: table; margin: 0px auto;" src="<?php 
echo Uri::base() . "assets/img/fixed/admin_login_logo.png";
?>
">
        </div>
        <?php 
if (Session::get_flash('error')) {
    ?>
            <div class="bs-callout bs-callout-danger" style="width: 50%; margin: 0 auto;">
                <h4><?php 
    echo __("common.Error");
Beispiel #12
0
	<meta charset="utf-8">
	<title><?php 
echo @$title;
?>
</title>
	<style type="text/css">
		body { background-color: #F2F2F2; margin: 45px 0 0 0; font-family: ‘Palatino Linotype’, ‘Book Antiqua’, Palatino, serif; font-size: 18px }
		#wrapper { width: 740px; margin: 0 auto; }
		h1 { color: #333333; font: normal normal normal 62px/1em Impact, Charcoal, sans-serif; margin: 0 0 15px 0; }
		pre { padding: 15px; background-color: #FFF; border: 1px solid #CCC; font-size: 16px;}
		#footer p { font-size: 14px; text-align: right; }
		a { color: #000; }
	</style>

    <?php 
echo Asset::render('layout');
?>
    
</head>
<body>
	<div id="wrapper">
		<h2>Uploadify demo application</h2>
        <h1><?php 
echo @$title;
?>
</h1>

        <div style="color: green;"><?php 
echo @\Session::get_flash('notice');
?>
</div>
Beispiel #13
0
 /**
  * @param array 	$files		The files to generate
  * @param string	$prefix 	A string to prefix to the cache file
  * @return void
  * @author Jonathan Geiger
  */
 public static function stylesheets(array $files, $prefix = NULL)
 {
     $asset = new Asset($files, asset::STYLESHEET, $prefix);
     return $asset->render();
 }
 /**
  * 住所自動入力用 js ロード
  *
  * @param View
  * @return View
  */
 protected function load_js_auto_address($view)
 {
     Asset::js(array('ajaxzip2/jquery.js', 'ajaxzip2/ajaxzip2.js'), array(), 'ajaxzip2', false);
     $this->set_view_js($view, Asset::render('ajaxzip2'));
     $this->set_view_js($view, Asset::js('ajaxzip2/setup_data.js', array(), null, true));
     return $view;
 }
Beispiel #15
0
				</div>
			</div>
		</footer>
	</section>
	<?php 
echo Asset::js('bootstrap/bootstrap.min.js');
?>
	<?php 
echo Asset::js('https://code.jquery.com/jquery-1.11.3.min.js');
?>
	<?php 
echo Asset::js('https://code.jquery.com/ui/1.11.4/jquery-ui.min.js');
?>
	<?php 
echo Asset::js('https://ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery.ui.datepicker-ja.min.js');
?>
	<?php 
echo Asset::js('myscript.js');
?>
	<?php 
echo Asset::render('library_js');
?>
	<?php 
echo Asset::render('controller_script_js');
?>
	<?php 
echo Asset::render('action_script_js');
?>
</body>
</html>
Beispiel #16
0
<?php

Asset::js(array('site/util.js', 'site.js', 'site/handlebars_helpers.js'), null, 'js_site', false, true);
echo Asset::render('js_site', false, 'js');
?>

Beispiel #17
0
 /**
  * Path
  *
  * Get the path to the theme
  *
  * Usage:
  *
  *     {{ theme:assets }}
  *
  * @return string The rendered assets (CSS/Js) for the theme.
  */
 public function assets()
 {
     return Asset::render('theme');
 }
Beispiel #18
0
<?php

Asset::js(array('bootstrap-markdown/js/markdown.js', 'bootstrap-markdown/js/to-markdown.js', 'bootstrap-markdown/js/bootstrap-markdown.js'), null, 'js_markdown', false, true);
echo Asset::render('js_markdown', false, 'js');
?>
<script>
$('<?php 
echo $textarea_selector;
?>
').markdown({autofocus:false,savable:false})
</script>
Beispiel #19
0
 /**
  * Build Template Data
  *
  * Gathers and builds a $template array
  * with basic template data.
  *
  * @return 	array
  */
 public function build_template_data()
 {
     // If we don't have a title, we'll take our best guess.
     // We are doing this before we check the override so
     // a user can set the title to blank if they want to.
     if (empty($this->_title)) {
         $this->_title = $this->_guess_title();
     }
     // Title override.
     $title = $this->_override_title ? $this->_override_title : $this->_title;
     $template['title'] = strip_tags($title);
     $template['page_title'] = $title;
     $template['breadcrumbs'] = array_merge($this->_breadcrumbs, $this->_override_breadcrumbs);
     $template['metadata'] = $this->get_metadata() . Asset::render('extra') . $this->get_metadata('late_header');
     $template['partials'] = array();
     // Load this into our cached vars so plugins
     // can use it.
     $this->_ci->load->vars(array('template' => $template));
     return $template;
 }
Beispiel #20
0
echo \Asset::js('respond/respond.min.js');
// for ie 6-8 media query min,max width
echo \Asset::js('jquery.min.js');
// render <script>
if (isset($page_script) && is_array($page_script)) {
    foreach ($page_script as $a_page_script) {
        echo $a_page_script . "\n";
    }
    unset($a_page_script);
}
?>
 
        
        <?php 
// render assets
echo \Asset::render('fuelstart');
// render *theme* assets. (required for render theme's assets)
echo $theme->asset->render('fuelstart');
?>
 
        
        <script type="text/javascript">
            // required js variables for use in .js file.
            var base_url = '<?php 
echo \Uri::base(false);
?>
';
            var site_url = '<?php 
echo getRootSiteURL();
?>
';
Beispiel #21
0
 /**
  * Asset Render
  *
  * Render an asset group (of JS and/or CSS).
  *
  * Usage:
  *
  * {{ asset:render group="" }}
  *
  * @return string Style and script tags for CSS and Javascript
  */
 public function render()
 {
     $group = $this->attribute('group', false);
     return Asset::render($group);
 }
Beispiel #22
0
    <meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta content="" name="keywords">
    <meta content="" name="description">
    <link rel="shortcut icon" href=""/>

    <title><?php 
echo isset($title) ? $title : '';
?>
</title>

    <?php 
echo \Asset::css(['http://lib.sinaapp.com/js/bootstrap/v3.0.0/css/bootstrap.min.css']);
?>
</head>

<body>
    <?php 
echo isset($content) ? $content : '';
?>

    <?php 
echo \Asset::render('css-files');
echo \Asset::render('before-script');
echo \Asset::js(['http://lib.sinaapp.com/js/jquery/1.10.2/jquery-1.10.2.min.js', 'http://lib.sinaapp.com/js/bootstrap/v3.0.0/js/bootstrap.min.js']);
echo \Asset::render('js-files');
echo \Asset::render('after-script');
?>
</body>

</html>
Beispiel #23
0
 /**
  * Build the entire HTML output combining partials, layouts and views.
  *
  * @access	public
  * @param	string	$view
  * @param	array	$data
  * @param	bool	$return
  * @param	bool	$IE_cache
  * @return	string
  */
 public function build($view, $data = array(), $return = FALSE, $IE_cache = TRUE)
 {
     // Set whatever values are given. These will be available to all view files
     is_array($data) or $data = (array) $data;
     // Merge in what we already have with the specific data
     $this->_data = array_merge($this->_data, $data);
     // We don't need you any more buddy
     unset($data);
     if (empty($this->_title)) {
         $this->_title = $this->_guess_title();
     }
     // Output template variables to the template
     $template['title'] = $this->_title;
     $template['breadcrumbs'] = $this->_breadcrumbs;
     $template['metadata'] = $this->get_metadata() . Asset::render('extra') . $this->get_metadata('late_header');
     $template['partials'] = array();
     // Assign by reference, as all loaded views will need access to partials
     $this->_data['template'] =& $template;
     foreach ($this->_partials as $name => $partial) {
         // We can only work with data arrays
         is_array($partial['data']) or $partial['data'] = (array) $partial['data'];
         // If it uses a view, load it
         if (isset($partial['view'])) {
             $template['partials'][$name] = $this->_find_view($partial['view'], $partial['data']);
         } else {
             if ($this->_parser_enabled === TRUE) {
                 $partial['string'] = $this->_ci->parser->parse_string($partial['string'], $this->_data + $partial['data'], TRUE, TRUE);
             }
             $template['partials'][$name] = $partial['string'];
         }
     }
     // Disable sodding IE7's constant cacheing!!
     // This is in a conditional because otherwise it errors when output is returned instead of output to browser.
     if ($IE_cache) {
         $this->_ci->output->set_header('Expires: Sat, 01 Jan 2000 00:00:01 GMT');
         $this->_ci->output->set_header('Cache-Control: no-store, no-cache, must-revalidate');
         $this->_ci->output->set_header('Cache-Control: post-check=0, pre-check=0, max-age=0');
         $this->_ci->output->set_header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
         $this->_ci->output->set_header('Pragma: no-cache');
     }
     // Let CI do the caching instead of the browser
     $this->cache_lifetime > 0 && $this->_ci->output->cache($this->cache_lifetime);
     // Test to see if this file
     $this->_body = $this->_find_view($view, array(), $this->_parser_body_enabled);
     // Want this file wrapped with a layout file?
     if ($this->_layout) {
         // Added to $this->_data['template'] by refference
         $template['body'] = $this->_body;
         if ($this->_parser_enabled) {
             // Persistent tags is an experiment to parse some tags after
             // parsing of all other tags, so the tag persistent should be:
             //
             // a) Defined only if depends of others tags
             // b) Plugin that is a callback, so could retrieve runtime data.
             // c) Returned with a content parsed
             $this->_data['_tags']['persistent_tags'][] = 'template:metadata';
         }
         // Find the main body and 3rd param means parse if its a theme view (only if parser is enabled)
         $this->_body = self::_load_view('layouts/' . $this->_layout, $this->_data, TRUE, self::_find_view_folder());
     }
     if ($this->_minify_enabled && function_exists('process_data_jmr1')) {
         $this->_body = process_data_jmr1($this->_body);
     }
     // Now that *all* parsing is sure to be done we inject the {{ noparse }} contents back into the output
     if (class_exists('Lex_Parser')) {
         $this->_body = Lex_Parser::inject_noparse($this->_body);
     }
     // Want it returned or output to browser?
     if (!$return) {
         $this->_ci->output->set_output($this->_body);
     }
     return $this->_body;
 }
Beispiel #24
0
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><?php echo $this->settings->site_name; ?> - <?php echo lang('login_title');?></title>
	
	<base href="<?php echo base_url(); ?>" />
	<meta name="robots" content="noindex, nofollow" />
	
	<?php Asset::css('admin/style.css'); ?>
	<?php Asset::js('jquery/jquery.js'); ?>
	<?php Asset::js('admin/login.js'); ?>
	
	<?php echo Asset::render() ?>
	
	<!-- Place CSS bug fixes for IE 7 in this comment -->
	<!--[if IE 7]>
	<style type="text/css" media="screen">
		#login-logo { margin: 15px auto 15px auto; }
		.input-email { margin: -24px 0 0 10px;}
		.input-password { margin: -30px 0 0 14px; }
		body#login #login-box input { height: 20px; padding: 10px 4px 4px 35px; }
		body#login{ margin-top: 14%;}
	</style>
	<![endif]-->

</head>

<body id="login">

<div id="left"></div>
	pyro.lang.dialog_message 		= "<?php 
echo lang('global:dialog:delete_message');
?>
";
	pyro.csrf_cookie_name			= "<?php 
echo config_item('cookie_prefix') . config_item('csrf_cookie_name');
?>
";
</script>

<?php 
Asset::css(array('plugins.css', 'jquery/colorbox.css', 'codemirror.css', 'animate/animate.css'));
?>

<?php 
echo Asset::render();
?>

<!--[if lt IE 9]>
<?php 
echo Asset::css('ie8.css', null, 'ie8');
echo Asset::render_css('ie8');
?>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<?php 
if ($module_details['sections']) {
    ?>
<style>section#content {margin-top: 170px!important;}</style>
<?php 
Beispiel #26
0
<div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls">
	<div class="slides"></div>
	<h3 class="title"></h3>
	<a class="prev">‹</a>
	<a class="next">›</a>
	<a class="close">×</a>
</div>

<?php 
Asset::js(array('blueimp-gallery/blueimp-gallery.js', 'site/common/gallery.js'), null, 'js_garray', false, true);
echo Asset::render('js_garray', false, 'js');
?>

<?php 
if (!empty($slide_file_names)) {
    ?>
<script>
var pos;
var links = [
<?php 
    $count = count($slide_file_names);
    $i = 0;
    foreach ($slide_file_names as $file_name) {
        $i++;
        $image_uri = img_uri($file_name, IS_SP ? 'L' : 'raw');
        echo sprintf("get_url('%s')%s", $image_uri, $i == $count ? '' : ',') . PHP_EOL;
    }
    ?>
];
</script>
<?php