Example #1
0
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'] . '" />';
}
<?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>
<?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>
<?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,
<?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.
<?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 
Example #7
0
 /**
  * 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);
             }
         }
     }
 }
<?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 
}
<?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>
<?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>");
    ?>
<?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>
Example #12
0
 /**
  * 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;
             }
         } else {
             $this->_cache_info['template'][$resource_name] = true;
             if ($this->cache_modified_check && $display) {
                 header('Last-Modified: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
             }
         }
     }
     // load filters that are marked as autoload
     if (count($this->autoload_filters)) {
         foreach ($this->autoload_filters as $_filter_type => $_filters) {
             foreach ($_filters as $_filter) {
                 $this->load_filter($_filter_type, $_filter);
             }
         }
     }
     $_smarty_compile_path = $this->_get_compile_path($resource_name);
     // if we just need to display the results, don't perform output
     // buffering - for speed
     $_cache_including = $this->_cache_including;
     $this->_cache_including = false;
     if ($display && !$this->caching && count($this->_plugins['outputfilter']) == 0) {
         if ($this->_is_compiled($resource_name, $_smarty_compile_path) || $this->_compile_resource($resource_name, $_smarty_compile_path)) {
             include $_smarty_compile_path;
         }
     } else {
         ob_start();
         if ($this->_is_compiled($resource_name, $_smarty_compile_path) || $this->_compile_resource($resource_name, $_smarty_compile_path)) {
             include $_smarty_compile_path;
         }
         $_smarty_results = ob_get_contents();
         ob_end_clean();
         foreach ((array) $this->_plugins['outputfilter'] as $_output_filter) {
             $_smarty_results = call_user_func_array($_output_filter[0], array($_smarty_results, &$this));
         }
     }
     if ($this->caching) {
         $_params = array('tpl_file' => $resource_name, 'cache_id' => $cache_id, 'compile_id' => $compile_id, 'results' => $_smarty_results);
         require_once SMARTY_CORE_DIR . 'core.write_cache_file.php';
         smarty_core_write_cache_file($_params, $this);
         require_once SMARTY_CORE_DIR . 'core.process_cached_inserts.php';
         $_smarty_results = smarty_core_process_cached_inserts($_params, $this);
         if ($this->_cache_serials) {
             // strip nocache-tags from output
             $_smarty_results = preg_replace('!(\\{/?nocache\\:[0-9a-f]{32}#\\d+\\})!s', '', $_smarty_results);
         }
         // restore initial cache_info
         $this->_cache_info = array_pop($_cache_info);
     }
     $this->_cache_including = $_cache_including;
     if ($display) {
         if (isset($_smarty_results)) {
             echo $_smarty_results;
         }
         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';
             echo smarty_core_display_debug_console($_params, $this);
         }
         error_reporting($_smarty_old_error_level);
         return;
     } else {
         error_reporting($_smarty_old_error_level);
         if (isset($_smarty_results)) {
             return $_smarty_results;
         }
     }
 }
<?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'];
<?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">
<?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>";
?>
<?php

/* Smarty version 2.6.22, created on 2009-03-03 00:22:56
   compiled from default/subtemplates/login.tpl.inc */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'default/subtemplates/login.tpl.inc', 1, false))), $this);
echo smarty_function_config_load(array('file' => $this->_tpl_vars['settings']['language_file'], 'section' => 'login'), $this);
?>

<?php 
if ($this->_tpl_vars['ip_temporarily_blocked']) {
    echo $this->_config[0]['vars']['login_message'];
    ?>

<p class="caution"><?php 
    echo $this->_config[0]['vars']['login_ip_temp_blocked'];
    ?>
</p>
<?php 
} else {
    if ($this->_tpl_vars['login_message'] && $this->_config[0]['vars'][$this->_tpl_vars['login_message']]) {
        ?>
<p class="<?php 
        if ($this->_tpl_vars['login_message'] == 'account_activated') {
            ?>
ok<?php 
        } else {
            ?>
caution<?php 
        }
        ?>
<?php

/* Smarty version 2.6.26, created on 2013-03-25 16:42:48
   compiled from smp/account.html */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'number_format', 'smp/account.html', 65, false))), $this);
?>
<!DOCTYPE html>
<html><head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=320,user-scalable=no" />
    <link href="./assets/styles/default.css" rel="stylesheet" />
	<script src="./assets/scripts/lib/jquery-1.7.1.min.js" type="text/javascript"></script>
	<script src="./assets/scripts/main.js" type="text/javascript"></script>

   	<title>コントロールパネル</title>

</head>
<body id="login">

<header id="dashboard_header">
	<h1>
    	<a href="index.php">コントロールパネル</a>
    </h1>
</header>

<div id="container">
	<header>
		<h1><span>&nbsp;</span>登録情報</h1>
	</header>
	<section class="content">
<?php

/* Smarty version 2.6.20, created on 2015-10-26 18:27:36
   compiled from index.html */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'index.html', 244, false))), $this);
?>

<div class="hwv3_main">
	<div class="hwv3_rh_v4">
		<div id="banner"> 
			
		<div id="focuspic">
			<script type=text/javascript>
				var pic_width=700; //图片宽度
				var pic_height=310; //图片高度
				var button_pos=4; //按扭位置 1左 2右 3上 4下
				var stop_time=3000; //图片停留时间(1000为1秒钟)
				var show_text=0; //是否显示文字标签 1显示 0不显示
				var txtcolor="000000"; //文字色
				var bgcolor="DDDDDD"; //背景色

				//可编辑内容结束
				var swf_height=show_text==1?pic_height+20:pic_height;
				<?php 
if (empty($this->_tpl_vars['arrTopads']['4']['pics'])) {
    ?>
					var pics='<?php 
    echo $this->_tpl_vars['arrGWeb']['templats_root'];
    ?>
/images/1.jpg|<?php 
<?php

/* Smarty version 2.6.11, created on 2016-01-15 02:28:38
   compiled from include/SugarEmailAddress/templates/forEditView.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_getimage', 'include/SugarEmailAddress/templates/forEditView.tpl', 64, false))), $this);
global $emailInstances;
if (empty($emailInstances)) {
    $emailInstances = array();
}
if (!isset($emailInstances[$this->_tpl_vars['module']])) {
    $emailInstances[$this->_tpl_vars['module']] = 0;
}
$this->_tpl_vars['index'] = $emailInstances[$this->_tpl_vars['module']];
$emailInstances['module']++;
?>
<script type="text/javascript" language="javascript">
var emailAddressWidgetLoaded = false;
</script>
<script type="text/javascript" src="include/SugarEmailAddress/SugarEmailAddress.js"></script>
<script type="text/javascript">
	var module = '<?php 
echo $this->_tpl_vars['module'];
?>
';
</script>
<table style="border-spacing: 0pt;">
	<tr>
		<td  valign="top" NOWRAP>
			<table id="<?php 
echo $this->_tpl_vars['module'];
<?php

/* Smarty version 2.6.22, created on 2015-07-28 19:10:54
   compiled from message.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'message.tpl', 1, false))), $this);
?>
Дата сообщения: <?php 
echo is_array($_tmp = time()) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%Y %H:%M") : smarty_modifier_date_format($_tmp, "%d/%m/%Y %H:%M");
?>
 
 
<?php 
if ($this->_tpl_vars['post']['name']) {
    ?>
Имя: <?php 
    echo $this->_tpl_vars['post']['name'];
}
?>
 
<?php 
if ($this->_tpl_vars['post']['phone']) {
    ?>
Телефон: <?php 
    echo $this->_tpl_vars['post']['phone'];
}
?>
 
<?php 
if ($this->_tpl_vars['post']['email']) {
    ?>
<?php

/* Smarty version 2.6.18, created on 2012-07-11 05:34:36
   compiled from account_form_view.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'localize', 'account_form_view.tpl', 3, false))), $this);
?>
<!-- account_form_view -->
<fieldset class="AccountPanelView" >       
    <legend><?php 
echo smarty_function_localize(array('str' => 'Account details'), $this);
?>
</legend>
    <?php 
echo "<div id=\"name\"></div>";
?>
    <?php 
echo "<div id=\"rstatus\"></div>";
?>
    <?php 
echo "<div id=\"email\"></div>";
?>
    <?php 
echo "<div id=\"agreement\"></div>";
?>
    <?php 
echo "<div id=\"data1\"></div>";
?>
    <?php 
echo "<div id=\"data2\"></div>";
?>
<?php

/* Smarty version 2.6.28, created on 2015-08-07 02:20:41
   compiled from mod_latest.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'mod_latest.tpl', 22, false), array('modifier', 'spellcount', 'mod_latest.tpl', 29, false), array('modifier', 'strip_tags', 'mod_latest.tpl', 34, false), array('modifier', 'truncate', 'mod_latest.tpl', 34, false), array('function', 'profile_url', 'mod_latest.tpl', 29, false))), $this);
if ($this->_tpl_vars['cfg']['is_pag']) {
    ?>
	<?php 
    echo '
	<script type="text/javascript">
		function conPage(page, module_id){
            $(\'div#module_ajax_\'+module_id).css({opacity:0.4, filter:\'alpha(opacity=40)\'});
			$.post(\'/modules/mod_latest/ajax/latest.php\', {\'module_id\': module_id, \'page\':page}, function(data){
				$(\'div#module_ajax_\'+module_id).html(data);
                $(\'div#module_ajax_\'+module_id).css({opacity:1.0, filter:\'alpha(opacity=100)\'});
			});

		}
    </script>
	';
    ?>

<?php 
}
if (!$this->_tpl_vars['is_ajax']) {
    ?>
<div id="module_ajax_<?php 
    echo $this->_tpl_vars['module_id'];
    ?>
"><?php 
<?php

/* Smarty version 2.6.2, created on 2004-08-20 17:12:32
   compiled from ./pages/mod_estimate/user_estimate.tpl */
require_once SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', './pages/mod_estimate/user_estimate.tpl', 14, false), array('modifier', 'number_format', './pages/mod_estimate/user_estimate.tpl', 15, false))), $this);
?>
<table id="ue_content" align="left" border="1">
		<tr>
			<th class="left" colspan="4"><span style="color: red;font-size:12pt;font-weight:bold;">En cours...</span></th>
		</tr>
		<tr>
			<th>N° devis</th>
			<th>Date</th>
			<th>Prix TTC</th>
			<th>Etat</th>
		</tr>	
	<?php 
if (isset($this->_sections['estimate'])) {
    unset($this->_sections['estimate']);
}
$this->_sections['estimate']['name'] = 'estimate';
$this->_sections['estimate']['loop'] = is_array($_loop = $this->_tpl_vars['encours']) ? count($_loop) : max(0, (int) $_loop);
unset($_loop);
$this->_sections['estimate']['show'] = true;
$this->_sections['estimate']['max'] = $this->_sections['estimate']['loop'];
$this->_sections['estimate']['step'] = 1;
$this->_sections['estimate']['start'] = $this->_sections['estimate']['step'] > 0 ? 0 : $this->_sections['estimate']['loop'] - 1;
if ($this->_sections['estimate']['show']) {
    $this->_sections['estimate']['total'] = $this->_sections['estimate']['loop'];
    if ($this->_sections['estimate']['total'] == 0) {
<?php

/* Smarty version 2.6.19,created on (time)         compiled from file:/var/www/hosting/tiger/important/external/Smarty/libs/debug.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'assign_debug_info', 'file:/var/www/hosting/tiger/important/external/Smarty/libs/debug.tpl', 3, false), array('function', 'cycle', 'file:/var/www/hosting/tiger/important/external/Smarty/libs/debug.tpl', 119, false), array('modifier', 'escape', 'file:/var/www/hosting/tiger/important/external/Smarty/libs/debug.tpl', 102, false), array('modifier', 'string_format', 'file:/var/www/hosting/tiger/important/external/Smarty/libs/debug.tpl', 105, false), array('modifier', 'debug_print_var', 'file:/var/www/hosting/tiger/important/external/Smarty/libs/debug.tpl', 121, false))), $this);
echo smarty_function_assign_debug_info(array(), $this);
?>

<?php 
ob_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <title>Smarty Debug Console</title>
<?php 
echo '
<style type="text/css">
/* <![CDATA[ */
body, h1, h2, td, th, p {
    font-family: sans-serif;
    font-weight: normal;
    font-size: 0.9em;
    margin: 1px;
    padding: 0;
}

h1 {
    margin: 0;
    text-align: left;
    padding: 2px;
<?php

/* Smarty version 2.6.28, created on 2015-08-04 04:59:29
   compiled from db:catalog_admin_byitem.html */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'db:catalog_admin_byitem.html', 23, false))), $this);
?>
<link rel="stylesheet" type="text/css" href="<?php 
echo $this->_tpl_vars['xoops_url'];
?>
/modules/<?php 
echo $this->_tpl_vars['xoops_dirname'];
?>
/templates/style.css" />
<script src="../include/jquery-1.3.2.min.js" type="text/javascript"></script>

<h1><?php 
echo $this->_tpl_vars['item']['item_name'];
?>
</h1>

<select name="cat_id" id="cat_id">
    <option value="0"><?php 
echo @_AM_CATALOG_CATCHOICE;
?>
</option>
    <?php 
$_from = $this->_tpl_vars['categories'];
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
<?php

/* Smarty version 2.6.18, created on 2010-04-28 11:21:23
   compiled from myauth_status_loggedin.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'ajaxrequest', 'myauth_status_loggedin.tpl', 1, false))), $this);
?>
U bent aangemeld als <?php 
echo $this->_tpl_vars['currentuser']->getName();
?>
 (<a href="#" onclick="<?php 
echo smarty_function_ajaxrequest(array('request' => $this->_tpl_vars['logoutRequest']), $this);
?>
">Afmelden</a>)
<?php

/* Smarty version 2.6.18, created on 2012-07-11 05:34:50
   compiled from affiliate_tree_filter.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'localize', 'affiliate_tree_filter.tpl', 5, false))), $this);
?>
<!-- affiliate_tree_filter -->
<div>
    <div class="ColumnFieldset">
        <fieldset class="Filter">
            <legend><?php 
echo smarty_function_localize(array('str' => 'Affiliate Status'), $this);
?>
</legend>
            <?php 
echo "<div id=\"rstatus\"></div>";
?>
        </fieldset>
    </div>
    
    <div class="ColumnFieldset">
        <fieldset class="Filter">
            <legend><?php 
echo smarty_function_localize(array('str' => 'Search Affiliate'), $this);
?>
</legend>
            <?php 
echo "<div id=\"affiliateFilter\"></div>";
?>
            <?php 
<?php

/* Smarty version 2.6.26, created on 2010-03-09 19:37:52
   compiled from D:%5Cwww%5Csk80%5Ctemplates/default/post.html */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'D:\\www\\sk80\\templates/default/post.html', 29, false))), $this);
echo '<!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="zh" lang="zh" dir="ltr"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="generator" content="4kychao\'s simpleblog" /><meta name="keywords" content="';
echo $this->_tpl_vars['post']->title;
echo ':';
echo $this->_tpl_vars['post']->category;
echo ',';
$_from = $this->_tpl_vars['post']->tags;
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
$this->_foreach['tag_keyword'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['tag_keyword']['total'] > 0) {
    foreach ($_from as $this->_tpl_vars['tag']) {
        $this->_foreach['tag_keyword']['iteration']++;
        echo '';
        echo $this->_tpl_vars['tag'];
        echo ' ';
    }
}
unset($_from);
echo '-www.sk80.com" /><meta name="description" content="';
echo $this->_tpl_vars['post']->title;
echo ',';
echo $this->_tpl_vars['next']->title;
echo ',';
echo $this->_tpl_vars['previous']->title;
<?php

/* Smarty version 2.6.11, created on 2015-12-04 23:19:22
   compiled from cache/modules/AOS_Quotes/SearchForm_basic.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'counter', 'cache/modules/AOS_Quotes/SearchForm_basic.tpl', 33, false), array('function', 'math', 'cache/modules/AOS_Quotes/SearchForm_basic.tpl', 34, false), array('function', 'sugar_translate', 'cache/modules/AOS_Quotes/SearchForm_basic.tpl', 43, false), array('function', 'sugar_getimagepath', 'cache/modules/AOS_Quotes/SearchForm_basic.tpl', 101, false), array('modifier', 'count', 'cache/modules/AOS_Quotes/SearchForm_basic.tpl', 88, false))), $this);
?>

<input type='hidden' id="orderByInput" name='orderBy' value=''/>
<input type='hidden' id="sortOrder" name='sortOrder' value=''/>
<?php 
if (!isset($this->_tpl_vars['templateMeta']['maxColumnsBasic'])) {
    ?>
	<?php 
    $this->assign('basicMaxColumns', $this->_tpl_vars['templateMeta']['maxColumns']);
} else {
    ?>
    <?php 
    $this->assign('basicMaxColumns', $this->_tpl_vars['templateMeta']['maxColumnsBasic']);
}
?>
<script>
<?php 
echo '
	$(function() {
	var $dialog = $(\'<div></div>\')
		.html(SUGAR.language.get(\'app_strings\', \'LBL_SEARCH_HELP_TEXT\'))
		.dialog({
			autoOpen: false,
			title: SUGAR.language.get(\'app_strings\', \'LBL_HELP\'),
			width: 700
<?php

/* Smarty version 2.6.14, created on 2012-03-20 18:09:38
   compiled from ../../modules/nullregistrar/templates/nr_ConfigPage.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'echo', '../../modules/nullregistrar/templates/nr_ConfigPage.tpl', 2, false))), $this);
?>
<div class="manager_content"</div>
<h2> <?php 
echo smarty_echo(array('phrase' => 'NULL_REGISTRAR_MODULE'), $this);
?>
 </h2>
<p>
  <?php 
echo smarty_echo(array('phrase' => 'NULL_REGISTRAR_CONFIG_TEXT'), $this);
?>

</p>