• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP file_partial函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中file_partial函数的典型用法代码示例。如果您正苦于以下问题:PHP file_partial函数的具体用法?PHP file_partial怎么用?PHP file_partial使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了file_partial函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: template_body

?>

        <!-- Begin page content -->
        <div class="container" id="content-container">
<?php 
template_body();
?>
        </div>

    </div>

<?php 
file_partial('site_example_footer');
echo js_jquery_extra_selectors();
echo js_bp_plugins();
echo js_mbp_helper();
echo js_scale_fix_ios();
echo js_imgsizer();
echo js('lib/bootstrap-3/bootstrap.min.js');
echo js('lib/jasny-bootstrap-3/jasny-bootstrap.min.js');
echo js('lib/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js');
file_partial('scripts');
template_partial('scripts');
echo js('lib/google-code-prettify/prettify.js');
echo js('site_example.js');
echo div_debug();
if ($this->settings->get('google_analytics_enabled')) {
    file_partial('google_analytics');
}
echo body_close_tag();
echo html_close_tag();
开发者ID:Balamir,项目名称:starter-public-edition-3,代码行数:31,代码来源:site_example.php


示例2: template_body

        <div class="page-bar">
        <?php 
echo $this->breadcrumbs->show();
?>
  
        </div> 
            <?php 
template_body();
?>
        </div> 
             </div>
</div> <!-- <div class="container-fluid">-->


<?php 
file_partial('admin_footer');
echo js_jquery_extra_selectors();
echo js_bp_plugins();
echo js_mbp_helper();
echo js_scale_fix_ios();
echo js_imgsizer();
// BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
// BEGIN CORE PLUGINS -->
//[if lt IE 9]>
echo '<script src="../admin/assets/global/plugins/respond.min.js"></script>';
echo '<script src="../admin/assets/global/plugins/excanvas.min.js"></script>';
//[endif]-->
// IMPORTANT! Load jquery-ui.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
echo '<script src="../admin/assets/global/plugins/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>';
echo '<script src="../admin/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>';
echo '<script src="../admin/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>';
开发者ID:patilstar,项目名称:HMVC-WITH-CI,代码行数:31,代码来源:admin.php


示例3: anchor

				<?php 
echo $module_details['description'] ? $module_details['description'] : '';
?>
				<?php 
if ($this->uri->segment(2)) {
    echo '<span class="divider">&nbsp; | &nbsp;</span>';
}
?>
				<?php 
if ($module_details['slug']) {
    ?>
				<?php 
    echo anchor('admin/help/' . $module_details['slug'], lang('help_label'), array('title' => $module_details['name'] . '&nbsp;' . lang('help_label'), 'class' => 'modal'));
    ?>
				<?php 
}
?>
			</small>
			
			<?php 
file_partial('shortcuts');
?>
	
		</div>
	</div>
</div>

<?php 
if (!empty($module_details['sections'])) {
    file_partial('sections');
}
开发者ID:blekedeg,项目名称:lbhpers,代码行数:31,代码来源:header.php


示例4: file_partial

            <div class="container">

                <div class="page-header">
                    <h1><?php 
echo $template['page_title'];
?>
</h1>
                </div>

                <div class="row">

                    <div class="col-md-12">

<?php 
file_partial('messages');
?>

                        <?php 
echo form_open('', 'id="test_form" method="post" role="form"');
?>

                            <div class="form-group">
                                <label for="input">The input, JavaScript source:</label>
                                <textarea id="input" name="input" class="form-control" rows="10" placeholder="Copy/paste your JavaScript source here."><?php 
echo $clear_form || $is_example ? form_prep($input, true) : set_value('input', $input, true);
?>
</textarea>
                            </div>

                            <div class="form-group">
开发者ID:Qnatz,项目名称:starter-public-edition-4,代码行数:30,代码来源:jsmin.php


示例5: anchor

<div class="topbar" dir=<?php $vars = $this->load->_ci_cached_vars; echo $vars['lang']['direction']; ?>>
	
	<div class="wrapper">
		<div id="logo">
			<?php echo anchor('', $this->settings->site_name, 'target="_blank"'); ?>
		</div>
	
		<nav>
			<?php file_partial('navigation'); ?>
		</nav>
	</div>
	
</div>

<div class="subbar">
	<div class="wrapper">
		<h2><?php echo $module_details['name'] ? anchor('admin/'.$module_details['slug'], $module_details['name']) : lang('global:dashboard'); ?></h2>
	
		<small>
			<?php if ( $this->uri->segment(2) ) { echo '&nbsp; | &nbsp;'; } ?>
			<?php echo $module_details['description'] ? $module_details['description'] : ''; ?>
		</small>

		<?php file_partial('shortcuts'); ?>

	</div>
</div>

<?php if ( ! empty($module_details['sections'])) file_partial('sections'); ?>
开发者ID:relinkus,项目名称:ManageFan,代码行数:29,代码来源:header.php


示例6: body_tag

echo body_tag('id="page-top"');
?>

    <!-- Wrap all page content here -->
    <div id="wrap">
<?php 
echo noscript();
echo unsupported_browser();
?>

        <!-- Begin page content -->
        <div class="container">
<?php 
template_body();
?>
        </div>

    </div>

<?php 
echo js_jquery_extra_selectors();
echo js_bp_plugins();
echo js_mbp_helper();
echo js_scale_fix_ios();
echo js_imgsizer();
echo js('lib/bootstrap-3/bootstrap.min.js');
file_partial('scripts');
template_partial('scripts');
echo div_debug();
echo body_close_tag();
echo html_close_tag();
开发者ID:patilstar,项目名称:HMVC-WITH-CI,代码行数:31,代码来源:error.php


示例7: anchor

		</form>
		</div>
		
		<footer>
			Copyright &copy; 2010 PyroCMS<br />
			Version <?php echo CMS_VERSION .' '.CMS_EDITION; ?><br />
			Rendered in {elapsed_time} sec. using {memory_usage}.
		</footer>
	</section>
	<section id="content-wrapper">
		<header id="page-header">
			<h1><?php echo $module_details['name'] ? anchor('admin/' . $module_details['slug'], $module_details['name']) : lang('cp_admin_home_title'); ?></h1>
			<p><?php echo $module_details['description'] ? $module_details['description'] : ''; ?></p>
			<?php if($module_details['slug']): ?>
				<p id="page-header-help"><?php echo anchor('admin/help/'.$module_details['slug'], '?', array('title' => lang('help_label').'->'.$module_details['name'], 'class' => 'modal')); ?></p>
			<?php endif; ?>
		</header>

			<?php template_partial('shortcuts'); ?>

			<?php template_partial('filters'); ?>

			<?php file_partial('notices'); ?>

		<div id="content">
			<?php echo $template['body']; ?>
		</div>
	</section>
</div>
</body>
</html>
开发者ID:JamieLomas,项目名称:pyrocms,代码行数:31,代码来源:default.php


示例8: array

				Administrator
			</header>

			<div id="profile">
				<?php echo Asset::img('user.png',  array('class' => 'user-icon'));?>
				Hello
				<span class="name">Jon Doe</span>
			</div>

			<!-- By default, this section is made for 4 icons, see the doc to learn how to change this, in "basic markup explained" -->
			<?php file_partial('access'); ?>

			<section class="navigable">
				
					<!-- MENU SIDEBAR VERDE
					<?php file_partial('big-menu-users'); ?>-->
				
			</section>

			<ul class="unstyled-list">
				</ul>

		</div>
		<!-- End content wrapper -->

		<!-- This is optional -->

	<footer id="menu-footer">
		<form action="<?php echo current_url(); ?>" id="change_language" method="get">
				<select id="validation-select" class="select validate[required]" name="lang" onchange="this.form.submit();">
					<?php foreach($this->config->item('supported_languages') as $key => $lang): ?>
开发者ID:relinkus,项目名称:ManageFan,代码行数:31,代码来源:default.php


示例9: template_partial

?>
</span>
			</section>

		</header>

			<?php 
template_partial('shortcuts');
?>

			<?php 
template_partial('filters');
?>

			<?php 
file_partial('notices');
?>

		<div id="content">
			<?php 
echo $template['body'];
?>
		</div>
	</section>
	
	<footer>
		Copyright &copy; 2010 PyroCMS &nbsp; -- &nbsp;
		Version <?php 
echo CMS_VERSION;
?>
 &nbsp; -- &nbsp;
开发者ID:phonglanpls,项目名称:jz-proj-2012,代码行数:31,代码来源:default.php


示例10: file_partial

<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<!-- Always force latest IE rendering engine & Chrome Frame -->
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

	<?php 
Asset::js('jquery/jquery.js');
Asset::js('jquery/jquery.js');
Asset::css('admin/basic_layout.css');
echo Asset::render();
?>
	
	<!-- metadata needs to load before some stuff -->
	<?php 
file_partial('metadata');
?>

	<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>
<body>
	<?php 
$this->load->view('admin/partials/notices');
?>
	<?php 
echo $template['body'];
?>
</body>
</html>
开发者ID:nockout,项目名称:tshpro,代码行数:30,代码来源:modal.php


示例11: file_partial

 public function file_partial()
 {
     ob_start();
     file_partial($this->get_attribute(0));
     return ob_get_clean();
 }
开发者ID:bhavesh561988,项目名称:starter-public-edition-4,代码行数:6,代码来源:Template.php



注:本文中的file_partial函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP file_path函数代码示例发布时间:2022-05-15
下一篇:
PHP file_normalize_attachment_path函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap