本文整理汇总了PHP中smarty_core_smarty_include_php函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_core_smarty_include_php函数的具体用法?PHP smarty_core_smarty_include_php怎么用?PHP smarty_core_smarty_include_php使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_core_smarty_include_php函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: settype
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
if (count($_from)) {
foreach ($_from as $this->_tpl_vars['HeaderInternalNaviKey'] => $this->_tpl_vars['HeaderInternalNaviItem']) {
?>
<!-- ▼<?php
echo is_array($_tmp = $this->_tpl_vars['HeaderInternalNaviItem']['bloc_name']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
-->
<?php
if ((is_array($_tmp = $this->_tpl_vars['HeaderInternalNaviItem']['php_path']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) != "") {
?>
<?php
require_once SMARTY_CORE_DIR . 'core.smarty_include_php.php';
smarty_core_smarty_include_php(array('smarty_file' => is_array($_tmp = $this->_tpl_vars['HeaderInternalNaviItem']['php_path']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp), 'smarty_assign' => '', 'smarty_once' => false, 'smarty_include_vars' => array('items' => is_array($_tmp = $this->_tpl_vars['HeaderInternalNaviItem']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp))), $this);
?>
<?php
} else {
?>
<?php
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => is_array($_tmp = $this->_tpl_vars['HeaderInternalNaviItem']['tpl_path']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp), 'smarty_include_vars' => array('items' => is_array($_tmp = $this->_tpl_vars['HeaderInternalNaviItem']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<?php
}
?>
<!-- ▲<?php
示例2: array
<!-- Command Buttons -->
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<!-- NOTE: We should avoid form-inside-form condition, which could happen when
Singlepane view is enabled. -->
<form action="index.php" method="post" name="DetailView" id="form">
<?php
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'DetailViewHidden.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<!-- Start of File Include by SAKTI on 10th Apr, 2008 -->
<?php
require_once SMARTY_CORE_DIR . 'core.smarty_include_php.php';
smarty_core_smarty_include_php(array('smarty_file' => "./include/DetailViewBlockStatus.php", 'smarty_assign' => '', 'smarty_once' => false, 'smarty_include_vars' => array()), $this);
?>
<!-- Start of File Include by SAKTI on 10th Apr, 2008 -->
<?php
$_from = $this->_tpl_vars['BLOCKS'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
if (count($_from)) {
foreach ($_from as $this->_tpl_vars['header'] => $this->_tpl_vars['detail']) {
?>
<?php
if ($this->_tpl_vars['header'] == $this->_tpl_vars['MOD']['LBL_ADDITIONAL_INFO']) {
?>
示例3: smarty_core_smarty_include_php
<!-- tabs - wavesoft@wna.gr -->
<link href="<?php
echo $this->_tpl_vars['css_dir'];
?>
wavetabs.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php
echo $this->_tpl_vars['js_dir'];
?>
mootools-compact-1.3.1.js"></script>
<script type="text/javascript" src="<?php
echo $this->_tpl_vars['js_dir'];
?>
wavetabs.js"></script>
<?php
require_once SMARTY_CORE_DIR . 'core.smarty_include_php.php';
smarty_core_smarty_include_php(array('smarty_file' => "/home/wnagr/public_html/globalhr/include.head.php", 'smarty_assign' => '', 'smarty_once' => false, 'smarty_include_vars' => array()), $this);
?>
</head>
<body<?php
$_from = $this->_tpl_vars['body_tags'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
if (count($_from)) {
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']) {
?>
<?php
echo $this->_tpl_vars['key'];
?>
="<?php
示例4: array
</td>
</tr>
<tr>
<td> </td>
<td><div class="reg_but" onclick="$('#msg_form').submit()"></div></td>
</tr>
</table>
</form>
<div class="clear"></div>
</div>
<div class="w_cl_foot">
<div class="w_cl_fright"></div>
</div>
</div>
<?php
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'member_left.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="clear"></div>
</div>
<!--end content-->
<?php
require_once SMARTY_CORE_DIR . 'core.smarty_include_php.php';
smarty_core_smarty_include_php(array('smarty_file' => '../shop_footer.php', 'smarty_assign' => '', 'smarty_once' => false, 'smarty_include_vars' => array()), $this);
?>
<!-- end of footer -->
</div>
</body>
</html>
示例5: smarty_core_load_plugins
<?php
/* Smarty version 2.6.11, created on 2015-07-07 17:01:35
compiled from custom/themes/Sugar5/tpls/_headerModuleList.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_link', 'custom/themes/Sugar5/tpls/_headerModuleList.tpl', 45, false))), $this);
?>
<?php
require_once SMARTY_CORE_DIR . 'core.smarty_include_php.php';
smarty_core_smarty_include_php(array('smarty_file' => "custom/themes/Sugar5/iconosModules.config.php", 'smarty_assign' => '', 'smarty_once' => false, 'smarty_include_vars' => array()), $this);
?>
<div id="moduleList">
<ul>
<?php
$_from = $this->_tpl_vars['moduleTopMenu'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$this->_foreach['moduleList'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['moduleList']['total'] > 0) {
foreach ($_from as $this->_tpl_vars['name'] => $this->_tpl_vars['module']) {
$this->_foreach['moduleList']['iteration']++;
?>
<?php
if ($this->_tpl_vars['name'] == $this->_tpl_vars['MODULE_TAB']) {
?>
<li class="active" title="<?php
echo $this->_tpl_vars['name'];
?>
示例6: checkFile
<div class="uppic_sc_img"></div>
<iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
<form enctype="multipart/form-data" target="supportiframe" method="post" name="upform" target="upload_target" action="index.php?c=uppic">
<input type="file" name="Filedata" id="Filedata" class="uppic_sc_bth1" value='22'/>
<input type="submit" name="" value="上传形象照" onclick="return checkFile();" class="uppic_sc_bth2"/>
<span style="visibility:hidden;" id="loading_gif"><img src="<?php
echo $this->_tpl_vars['userstyle'];
?>
/images/loading.gif" align="absmiddle" />上传中,请稍侯......</span>
</form>
</div>
</div>
<div class="clear"></div>
<?php
require_once SMARTY_CORE_DIR . 'core.smarty_include_php.php';
smarty_core_smarty_include_php(array('smarty_file' => $this->_tpl_vars['userstyle'] . "/photo.htm", 'smarty_assign' => '', 'smarty_once' => false, 'smarty_include_vars' => array()), $this);
?>
<div class="clear"></div>
<div class="uppic_flash">
<iframe src="about:blank" name="upload_target" style="display:none;"></iframe>
<div id="avatar_editor"></div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var extensions = 'jpg,jpeg,gif,png';
var saveUrl = 'index.php';
var cameraPostUrl = 'index.php?c=camera';
var editorFlaPath = '<?php