本文整理汇总了PHP中smarty_modifier_cutstr函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_modifier_cutstr函数的具体用法?PHP smarty_modifier_cutstr怎么用?PHP smarty_modifier_cutstr使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_modifier_cutstr函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: content_55d7ea60d5a567_84870867
function content_55d7ea60d5a567_84870867($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
?>
<li style="width:170px;padding-left:1px">
<div><font style ="font-size:13px"><?php
echo $_smarty_tpl->tpl_vars['index']->value + 1;
?>
.</font><a target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'content:diaryDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['diary_id']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
" ><?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'], 16, '');
?>
</a></div>
</li>
<?php
}
示例2: content_55d7ea2e5b3229_85657045
function content_55d7ea2e5b3229_85657045($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
?>
<?php
if ($_smarty_tpl->tpl_vars['index']->value == 15) {
?>
<div class="host-list-image">
<a target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
"><img src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['img'];
?>
/<?php
echo $_smarty_tpl->tpl_vars['item']->value['face_pic'];
?>
" width="200px" height="140px"/></a>
</div>
<ul>
<li><a target="_blank" class="one" href="<?php
echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
?>
"><i>1.</i><?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'], 24, '');
?>
</a></li>
<?php
} elseif ($_smarty_tpl->tpl_vars['index']->value > 15 && $_smarty_tpl->tpl_vars['index']->value < 20) {
?>
<li><a target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'site:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['site_id']), $_smarty_tpl);
?>
"><i><?php
echo $_smarty_tpl->tpl_vars['index']->value - 14;
?>
</i><?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'], 24, '');
?>
</a></li>
<?php
}
?>
</ul>
<?php
}
示例3: content_55d7ebaca2e957_69076556
function content_55d7ebaca2e957_69076556($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
?>
<p class="lt ml10">
<div class="block"><b class="f14"><?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
</b></div>
<div class="block mt20">
<a title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
" target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['article_id']), $_smarty_tpl);
?>
" class="f14 black"><?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['desc'], 120, '..');
?>
</a>
</div>
</p>
<?php
}
示例4: content_55d7ea40312f75_15333766
function content_55d7ea40312f75_15333766($_smarty_tpl)
{
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
?>
<div class="host-title">
<?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'], 22, '');
?>
</div>
<div class="host-dis">
报名立减<span><?php
echo $_smarty_tpl->tpl_vars['item']->value['jieyue'];
?>
</span>元
<a target="_blank" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
" href="<?php
echo smarty_function_link(array('ctl' => 'home:tuanDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['tuan_id']), $_smarty_tpl);
?>
"><input type="button" class="host-input" value="我要报名" />
</a></div>
<?php
}
示例5: content_55d7ebc26f5d50_26365527
function content_55d7ebc26f5d50_26365527($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_modifier_format')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.format.php';
}
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
?>
<li>
<a href="<?php
echo smarty_function_link(array('ctl' => 'tenders:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['id']), $_smarty_tpl);
?>
" target="_blank"><?php
echo smarty_modifier_format($_smarty_tpl->tpl_vars['item']->value['dateline'], 'm-d');
?>
</a>
<a href="<?php
echo smarty_function_link(array('ctl' => 'tenders:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['id']), $_smarty_tpl);
?>
" target="_blank"><?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['name'], 3, '**');
?>
</a>
<a href="<?php
echo smarty_function_link(array('ctl' => 'tenders:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['id']), $_smarty_tpl);
?>
" target="_blank"><?php
echo $_smarty_tpl->tpl_vars['item']->value['area'];
?>
㎡</a>
<a target='_blank' title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
" href="<?php
echo smarty_function_link(array('ctl' => 'tenders:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['id']), $_smarty_tpl);
?>
" class="red"><?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
</a>
<a href="<?php
echo smarty_function_link(array('ctl' => 'tenders:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['id']), $_smarty_tpl);
?>
" target="_blank"><?php
echo $_smarty_tpl->tpl_vars['item']->value['budget_title'];
?>
</a>
<div class="clear"></div>
</li>
<?php
}
示例6: content_55d7f76dbff922_77369743
function content_55d7f76dbff922_77369743($_smarty_tpl)
{
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
?>
“<?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'], 20, '**');
?>
”<?php
}
示例7: content_55d7ea404c0899_77163178
function content_55d7ea404c0899_77163178($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
if (!is_callable('smarty_block_calldata')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
}
?>
<a class="help-left-image" href="<?php
echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
?>
"><img src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['img'];
?>
/<?php
echo $_smarty_tpl->tpl_vars['item']->value['logo'];
?>
" width="110" height="50" /></a>
<div class="help-con">
<a href="<?php
echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
?>
"><?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['name'], 20, '');
?>
</a>
<?php
$_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "tenders/tenders", 'status' => 1, 'sign_company_id' => $_smarty_tpl->tpl_vars['item']->value['company_id'], 'order' => "sign_time:desc", 'limit' => "1"));
$_block_repeat = true;
echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'status' => 1, 'sign_company_id' => $_smarty_tpl->tpl_vars['item']->value['company_id'], 'order' => "sign_time:desc", 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();
?>
<p><{$areaList[$item.area_id].area_name}>-<{$item.home_name|cutstr:14}></p>
<p><{$item.name|cutstr:16}></p>
<?php
$_block_content = ob_get_clean();
$_block_repeat = false;
echo smarty_block_calldata(array('mdl' => "tenders/tenders", 'status' => 1, 'sign_company_id' => $_smarty_tpl->tpl_vars['item']->value['company_id'], 'order' => "sign_time:desc", 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_tag_stack);
?>
</div>
<div class="clear"></div>
<?php
}
示例8: content_55d7ea2fe2f528_47396098
function content_55d7ea2fe2f528_47396098($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
?>
<a target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['article_id']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
">
<img src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['img'];
?>
/<?php
echo $_smarty_tpl->tpl_vars['item']->value['thumb'];
?>
" width="145" height="145" /></a>
<div class="boss-enter"><a target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['article_id']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
">
专访企业:巨嘉装饰集团</a></div>
<div class="boss-name"><a target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['article_id']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
">
企业CEO:付总</a></div>
<p>个人简介:<?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['desc'], 100, '...');
?>
</p>
<div class="clear"></div>
<div class="ask-con">
<p class="ask">亿家网:请问付总对目前装修行业发展前景状况和未来发展趋势的看法?</p>
<p class="answer">付总:随着中国的发展,城乡一体化的改造,行业发展前景是非常乐观的,因为国内需求量较大。</p>
<p class="ask">亿家网:针对目前装修行业之间混战及恶意竞争的现状有什么好的建议?</p>
<p class="answer">付总:随着时代的变革,跨界经营慢慢在抢占装修市场,装修行业应以合作、整合、联盟、共赢的趋势发展,突出产品自身优势,做最具性价比的产品。</p>
</div>
<?php
}
示例9: content_55d7ea2ff0a2c6_99694716
function content_55d7ea2ff0a2c6_99694716($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
?>
<a target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['article_id']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
">
<img src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['img'];
?>
/<?php
echo $_smarty_tpl->tpl_vars['item']->value['thumb'];
?>
" width="145" height="145" /></a>
<div class="boss-enter"><a target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['article_id']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
">
专访企业:鲁公大宅装饰有限公司</a></div>
<div class="boss-name"><a target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['article_id']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
">
企业总监:孙海松</a></div>
<p>个人简介:<?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['desc'], 100, '...');
?>
</p>
<div class="clear"></div>
<div class="ask-con">
<p class="ask">亿家网:请问—孙总监,您认为目前在装修行业里,设计师扮演的是一个什么样的角色?</p>
<p class="answer">孙总监:其实设计师是一个很重要的角色。除了参谋以外,还是一个重要的参与者,能给业主提供专业的参考指导。</p>
<p class="ask">亿家网:请问—总监,如何阐述设计师在装修工程里面的重要性?</p>
<p class="answer">孙总监:可以这样说,装修如果没有设计师,那其它工作都没法做。设计师要把业主的要求,装修风格,材料、使用功能都安排好了,施工队才能施工。就好比,一条新闻如果没有记者先写好了,那广播电视是无法播出一样。</p>
</div>
<?php
}
示例10: content_55d7ea340e60b4_74166463
function content_55d7ea340e60b4_74166463($_smarty_tpl)
{
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_block_calldata')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
}
?>
<tr>
<td><?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['name'], 10, '**');
?>
</td>
<td><?php
echo $_smarty_tpl->tpl_vars['item']->value['area'];
?>
㎡</td>
<td><a target='_blank' title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
" href="<?php
echo smarty_function_link(array('ctl' => 'tenders:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['id']), $_smarty_tpl);
?>
" class=""style=" color:#666;font-size:14px"><?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
</a></td>
<?php
$_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "tenders/setting", 'setting_id' => $_smarty_tpl->tpl_vars['item']->value['budget_id'], 'limit' => "1"));
$_block_repeat = true;
echo smarty_block_calldata(array('mdl' => "tenders/setting", 'setting_id' => $_smarty_tpl->tpl_vars['item']->value['budget_id'], 'limit' => "1"), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();
?>
<td><{$item.name}></td>
<?php
$_block_content = ob_get_clean();
$_block_repeat = false;
echo smarty_block_calldata(array('mdl' => "tenders/setting", 'setting_id' => $_smarty_tpl->tpl_vars['item']->value['budget_id'], 'limit' => "1"), $_block_content, $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_tag_stack);
?>
</tr>
<div class="cl"></div>
<?php
}
示例11: content_55d7ea83e04cc2_43536099
function content_55d7ea83e04cc2_43536099($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
?>
<ul>
<?php
$_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['item']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['data']->value['diary'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
<li>
<a title="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['data']->value['diary_company_list'][$_smarty_tpl->tpl_vars['item']->value['company_id']]['name']) === null || $tmp === '' ? '--' : $tmp;
?>
" class="red" target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
?>
">[<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['data']->value['diary_company_list'][$_smarty_tpl->tpl_vars['item']->value['company_id']]['sort_name']) === null || $tmp === '' ? '--' : $tmp;
?>
]</a>
<a target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'content:diaryDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['diary_id']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
" class="black"><?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'], 24, '..');
?>
</a>
</li>
<?php
}
?>
</ul><?php
}
开发者ID:a195474368,项目名称:ejiawang,代码行数:47,代码来源:215bfb8384cdb873aee1f68cc95f80839f04167a.widget.right.html.php
示例12: content_55d7ea2e117e87_86070494
function content_55d7ea2e117e87_86070494($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
?>
<?php
if ($_smarty_tpl->tpl_vars['index']->value == 0) {
?>
<li><a target="_blank" class="one" href="<?php
echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['article_id']), $_smarty_tpl);
?>
"><i>1.</i><?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'], 22, '');
?>
<span><?php
echo date('m-d', $_smarty_tpl->tpl_vars['item']->value['dateline']);
?>
</span></a></li>
<?php
} else {
?>
<li><a target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['article_id']), $_smarty_tpl);
?>
"><i><?php
echo $_smarty_tpl->tpl_vars['index']->value + 1;
?>
</i><?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['title'], 22, '');
?>
<span><?php
echo date('m-d', $_smarty_tpl->tpl_vars['item']->value['dateline']);
?>
</span></a></li>
<?php
}
?>
<?php
}
示例13: content_55d7ea4058d451_58103325
function content_55d7ea4058d451_58103325($_smarty_tpl)
{
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
?>
<p><?php
echo $_smarty_tpl->tpl_vars['areaList']->value[$_smarty_tpl->tpl_vars['item']->value['area_id']]['area_name'];
?>
-<?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['home_name'], 14);
?>
</p>
<p><?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['name'], 16);
?>
</p>
<?php
}
示例14: content_55d7f76dbdd5a1_76062709
function content_55d7f76dbdd5a1_76062709($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
if (!is_callable('smarty_block_calldata')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
}
?>
<li>
<p><a target="_blank" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
" href="<?php
echo smarty_function_link(array('ctl' => 'home:tuanDetail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['tuan_id']), $_smarty_tpl);
?>
" ><?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['mobile'], 4, '**');
?>
报名了
<?php
$_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "home/tuan", 'tuan_id' => $_smarty_tpl->tpl_vars['item']->value['tuan_id'], 'city_id' => $_smarty_tpl->tpl_vars['this']->value->request['city_id']));
$_block_repeat = true;
echo smarty_block_calldata(array('mdl' => "home/tuan", 'tuan_id' => $_smarty_tpl->tpl_vars['item']->value['tuan_id'], 'city_id' => $_smarty_tpl->tpl_vars['this']->value->request['city_id']), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();
?>
“<{$item.title|cutstr:20:'**'}>”<?php
$_block_content = ob_get_clean();
$_block_repeat = false;
echo smarty_block_calldata(array('mdl' => "home/tuan", 'tuan_id' => $_smarty_tpl->tpl_vars['item']->value['tuan_id'], 'city_id' => $_smarty_tpl->tpl_vars['this']->value->request['city_id']), $_block_content, $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_tag_stack);
?>
</a></p>
</li>
<?php
}
示例15: content_55d7f75905bc96_07462516
function content_55d7f75905bc96_07462516($_smarty_tpl)
{
if (!is_callable('smarty_modifier_cutstr')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.cutstr.php';
}
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
?>
<p><font class="red">[最新评价]</font><?php
echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['content'], 50);
?>
<font class="rt"><a target="_blank" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['name'];
?>
" href="<?php
echo smarty_function_link(array('ctl' => 'company', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id']), $_smarty_tpl);
?>
" class="black">更多</a></font></p>
<?php
}