当前位置: 首页>>代码示例>>PHP>>正文


PHP smarty_core_load_plugins函数代码示例

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


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

示例1: smarty_function_setting

function smarty_function_setting($params, &$smarty)
{
    if (!$GLOBALS['_settingList']) {
        $system =& $GLOBALS['system'];
        $GLOBALS['_settingList'] =& $system->__setting->source();
    }
    smarty_core_load_plugins(array('plugins' => array(array('function', 'input', $smarty->_current_file, $smarty->_current_line_no, 20, false))), $smarty);
    $system =& $GLOBALS['system'];
    $params = array_merge($params, $GLOBALS['_settingList'][$params['key']]);
    $params['value'] = $system->getConf($params['key']);
    if ($params['key'] == 'site.tax_ratio') {
        $params['value'] *= 100;
    }
    //ever add 20080327
    if ($params['type'] == SET_T_INT) {
        $params['type'] = 'number';
    } elseif ($params['type'] == SET_T_ENUM) {
        $params['type'] = 'select';
    } elseif ($params['type'] == SET_T_BOOL) {
        $params['type'] = 'bool';
    } elseif ($params['type'] == SET_T_TXT) {
        $params['type'] = 'textarea';
    } elseif ($params['type'] == SET_T_FILE) {
        $params['type'] = 'file';
    } elseif ($params['type'] == SET_T_DIGITS) {
        $params['type'] = 'digits';
    } else {
        $params['type'] = 'text';
    }
    if (!$params['id']) {
        $params['id'] = 'el_' . substr(md5(rand(0, time())), 0, 6);
    }
    $params['name'] = ($params['namespace'] ? $params['namespace'] : 'setting') . '[' . $params['key'] . ']';
    $key = $params['key'];
    unset($params['desc']);
    unset($params['key']);
    return $html . smarty_function_input($params, $smarty) . '<input type="hidden" name="_set_[' . $key . ']" value="' . $params['type'] . '" />';
}
开发者ID:dalinhuang,项目名称:shopexts,代码行数:38,代码来源:function.setting.php

示例2: smarty_core_load_plugins

<?php

/* Smarty version 2.6.0, created on 2015-06-11 13:31:23
   compiled from member/orgregister.tpl */
require_once SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'htmlentities', 'member/orgregister.tpl', 156, false))), $this);
echo '
<script type="text/javascript">
	var stateArr = new Array(';
echo $this->_tpl_vars['stateArr'];
echo ');
</script>
';
?>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
		<div class="security-bg" style="width:100%;">
			<div class="organization" style="">
				<div><a style="">&nbsp;<img src="<?php 
echo $this->_tpl_vars['SITE_IMAGES'];
?>
icon-admini.png" />&nbsp; <?php 
echo $this->_tpl_vars['LBL_REGISTER_ORGANIZATION'];
?>
</a></div>
				<div id="msg" class="msg err" align="center"></div>
				<div id="forgreg" style="padding-left:59px;" align="left">
					<form name="frmorgreg" id="frmorgreg" method="post" action="">
						<div>
开发者ID:nstungxd,项目名称:F2CA5,代码行数:31,代码来源:%%-20^%%-2013619089^orgregister.tpl.php

示例3: smarty_core_load_plugins

<?php

/* Smarty version 2.6.18, created on 2011-06-13 18:56:43
   compiled from Home/Homestuff.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'vtiger_imageurl', 'Home/Homestuff.tpl', 23, false), array('modifier', 'getTranslatedString', 'Home/Homestuff.tpl', 36, false), array('modifier', 'count', 'Home/Homestuff.tpl', 51, false), array('modifier', 'array_reverse', 'Home/Homestuff.tpl', 52, false))), $this);
?>
<script language="javascript" type="text/javascript" src="modules/Home/Homestuff.js"></script>
<script language="javascript" type="text/javascript" src="include/scriptaculous/prototype.js"></script>
<script language="javascript" type="text/javascript" src="include/scriptaculous/scriptaculous.js"></script>
<script language="javascript" type="text/javascript" src="include/scriptaculous/unittest.js"></script>
<script language="javascript" type="text/javascript" src="include/js/notebook.js"></script>

<input id="homeLayout" type="hidden" value="<?php 
echo $this->_tpl_vars['LAYOUT'];
?>
">

<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "Home/HomeButtons.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div id="vtbusy_homeinfo" style="display:none;">
	<img src="<?php 
echo vtiger_imageurl('vtbusy.gif', $this->_tpl_vars['THEME']);
?>
" border="0">
</div>
开发者ID:hitchby,项目名称:PLEXUS,代码行数:30,代码来源:%%5B^5BB^5BB1958E%%Homestuff.tpl.php

示例4: smarty_core_load_plugins

<?php

/* Smarty version 2.6.11, created on 2015-03-30 17:46:22
   compiled from cache/modules/Users/DetailView.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_getjspath', 'cache/modules/Users/DetailView.tpl', 38, false), array('function', 'sugar_action_menu', 'cache/modules/Users/DetailView.tpl', 81, false), array('function', 'sugar_include', 'cache/modules/Users/DetailView.tpl', 102, false), array('function', 'counter', 'cache/modules/Users/DetailView.tpl', 107, false), array('function', 'sugar_getimagepath', 'cache/modules/Users/DetailView.tpl', 110, false), array('function', 'sugar_translate', 'cache/modules/Users/DetailView.tpl', 113, false), array('function', 'sugar_phone', 'cache/modules/Users/DetailView.tpl', 307, false), array('function', 'sugar_help', 'cache/modules/Users/DetailView.tpl', 852, false), array('modifier', 'strip_semicolon', 'cache/modules/Users/DetailView.tpl', 127, false), array('modifier', 'escape', 'cache/modules/Users/DetailView.tpl', 639, false), array('modifier', 'url2html', 'cache/modules/Users/DetailView.tpl', 639, false), array('modifier', 'nl2br', 'cache/modules/Users/DetailView.tpl', 639, false))), $this);
?>

<!--
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
* 
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
* 
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
* details.
* 
* You should have received a copy of the GNU Affero General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
* 
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
开发者ID:omusico,项目名称:SelkirkCRM,代码行数:31,代码来源:%%CC^CCF^CCFE3224%%DetailView.tpl.php

示例5: smarty_core_load_plugins

<?php

/* Smarty version 2.6.11, created on 2015-08-26 23:06:03
   compiled from include/SugarFields/Fields/Address/DetailView.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugarvar_connector', 'include/SugarFields/Fields/Address/DetailView.tpl', 52, false))), $this);
?>
{*
/*********************************************************************************
 * SugarCRM Community Edition is a customer relationship management program developed by
 * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
 * 
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License version 3 as published by the
 * Free Software Foundation with the addition of the following permission added
 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU Affero General Public License along with
 * this program; if not, see http://www.gnu.org/licenses or write to the Free
 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301 USA.
 * 
 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
开发者ID:Terraxx,项目名称:kepmezo,代码行数:31,代码来源:%%F7^F72^F72494CE%%DetailView.tpl.php

示例6: smarty_core_load_plugins

<?php

/* Smarty version 2.6.29, created on 2016-02-03 00:26:07
   compiled from themes/SuiteR/tpls/footer.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_translate', 'themes/SuiteR/tpls/footer.tpl', 53, false))), $this);
?>

        </td></tr></table>
    </div>


</main>

<div id="bottomLinks">
</div>

<footer>
    <div id="responseTime">
        <?php 
echo $this->_tpl_vars['STATISTICS'];
?>

    </div>
    <?php 
if ($this->_tpl_vars['AUTHENTICATED']) {
    ?>
    <div class="companyLogo"><a href="index.php?module=Home&action=index" border="0"><img src="<?php 
    echo $this->_tpl_vars['COMPANY_LOGO_URL'];
    ?>
" width="<?php 
开发者ID:augustosoto1991,项目名称:SuiteCRMGlamour,代码行数:31,代码来源:%%D4^D4C^D4C94210%%footer.tpl.php

示例7: _load_filters

 /**
  * load pre- and post-filters
  */
 function _load_filters()
 {
     if (count($this->_plugins['prefilter']) > 0) {
         foreach ($this->_plugins['prefilter'] as $filter_name => $prefilter) {
             if ($prefilter === false) {
                 unset($this->_plugins['prefilter'][$filter_name]);
                 $_params = array('plugins' => array(array('prefilter', $filter_name, null, null, false)));
                 require_once SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php';
                 smarty_core_load_plugins($_params, $this);
             }
         }
     }
     if (count($this->_plugins['postfilter']) > 0) {
         foreach ($this->_plugins['postfilter'] as $filter_name => $postfilter) {
             if ($postfilter === false) {
                 unset($this->_plugins['postfilter'][$filter_name]);
                 $_params = array('plugins' => array(array('postfilter', $filter_name, null, null, false)));
                 require_once SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php';
                 smarty_core_load_plugins($_params, $this);
             }
         }
     }
 }
开发者ID:TTsWeb,项目名称:phptvdb,代码行数:26,代码来源:Smarty_Compiler.class.php

示例8: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2015-06-30 07:44:16
   compiled from C:%5Cwamp%5Cwww%5CGitHub%5CRise-Up%5Chtml/../data/Smarty/templates/admin/products/subnavi.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'script_escape', 'C:\\wamp\\www\\GitHub\\Rise-Up\\html/../data/Smarty/templates/admin/products/subnavi.tpl', 26, false), array('function', 't', 'C:\\wamp\\www\\GitHub\\Rise-Up\\html/../data/Smarty/templates/admin/products/subnavi.tpl', 26, false))), $this);
?>

<ul class="level1">
<li<?php 
if ((is_array($_tmp = $this->_tpl_vars['tpl_subno']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) == 'index') {
    ?>
 class="on"<?php 
}
?>
 id="navi-products-index"><a href="<?php 
echo is_array($_tmp = @ROOT_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
echo is_array($_tmp = @ADMIN_DIR) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
products/<?php 
echo is_array($_tmp = @DIR_INDEX_PATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
"><span><?php 
echo smarty_function_t(array('string' => 'tpl_Product master_01'), $this);
?>
</span></a></li>
<li<?php 
if ((is_array($_tmp = $this->_tpl_vars['tpl_subno']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) == 'product') {
    ?>
 class="on"<?php 
}
开发者ID:Rise-Up-Cambodia,项目名称:Rise-Up,代码行数:31,代码来源:%%F5^F50^F5000ED7%%subnavi.tpl.php

示例9: smarty_core_load_plugins

<?php

/* Smarty version 2.6.18, created on 2016-01-08 14:41:58
   compiled from options/plaintext.html */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'options/plaintext.html', 5, false))), $this);
?>
<tr>
    <td>&nbsp;</td>
    <td id='cell_<?php 
echo $this->_tpl_vars['aItem']['name'];
?>
' valign='top'><?php 
echo $this->_tpl_vars['aItem']['text'];
?>
</td>
    <td width='100%' valign='top'>
		&nbsp;<?php 
echo is_array($_tmp = $this->_tpl_vars['aItem']['value']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp);
?>

    </td>
    <td></td>
</tr>
开发者ID:SamWinchester,项目名称:revive-adserver,代码行数:24,代码来源:%%37^370^3703DB51%%plaintext.html.php

示例10: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2013-04-09 04:51:03
   compiled from Goals/templates/add_new_goal.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'translate', 'Goals/templates/add_new_goal.tpl', 5, false))), $this);
?>

<?php 
if ($this->_tpl_vars['userCanEditGoals']) {
    ?>
	<?php 
    $_smarty_tpl_vars = $this->_tpl_vars;
    $this->_smarty_include(array('smarty_include_tpl_file' => "Goals/templates/add_edit_goal.tpl", 'smarty_include_vars' => array()));
    $this->_tpl_vars = $_smarty_tpl_vars;
    unset($_smarty_tpl_vars);
} else {
    ?>
<h2><?php 
    echo is_array($_tmp = 'Goals_CreateNewGOal') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp);
    ?>
</h2>
<p>
<?php 
    echo is_array($_tmp = 'Goals_NoGoalsNeedAccess') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp);
    ?>

</p>
<p><?php 
    echo is_array($_tmp = 'Goals_LearnMoreAboutGoalTrackingDocumentation') ? $this->_run_mod_handler('translate', true, $_tmp, "<a href='?module=Proxy&action=redirect&url=http://piwik.org/docs/tracking-goals-web-analytics/' target='_blank'>", "</a>") : smarty_modifier_translate($_tmp, "<a href='?module=Proxy&action=redirect&url=http://piwik.org/docs/tracking-goals-web-analytics/' target='_blank'>", "</a>");
    ?>
开发者ID:verbazend,项目名称:AWFA,代码行数:31,代码来源:%%32^32C^32CA8910%%add_new_goal.tpl.php

示例11: smarty_core_load_plugins

<?php

/* Smarty version 2.6.18, created on 2012-08-21 13:22:36
   compiled from admin/templates/online_users.html */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', '_', 'admin/templates/online_users.html', 8, false), array('modifier', 'date_format', 'admin/templates/online_users.html', 26, false), array('modifier', 'fsize_format', 'admin/templates/online_users.html', 27, false), array('function', 'cycle', 'admin/templates/online_users.html', 22, false))), $this);
if ($this->_tpl_vars['error']) {
    ?>
	<div id="help">
	<?php 
    echo $this->_tpl_vars['error'];
    ?>

	</div>
<?php 
} else {
    ?>

<fieldset>
<legend><?php 
    echo is_array($_tmp = 'Online users') ? $this->_run_mod_handler('_', true, $_tmp) : _($_tmp);
    ?>
</legend>
<table>

<thead>
<tr>
  <th><?php 
    echo is_array($_tmp = 'Node') ? $this->_run_mod_handler('_', true, $_tmp) : _($_tmp);
    ?>
</th>
开发者ID:soitun,项目名称:wifidog-auth,代码行数:31,代码来源:%%6F^6FD^6FD30AE7%%online_users.html.php

示例12: fetch

 /**
  * executes & returns or displays the template results
  *
  * @param string $resource_name
  * @param string $cache_id
  * @param string $compile_id
  * @param boolean $display
  */
 function fetch($resource_name, $cache_id = null, $compile_id = null, $display = false)
 {
     static $_cache_info = array();
     $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting) ? $this->error_reporting : error_reporting() & ~E_NOTICE);
     if (!$this->debugging && $this->debugging_ctrl == 'URL') {
         $_query_string = $this->request_use_auto_globals ? $_SERVER['QUERY_STRING'] : $GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING'];
         if (@strstr($_query_string, $this->_smarty_debug_id)) {
             if (@strstr($_query_string, $this->_smarty_debug_id . '=on')) {
                 // enable debugging for this browser session
                 @setcookie('SMARTY_DEBUG', true);
                 $this->debugging = true;
             } elseif (@strstr($_query_string, $this->_smarty_debug_id . '=off')) {
                 // disable debugging for this browser session
                 @setcookie('SMARTY_DEBUG', false);
                 $this->debugging = false;
             } else {
                 // enable debugging for this page
                 $this->debugging = true;
             }
         } else {
             $this->debugging = (bool) ($this->request_use_auto_globals ? @$_COOKIE['SMARTY_DEBUG'] : @$GLOBALS['HTTP_COOKIE_VARS']['SMARTY_DEBUG']);
         }
     }
     if ($this->debugging) {
         // capture time for debugging info
         $_params = array();
         require_once SMARTY_CORE_DIR . 'core.get_microtime.php';
         $_debug_start_time = smarty_core_get_microtime($_params, $this);
         $this->_smarty_debug_info[] = array('type' => 'template', 'filename' => $resource_name, 'depth' => 0);
         $_included_tpls_idx = count($this->_smarty_debug_info) - 1;
     }
     if (!isset($compile_id)) {
         $compile_id = $this->compile_id;
     }
     $this->_compile_id = $compile_id;
     $this->_inclusion_depth = 0;
     if ($this->caching) {
         // save old cache_info, initialize cache_info
         array_push($_cache_info, $this->_cache_info);
         $this->_cache_info = array();
         $_params = array('tpl_file' => $resource_name, 'cache_id' => $cache_id, 'compile_id' => $compile_id, 'results' => null);
         require_once SMARTY_CORE_DIR . 'core.read_cache_file.php';
         if (smarty_core_read_cache_file($_params, $this)) {
             $_smarty_results = $_params['results'];
             if (!empty($this->_cache_info['insert_tags'])) {
                 $_params = array('plugins' => $this->_cache_info['insert_tags']);
                 require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
                 smarty_core_load_plugins($_params, $this);
                 $_params = array('results' => $_smarty_results);
                 require_once SMARTY_CORE_DIR . 'core.process_cached_inserts.php';
                 $_smarty_results = smarty_core_process_cached_inserts($_params, $this);
             }
             if (!empty($this->_cache_info['cache_serials'])) {
                 $_params = array('results' => $_smarty_results);
                 require_once SMARTY_CORE_DIR . 'core.process_compiled_include.php';
                 $_smarty_results = smarty_core_process_compiled_include($_params, $this);
             }
             if ($display) {
                 if ($this->debugging) {
                     // capture time for debugging info
                     $_params = array();
                     require_once SMARTY_CORE_DIR . 'core.get_microtime.php';
                     $this->_smarty_debug_info[$_included_tpls_idx]['exec_time'] = smarty_core_get_microtime($_params, $this) - $_debug_start_time;
                     require_once SMARTY_CORE_DIR . 'core.display_debug_console.php';
                     $_smarty_results .= smarty_core_display_debug_console($_params, $this);
                 }
                 if ($this->cache_modified_check) {
                     $_server_vars = $this->request_use_auto_globals ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS'];
                     $_last_modified_date = @substr($_server_vars['HTTP_IF_MODIFIED_SINCE'], 0, strpos($_server_vars['HTTP_IF_MODIFIED_SINCE'], 'GMT') + 3);
                     $_gmt_mtime = gmdate('D, d M Y H:i:s', $this->_cache_info['timestamp']) . ' GMT';
                     if (@count($this->_cache_info['insert_tags']) == 0 && !$this->_cache_serials && $_gmt_mtime == $_last_modified_date) {
                         if (php_sapi_name() == 'cgi') {
                             header('Status: 304 Not Modified');
                         } else {
                             header('HTTP/1.1 304 Not Modified');
                         }
                     } else {
                         header('Last-Modified: ' . $_gmt_mtime);
                         echo $_smarty_results;
                     }
                 } else {
                     echo $_smarty_results;
                 }
                 error_reporting($_smarty_old_error_level);
                 // restore initial cache_info
                 $this->_cache_info = array_pop($_cache_info);
                 return true;
             } else {
                 error_reporting($_smarty_old_error_level);
                 // restore initial cache_info
                 $this->_cache_info = array_pop($_cache_info);
                 return $_smarty_results;
//.........这里部分代码省略.........
开发者ID:kingwang317,项目名称:it4fun-guam,代码行数:101,代码来源:Smarty.class.php

示例13: smarty_core_load_plugins

<?php

/* Smarty version 2.6.0, created on 2015-06-22 09:12:19
   compiled from member/user/aj_listrights.tpl */
require_once SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'assign', 'member/user/aj_listrights.tpl', 4, false), array('modifier', 'str_replace', 'member/user/aj_listrights.tpl', 18, false))), $this);
?>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
	<?php 
if (isset($this->_sections['ln'])) {
    unset($this->_sections['ln']);
}
$this->_sections['ln']['name'] = 'ln';
$this->_sections['ln']['loop'] = is_array($_loop = $this->_tpl_vars['userlist']) ? count($_loop) : max(0, (int) $_loop);
unset($_loop);
$this->_sections['ln']['show'] = true;
$this->_sections['ln']['max'] = $this->_sections['ln']['loop'];
$this->_sections['ln']['step'] = 1;
$this->_sections['ln']['start'] = $this->_sections['ln']['step'] > 0 ? 0 : $this->_sections['ln']['loop'] - 1;
if ($this->_sections['ln']['show']) {
    $this->_sections['ln']['total'] = $this->_sections['ln']['loop'];
    if ($this->_sections['ln']['total'] == 0) {
        $this->_sections['ln']['show'] = false;
    }
} else {
    $this->_sections['ln']['total'] = 0;
}
if ($this->_sections['ln']['show']) {
    for ($this->_sections['ln']['index'] = $this->_sections['ln']['start'], $this->_sections['ln']['iteration'] = 1; $this->_sections['ln']['iteration'] <= $this->_sections['ln']['total']; $this->_sections['ln']['index'] += $this->_sections['ln']['step'], $this->_sections['ln']['iteration']++) {
        $this->_sections['ln']['rownum'] = $this->_sections['ln']['iteration'];
        $this->_sections['ln']['index_prev'] = $this->_sections['ln']['index'] - $this->_sections['ln']['step'];
开发者ID:nstungxd,项目名称:F2CA5,代码行数:31,代码来源:%%139^%%139252627^aj_listrights.tpl.php

示例14: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2015-06-15 16:03:48
   compiled from D:%5Cwwwroot%5Ctoptophr.com%5CWeb/template/personalityblue/header.htm */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'D:\\wwwroot\\toptophr.com\\Web/template/personalityblue/header.htm', 7, false))), $this);
?>
<script src="<?php 
echo $this->_tpl_vars['style'];
?>
/js/index.js" language="javascript"></script>  
<div class="top">
  <div class="top_cot">
    <div class="top_cot_content">
      <div class="top_left fl">
        <div class="yun_welcome fl">欢迎来到<?php 
echo $this->_tpl_vars['config']['sy_webname'];
?>
!</div>
        <span class="fl"><a href="<?php 
echo $this->_tpl_vars['config']['sy_weburl'];
?>
/wap" class="wap_icon">手机版</a> | <a href="<?php 
echo smarty_function_url(array('m' => 'subscribe'), $this);
?>
">订阅</a></span> </div>
      <div class="top_right_re fr">
        <div class="top_right">
          <div class="yun_topNav fr"> 
		  <a class="yun_navMore" href="javascript:;">网站导航</a>
            <div class="yun_webMoredown" style="display:none">
开发者ID:keyu199314,项目名称:php,代码行数:31,代码来源:%%18^188^1883AD60%%header.htm.php

示例15: smarty_core_load_plugins

<?php

/* Smarty version 2.6.18, created on 2012-05-29 04:01:38
   compiled from get_pdf.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'localize', 'get_pdf.tpl', 3, false))), $this);
?>
<!--    get_pdf     -->
<fieldset class="Banner">
  <legend><?php 
echo smarty_function_localize(array('str' => 'Preview'), $this);
?>
</legend>
    <div style="float:left">
        <?php 
echo smarty_function_localize(array('str' => 'Affiliate'), $this);
?>

        <?php 
echo "<div id=\"affiliate\"></div>";
?>
    </div>
    <div style="float:left">
        <?php 
echo "<div id=\"infoMessageLabel\"></div>";
?>
    </div>
    <div style="float:left">
        <?php 
echo "<div id=\"showPreview\"></div>";
?>
开发者ID:AmineCherrai,项目名称:rostanvo,代码行数:31,代码来源:%%15^15B^15BEDD5E%%get_pdf.tpl.php


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