• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP getStoreLogo函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中getStoreLogo函数的典型用法代码示例。如果您正苦于以下问题:PHP getStoreLogo函数的具体用法?PHP getStoreLogo怎么用?PHP getStoreLogo使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了getStoreLogo函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: getStoreInfoBasic

 /**
  * 获得店铺标志、信用、商品数量、店铺评分等信息
  *
  * @param	array $param 店铺数组
  * @return	array 数组格式的返回结果
  */
 public function getStoreInfoBasic($list, $day = 0)
 {
     $list_new = array();
     if (!empty($list) && is_array($list)) {
         foreach ($list as $key => $value) {
             if (!empty($value)) {
                 $value['store_logo'] = getStoreLogo($value['store_logo']);
                 //店铺评价
                 $model_evaluate_store = Model('evaluate_store');
                 $store_evaluate_info = $model_evaluate_store->getEvaluateStoreInfoByStoreID($value['store_id'], $value['sc_id']);
                 $value = array_merge($value, $store_evaluate_info);
                 if (!empty($value['store_presales'])) {
                     $value['store_presales'] = unserialize($value['store_presales']);
                 }
                 if (!empty($value['store_aftersales'])) {
                     $value['store_aftersales'] = unserialize($value['store_aftersales']);
                 }
                 $list_new[$value['store_id']] = $value;
                 $list_new[$value['store_id']]['goods_count'] = 0;
             }
         }
         //全部商品数直接读取缓存
         if ($day > 0) {
             $store_id_string = implode(',', array_keys($list_new));
             //指定天数直接查询数据库
             $condition = array();
             $condition['goods_show'] = '1';
             $condition['store_id'] = array('in', $store_id_string);
             $condition['goods_add_time'] = array('gt', strtotime("-{$day} day"));
             $model = Model();
             $goods_count_array = $model->table('goods')->field('store_id,count(*) as goods_count')->where($condition)->group('store_id')->select();
             if (!empty($goods_count_array)) {
                 foreach ($goods_count_array as $value) {
                     $list_new[$value['store_id']]['goods_count'] = $value['goods_count'];
                 }
             }
         } else {
             $list_new = $this->getGoodsCountByStoreArray($list_new);
         }
     }
     return $list_new;
 }
开发者ID:dotku,项目名称:shopnc_cnnewyork,代码行数:48,代码来源:store.model.php


示例2: foreach

      <!-- 店铺列表 start -->
      <?php 
if (!empty($output['store_list'])) {
    ?>
      <ul id="mycarousel-g" class="snsstorelist jcarousel-skin-tango">
        <?php 
    foreach ($output['store_list'] as $v) {
        ?>
        <li><a href="javascript:void(0);" value="<?php 
        echo $v['store_id'];
        ?>
"><img title="<?php 
        echo $v['store_name'];
        ?>
" src="<?php 
        echo getStoreLogo($v['store_avatar']);
        ?>
"  width="90px" height="90px"/>
          <p class="extra"><?php 
        echo $lang['sns_selected'];
        ?>
</p>
          </span></a></li>
        <?php 
    }
    ?>
      </ul>
      <?php 
} else {
    ?>
      <div class="sns-norecord"><?php 
开发者ID:uwitec,项目名称:xbshop,代码行数:31,代码来源:member_snssharestore.php


示例3: foreach

    <!-- 店铺列表 start -->
    <?php 
if (!empty($output['store_list'])) {
    ?>
    <ul id="mycarousel-g" class="snsstorelist jcarousel-skin-tango">
      <?php 
    foreach ($output['store_list'] as $v) {
        ?>
      <li><a href="javascript:void(0);" value="<?php 
        echo $v['store_id'];
        ?>
"><span class="thumb size90"><i></i><img title="<?php 
        echo $v['store_name'];
        ?>
" src="<?php 
        echo getStoreLogo($v['store_label']);
        ?>
" onload="javascript:DrawImage(this,90,90);" />
        <p class="extra"><?php 
        echo $lang['sns_selected'];
        ?>
</p>
        </span></a></li>
      <?php 
    }
    ?>
    </ul>
    <?php 
} else {
    ?>
    <div class="sns-norecord"><?php 
开发者ID:Maplecms,项目名称:shopnc-yhmall,代码行数:31,代码来源:member_snssharestore.php


示例4: getStoreInfoBasic

 /**
  * 获得店铺标志、信用、商品数量、店铺评分等信息
  * 
  * @param	array $param 店铺数组
  * @return	array 数组格式的返回结果
  */
 public function getStoreInfoBasic($list, $day = 0)
 {
     $list_new = array();
     if (!empty($list) && is_array($list)) {
         foreach ($list as $key => $value) {
             if (!empty($value)) {
                 $value['store_logo'] = getStoreLogo($value['store_logo']);
                 $value['credit_arr'] = getCreditArr($value['store_credit']);
                 $value['store_desccredit_rate'] = @round($value['store_desccredit'] / 5 * 100, 2);
                 $value['store_servicecredit_rate'] = @round($value['store_servicecredit'] / 5 * 100, 2);
                 $value['store_deliverycredit_rate'] = @round($value['store_deliverycredit'] / 5 * 100, 2);
                 if (!empty($value['store_presales'])) {
                     $value['store_presales'] = unserialize($value['store_presales']);
                 }
                 if (!empty($value['store_aftersales'])) {
                     $value['store_aftersales'] = unserialize($value['store_aftersales']);
                 }
                 $list_new[$value['store_id']] = $value;
                 $list_new[$value['store_id']]['goods_count'] = 0;
             }
         }
         //全部商品数直接读取缓存
         if ($day > 0) {
             $store_id_string = implode(',', array_keys($list_new));
             //指定天数直接查询数据库
             $condition = array();
             $condition['goods_show'] = '1';
             $condition['store_id'] = array('in', $store_id_string);
             $condition['goods_add_time'] = array('gt', strtotime("-{$day} day"));
             $model = Model();
             $goods_count_array = $model->table('goods')->field('store_id,count(*) as goods_count')->where($condition)->group('store_id')->select();
             if (!empty($goods_count_array)) {
                 foreach ($goods_count_array as $value) {
                     $list_new[$value['store_id']]['goods_count'] = $value['goods_count'];
                 }
             }
         } else {
             $list_new = $this->getGoodsCountByStoreArray($list_new);
         }
     }
     return $list_new;
 }
开发者ID:dw250100785,项目名称:shopnc,代码行数:48,代码来源:store.model.php


示例5: getStoreLogo

        <?php 
    }
    ?>
        <?php 
    if ($_GET['act'] == 'store') {
        ?>
        <input type="hidden" value="<?php 
        echo $output['detail']['microshop_store_id'];
        ?>
" name="share_id" id="share_id"></input>
        <div class="command-goods">
            <div class="pic">
                <span class="thumb size100">
                    <i></i>
                        <img src="<?php 
        echo getStoreLogo($output['detail']['store_label']);
        ?>
" alt="<?php 
        echo $output['detail']['store_name'];
        ?>
" />
                </span>
            </div>
            <div><?php 
        echo $output['detail']['store_name'];
        ?>
</div>
        </div>
        <?php 
    }
    ?>
开发者ID:uwitec,项目名称:xbshop,代码行数:31,代码来源:widget_sns_share.php


示例6: getStoreLogo

    ?>
      <div class="null"><?php 
    echo $lang['store_sns_content_null'];
    ?>
</div>
      <?php 
}
?>
    </div>
    <!-- 表情弹出层 -->
    <div id="smilies_div" class="smilies-module"></div>
  </div>
  <div class="cms-sns-right">
    <div class="cms-sns-right-container">
      <div class="cms-store-pic"><a><img src="<?php 
echo getStoreLogo($output['store_info']['store_avatar']);
?>
" alt="<?php 
echo $output['store_info']['store_name'];
?>
" title="<?php 
echo $output['store_info']['store_name'];
?>
" /></a></div>
      <dl class="cms-store-info">
        <dt><?php 
echo $output['store_info']['store_name'];
?>
</dt>
        <dd>已收藏:<em nctype="store_collect"><?php 
echo $output['store_info']['store_collect'];
开发者ID:dotku,项目名称:shopnc_cnnewyork,代码行数:31,代码来源:store_snshome.php


示例7: getStoreLogo

                ?>
</dt>
              <dd><?php 
                echo $lang['home_voucher_desc_1'];
                echo $v_voucher['voucher_t_limit'];
                echo $lang['currency_zh'] . $lang['home_voucher_desc_2'];
                ?>
<em><?php 
                echo $lang['currency'] . $v_voucher['voucher_t_price'];
                ?>
</em></dd>
            </dl>
          </div>
          <div class="voucher-store">
            <p class="logo"> <span class="thumb size160-48"><i></i> <img src="<?php 
                echo getStoreLogo($v_voucher['store_label']);
                ?>
"  onload="javascript:DrawImage(this,160,48);" > </span></p>
            <p class="name"><a target="_blank" href="<?php 
                echo urlShop('show_store', 'index', array('store_id' => $v_voucher['store_id']));
                ?>
"><?php 
                echo $v_voucher['store_name'];
                ?>
</a></p>
          </div>
        </li>
        <?php 
            }
            ?>
      </ul>
开发者ID:Maplecms,项目名称:shopnc-yhmall,代码行数:31,代码来源:pointvoucher.php


示例8: intval

<div class="feededitor">
  <form method="post" action="index.php?act=member_snsindex&op=sharestore" id="sharestore_form">
    <input type="hidden" name="form_submit" value="ok"/>
    <input type="hidden" id="choosestoreid" name="choosestoreid" value="<?php 
echo intval($output['store_info']['store_id']);
?>
" />
    <div class="goods">
        <div class="pic"><span class="thumb size90"><i></i><a target="_blank" href="<?php 
echo $output['store_info']['store_url'];
?>
"><img title="<?php 
echo $output['store_info']['store_name'];
?>
" src="<?php 
echo getStoreLogo($output['store_info']['store_label']);
?>
" onload="javascript:DrawImage(this,90,90);" /></a></span></div>
      <dl class="intro">
        <dt><a target="_blank" href="<?php 
echo $output['store_info']['store_url'];
?>
"><?php 
echo $output['store_info']['store_name'];
?>
</a></dt>
        <dd><?php 
echo $lang['sns_sharestore_shopkeeper'] . $lang['nc_colon'];
echo $output['store_info']['member_name'];
?>
</dd>
开发者ID:noikiy,项目名称:nc-1,代码行数:31,代码来源:member_snssharestore_one.php


示例9: getStoreLogo

<ul class="fd-list">
  <?php 
if (!empty($output['strace_info'])) {
    ?>
  <li nc_type="stracerow_<?php 
    echo $output['strace_info']['strace_id'];
    ?>
">
  	<div class="fd-aside">
		<span class="thumb size60"><i></i>
			<a href="index.php?act=store_snshome&sid=<?php 
    echo $output['strace_info']['strace_storeid'];
    ?>
" target="_blank">
				<img src="<?php 
    echo getStoreLogo($output['strace_info']['strace_storelogo']);
    ?>
" onload="javascript:DrawImage(this,60,60);">
			</a>
		</span>
      </div>
    <dl class="fd-wrap">
      <dt>
        <h3><a href="index.php?act=store_snshome&sid=<?php 
    echo $output['strace_info']['strace_storeid'];
    ?>
" target="_blank"><?php 
    echo $output['strace_info']['strace_storename'];
    ?>
</a><?php 
    echo $lang['nc_colon'];
开发者ID:noikiy,项目名称:haifenbao,代码行数:31,代码来源:store_snstraceinfo.php


示例10: if

              <input class="btn" type="submit" value="<?php echo $lang['nc_search'];?>" />
            </div>
          </div>
          <?php }?>
        </div>
      </form>
    </nav>
  </div>
</div>
<ul class="nc-store-list">
<?php if(!empty($output['store_list']) && is_array($output['store_list'])){?>
<?php foreach($output['store_list'] as $skey => $store){?>
    <li class="item">
      <dl class="shop-info">
        <dt class="shop-name"><a href="<?php echo urlShop('show_store','', array('store_id'=>$store['store_id']),$store['store_domain']);?>" target="_blank"><?php echo $store['store_name'];?></a></dt>
        <dd class="shop-pic"><a href="<?php echo urlShop('show_store','', array('store_id'=>$store['store_id']),$store['store_domain']);?>" title="" target="_blank"><span class="size72"><img src="<?php echo getStoreLogo($store['store_label']);?>"  alt="<?php echo $store['store_name'];?>" title="<?php echo $store['store_name'];?>" class="size72" /></span></a></dd>
        <dd class="main-runs" title="<?php echo $store['store_zy']?>"><?php echo $lang['store_class_index_store_zy'].$lang['nc_colon'];?><?php echo $store['store_zy']?></dd>
        <dd class="shopkeeper"><?php echo $lang['store_class_index_owner'].$lang['nc_colon'];?><?php echo $store['member_name'];?><a target="_blank" class="message" href="index.php?act=member_message&op=sendmsg&member_id=<?php echo $store['member_id'];?>"></a><span>
        <?php if(!empty($store['store_qq'])){?>
          <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $store['store_qq'];?>&site=qq&menu=yes" title="QQ: <?php echo $store['store_qq'];?>"><img border="0" src="http://wpa.qq.com/pa?p=2:<?php echo $store['store_qq'];?>:52" style=" vertical-align: middle;"/></a>
        <?php }?>
        <?php if(!empty($store['store_ww'])){?>
          <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=<?php echo $store['store_ww'];?>&site=cntaobao&s=2&charset=<?php echo CHARSET;?>" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=<?php echo $store['store_ww'];?>&site=cntaobao&s=2&charset=<?php echo CHARSET;?>" alt="Wang Wang" style=" vertical-align: middle;" /></a>
        <?php }?></span></dd>
      </dl>
      <dl class="w200">
        <dd><?php echo ($tmp = $store['goods_count']) ? $lang['store_class_index_goods_amount'].$tmp.$lang['piece'] : $lang['nc_common_goods_null'];?></dd>
        <dd><?php echo ($tmp = $store['num_sales_jq']) ? $lang['store_class_index_deal'].$tmp.$lang['store_class_index_jian'] : $lang['nc_common_sell_null'];?></dd>
        <?php if (!empty($store['search_list_goods'])){?>
        <dd class="more-on" attr='morep' nc_type='<?php echo $skey;?>'><span><?php echo $lang['store_class_index_goods_hiden'];?></span><i></i></dd>
        <?php }?>
开发者ID:noikiy,项目名称:ejia,代码行数:31,代码来源:store_list.php


示例11: store_statisticsOp

 /**
  * 店铺信息统计
  */
 public function store_statisticsOp()
 {
     $model_stat = Model('stat');
     $start_time = strtotime(date('Y-m', time()));
     // 当月开始
     // 月销量 月订单
     $condition = array();
     $condition['order_add_time'] = array('gt', $start_time);
     $monthly_sales = $model_stat->getoneByStatorder($condition, 'COUNT(*) as ordernum,SUM(order_amount) as orderamount ');
     // 月访问量
     //确定统计分表名称
     $last_num = $this->store_info['store_id'] % 10;
     //获取店铺ID的末位数字
     $tablenum = ($t = intval(C('flowstat_tablenum'))) > 1 ? $t : 1;
     //处理流量统计记录表数量
     $flow_tablename = ($t = $last_num % $tablenum) > 0 ? "flowstat_{$t}" : 'flowstat';
     $condition = array();
     $condition['store_id'] = $this->store_info['store_id'];
     $condition['stattime'] = array('gt', $start_time);
     $condition['type'] = 'sum';
     $statlist_tmp = $model_stat->getoneByFlowstat($flow_tablename, $condition, 'SUM(clicknum) as amount');
     $output = array('store_name' => $this->store_info['store_name'], 'store_banner' => getStoreLogo($this->store_info['store_banner'], 'store_logo'), 'order_amount' => $monthly_sales['orderamount'], 'order_num' => $monthly_sales['ordernum'], 'click_amount' => $statlist_tmp['amount']);
     output_data(array('statistics' => $output));
 }
开发者ID:noikiy,项目名称:meizhan,代码行数:27,代码来源:seller_store.php


示例12: urlShop

            <a href="<?php 
        echo urlShop('show_store', 'index', array('store_id' => $value['store_id']));
        ?>
" target="_blank" >
                <?php 
        echo $value['store_name'];
        ?>
            </a>
            </dt>
            <dd class="store-logo">
            <a href="<?php 
        echo urlShop('show_store', 'index', array('store_id' => $value['store_id']));
        ?>
" target="_blank" >
                <img src="<?php 
        echo getStoreLogo($value['store_label']);
        ?>
" />
            </a>
            </dd>
            <dd class="member-name">店主:<?php 
        echo $value['member_name'];
        ?>
</dd>
            <dd nctype="btn_store_select" class="handle-button" title="<?php 
        echo $lang['cms_text_add'];
        ?>
"></dd>
        </dl>
        </li>
        <?php 
开发者ID:noikiy,项目名称:nc-1,代码行数:31,代码来源:cms_widget_store_list.php


示例13: getStoreLogo

        <h4><i></i><?php 
echo $lang['microshop_store_new_list'];
?>
<span class="arrow"></span></h4>
      </div>
      <ol nc_type="index_store" style=" background: none; padding-left: 7px;">
        <?php 
if ($store_list_count > 10) {
    ?>

        <?php 
    for ($i = 10; $i < $store_list_count; $i++) {
        ?>

        <li class="overall"><div class="store-pic"><img src="<?php 
        echo getStoreLogo($output['store_list'][$i]['store_logo']);
        ?>
" onload="javascript:DrawImage(this,60,60);" /></div><i><?php 
        echo $i - 9;
        ?>
</i>
          
          <dl class="store-intro">
            <dt><a href="<?php 
        echo MICROSHOP_SITEURL . DS;
        ?>
index.php?act=store&op=detail&store_id=<?php 
        echo $output['store_list'][$i]['microshop_store_id'];
        ?>
" target="_blank"><?php 
        echo $output['store_list'][$i]['store_name'];
开发者ID:noikiy,项目名称:ecmall,代码行数:31,代码来源:index.php


示例14: indexOp

 public function indexOp()
 {
     $goods_class = Model('goods');
     $condition = array();
     $condition['store_id'] = $this->store_info['store_id'];
     $model_goods = Model('goods');
     // 字段
     $fieldstr = "goods_id,goods_commonid,goods_name,goods_jingle,store_id,store_name,goods_price,goods_promotion_price,goods_marketprice,goods_storage,goods_image,goods_freight,goods_salenum,color_id,evaluation_good_star,evaluation_count,goods_promotion_type";
     $fieldstr .= ',is_virtual,is_presell,is_fcode,have_gift';
     //得到最新12个商品列表
     $new_goods_list = $model_goods->getGoodsListByColorDistinct($condition, $fieldstr, 'goods_id desc', 12);
     $condition['goods_commend'] = 1;
     //得到12个推荐商品列表
     $recommended_goods_list = $model_goods->getGoodsListByColorDistinct($condition, $fieldstr, 'goods_id desc', 12);
     $goods_list = $this->getGoodsMore($new_goods_list, $recommended_goods_list);
     $show_sto['new_goods'] = $goods_list[1];
     $show_sto['recommended_goods'] = $goods_list[2];
     //获取缩略图
     foreach ($show_sto['recommended_goods'] as $k => $v) {
         $v['url'] = thumb($v, 240);
         $arr[] = $v;
     }
     $show_store['goods_list_info']['recommended_goods_list'] = $arr;
     foreach ($show_sto['new_goods'] as $kk => $vv) {
         $vv['url'] = thumb($vv, 240);
         $arrr[] = $vv;
     }
     $show_store['goods_list_info']['new_goods_list'] = $arrr;
     //幻灯片图片
     if ($this->store_info['store_slide'] != '' && $this->store_info['store_slide'] != ',,,,') {
         $show_store['goods_list_info']['store_slide'] = explode(',', $this->store_info['store_slide']);
         $show_store['goods_list_info']['store_slide_url'] = explode(',', $this->store_info['store_slide_url']);
     }
     $condon = array();
     foreach ($this->goods_wep_list as $value) {
         $condon[] = $value;
     }
     if (trim($_POST['key']) != '') {
         $model_mb_user_token = Model('mb_user_token');
         $key = trim($_POST['key']);
         $mb_user_token_info = $model_mb_user_token->getMbUserTokenInfoByToken($key);
         $kkyy = $mb_user_token_info['member_id'];
     }
     if ($kkyy > 0) {
         $favorites_model = Model('favorites');
         $favorites_info = $favorites_model->getOneFavorites(array('fav_id' => $this->store_info['store_id'], 'fav_type' => 'store', 'member_id' => $kkyy));
         if (!empty($favorites_info)) {
             $memberid = '1';
             $store_model = Model('store');
             $store_list = $store_model->getStoreList(array('store_id' => array('in', $this->store_info['store_id'])));
         } else {
             $memberid = '0';
         }
     }
     // 轮播
     if ($this->store_info['mb_sliders']) {
         $mbSliders = $this->getStoreMbSliders($this->store_info['store_id']);
         $mbSliderUrls = array();
         foreach ($mbSliders as $k => $v) {
             if ($v['img']) {
                 $mbSliderUrls[$k]['imgUrl'] = UPLOAD_SITE_URL . DS . ATTACH_STORE . DS . $v['img'];
                 $mbSliderUrls[$k]['img'] = $v['img'];
                 $mbSliderUrls[$k]['link'] = $v['link'];
                 $mbSliderUrls[$k]['type'] = $v['type'];
             }
         }
     }
     if ($this->store_info['mb_title_img']) {
         $show_store['goods_list_info']['goods_store']['mb_title_img'] = UPLOAD_SITE_URL . DS . ATTACH_STORE . DS . $this->store_info['mb_title_img'];
     }
     $show_store['goods_list_info']['goods_store']['store_collect'] = $store_list[0]['store_collect'];
     $show_store['goods_list_info']['goods_store']['member_id'] = $memberid;
     $show_store['goods_list_info']['goods_wep_list'] = $condon;
     $show_store['goods_list_info']['goods_store']['store_id'] = $this->store_info['store_id'];
     $show_store['goods_list_info']['goods_store']['store_name'] = $this->store_info['store_name'];
     $show_store['goods_list_info']['goods_store']['store_company_name'] = $this->store_info['store_company_name'];
     $show_store['goods_list_info']['goods_store']['area_info'] = $this->store_info['area_info'];
     $show_store['goods_list_info']['goods_store']['store_address'] = $this->store_info['store_address'];
     $show_store['goods_list_info']['goods_store']['store_banner'] = $this->store_info['store_banner'];
     $show_store['goods_list_info']['goods_store']['store_avatar'] = $this->store_info['store_avatar'];
     $show_store['goods_list_info']['goods_store']['store_qq'] = $this->store_info['store_qq'];
     $show_store['goods_list_info']['goods_store']['store_ww'] = $this->store_info['store_ww'];
     $show_store['goods_list_info']['goods_store']['store_phone'] = $this->store_info['store_phone'];
     //mb_title_img
     $show_store['goods_list_info']['goods_store']['mb_sliders'] = $mbSliderUrls;
     $show_store['goods_list_info']['goods_store']['store_credit'] = $this->store_info['store_credit'];
     $show_store['goods_list_info']['goods_store']['store_labell'] = $this->store_info['store_label'];
     $show_store['goods_list_info']['goods_store']['store_credit_average'] = $this->store_info['store_credit_average'];
     $show_store['goods_list_info']['goods_store']['store_credit_percent'] = $this->store_info['store_credit_percent'];
     $show_store['goods_list_info']['goods_store']['store_label'] = getStoreLogo($show_store['goods_list_info']['goods_store']['store_labell'], 'store_logo');
     output_data($show_store);
 }
开发者ID:1290800466,项目名称:mac_win,代码行数:92,代码来源:show_store.php


示例15: getMemberInfo

 /**
  * 会员相关的信息
  *
  * @param
  * @return array
  */
 public function getMemberInfo($condition)
 {
     $model_member = Model('member');
     $member = $model_member->getMemberInfo($condition, 'member_id,member_name,member_avatar');
     $member['store_id'] = '';
     $member['store_name'] = '';
     $member['store_avatar'] = '';
     $member['grade_id'] = '';
     $member['member_avatar'] = getMemberAvatar($member['member_avatar']);
     $model_seller = Model('seller');
     $seller = $model_seller->getSellerInfo(array('member_id' => $member['member_id']));
     if (!empty($seller) && $seller['store_id'] > 0) {
         $store_info = $this->table('store')->field('store_id,store_name,grade_id,store_avatar')->where(array('store_id' => $seller['store_id']))->find();
         if (is_array($store_info) && !empty($store_info)) {
             $member['store_id'] = $store_info['store_id'];
             $member['store_name'] = $store_info['store_name'];
             $member['seller_name'] = $seller['seller_name'];
             $member['grade_id'] = $store_info['grade_id'];
             $member['store_avatar'] = getStoreLogo($store_info['store_avatar']);
         }
     }
     return $member;
 }
开发者ID:dotku,项目名称:shopnc_cnnewyork,代码行数:29,代码来源:web_chat.model.php


示例16: urlShop

          <ul>
            <li><a href="javascript:collect_store('<?php echo $output['store_info']['store_id'];?>','count','store_collect')" class="btn"><i></i><?php echo $lang['nc_collect'];?></a></li>
            <li><a href="javascript:void(0);" nctype="store_collect" class="no-url"><?php echo $output['store_info']['store_collect'];?></a><span><?php echo $lang['nc_collection_popularity'];?></span></li>
            <li><a href="index.php?act=store_snshome&sid=<?php echo $output['store_info']['store_id'];?>" target="_blank">0</a><span><?php echo $lang['nc_store_the_dynamic'];?></span></li>
            <li><a href="javascript:void(0);" class="share" nctype="share_store"></a><span><?php echo $lang['nc_share'];?></span></li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</header>
<div class="background clearfix">
<div class="ncsl-nav">
  <div class="banner"><a href="<?php echo urlShop('show_store', 'index', array('store_id'=>$output['store_info']['store_id']));?>" class="img">
    <?php if(!empty($output['store_info']['store_banner'])){?>
    <img src="<?php echo getStoreLogo($output['store_info']['store_banner']);?>" alt="<?php echo $output['store_info']['store_name']; ?>" title="<?php echo $output['store_info']['store_name']; ?>" class="pngFix">
    <?php }else{?>
    <div class="ncs-default-banner pngFix"></div>
    <?php }?>
    </a></div>
  <nav id="nav" class="pngFix">
    <ul class="pngFix">
      <li class="<?php if($output['page'] == 'index'){?>active<?php }else{?>normal<?php }?>"><a href="<?php echo urlShop('show_store', 'index', array('store_id'=>$output['store_info']['store_id']));?>"><span><?php echo $lang['nc_store_index'];?><i></i></span></a></li>
      <?php if($output['page'] == 'goods'){?>
      <li class="active"><a href="JavaScript:void(0);"><span><?php echo $lang['nc_goods_info'];?><i></i></span></a></li>
      <?php }?>
      <?php if($output['page'] == 'bundling'){?>
      <li class="active"><a href="JavaScript:void(0);"><span><?php echo $lang['nc_bundling'];?><i></i></span></a></li>
      <?php }?>
      <?php if(!empty($output['store_navigation_list'])){
      		foreach($output['store_navigation_list'] as $value){
开发者ID:noikiy,项目名称:travel,代码行数:31,代码来源:store_layout.php


示例17: foreach

                            </ul>
                            <ul class="ncsc-goods-sku-list"style="display: block;border-top: dashed 1px #E6E6E6;margin-top: 3px;padding-top: 5px;">
                                <?php 
        $ext = $v['ext'];
        ?>
                              
                                <?php 
        foreach ($ext as $bs) {
            ?>
                                <li>
                                    <div class="goods-thumb" title="装修公司:<?php 
            echo $bs['store_name'];
            ?>
">
                                        <img width="60" style="width:100%" src="<?php 
            echo getStoreLogo($bs['store_label'], 'store_avatar');
            ?>
">
                                    </div>
                                    <div class="goods-price">预算:<em title="¥<?php 
            echo $bs['bid_budget'];
            ?>
">¥<?php 
            echo $bs['bid_budget'];
            ?>
万</em></div>
                                    <a class="ncsc-btn-mini" href="javascript:void(0);" onclick="lookup_bid(<?php 
            echo $bs['bid_id'];
            ?>
)">查看详情</a>
                                </li>
开发者ID:lehman3087,项目名称:wanhaoshop,代码行数:31,代码来源:decoration.works.index.php


示例18: foreach

  <?php 
if (is_array($output['strace_array'])) {
    ?>
  <ul class="fd-list">
    <?php 
    foreach ($output['strace_array'] as $val) {
        ?>
    <li nc_type="tracerow_<?php 
        echo $val['strace_id'];
        ?>
">
    <div class="fd-aside"> <span class="thumb size60"><i></i> <a href="index.php?act=store_snshome&sid=<?php 
        echo $val['strace_storeid'];
        ?>
" target="_blank"> <img onload="javascript:DrawImage(this,60,60);" src="<?php 
        echo getStoreLogo($val['strace_storelogo']);
        ?>
"> </a> </span> </div>
      <dl class="fd-wrap">
        <dt>
          <h3><a href="index.php?act=store_snshome&sid=<?php 
        echo $val['strace_storeid'];
        ?>
" target="_blank"><?php 
        echo $val['strace_storename'];
        ?>
</a><?php 
        echo $lang['nc_colon'];
        ?>
</h3>
          <h5><?php 
开发者ID:uwitec,项目名称:xbshop,代码行数:31,代码来源:member_storesns.tracelist.php


示例19: foreach

if (!empty($output['favorites_list']) && is_array($output['favorites_list'])) {
    ?>
    <tbody>
      <?php 
    foreach ($output['favorites_list'] as $key => $favorites) {
        ?>
      <tr class="bd-line">
        <td class="tc"><input type="checkbox" class="checkitem" value="<?php 
        echo $favorites['fav_id'];
        ?>
"/></td>
        <td><div class="goods-pic-small"> <span class="thumb size60"> <i></i><a href="<?php 
        echo urlShop('show_store', 'index', array('store_id' => $favorites['store']['store_id']), $favorites['store']['store_domain']);
        ?>
" target="_blank"><img src="<?php 
        echo getStoreLogo($favorites['store']['store_label']);
        ?>
" onload="javascript:DrawImage(this,60,60);"/></a></span></div></td>
        <td class="tl"><dl class="goods-name">
            <dt><a href="<?php 
        echo urlShop('show_store', 'index', array('store_id' => $favorites['store']['store_id']), $favorites['store']['store_domain']);
        ?>
" target="_blank"><?php 
        echo $favorites['store']['store_name'];
        ?>
</a>
            	<p><?php 
        echo $favorites['store']['area_info'];
        ?>
</p>
            	</dt>
开发者ID:Maplecms,项目名称:shopnc-yhmall,代码行数:31,代码来源:favorites_store_index.php


示例20: urlShop

     <?php 
    }
    ?>
      <?php 
} else {
    ?>
     <!-- 不启用店铺装修 -->
<div class="banner"><a href="<?php 
    echo urlShop('show_store', 'index', array('store_id' => $output['store_info']['store_id']));
    ?>
" class="img">
      <?php 
    if (!empty($output['store_info']['store_banner'])) {
        ?>
      <img src="<?php 
        echo getStoreLogo($output['store_info']['store_banner'], 'store_logo');
        ?>
" alt="<?php 
        echo $output['store_info']['store_name'];
        ?>
" title="<?php 
        echo $output['store_info']['store_name'];
        ?>
" class="pngFix">
      <?php 
    } else {
        ?>
      <div class="ncs-default-banner"></div>
      <?php 
    }
    ?>
开发者ID:flying3615,项目名称:chuniang,代码行数:31,代码来源:store_layout.php



注:本文中的getStoreLogo函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP getStr函数代码示例发布时间:2022-05-15
下一篇:
PHP getStoreJoininImageUrl函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap