本文整理匯總了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
}