<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 uk86_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'];
      <!-- 店铺列表 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 uk86_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 
示例#3
0
</a>
          <a id="btn_sns_share" href="javascript:;" class="share"><i class="pngFix"></i><?php 
echo $lang['microshop_text_share'];
?>
</a></div>
    </div>
  </div>
  <div class="right-box">
    <div class="arrow pngFix"></div>
    <div class="store-logo">
        <a href="<?php 
echo uk86_urlShop('show_store', 'index', array('store_id' => $output['detail']['store_id']), $output['detail']['store_domain']);
?>
" target="_blank"> 
            <img src="<?php 
echo uk86_getStoreLogo($output['detail']['store_label']);
?>
" alt="<?php 
echo $output['detail']['store_name'];
?>
" />
        </a>
    </div>
    <p><a href="<?php 
echo uk86_urlShop('show_store', 'index', array('store_id' => $output['detail']['store_id']), $output['detail']['store_domain']);
?>
" target="_blank"><?php 
echo $lang['microshop_text_enter'] . $lang['microshop_text_store'];
?>
<i></i></a></p>
  </div>
echo uk86_getMemberAvatar($output['member_info']['member_avatar']);
?>
"><i></i></div>
      <textarea placeholder="<?php 
echo $lang['sns_sharestore_contenttip'];
?>
" class="textarea" name="comment" id="content_ssweibo" resize="none" ></textarea>
      <div class="share-goods">
        <div class="goods-thumb"><a target="_blank" href="<?php 
echo $output['store_info']['store_url'];
?>
"><img title="<?php 
echo $output['store_info']['store_name'];
?>
" src="<?php 
echo uk86_getStoreLogo($output['store_info']['store_avatar']);
?>
"/></a></div>
        <dl class="goods-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 $output['store_info']['area_info'];
?>
</dd>
          <dd><?php 
示例#5
0
    foreach ($output['store_list'] as $skey => $store) {
        ?>
    <li class="item">
      <dl class="shop-info">
        <dt class="shop-name"><a href="<?php 
        echo uk86_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 uk86_urlShop('show_store', '', array('store_id' => $store['store_id']), $store['store_domain']);
        ?>
" title="" target="_blank"><span class="size72"><img src="<?php 
        echo uk86_getStoreLogo($store['store_label']);
        ?>
"  alt="<?php 
        echo $store['store_name'];
        ?>
" title="<?php 
        echo $store['store_name'];
        ?>
" class="size72" /></span></a></dd>

        <dd class="shopkeeper"><?php 
        echo $lang['store_class_index_owner'] . $lang['nc_colon'];
        echo $store['member_name'];
        ?>
<a target="_blank" class="message" href="index.php?act=member_message&op=sendmsg&member_id=<?php 
        echo $store['member_id'];
示例#6
0
 protected function get_share_app_store_content($store_info, $param)
 {
     $content_str = "\n            <div class='fd-media'>\n            <div class='goodsimg'><a target=\"_blank\" href=\"{$param['url']}\"><img src=\"" . uk86_getStoreLogo($store_info['store_label']) . "\" onload=\"javascript:DrawImage(this,120,120);\"></a></div>\n            <div class='goodsinfo'>\n            <dl>\n            <dt><a target=\"_blank\" href=\"{$param['url']}\">{$store_info['store_name']}</a></dt>\n            <dd>{$param['comment']}<a target=\"_blank\" href=\"{$param['url']}\">" . Uk86Language::uk86_get('nc_common_goto') . "</a></dd>\n            </dl>\n            </div>\n            </div>\n            ";
     return $content_str;
 }
      <h3>店铺收藏</h3>
    </div>
    <?php 
if (!empty($output['favorites_store_list']) && is_array($output['favorites_store_list'])) {
    ?>
    <div class="ncm-favorites-store">
      <ul id="favoritesStoreList" class="jcarousel-skin-tango">
        <?php 
    foreach ($output['favorites_store_list'] as $key => $favorites) {
        ?>
        <li>
          <div class="ncm-store-pic"><a href="<?php 
        echo uk86_urlShop('show_store', 'index', array('store_id' => $favorites['store']['store_id']), $favorites['store']['store_domain']);
        ?>
" ><img alt="" src="<?php 
        echo uk86_getStoreLogo($favorites['store']['store_avatar']);
        ?>
"></a></div>
          <dl>
            <dt class="ncm-goods-name"><a href="<?php 
        echo uk86_urlShop('show_store', 'index', array('store_id' => $favorites['store']['store_id']), $favorites['store']['store_domain']);
        ?>
" title="<?php 
        echo $favorites['store']['store_name'];
        ?>
" ><?php 
        echo $favorites['store']['store_name'];
        ?>
</a></dt>
            <dd>新品<?php 
        echo $output['goods_count'][$favorites['store']['store_id']];
  <?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 uk86_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 
示例#9
0
  <div class="top-container">
    <div class="basic-info">
      <dl class="ncsc-seller-info">
        <dt class="seller-name">
          <h3><?php 
echo $_SESSION['seller_name'];
?>
</h3>
          <h5>(用户名:<?php 
echo $_SESSION['member_name'];
?>
)</h5>
        </dt>
        <dd class="store-logo">
          <p><img src="<?php 
echo uk86_getStoreLogo($output['store_info']['store_label'], 'store_logo');
?>
"/></p>
          <a href="<?php 
echo uk86_urlShop('store_setting', 'store_setting');
?>
"><i class="icon-edit"></i>编辑店铺设置</a> </dd>
        <dd class="seller-permission">管理权限:<strong><?php 
echo $_SESSION['seller_group_name'];
?>
</strong></dd>
        <dd class="seller-last-login">最后登录:<strong><?php 
echo $_SESSION['seller_last_login_time'];
?>
</strong> </dd>
        <dd class="store-name"><?php 
示例#10
0
     <?php 
    }
    ?>
      <?php 
} else {
    ?>
     <!-- 不启用店铺装修 -->
<div class="banner"><a href="<?php 
    echo uk86_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 uk86_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 
    }
    ?>
示例#11
0
 /**
  * 获得店铺标志、信用、商品数量、店铺评分等信息
  *
  * @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'] = uk86_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;
 }