本文整理汇总了PHP中Ad::show方法的典型用法代码示例。如果您正苦于以下问题:PHP Ad::show方法的具体用法?PHP Ad::show怎么用?PHP Ad::show使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Ad
的用法示例。
在下文中一共展示了Ad::show方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: urlencode
$tmpWord = urlencode($item['word']);
?>
<a href="<?php
echo IUrl::creatUrl("/site/search_list/word/" . $tmpWord . "");
?>
"><?php
echo isset($item['word']) ? $item['word'] : "";
?>
</a>
<?php
}
?>
</div>
</div>
<?php
echo Ad::show(1);
?>
<?php
$average_point = $this->comment_info['average_point'];
$goods_id = $this->comment['goods_id'];
$id = intval(IReq::get('id'));
$item = Api::run('getGoodsInfo', array("#id#", $goods_id));
?>
<div class="position"> <span>您当前的位置:</span> <a href="<?php
echo IUrl::creatUrl("");
?>
"> 首页</a> » <a href="<?php
echo IUrl::creatUrl("/site/products/id/" . $goods_id . "");
?>
"><?php
示例2: isset
echo isset($item['name']) ? $item['name'] : "";
?>
" /></a></li>
<?php
}
?>
</ul>
<?php
}
?>
</div>
<!--幻灯片 结束-->
</div>
<?php
echo Ad::show(6);
?>
<div class="wrapper clearfix">
<div class="sidebar f_r">
</div>
<div class="main f_l">
<!--最新商品-->
<div class="box yellow m_10">
示例3: isset
?>
" href="<?php
echo IUrl::creatUrl("/site/article/id/" . $item['id'] . "");
?>
"><?php
echo isset($item['name']) ? $item['name'] : "";
?>
</a></li>
<?php
}
?>
</ul>
</div>
</div>
<?php
echo Ad::show(10);
?>
</div>
<div class="main f_r">
<div class="box m_10">
<div class="title2">商城资讯</div>
<div class="cont">
<div class="c_box">
<h2><?php
echo isset($this->articleRow['title']) ? $this->articleRow['title'] : "";
?>
</h2>
<div class="partake_bar clearfix">
<span class="f_r"></span>发布日期:<?php
echo isset($this->articleRow['create_time']) ? $this->articleRow['create_time'] : "";
?>
示例4: isset
"><?php
echo isset($item['name']) ? $item['name'] : "";
?>
(<?php
echo isset($item['num']) ? $item['num'] : "";
?>
)</a></dd>
<?php
}
?>
</dl>
</div>
</div>
<div class="box m_10">
<?php
echo Ad::show(8);
?>
</div>
<div class="box m_10">
<div class="title">销售排行榜</div>
<div class="content">
<ul class="ranklist" id='ranklist'>
<?php
$whereCat = $this->cat_id ? " and ca.category_id in ({$this->cat_id})" : '';
?>
<?php
foreach (Api::run('getGoodsListByWordSum', array('#word#', $this->word), array('#whereCat#', $whereCat)) as $key => $item) {
?>
<li>
<span><?php
echo intval($key + 1);