本文整理汇总了PHP中include_metas函数的典型用法代码示例。如果您正苦于以下问题:PHP include_metas函数的具体用法?PHP include_metas怎么用?PHP include_metas使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了include_metas函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: include_http_metas
<!DOCTYPE html>
<html lang="en">
<head>
<?php
include_http_metas();
?>
<?php
include_metas();
?>
<?php
include_title();
?>
<link rel="shortcut icon" href="/favicon.ico" />
<?php
include_stylesheets();
?>
<!-- Le 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]-->
<?php
include_javascripts();
?>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
示例2: include_http_metas
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php
echo include_http_metas();
?>
<?php
echo include_metas();
?>
<?php
echo include_title();
?>
<?php
$culture = $sf_user->getCulture();
$langFile = '/sf/calendar/lang/calendar-' . strtolower(substr($culture, 0, 2));
$jss = array('/sf/calendar/calendar', is_readable(sfConfig::get('sf_symfony_data_dir') . '/web/' . $langFile . '.js') ? $langFile : '/sf/calendar/lang/calendar-en', '/sf/calendar/calendar-setup');
foreach ($jss as $js) {
echo use_javascript($js);
}
echo use_stylesheet('/sf/calendar/skins/dark/theme');
#echo use_javascript(sfConfig::get('sf_prototype_pmb_dir').'/js/prototype');
#echo use_javascript(sfConfig::get('sf_prototype_pmb_dir').'/js/effects');
#echo use_javascript(sfConfig::get('sf_prototype_pmb_dir').'/js/controls');
echo use_javascript(sfConfig::get('sf_prototype_web_dir') . '/js/prototype');
echo use_javascript(sfConfig::get('sf_prototype_web_dir') . '/js/effects');
echo use_javascript(sfConfig::get('sf_prototype_web_dir') . '/js/controls');
?>
<link rel="shortcut icon" href=<?php
示例3: include_http_metas
<!DOCTYPE html>
<html lang="de">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php include_http_metas(); ?>
<?php include_metas(); ?>
<?php include_title(); ?>
<?php include_stylesheets(); ?>
<?php include_javascripts(); ?>
<!-- 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 class="container-fluid">
<div class="row">
<div class="col-lg-6 col-lg-offset-3 main">
<?php echo $sf_content ?>
</div>
</div>
<?php include_partial('theme/footer'); ?>
</div>
</body>
</html>
示例4: include_http_metas
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<?php include_http_metas() ?>
<?php include_metas() ?>
<title>
<?php if (!include_slot('title')): ?>
kurstool
<?php endif ?>
</title>
<link href="/bootstrap/2.1.0/css/bootstrap.min.css" rel="stylesheet">
<!-- link href="/css/bootstrap.custom.css" rel="stylesheet" -->
<link href="/css/font-awesome.css" rel="stylesheet">
<link href="/css/bootstrap-subnav.css" rel="stylesheet">
<link href="/css/july.css" rel="stylesheet">
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<!-- link href="/css/bootstrap-responsive.css" rel="stylesheet" -->
示例5: include_title
<!DOCTYPE HTML>
<html>
<head>
<?php
include_title();
?>
<? include_metas(); ?>
<? include_links(); ?>
<? include_stylesheets(); ?>
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,600,700,300' rel='stylesheet' type='text/css'>
<? include_raws() ?>
<script>
//declare global JS variables here
var base_url = '<?php
echo base_url();
?>
';
var current_controller = '<?php
echo $this->uri->segment(1, 'admin') . '/' . $this->uri->segment(2, 'index');
?>
';
var current_method = '<?php
echo $this->uri->segment(3, 'index');
?>
';
var namespace = '<?php
echo $this->namespace;
?>
';