Exemplo n.º 1
0
        echo $val['order_sn'];
        ?>
</em></span></span><span class="fl ml20">下单时间:<em class="goods-time"><?php 
        echo date("Y-m-d H:i", $val['add_time']);
        ?>
</em></span><span class="fr mr5"> <a href="index.php?act=store_liveorder&op=store_livedetail&order_id=<?php 
        echo $val['order_id'];
        ?>
"  class="ncsc-btn-mini"><i class="icon-compass"></i>查看订单</a> </span></th>
  <tr>
    <td class="bdl"></td>
    <td class="w50"><div class="pic-thumb"><a href="<?php 
        echo urlShop('show_live_groupbuy', 'groupbuy_detail', array('groupbuy_id' => $val['groupbuy_id']));
        ?>
" target="_blank"><img src="<?php 
        echo lgthumb($val['groupbuy_pic'], 'small');
        ?>
"/></a></div></td>
    <td class="tl"><dl class="goods-name">
        <dt><a target="_blank" href="<?php 
        echo urlShop('show_live_groupbuy', 'groupbuy_detail', array('groupbuy_id' => $val['groupbuy_id']));
        ?>
"><?php 
        echo $val['item_name'];
        ?>
</a></dt>
        <dd></dd>
      </dl></td>
    <td><?php 
        echo $val['groupbuy_price'];
        ?>
          <p><i class="icon-upload-alt"></i>图片上传</p>
          </a> </div>
        <span></span>
        <p class="hint">用于抢购活动页面的图片,请使用宽度440像素、高度293像素、大小1M内的图片,
          支持jpg、jpeg、gif、png格式上传。</p>
      </dd>
    </dl>
    <dl>
      <dt>抢购推荐位图片<?php 
echo $lang['nc_colon'];
?>
</dt>
      <dd>
        <div class="ncsc-upload-thumb groupbuy-commend-pic">
          <p><i class="icon-picture"></i> <img nctype="img_groupbuy_image" src="<?php 
echo lgthumb($output['groupbuy']['groupbuy_pic1'], 'max');
?>
"/></p>
        </div>
        <input nctype="groupbuy_image" name="groupbuy_image1" type="hidden" value="">
        <div class="ncsc-upload-btn"> <a href="javascript:void(0);"> <span>
          <input type="file" hidefocus="true" size="1" class="input-file" name="groupbuy_image" nctype="btn_upload_image"/>
          </span>
          <p><i class="icon-upload-alt"></i>图片上传</p>
          </a> </div>
        <span></span>
        <p class="hint">用于抢购页侧边推荐位,首页等推荐位的图片,请使用宽度210像素、高度180像素、大小1M内的图片,
          支持jpg、jpeg、gif、png格式上传。</p>
      </dd>
    </dl>
    <dl>
Exemplo n.º 3
0
                <th></th>
                <th>抢购信息</th>
                <th class="align-center">单价</th>
                <th class="align-center">数量</th>
                <th class="align-center">总额</th>
              </tr>
              <tr>
                <td class="w60 picture">
					<div class="size-56x56"><span class="thumb size-56x56"><i></i><a href="<?php 
echo SHOP_SITE_URL;
?>
/index.php?act=show_live_groupbuy&op=groupbuy_detail&groupbuy_id=<?php 
echo $output['live_order']['groupbuy_id'];
?>
" target="_blank"><img src="<?php 
echo lgthumb($output['live_order']['groupbuy_pic'], 'small');
?>
" style=" max-width: 56px; max-height: 56px;" /> </a></span></div>
				</td>
                <td class="w50pre">
					<p><a href="<?php 
echo SHOP_SITE_URL;
?>
/index.php?act=show_live_groupbuy&op=groupbuy_detail&groupbuy_id=<?php 
echo $output['live_order']['groupbuy_id'];
?>
" target="_blank"><?php 
echo $output['live_order']['item_name'];
?>
</a></p>
				</td>
      <ul>
        <?php 
    foreach ($output['live_groupbuy'] as $groupbuy) {
        ?>
        <li class="<?php 
        echo $output['current'];
        ?>
">
          <div class="ncg-list-content"> <a title="<?php 
        echo $groupbuy['groupbuy_name'];
        ?>
" href="<?php 
        echo urlShop('show_live_groupbuy', 'groupbuy_detail', array('groupbuy_id' => $groupbuy['groupbuy_id']));
        ?>
" class="pic-thumb" target="_blank"><img src="<?php 
        echo lgthumb($groupbuy['groupbuy_pic'], 'mid');
        ?>
" alt=""></a>
            <h3 class="title"><a title="<?php 
        echo $groupbuy['groupbuy_name'];
        ?>
" href="<?php 
        echo urlShop('show_live_groupbuy', 'groupbuy_detail', array('groupbuy_id' => $groupbuy['groupbuy_id']));
        ?>
" target="_blank"><?php 
        echo $groupbuy['groupbuy_name'];
        ?>
</a></h3>
            <div class="item-prices"> <span class="price"><i><?php 
        echo $lang['currency'];
        ?>
Exemplo n.º 5
0
 /**
  * 上传图片
  **/
 public function image_uploadOp()
 {
     if (!empty($_POST['old_groupbuy_image'])) {
         $this->_image_del($_POST['old_groupbuy_image']);
     }
     $file = 'groupbuy_image';
     $data = array();
     $data['result'] = true;
     if (!empty($_FILES[$file]['name'])) {
         $upload = new UploadFile();
         $uploaddir = ATTACH_PATH . DS . 'livegroupbuy' . DS . $_SESSION['store_id'] . DS;
         $upload->set('default_dir', $uploaddir);
         $upload->set('thumb_width', '480,296,168');
         $upload->set('thumb_height', '480,296,168');
         $upload->set('thumb_ext', '_max,_mid,_small');
         $upload->set('fprefix', $_SESSION['store_id']);
         $result = $upload->upfile($file);
         if ($result) {
             $data['file_name'] = $upload->file_name;
             $data['origin_file_name'] = $_FILES[$file]['name'];
             $data['file_url'] = lgthumb($upload->file_name, 'mid');
         } else {
             $data['result'] = false;
             $data['message'] = $upload->error;
         }
     } else {
         $data['result'] = false;
     }
     echo json_encode($data);
     die;
 }
Exemplo n.º 6
0
          <?php 
    foreach ($output['recommend_live_groupbuy'] as $hot_groupbuy) {
        ?>
          <dl>
            <dt class="name"><a href="<?php 
        echo urlShop('show_live_groupbuy', 'groupbuy_detail', array('groupbuy_id' => $hot_groupbuy['groupbuy_id']));
        ?>
" target="_blank"><?php 
        echo $hot_groupbuy['groupbuy_name'];
        ?>
</a></dt>
            <dd class="pic-thumb"><a href="<?php 
        echo urlShop('show_live_groupbuy', 'groupbuy_detail', array('groupbuy_id' => $hot_groupbuy['groupbuy_id']));
        ?>
" target="_blank"><img src="<?php 
        echo lgthumb($hot_groupbuy['groupbuy_pic'], 'max');
        ?>
"></a></dd>
            <dd class="item"><a href="<?php 
        echo urlShop('show_live_groupbuy', 'groupbuy_detail', array('groupbuy_id' => $hot_groupbuy['groupbuy_id']));
        ?>
" target="_blank"><?php 
        echo $lang['to_see'];
        ?>
</a> <span class="price"><?php 
        echo $lang['currency'] . $hot_groupbuy['groupbuy_price'];
        ?>
</span> <span class="buy"><em><?php 
        echo $hot_groupbuy['buyer_num'];
        ?>
</em><?php 
Exemplo n.º 7
0
        <th class="w70">&nbsp;</th>
        <th class="w200">抢购名称</th>
        <th class="w100">数量</th>
        <th class="w100">价格</th>
		<th class="w100">会员名称</th>
      </tr>
    </thead>
    <tbody>
      <tr class="bd-line">
		<td></td>
		<td>
			<div class="goods-pic-small"><span class="thumb size60"><i></i><a target="_blank" href="<?php 
echo urlShop('show_live_groupbuy', 'groupbuy_detail', array('groupbuy_id' => $output['live_groupbuy']['groupbuy_id']));
?>
"><img src="<?php 
echo lgthumb($output['live_groupbuy']['groupbuy_pic'], 20);
?>
" /></a></span></div>		
		</td>
		<td><a target="_blank" href="<?php 
echo urlShop('show_live_groupbuy', 'groupbuy_detail', array('groupbuy_id' => $output['live_groupbuy']['groupbuy_id']));
?>
"><?php 
echo $output['order']['item_name'];
?>
</a></td>
		<td><?php 
echo $output['order']['number'];
?>
</td>
		<td><?php