コード例 #1
0
ファイル: brand_zone.php プロジェクト: yongge666/sunupedu
echo search_goods::searchUrl('show_type', 'win');
?>
" title='橱窗展示' alt='橱窗展示'><span class='<?php 
echo search_goods::getListShow(IReq::get('show_type')) == 'win' ? 'current' : '';
?>
'></span></a>
			<a class="show_s" href="<?php 
echo search_goods::searchUrl('show_type', 'list');
?>
" title='列表展示' alt='列表展示'><span class='<?php 
echo search_goods::getListShow(IReq::get('show_type')) == 'list' ? 'current' : '';
?>
'></span></a>
		</div>
		<?php 
$goodsObj = search_goods::find(array('brand_id' => $brandId));
$resultData = $goodsObj->find();
?>
		<?php 
if ($resultData) {
    ?>
		<?php 
    $listSize = search_goods::getListSize(IFilter::act(IReq::get('show_type')));
    ?>
		<ul class="display_list clearfix m_10">
			<?php 
    foreach ($resultData as $key => $item) {
        ?>
			<li class="clearfix <?php 
        echo search_goods::getListShow(IFilter::act(IReq::get('show_type')));
        ?>
コード例 #2
0
ファイル: search_list.php プロジェクト: yongge666/sunupedu
}
?>
		</div>
	</div>
	<?php 
echo Ad::show(1);
?>

	<?php 
$seo_data = array();
$site_config = new Config('site_config');
$site_config = $site_config->getInfo();
$seo_data['title'] = "商品搜索_" . $site_config['name'];
seo::set($seo_data);
$defaultWhere = array('search' => $this->word, 'category_extend' => $this->cat_id);
$goodsObj = search_goods::find($defaultWhere);
$resultData = $goodsObj->find();
?>

<div class="position"> <span>全部结果:</span> <a href="javascript:void(0)"><?php 
echo isset($this->word) ? $this->word : "";
?>
</a> </div>
<div class="wrapper clearfix container_2">
	<div class="sidebar f_l">
		<div class="box_2 m_10">
			<div class="title">分类筛选</div>
			<div class="content">
				<dl class="w clearfix">
					<?php 
foreach (Api::run('getGoodsCategoryExtend', array('#word#', $this->word)) as $key => $item) {
コード例 #3
0
ファイル: pro_list.php プロジェクト: yongge666/yongge
		</div>
	</div>
	<?php 
echo Ad::show(1);
?>

	<?php 
$seo_data = array();
$site_config = new Config('site_config');
$seo_data['title'] = $this->catRow['title'] ? $this->catRow['title'] : $this->catRow['name'];
$seo_data['title'] .= "_" . $site_config->name;
$seo_data['keywords'] = $this->catRow['keywords'];
$seo_data['description'] = $this->catRow['descript'];
seo::set($seo_data);
$breadGuide = goods_class::catRecursion($this->catId);
$goodsObj = search_goods::find(array('category_extend' => $this->childId));
$resultData1 = $goodsObj->find();
$resultData = $this->resultData;
?>
<div class="position">
	<span>您当前的位置:</span>
	<a href="<?php 
echo IUrl::creatUrl("");
?>
">首页</a><?php 
foreach ($breadGuide as $key => $item) {
    ?>
 » <a href="<?php 
    echo IUrl::creatUrl("/site/pro_list/cat/" . $item['id'] . "");
    ?>
"><?php 
コード例 #4
0
ファイル: home.php プロジェクト: yongge666/sunupedu
echo search_goods::searchUrl('show_type', 'win');
?>
" title='橱窗展示' alt='橱窗展示'><span class='<?php 
echo search_goods::getListShow(IReq::get('show_type')) == 'win' ? 'current' : '';
?>
'></span></a>
			<a class="show_s" href="<?php 
echo search_goods::searchUrl('show_type', 'list');
?>
" title='列表展示' alt='列表展示'><span class='<?php 
echo search_goods::getListShow(IReq::get('show_type')) == 'list' ? 'current' : '';
?>
'></span></a>
		</div>
		<?php 
$goodsObj = search_goods::find(array('seller_id' => $seller_id));
$resultData = $goodsObj->find();
?>
		<?php 
if ($resultData) {
    ?>
		<?php 
    $listSize = search_goods::getListSize(IFilter::act(IReq::get('show_type')));
    ?>
		<ul class="display_list clearfix m_10">
			<?php 
    foreach ($resultData as $key => $item) {
        ?>
			<li class="clearfix <?php 
        echo search_goods::getListShow(IFilter::act(IReq::get('show_type')));
        ?>