本文整理汇总了PHP中smarty_function_link函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_link函数的具体用法?PHP smarty_function_link怎么用?PHP smarty_function_link使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_function_link函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: content_55d80482c09c17_07637897
function content_55d80482c09c17_07637897($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
?>
<li>
<a href="<?php
echo smarty_function_link(array('ctl' => 'ask'), $_smarty_tpl);
?>
" class="f14 red">装修问答</a><font class="f14"> | </font>
<a target='_blank' title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
" href="<?php
echo smarty_function_link(array('ctl' => 'ask:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['ask_id']), $_smarty_tpl);
?>
" class="f14 black8"><?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
</a>
</li>
<?php
}
示例2: content_55d7ea60b9e494_00271329
function content_55d7ea60b9e494_00271329($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include 'F:\\chengshuang\\php\\ejw\\system\\plugins/smarty\\function.link.php';
}
?>
<?php
$_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['item']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['data']->value['article'];
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 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'];
?>
" target="_blank"><?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
</a></li>
<?php
}
}
开发者ID:a195474368,项目名称:ejiawang,代码行数:30,代码来源:f04b7710b1beb4853e5e1c9525277cd0cbdcb829.widget.randitems.html.php
示例3: content_55d7ea607cf040_65066326
function content_55d7ea607cf040_65066326($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
?>
<!--footer -->
<footer>
<p class="about_foot">
<a href="<?php
echo smarty_function_link(array('ctl' => 'page:about', 'arg0' => 'about'), $_smarty_tpl);
?>
">关于我们</a><a href="<?php
echo smarty_function_link(array('ctl' => 'page:about', 'arg0' => 'contact'), $_smarty_tpl);
?>
">联系我们</a><a href="<?php
echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['siteurl'];
?>
">电脑版</a></p>
<p class="Copyright"><span>Copyright © 2013 ijh.cc Corporation,All Rights Reserved</span><?php
echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['icp'];
?>
</p>
</footer>
<!--footer end --><?php
}
开发者ID:a195474368,项目名称:ejiawang,代码行数:26,代码来源:139cb8cb86dc0bf88e62c48588ac89f64de9d193.mobile.sfooter.html.php
示例4: content_55d7eb6882a105_41215002
function content_55d7eb6882a105_41215002($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
?>
<form action="<?php
echo smarty_function_link(array('ctl' => 'gs:sign', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['youhui_id'], 'http' => 'empty'), $_smarty_tpl);
?>
" mini-form="sign-form" method="post" >
<div style="height: 240px;">
<div class="yuyue_box">
<h2>我想报名参加<font class="red"><?php
echo $_smarty_tpl->tpl_vars['company']->value['name'];
?>
</font>的优惠活动</h2>
<dl>
<dt>
<input class="yuyue_input" name="data[cantact]" id="pop_name_txt" onfocus="if (this.value=='请输入您的姓名'){ this.value=''};this.style.color='#666666';" onblur="if (this.value==''){this.value='请输入您的姓名'};this.style.color='#666666';" value="请输入您的姓名" type="text">
<span id="tips_1" class="yuyue_tips"></span>
<input class="yuyue_input" name="data[mobile]" id="pop_phone_txt" onfocus="if (this.value=='请输入您的手机号'){ this.value=''};this.style.color='#666666';" onblur="if (this.value==''){this.value='请输入您的手机号'};this.style.color='#666666';" value="请输入您的手机号" type="text">
<span id="tips_2" class="yuyue_tips"></span>
</dt>
<dd><input type="submit" class="yuyue_sub" value="立即报名"/></dd>
</dl>
<div class="yuyue_bottom"><span>不想等待?您也可以直接联系我们</span><span class="yuyue_tel"><?php
echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['phone'];
?>
</span></div>
</div>
</div>
</form><?php
}
开发者ID:a195474368,项目名称:ejiawang,代码行数:33,代码来源:c154f30f4f48b12f43950ac4400db406742eb89c.file.youhui_sign.html.php
示例5: content_55d7ebc27a23f2_86000994
function content_55d7ebc27a23f2_86000994($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
?>
<li>
<img alt="<?php
echo $_smarty_tpl->tpl_vars['item']->value['name'];
?>
" src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['img'];
?>
/<?php
echo $_smarty_tpl->tpl_vars['item']->value['logo'];
?>
" width="150" height="70" />
<div class="brand-wz">
<div class="brand-title"><?php
echo $_smarty_tpl->tpl_vars['item']->value['sort_name'];
?>
</div>
<p>设计方案<span><?php
echo $_smarty_tpl->tpl_vars['item']->value['case_num'];
?>
</span>套</p>
<a mini-load='申请免费量房' href="<?php
echo smarty_function_link(array('ctl' => 'gs:yuyue2', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['company_id'], 'http' => 'empty'), $_smarty_tpl);
?>
" >免费设计</a>
</div>
</li>
<?php
}
示例6: content_55d7ea3b24ef61_27232907
function content_55d7ea3b24ef61_27232907($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
?>
<li>
<a target="_blank" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
" href="<?php
echo smarty_function_link(array('ctl' => 'case:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['case_id']), $_smarty_tpl);
?>
"><img alt="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
" src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['img'];
?>
/<?php
echo $_smarty_tpl->tpl_vars['item']->value['photo'];
?>
" width="300" /></a>
</li>
<?php
}
示例7: content_55d7ea60792632_12031021
function content_55d7ea60792632_12031021($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
?>
<section class="search_area" style="display: none">
<span class="close"><img src="images/close.png" alt="关闭"/></span>
<ul class="sort" id="top_option">
<li action="<?php
echo smarty_function_link(array('ctl' => 'company'), $_smarty_tpl);
?>
">公司</li>
<li action="<?php
echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
?>
">图库</li>
<li action="<?php
echo smarty_function_link(array('ctl' => 'site'), $_smarty_tpl);
?>
">工地</li>
</ul>
<div class="search">
<form action="<?php
echo smarty_function_link(array('ctl' => 'company'), $_smarty_tpl);
?>
" id="top_search_form" >
<input type="text" class="search_input" id="sokeyword" name="kw" autocomplete="off" />
<input type="reset" class="reset" value="" style="display: none" />
<input type="submit" value="" id="btn_search" class="submit" />
</form>
</div>
<div class="dislist" id="dislist" style="display: none"></div>
</section>
<script type="text/javascript">
$(function () {
$("#top_option li").click(function () {
$(this).addClass("active").siblings().removeClass("active");//删除默认样式
$("#top_search_form").attr('action', $(this).attr("action"));
});
/*点击搜索输入框,区域按钮隐藏*/
$(".index_search, .find").click(function () {
$(".search_area").show();
$(".search_input").focus();
$(".dislist").css("height", $(document).height() - 95);
$(".dislist").show();
$(".filter_box").fadeOut("hide");
});
/*点击关闭按钮,搜索区隐藏*/
$(".close").click(function () {
$(".search_area").hide();
});
//搜索框重置
$(".reset").click(function () {
$(".search_input").focus();
$(".dislist").html('');
});
});
</script><?php
}
开发者ID:a195474368,项目名称:ejiawang,代码行数:60,代码来源:5c7666b45a485d0cf4f97baefd5780ae5184d348.mobile.search.html.php
示例8: content_55d7ea60cf69d6_58106949
function content_55d7ea60cf69d6_58106949($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
?>
<li style="padding-left:2px;">
<a href="<?php
echo smarty_function_link(array('ctl' => 'ask'), $_smarty_tpl);
?>
" class="f14 red"><font style="color:#00AD28">装修问答</font></a><font class="f14"> | </font>
<a target='_blank' title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
" href="<?php
echo smarty_function_link(array('ctl' => 'ask:detail', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['ask_id']), $_smarty_tpl);
?>
" class="f14 black8"><?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
</a>
</li>
<?php
}
示例9: 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
}
示例10: content_55d7ef1a98b055_66227038
function content_55d7ef1a98b055_66227038($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
?>
<li>
<a target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'blog', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['uid']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['realname'];
?>
"><img src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['img'];
?>
/<?php
echo $_smarty_tpl->tpl_vars['item']->value['face'];
?>
" width="100" height="100" /></a><br />
<a target="_blank" href="<?php
echo smarty_function_link(array('ctl' => 'blog', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['uid']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['realname'];
?>
" class="red"><b><?php
echo $_smarty_tpl->tpl_vars['item']->value['realname'];
?>
</b></a>
</li>
<?php
}
示例11: 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
}
示例12: 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
}
示例13: 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
}
示例14: content_55d7f7aaae7748_38234570
function content_55d7f7aaae7748_38234570($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
?>
<li>
<p><a href="<?php
echo smarty_function_link(array('ctl' => 'mall/shop', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['shop_id']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['name'];
?>
" target="_blank"><img src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['img'];
?>
/<?php
echo $_smarty_tpl->tpl_vars['item']->value['logo'];
?>
" width="105" height="45" /></a></p>
<p><a href="<?php
echo smarty_function_link(array('ctl' => 'mall/shop', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['shop_id']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['name'];
?>
" target="_blank"><?php
echo $_smarty_tpl->tpl_vars['item']->value['name'];
?>
</a></p>
</li>
<?php
}
示例15: content_55d7ea319fda32_20255251
function content_55d7ea319fda32_20255251($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
?>
<div class="top" style="height:40px">
<div class="information_top w1000" style="height:40px;padding-top: 6px">
<div class="information_t_l lt" style="height:40px">
<?php
if ($_smarty_tpl->tpl_vars['MEMBER']->value['uname']) {
?>
<a href="<?php
echo smarty_function_link(array('ctl' => 'ucenter/member'), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['MEMBER']->value['uname'];
?>
</a>!您好 <a href="<?php
echo smarty_function_link(array('ctl' => 'passport:loginout'), $_smarty_tpl);
?>
">退出</a>
<?php
} else {
?>
<a href="<?php
echo smarty_function_link(array('ctl' => 'passport'), $_smarty_tpl);
?>
">登录</a> <a href="<?php
echo smarty_function_link(array('ctl' => 'passport-signup'), $_smarty_tpl);
?>
" >注册</a>
<?php
}
?>
<a href="/mobile" class="red">手机版</a>
</div>
<div class="information_r rt" style="height:40px">
<ul>
<!--<li><a href="###">收藏本站</a> | </li>-->
<li>
<a href="###" class="block_lt" style="color:#666">关注我们: </a>
<a href="###" class="block_lt guanzhuwomen_1"></a>
<a href="###" class="block_lt guanzhuwomen_2"></a>
</li>
<!-- <li><a>咨询热线</a><span> <b><?php
echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['phone'];
?>
</b></span></li>-->
</ul>
</div>
</div>
</div>
<?php
}
开发者ID:a195474368,项目名称:ejiawang,代码行数:59,代码来源:ff2a62e8c013203f7c658095bc472b1ebd19ff69.file.top-header.html.php