<h1>段落数</h1> <?php 
echo is_array($_tmp = $this->_tpl_vars['str2']) ? $this->_run_mod_handler('count_paragraphs', true, $_tmp) : smarty_modifier_count_paragraphs($_tmp);
?>


<h1>统计句子</h1>
<?php 
echo is_array($_tmp = $this->_tpl_vars['str3']) ? $this->_run_mod_handler('count_sentences', true, $_tmp) : smarty_modifier_count_sentences($_tmp);
?>


<h1>统计单词</h1>
<?php 
echo is_array($_tmp = $this->_tpl_vars['str1']) ? $this->_run_mod_handler('count_words', true, $_tmp) : smarty_modifier_count_words($_tmp);
?>


<h1>显示当前时间</h1>
<?php 
echo is_array($_tmp = time()) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%I:%S %a") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%I:%S %a");
?>


<h1>default 使用</h1> <?php 
echo is_array($_tmp = @$this->_tpl_vars['aa']) ? $this->_run_mod_handler('default', true, $_tmp, "没有值") : smarty_modifier_default($_tmp, "没有值");
?>
 

<h1>escape 使用</h1> <?php 
<?php

/* Smarty version 2.6.9, created on 2010-08-09 13:55:21
   compiled from common/display_data_array_interest.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count_words', 'common/display_data_array_interest.tpl', 1, false), array('modifier', 'translate', 'common/display_data_array_interest.tpl', 3, false))), $this);
if ((is_array($_tmp = $this->_tpl_vars['data']) ? $this->_run_mod_handler('count_words', true, $_tmp) : smarty_modifier_count_words($_tmp)) > 25) {
    ?>
<a class="moreinterrest" href="#" onclick="displayInterest(this);return(false);">
<span>+</span> <?php 
    echo is_array($_tmp = $this->_tpl_vars['link']) ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp);
    ?>

</a>
<div class="center hiddendetails">
<?php 
    echo $this->_tpl_vars['data'];
    ?>

</div>
<?php 
}