Exemplo n.º 1
0
 /**
  *  Set CSS
  *
  *  @access protected
  *  
  *  @param string|array $url CSS URL
  *  
  *  @return void
  */
 protected function setCss($url)
 {
     static $ary_data;
     if (!is_array($ary_data)) {
         $ary_data = array();
     }
     $ary_data[]['url'] = Asset::css($url);
     $this->template->set('listCss', $ary_data, false);
 }
Exemplo n.º 2
0
<link href='//fonts.googleapis.com/css?family=Righteous' rel='stylesheet' type='text/css'>
<?php 
echo Asset::css('//cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.0/animate.min.css');
?>
<!--<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">-->


<?php 
echo Asset::css('fonts.min.css');
//echo Asset::css('news/enhanced.css');
//echo Asset::css('news/flexslider.css');
//echo Asset::css('news/magnific-popup.css');
//echo Asset::css('news/plugin.css');
//echo Asset::css('news/screen.css');
//echo Asset::css('news/style.css');
echo Asset::css('styles.min.css');
?>

<!-- REQUIRED SCRIPT -->
<script type="text/javascript">BASE_URL = '<?php 
echo Config::get('base_url');
?>
';</script>
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js" ></script>
<script>window.jQuery || document.write("<script src='<?php 
echo $BASE_URL;
?>
assets/js/jquery.min.js'>\x3C/script>")</script>
<body>
<div id="page" class="page">
Exemplo n.º 3
0
    ?>
">
			<meta property="og:image" content="<?php 
    echo $fbShare["share"];
    ?>
">
		<?php 
}
?>

		<!--<script src="//use.typekit.net/eyj0xst.js"></script>
		<script>try{Typekit.load();}catch(e){}</script>-->
		<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-52ea88da20eba08e"></script>

        <?php 
echo \Fuel\Core\Asset::css($css);
?>
    </head>
    <body>
        <div id="header"><?php 
echo \Fuel\Core\View::forge($header);
?>
</div>
        <div id="container" class="clearfix">
            <?php 
echo $content;
?>
			<div id="footer-push"></div>
        </div>
        <div id="footer" class="clearfix"><?php 
echo \Fuel\Core\View::forge($footer, $footer_options);
Exemplo n.º 4
0
<?php

$navigation = ['HOME' => 'ホーム', 'SHOP' => 'ショップに入る', 'STATUS' => 'ステータス表示', 'RANKING' => 'ランキング', 'LOGOUT' => 'ログアウト'];
?>
<!doctype html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<?php 
echo \Fuel\Core\Asset::css(['reset.css', 'metro.base.css', 'metro.library.css', 'plugin/powertip.min.css']);
echo \Fuel\Core\Asset::js(['http://code.jquery.com/jquery-2.1.1.min.js', 'http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.6.0/underscore-min.js', 'http://cdnjs.cloudflare.com/ajax/libs/vue/0.10.6/vue.min.js', 'plugin/powertip.min.js', 'plugin/bg.image.size.js', 'lib/layout.manager.js', 'common.js']);
?>
<title>MetroHome.</title>
</head>
<body>
<div id="zoom" style="top: 100px; left:100px; z-index:100000;position: absolute;">
    <button class="up">up</button>
    <button class="down">down</button>
</div>
<div id="contents">
    <div id="current" style="position:relative;"></div>
    <div id="map" style="background-image:url(/fuelphp/metro/public/assets/img/map.png);
        background-size:100% 100%;
        background-repeat: no-repeat;
        background-position: center;
        position:relative;"></div>
</div>
<div id="footer">
<ul class="navigation-list">
<?php 
foreach ($navigation as $item => $title) {