echo $charity['name'];
?>
" require="true" datatype="require" class="f-input" /></td></tr>

		<tr><td nowrap><b>Description:</b></td><td><textarea cols="45" rows="5" name="description" id="team-create-userreview" class="noclass"><?php 
echo htmlspecialchars($charity['description']);
?>
</textarea></td></tr>

		<tr><td nowrap><b>Image: </b></td><td><input type="file" size="30" name="upload_image" id="team-create-image1" class="f-input" />

						<?php 
if ($charity['image']) {
    ?>
<span class="hint"><img alt="" src="<?php 
    echo team_image($charity['image']);
    ?>
"></span><?php 
}
?>
</td></tr>

		<tr><td colspan="2" height="10">&nbsp;</td></tr>

		<tr><td></td><td><input type="submit" value="Submit" class="formbutton" /></td></tr>

	</table>

</form>

	</div>
Пример #2
0
     $longlat = explode(',', $team['partner_longlat']);
     $longlat = $longlat[1] . ',' . $longlat[0];
     $xml .= "<coords>" . $longlat . "</coords>";
 } else {
     $xml .= "<coords></coords>";
 }
 /* 处理分类 end */
 $dex++;
 if ($dex == 1) {
     $xml .= "<major>" . $dex . "</major>";
 } else {
     $xml .= "<major>0</major>";
 }
 $xml .= "<title><![CDATA[" . $team['title'] . "]]></title>";
 $xml .= "<shortTitle><![CDATA[" . $team['product'] . "]]></shortTitle>";
 $xml .= "<image>" . team_image($team['image']) . "</image>";
 $xml .= "<startTime>" . $team['begin_time'] . "</startTime>";
 $xml .= "<endTime>" . $team['end_time'] . "</endTime>";
 $xml .= "<value>" . $team['market_price'] . "</value>";
 $xml .= "<price>" . $team['team_price'] . "</price>";
 $rebate = round($team['team_price'] / $team['market_price'] * 10, 2);
 $xml .= "<rebate>" . $rebate . "</rebate>";
 $xml .= "<bought>" . $team['now_number'] . "</bought>";
 $xml .= "<name><![CDATA[" . $team['product'] . "]]></name>";
 $xml .= "<spendEndTime><![CDATA[" . $team['expire_time'] . "]]></spendEndTime>";
 $xml .= "<reservation>1</reservation>";
 $xml .= "<tips><![CDATA[" . $team['notice'] . "]]></tips>";
 $xml .= "<seller><![CDATA[" . $team['partner_title'] . "]]></seller>";
 $xml .= "<phone><![CDATA[" . $team['partner_phone'] . "]]></phone>";
 $xml .= "<shops>";
 $xml .= "<shop>";
Пример #3
0
foreach ($teams as $one) {
    $city = $cities[$one['city_id']];
    $group = $groups[$one['group_id']];
    $item = array();
    $item['loc'] = $si['wwwprefix'] . "/team.php?id={$one['id']}";
    $item['data'] = array();
    $item['data']['display'] = array();
    $item['data']['shops']['shop'] = array();
    $o = array();
    $o['website'] = $INI['system']['sitename'];
    $o['identifier'] = $one['id'];
    $o['siteurl'] = $INI['system']['wwwprefix'];
    ($o['city'] = $city) || ($o['city'] = '全国');
    ($o['tag'] = $group) || ($o['tag'] = '无');
    $o['title'] = $one['title'];
    $o['image'] = team_image($one['image'], true);
    $o['startTime'] = $one['begin_time'];
    $o['endTime'] = $one['end_time'];
    $o['value'] = $one['market_price'];
    $o['price'] = $one['team_price'];
    if ($one['market_price'] > 0) {
        $o['rebate'] = moneyit(10 * $one['team_price'] / $one['market_price']);
    } else {
        $o['rebate'] = '0';
    }
    $o['bought'] = abs(intval($one['now_number']));
    $o['maxQuota'] = $one['max_number'];
    $o['minQuota'] = $one['min_number'];
    $o['post'] = $one['delivery'] == 'express' ? 'yes' : 'no';
    $o['soldOut'] = $one['now_number'] > $one['max_num'] && $one['max_num'] > 0 ? 'yes' : 'no';
    $o['tip'] = $one['notice'];
Пример #4
0
     	<?php echo $mobile_login_partner['username']; ?>
     	<?php if($mobile_login_partner['fid'] == 0){?>
     	(<?php echo $mobile_login_partner['title']; ?>)
     	<?php } else { ?>
     	(<?php echo $store['name']; ?>)
     	<?php }?>
     </div>
	 <button id="btn-default">菜单</button>
</div>	
<div id="page">
    <div class="cont">
		<?php if(is_array($teams)){foreach($teams AS $index=>$one) { ?>
		<a href="/y/report.php?action=view&id=<?php echo $one['id']; ?>" class="a-repeat">
		<div class="mobile-content-box">
        <div style="line-height:1.1; margin-bottom:10px"><?php echo $one['product']; ?></div>
			<img src="<?php echo team_image($one['image']); ?>" width="120" style="float:left;margin-right:10px;"/>
			<div>
				
				<div style="color:#00A394;margin-top:3px">
					已售出:<strong><?php echo $one['now_number']; ?></strong>
                    </div>
                <div style="color:#F00;">
                    已验证消费:<strong><?php echo $one['consume_num']; ?></strong>
				</div>
				<div style="color:#999999;">
				结束:<?php echo date('Y-m-d',$one['end_time']); ?>
				</div>
			</div><div style="clear:both"></div>
		</div>
		</a>
		<?php }}?>
Пример #5
0
}
if ($ename || $city) {
    $condition['city_id'] = $city['id'];
}
/* end city filter */
$teams = DB::LimitQuery('team', array('condition' => $condition));
$oa = array();
$si = array('site_name' => $INI['system']['sitename'], 'site_title' => $INI['system']['sitetitle'], 'site_url' => $INI['system']['wwwprefix']);
foreach ($teams as $one) {
    $city = Table::Fetch('category', $one['city_id']);
    $group = Table::Fetch('category', $one['group_id']);
    team_state($one);
    $o = array();
    $o['id'] = $one['id'];
    $o['large_image_url'] = team_image($one['image']);
    $o['small_image_url'] = team_image($one['image'], true);
    $o['title'] = $one['title'];
    $o['product'] = $one['product'];
    $o['team_price'] = $one['team_price'];
    $o['market_price'] = $one['market_price'];
    $o['rebate'] = team_discount($one);
    $o['start_date'] = date('c', $one['begin_time']);
    $o['end_date'] = date('c', $one['end_time']);
    $o['state'] = $one['state'];
    $o['tipped'] = $one['reach_time'] > 0;
    $o['tipped_date'] = date('c', $one['reach_time']);
    $o['tipping_point'] = abs(intval($one['min_number']));
    $o['current_point'] = abs(intval($one['now_number']));
    $co = array();
    $co['limited_quantity'] = $one['per_number'] > 0;
    $co['maximum_purchase'] = abs(intval($one['per_number']));
Пример #6
0
		</div>

		<div class="products-details-box-right">

		<a title="<?php 
        echo $one['title'];
        ?>
" href="/team.php?id=<?php 
        echo $one['id'];
        ?>
"><img alt="<?php 
        echo $one['title'];
        ?>
" src="<?php 
        echo team_image($one['image']);
        ?>
" width="190" height="105"></a>

		</div>

		</div>

		</div>

<?php 
    }
}
?>
<div class="clr"></div>
					<div><?php 
Пример #7
0
				

				<ul class="result_list <?php echo ($index+1)%3==0?'no_mr':''; ?>">

					<li class="list_photo">

						<?php if($one['begin_time']==$daytime){?>

						<div class="team_old_new"></div>

						<?php }?>



						<a  title="<?php echo $one['title']; ?>" href="/team.php?id=<?php echo $one['id']; ?>" target="_blank" rel="nofollow"><img mce_src="<?php echo team_image($one['image'],true); ?>" width="234" height="141"  alt="<?php echo $one['title']; ?>"/ lowsrc="http://www.milituan.net/static/theme/milituan/css/i/lowsrc_logo.gif"> </a>

					</li>

					<li class="list_name_1">

						<p>

							<a title="<?php echo $one['title']; ?>" href="/team.php?id=<?php echo $one['id']; ?>" target="_blank"><?php echo mb_strimwidth($one['title'],0,86,'...'); ?></a>

						</p>

					</li>

					<li class="list_price">
Пример #8
0
        <div class="body">

            <section id="search-box">

                <form id="search-form" action="search.php" method="get">
                    <input id="keyword" name="searchName"  value="<?php echo $searchName; ?>" x-webkit-speech="" placeholder="请输入商品名称、地址等" type="search">
                    <input value="搜索" type="submit">
                </form>

            </section>
            <?php if($searchName){?>
        <h2>找到<strong><?php echo $searchName; ?></strong>相关团购<strong><?php echo $count; ?></strong>个</h2><div id="deals">
        <?php if(is_array($teams)){foreach($teams AS $index=>$team) { ?>
                <section>
                    <a data-dealid="<?php echo $one['id']; ?>" href="team.php?id=<?php echo $one['id']; ?>"><?php if($team['begin_time'] + 3600*24 > time()){?><label class="mark new"><i></i>新单</label><?php } else if($team['now_number'] >= 200) { ?><label class="mark new"><i></i>热销</label><?php }?>
                        <img alt="图片载入中……" src="<?php echo team_image($team['image'], true); ?>" height="74" width="122">
                        <detail>
                            <ul>
                                <li class="brand">  <?php $partner_id = $team['partner_id'];$partner = Table::Fetch('partner',$partner_id);; ?><?php echo $partner['title']; ?></li>
                                <li class="title indent">【<?php echo $team['team_quyu']; ?>】<?php echo mb_strimwidth($team['team_jybt'],0, 34,'...'); ?></li>
                                <li class="price"><strong><?php echo moneyit($team['team_price']); ?></strong>元<del><?php echo moneyit($team['market_price']); ?>元</del><span><?php echo $team['now_number']; ?>人</span></li>
                            </ul>
                        </detail>
                    </a>
                </section>
         <?php }}?>
         <?php }?>
            
             
            
                
Пример #9
0
        </div>
        
        
    </div>
    <div class="search_list" >

         <!-- 正常搜索结果 -->
         <div class="search_result" >
<?php if(is_array($teams)){foreach($teams AS $index=>$one) { ?>
<ul class="result_list <?php echo $index%3==2?'no_mr':''; ?>">

  <li class="list_photo">
  <?php if($one['begin_time']==$daytime){?>
<div class="team_old_new"></div>
<?php }?>
   <a  href="http://www.milituan.net/team/<?php echo $one['id']; ?>.html" target="_blank" rel="nofollow"><img mce_src="<?php echo team_image($one['image']); ?>" width="300" height="180"/ lowsrc="http://www.milituan.net/static/theme/milituan/css/i/lowsrc_logo300x180.gif"> </a> </li><?php $partner_id = $one['partner_id'];$partner = Table::Fetch('partner',$partner_id);; ?>
  <li class="list_name_2"> <h3> <a href="http://www.milituan.net/team/<?php echo $one['id']; ?>.html" target="_blank"><span class="xtitle">【<?php echo $one['team_quyu']; ?>】<?php echo $partner['title']; ?></span><span class="short-title"><?php echo mb_strimwidth($one['team_jybt'],0, 38,'...'); ?></span></a></h3></li>
  <li class="list_price">
    <div class="left">
      <font class="arial font24px fontred"><?php echo $currency; ?> <?php echo moneyit($one['team_price']); ?>
        </font>
    </div>
    <div class="right">原价:<?php echo moneyit($one['market_price']); ?>元</div>
     <div class="detail"><a rel="nofollow" class="buy" hidefocus="true" target="_blank" href="http://www.milituan.net/team/<?php echo $one['id']; ?>.html"></a></div>
  </li>
  <li class="list_address">
    <div class="left" style="position:relative;"><em><strong><?php echo $one['now_number']; ?></strong></em>人已团购
    </div>
        <div class="address_info"></div>
  </li>
  <li class="list_shadow" style="border-top:1px solid #EAE2E7;"></li>
Пример #10
0
                                     
                        <div class="field">
                            <label>手机号码</label>
                            <input type="text" size="30" name="mobile" id="partner-create-mobile" class="f-input f-hint" value="<?php echo $partner['mobile']; ?>" maxLength="11" />
						</div>     <div class="field">
                            <label>品牌满意率</label>
                            <input type="text" size="30" name="bank_user" id="partner-create-bankuser" class="f-input f-hint" value="<?php echo $partner['bank_user']; ?>"/>
                        </div>
                        <div class="field">
                            <label>位置信息</label>
                            <div style="float:left;"><textarea cols="45" rows="5" name="location" id="partner-create-location" class="f-textarea editor"><?php echo htmlspecialchars($partner['location']); ?></textarea></div>
						</div>
                        	<div class="field">
							<label>店家介绍左侧</label>
							<input type="file" size="30" name="upload_image2" id="team-create-image2" class="f-input f-hint" />
							<?php if($partner['image2']){?><span class="hint"><?php echo team_image($partner['image2']); ?></span><?php }?>
						</div><div class="field">
                            <label>公司介绍</label>
                            <div style="float:left;"><textarea cols="45" rows="5" name="other" id="partner-create-other" class="f-textarea editor"><?php echo htmlspecialchars($partner['other']); ?></textarea></div>
						</div>
                        <div class="field">
                            <label>商家介绍</label>
                            <div style="float:left;"><textarea cols="45" rows="5" name="psjjs" id="partner-create-psjjs" class="f-textarea editor"><?php echo htmlspecialchars($partner['psjjs']); ?></textarea></div>
						</div>
						
						<div class="wholetip clear"><h3>5、打款信息</h3></div>
<div class="field">
                            <label>开户名</label>
                            <input type="text" size="30" name="bank_user_xm" id="partner-create-bank_user_xm" class="f-input f-hint" value="<?php echo $partner['bank_user_xm']; ?>"/>
                      </div><div class="field">
                            <label>开户行</label>
Пример #11
0
<div id="bd" class="cf">
<div id="recent-deals">
    <div id="content">
        <div class="box">
            
            <div class="box-content">
                <div class="head"><h2><?php echo $city['name']; ?><?php echo $pagetitle; ?></h2></div>
				<div class="sect">
					<ul class="deals-list">
					<?php if(is_array($teams)){foreach($teams AS $index=>$one) { ?>
						<li class="<?php echo $index++%2?'alt':''; ?> <?php echo $index<=2?'first':''; ?>">
							<p class="time"><?php echo date('Y年n月j日', $one['begin_time']); ?> - <?php echo date('Y年n月j日', $one['end_time']); ?></p>
							<h4><a href="/team.php?id=<?php echo $one['id']; ?>" title="<?php echo $one['title']; ?>" target="_blank"><?php echo mb_strimwidth($one['title'],0,86,'...'); ?></a></h4>
							<div class="pic">
								<div class="<?php echo $one['picclass']; ?>"></div>
								<a href="/team.php?id=<?php echo $one['id']; ?>" title="<?php echo $one['title']; ?>" target="_blank"><img alt="<?php echo $one['title']; ?>" src="<?php echo team_image($one['image'], true); ?>" width="200" height="121"></a>
							</div>
							<div class="info"><p class="total"><strong class="count"><?php echo $one['now_number']; ?></strong>人购买</p><p class="price">原价:<strong class="old"><span class="money"><?php echo $currency; ?></span><?php echo moneyit($one['market_price']); ?></strong><br />折扣:<strong class="discount"><?php echo moneyit((10*$one['team_price']/$one['market_price'])); ?>折</strong><br />现价:<strong><span class="money"><?php echo $currency; ?></span><?php echo moneyit($one['team_price']); ?></strong><br />节省:<strong><span class="money"><?php echo $currency; ?></span><?php echo moneyit($one['market_price']-$one['team_price']); ?></strong><br /></p></div>
						</li>
					<?php }}?>
					</ul>
					<div class="clear"></div>
					<div><?php echo $pagestring; ?></div>
				</div>
            </div>
         
        </div>
    </div>
	<div id="sidebar">
		<?php include template("block_side_subscribe");?>
	</div>
Пример #12
0
		})
	})

</script>



	<div class="sbox-content look-history-view">
    
	<?php if($allView){?>
	<ul class="h-hotlist">
	<?php if(is_array($allView)){foreach($allView AS $index=>$aone) { ?>
     <li id="history-list" onMouseOver="document.all.menulayer_<?php echo $index; ?>.style.display=''" onMouseOut="document.all.menulayer_<?php echo $index; ?>.style.display='none'">
    <h5 class="h-title"><a href="/team.php?id=<?php echo $aone['id']; ?>" target="_blank"><?php echo $aone['product']; ?>,<?php echo $aone['team_quyu']; ?></a></h5>
    <div class="h-info">
   <a title="<?php echo $aone['product']; ?>,<?php echo $aone['team_quyu']; ?>" href="/team.php?id=<?php echo $aone['id']; ?>" target="_blank"><img src="<?php echo team_image($aone['image'],true); ?>" width="80" height="48"></a>
    <p class="h-price">
    <em class="h-aone-1">¥<?php echo moneyit($aone['team_price']); ?></em>
    <span class="h-aone-2"> (<?php echo team_discount($aone); ?>折)</span>
    </p>
    <p class="h-buy-default plz-deal-team"></p>
    <p id="menulayer_<?php echo $index; ?>" class="h-buy-activating" style="display:none;">
    <span class="h-qg"><a class="h-block plz-deal-team" href="#" title="立即抢购"></a></span>
    <span class="h-gwl"><a class="h-block plz-deal-team" href="#" title="加入购物篮"></a></span>
    <span class="h-sc"><a class="h-block plz-deal-team" href="#" title="收藏本单"></a></span>
    </p>
    </div>
    </li>
    <div class="cl"></div>
	<?php }}?>
       <div class="h-clear">
Пример #13
0
			"end_time > '$others_now'",
			"((city_ids like '%@$others_city_id@%' or city_ids like '%@0@%') or (city_ids = '' and city_id in(0,$others_city_id)))",
			);
	$others = DB::LimitQuery('team', array(
				'condition' => $oc,
                  'order' => 'ORDER BY now_number DESC', 
                   'size' => $others_side_ns,
			
				));
}
; ?>
<?php if($others){?>


             
        <ul class="tuijian">
		<?php $index=0; ?>
		<?php if(is_array($others)){foreach($others AS $one) { ?>
<li>   <h5> <a href="/team.php?id=<?php echo $one['id']; ?>" target="_blank"><?php echo mb_strimwidth($one['title'],0, 96,'...'); ?></a> </h5>
			<?php if($one['image']){?><a href="/team.php?id=<?php echo $one['id']; ?>"><img src="<?php echo team_image($one['image'], true); ?>" width="110" height="79" border="0" /></a><?php }?>
      <s class="price1"><?php echo $currency; ?><?php echo moneyit($one['team_price']); ?></s><s class="price2">原价: <?php echo $currency; ?><?php echo moneyit($one['market_price']); ?></s><p class="price3"> <?php if(trim($one['now_number'])){?>
            <?php echo $one['now_number']; ?>人已购买
            <?php } else { ?>赶快来抢购吧!
             <?php }?>
        </p>			
		<s class="price3"><ahref="/team.php?id=<?php echo $one['id']; ?>" target="_blank"></a></s></li>
		<?php }}?>
</ul>

<?php }?>
Пример #14
0
<?php include template("m_header");?>
<style>
.img {background:url(<?php echo team_image($team['image'],false,false,true); ?>) no-repeat 50% 50%;background-size:138px 84px;}
</style>
<div id="deal">
	<div class="dealInfo">
		<h1><?php echo $team['title']; ?></h1>
		<div style="width:138px;height:84px;" class="img"></div>
		<detail>
            <ul>
                <li class="price"><span>¥</span><?php echo $team['team_price']; ?></li>
                <li class="remain">
                	<?php if($left_day >= 3){?>
                	剩余3天以上
                	<?php } else { ?>
                	剩<?php echo $left_day; ?>天<?php echo $left_hour; ?>小时<?php echo $left_minute; ?>分<?php echo $left_time; ?>秒
                	<?php }?>
               	</li>
                <li class="count"><strong><?php echo $team['now_number']; ?></strong>人已购买</li>
            </ul>
        </detail>
	</div>
	<div style="margin:8px 0px;padding:0px 8px;">
		<a class="pure-button a-full-button pure-button-primary" href="buy.php?id=<?php echo $team['id']; ?>" style="margin:0px auto;width:100%;display:block;">点击购买</a>
	</div>
	<div class="deal-box">
		<h1 class="accordion-toggle" id="buy-must">购买须知</h1>
		<div class="tab-box" id="cnt-buy-must" style="display:block;">
			<?php echo $team['notice']; ?>
		</div>
	</div>
Пример #15
0
<?php include template("m_header");?>
	<div class="cnt-menu">
		<ul>
			<li><a href="myorder.php?s=unpay">未付款</a></li>
			<li><a href="myorder.php?s=pay">已付款</a></li>			
			<li class="current"><a href="myorder.php?s=goods">实物单</a></li>			
		</ul>
	</div>
	<?php if(count($orders) > 0){?>
	<?php if(is_array($orders)){foreach($orders AS $index=>$order) { ?>
	<a class="order-list" href="order.php?id=<?php echo $order['id']; ?>">
		<div class="img"><img width="100" src="<?php echo team_image($teams[$order['team_id']]['image']); ?>"/></div>
		<div class="coupon-cnt">
			<strong><?php echo $teams[$order['team_id']]['product']; ?></strong>
			<span>订单详情</span>
		</div>
		<div class="clear"></div>
	</a> 
	<?php }}?>
	<div><?php echo $pagestring; ?></div>
	<?php } else { ?>
	<div class="box-empty">暂无相关订单</div>
	<?php }?>
<?php include template("m_footer");?>
Пример #16
0
						<span class="hint">格式如:{黄色}{绿色}{红色}@{大号}{中号}{小号}@{男款}{女款},分组使用@符号分隔 , 用户购买的必选项</span>
					</div>
					<div class="field">
						<label>商品图片</label>
						<input type="file" size="30" name="upload_image" id="team-create-image" class="f-input" />
						<?php if($team['image']){?><span class="hint"><?php echo team_image($team['image']); ?></span><?php }?>
					</div>
					<!--<div class="field">
						<label>商品图片1</label>
						<input type="file" size="30" name="upload_image1" id="team-create-image1" class="f-input" />-->
						<?php if($team['image1']){?><!--<span class="hint" id="team_image_1"><?php echo team_image($team['image1']); ?>&nbsp;&nbsp;<a href="javascript:;" onclick="X.team.imageremove(<?php echo $team['id']; ?>, 1);">删除</a></span>--><?php }?>
					<!--</div>
					<div class="field">
						<label>商品图片2</label>
						<input type="file" size="30" name="upload_image2" id="team-create-image2" class="f-input" />
						--><?php if($team['image2']){?><!--<span class="hint" id="team_image_2"><?php echo team_image($team['image2']); ?>&nbsp;&nbsp;<a href="javascript:;" onclick="X.team.imageremove(<?php echo $team['id']; ?>, 2);">删除</a></span>--><?php }?>
					<!--</div>
					<div class="field">
						<label>FLV视频短片</label>
						<input type="text" size="30" name="flv" id="team-create-flv" class="f-input" value="<?php echo $team['flv']; ?>" />
						<span class="hint">形式如:http://.../video.flv</span>
					</div>-->
                    <div class="field">
						<label>内容</label>
						<div style="float:left;"><textarea cols="45" rows="5" name="systemreview" id="team-create-systemreview" class="f-textarea editor" style="width:710px;height:150px;"><?php echo htmlspecialchars($team['systemreview']); ?></textarea></div>
					</div>
                    <div class="field">
						<label>内容B</label>
						<div style="float:left;"><textarea cols="45" rows="5" name="teamviewb" id="team-create-teamviewb" class="f-textarea editor" style="width:710px;height:150px;"><?php echo htmlspecialchars($team['teamviewb']); ?></textarea></div>
                        <span class="hint">套餐内容为预付、多套餐时用本字段</span>
					</div>
Пример #17
0
                    <a class="goback" href="javascript:history.back()"><label gaevent="InnerLink|Click|touch/back">返回</label></a>
                </div>
                <h1>团购详情</h1>
            </header>
         <?php include template("wap_header");?>
<?php $notice = Session::Get('notice', true); ?>
<?php if($notice){?>
<p id="okMsg" ><?php echo $notice; ?></p>
<?php }?>
<?php $error = Session::Get('error', true); ?>
<?php if($error){?>
<p id="okMsg"  ><?php echo $error; ?></p>
<?php }?>
        <section id="dealIntro">
            <h1><?php echo $team['title']; ?></h1>
            <img alt="图片载入中……" width="138" height="84" src="<?php echo team_image($team['image'], true); ?>" />
            <detail>
                <ul>
                    <li class="price"><label><?php echo $currency; ?></label><?php echo moneyit($team['team_price']); ?></li>
                    <li class="remain"> <?php if($left_day>0){?><span><?php echo $left_day; ?></span>天&nbsp;<span><?php echo $left_hour; ?></span>小时&nbsp;<span><?php echo $left_minute; ?></span>分钟
						<?php } else { ?>
	  <span><?php echo $left_hour; ?></span>小时&nbsp;<span><?php echo $left_minute; ?></span>分钟&nbsp;<span><?php echo $left_time; ?></span>秒<?php }?><!--{/if}--></li>
                    <li class="count"><strong><?php echo $team['now_number']; ?></strong>人已购买</li>
                </ul>
            </detail>
            <p class="protect"><?php if($team['tksq-gm'] == Y){?><span>支持24h退款</span><?php } else { ?><span class="no">不支持购买退款</span><?php }?><?php if($team['tksq-gq'] == Y){?><span>支持过期48h退款</span> <?php } else { ?> <span class="no">不支持过期退款</span><?php }?></p>
        </section>
    <div style="margin:0 10px;">
    
    <?php if($team['state']=='soldout'){?> <p class="c-submit" style="background-color:#C4C4C4;border: 1px solid #585858;"><a href="#" style="background-color:#8D8D8D">已售罄</a></p><?php } else if($team['close_time']) { ?><p class="c-submit"><p class="c-submit" style="background-color:#C4C4C4;border: 1px solid #585858;"><a href="#" style="background-color:#8D8D8D">已结束</a></p></p><?php } else { ?><p class="c-submit"><a gaevent="InnerLink|Click|touch/button/buy" href="buy.php?id=<?php echo $team['id']; ?>">立即购买</a></p><?php }?>
</div>
Пример #18
0
    <div id="deal-buy" class="box boxcj" >
       
        <div class="box-content"  >
            <div class="head" >
              <h2>抽奖详情
            </h2>
            </div> <?php if($team['draw_rebate'] == '1'){?> <!-- 开启返利 -->
          <div class="sjhb"> <table  border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr>
    <td height="25" bgcolor="#FFDFF3"><span style="padding-left:5px;">您已成功参与本次抽奖活动!米粒团已将<SPAN style="COLOR: #D9008D; font-weight:bold">¥<?php echo $rebate_number; ?>元 </SPAN>现金红包,自动充值到您的账户,现在购买就可直接抵用了哦! <a href="/team/zztg.php">»查看正在团购</a>  <a href="/credit/index.php">&nbsp;»查看帐户余额</a> </span>
        </td>
  </tr>
  </table>  </div>   <?php }?>
            <div class="sect">
            <div class="cjxm"><?php echo $INI['system']['sitename']; ?>"<?php echo $team['title']; ?>"<br />
<img src="<?php echo team_image($team['image']); ?>" width="385" height="327" />  
<p>每成功邀请 1 名新用户参与,你就能获得 1 个新的抽奖号。</p> 
 <DIV style="TEXT-ALIGN: center; MARGIN-TOP: 5px; FONT-SIZE: 18px"><A
href="/account/refer.php" target="_blank"><IMG border="0"
align=absMiddle src="/static/css/i/butt.jpg"></A></DIV>
</div>
<DIV >
      
         <?php if($team['draw_package'] == '1'){?> <!-- 开启邀请数 -->
      您一共成功邀请了<?php echo $invite_number; ?>个人,<SPAN
style="COLOR: #990000">邀请<?php echo $team['invite_register']; ?>个新用户</SPAN>参加礼品赠送大礼包
          <?php }?>
        </DIV>

        <!--假如 是达到请求的注册数可以获取  礼品-->
     <?php if($team['draw_package'] == '1'){?> <!-- 开启礼品包 -->
Пример #19
0
<?php include template("wap_header");?>

<h2><a href="index.php">今日主推</a>&nbsp;|&nbsp;<a href="now.php">正在团购</a>&nbsp;|&nbsp;往期团购</h2>

<?php if(is_array($teams)){foreach($teams AS $team) { ?>
<p><?php echo ++$index; ?>.&nbsp;<a href="team.php?id=<?php echo $team['id']; ?>"><?php echo $team['title']; ?></a></p>
<p>现价:<?php echo $currency; ?><?php echo moneyit($team['team_price']); ?> , 原价:<?php echo $currency; ?><?php echo moneyit($team['market_price']); ?> , 折扣:<?php echo team_discount($team); ?>折 , 节省:<?php echo $currency; ?><?php echo moneyit($team['market_price']-$team['team_price']); ?></p>
<p><a href="team.php?id=<?php echo $team['id']; ?>"><img src="<?php echo team_image($team['image'], true); ?>" width="200" height="120" /></a></p>
<?php }}?>

<?php echo $pagestring; ?>

<?php include template("wap_footer");?>
Пример #20
0
function copyURL()
{
copy_clip(o);
copyToClipboard(o);
alert("复制成功!");
}
</script>
<a style="background-image: none;">邀请购买:</a>
    <a onclick="copyURL()" style="background-image: url(http://www.milituan.net/static/theme/milituan/css/i/copy.gif);
	background-repeat: no-repeat;">复制</a>
    <a class="bds_sqq">QQ</a>
    <a class="bds_tsina">新浪</a>
    <a class="bds_tqq">腾讯</a>
    <a class="bds_renren">人人</a>
    <a class="bds_qzone">空间</a>

    <span class="bds_more">更多</span>
</div>
<script type="text/javascript" id="bdshare_js" data="type=tools&mini=1" ></script> 
<script type="text/javascript" id="bdshell_js"></script> 
<script type="text/javascript">
	//在这里定义bds_config
	var bds_config = {'bdPic':'<?php echo team_image($team['image']); ?>','bdText':'【<?php echo $city['name']; ?>-<?php echo $team['team_quyu']; ?>】仅售<?php echo moneyit($team['team_price']); ?>元!价值<?php echo moneyit($team['market_price']); ?>元的<?php echo $pagetitle; ?>','bdDesc':'【<?php echo $city['name']; ?>-<?php echo $team['team_quyu']; ?>】仅售<?php echo moneyit($team['team_price']); ?>元!价值<?php echo moneyit($team['market_price']); ?>元的<?php echo $pagetitle; ?>'};
	
	document.getElementById('bdshell_js').src = "http://share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000);
</script>
<!-- Baidu Button END -->

</div>
<?php }?>
Пример #21
0
						<input type="text" size="30" name="title" id="team-create-title" class="f-input" value="<?php echo htmlspecialchars($mltad['title']); ?>" datatype="require" require="true" />
					</div>
					<div class="field">
                    
					  <label>开始时间</label>
                      <input type="text" size="10" name="begin_time" id="mltad-create-begin-time" class="date" xd="<?php echo date('Y-m-d', $mltad['begin_time']); ?>" xt="<?php echo date('H:i:s', $mltad['begin_time']); ?>" value="<?php echo date('Y-m-d H:i:s', $mltad['begin_time']); ?>" maxLength="10" style="width:130px;" />
                      
                      
					  <label>结束时间</label>
						<input type="text" size="10" name="end_time" id="team-create-end-time" class="date" xd="<?php echo date('Y-m-d H:i:s', $mltad['end_time']); ?>" xt="<?php echo date('H:i:s', $mltad['end_time']); ?>" value="<?php echo date('Y-m-d H:i:s', $mltad['end_time']); ?>" maxLength="10" style="width:130px;"/>
					</div>
                    
                    <div class="field">
						<label>广告图片</label>
						<input type="file" size="30" name="upload_image" id="mltad-create-image" class="f-input" />
						<?php if($mltad['image']){?><span class="hint"><?php echo team_image($mltad['image']); ?></span><?php }?>
					</div>
                    <div class="field">
						<label>连接地址</label>
						<input type="text" size="30" name="lianjie" id="team-create-lianjie" class="f-input" value="<?php echo htmlspecialchars($mltad['lianjie']); ?>" />
					</div>
                    <div class="field">
						<label>排序</label>
						<input type="text" size="10" name="sort_mltad" id="team-create-sort-mltad" class="number" value="<?php echo $mltad['sort_mltad'] ? $mltad['sort_mltad'] : 0; ?>" datatype="number"/><span class="inputtip">请填写数字,数值大到小排序,主推团购应设置较大值</span>
					</div>
                  <div class="field">
						<label>显示</label>
						<input type="text" size="10" name="xs_mltad" id="team-create-xs-mltad" class="number" value="<?php echo $mltad['xs_mltad'] ? $mltad['xs_mltad'] : 0; ?>" datatype="number"/>
                   <span class="inputtip">0为广告不显示,1为广告显示,2为公告显示</span> </div>
					<div class="field">
						<label>广告内容</label>
Пример #22
0
		})
	})
</script>


<div class="" >

	<div class="sbox-content look-history" >
    
	<?php if($allView){?>
	<ul class="w_hotlist">
	<?php if(is_array($allView)){foreach($allView AS $index=>$aone) { ?>
    
	  <a title="<?php echo $aone['product']; ?>,<?php echo $aone['team_quyu']; ?>" href="/team.php?id=<?php echo $aone['id']; ?>" target="_blank">
        
		  <div class="imgdv COOKIE-fl"><img src="<?php echo team_image($aone['image'],true); ?>" width="80" height="48"></div>
          
			<div class="nametitle COOKIE-fl" ><?php echo $aone['product']; ?>,<?php echo $aone['team_quyu']; ?></div>
            
			<div class="price COOKIE-fl"><span class="team_price">¥<?php echo moneyit($aone['team_price']); ?></span><span class="discount">(<?php echo team_discount($aone); ?>折)</span></div>
            
			<div class="cl"></div>
	  </a>
        
	<?php }}?>
       <span class="qc">
      <a class="clear-look-history COOKIE-fl" style="background-color:#FFF;cursor:pointer;"> 清空最近浏览记录</a>
      </span>
      
	</ul>
    
Пример #23
0
   <h1>店家介绍</h1>
   <ul class="partner-js">
   <li  class="img"><?php if($partner['image2']){?><img src="<?php echo team_image($partner['image2']); ?>"/><?php }?></li>
   <li class="txt"><?php echo $partner['other']; ?></li>
   </ul>
   </div>
  </div>
  
  <div class="box box-c">
  <div class="partner-title-2">
   <h1>商家相册 </h1>
    <ul class="partner-pic" style=" _padding-left:12px">
    <li><?php if($partner['image3']){?><img src="<?php echo team_image($partner['image3']); ?>"/><?php }?></li>
    <li><?php if($partner['image4']){?><img src="<?php echo team_image($partner['image4']); ?>"/><?php }?></li>
    <li><?php if($partner['image5']){?><img src="<?php echo team_image($partner['image5']); ?>"/><?php }?></li>
    <li><?php if($partner['image6']){?><img src="<?php echo team_image($partner['image6']); ?>"/><?php }?></li>
    </ul>
   </div>
   </div>
  
  </div>

  </div>
</div>

</div>
<?php } else { ?>
<div class="sorry">
<div class="img"><img src="../../static/theme/milituan/css/i/sorry.gif" width="50" height="50" /></div>
<div class="txt">抱歉!该店家还没有开通商铺<br />
如果您是店家,想开通商铺可以联系米粒团工作人员了解详情,<br />
Пример #24
0
              <?php }?> </li>



          </ul>

        </div>



        <!--结束--> </div>

      <div class="sp_header_right">

        <img src="<?php echo team_image($team['image']); ?>" width="440" height="267" />

      </div>



    </div>

    <!--结束-->

    <?php include template("tdxs_others");?>



    <div style="_display:none">
Пример #25
0
</strong> 人购买</p></div> 
				<?php 
            }
            ?>
				</div>
				<div class="side">
                     <div class="deal-buy-cover-img" id="team_images">
						<a href="/team.php?id=<?php 
            echo $team['id'];
            ?>
" title="<?php 
            echo $team['title'];
            ?>
">
							<img src="<?php 
            echo team_image($team['image']);
            ?>
" width="440" height="280" />
						</a>
					</div>
					<div class="auth"><?php 
            if ($team['authenticate'] == 1) {
                ?>
<img border="0" src="/static/css/i/biz-authenticate.png"><?php 
            }
            ?>
</div>
                    <div class="digest_list"><br /><?php 
            echo nl2br(strip_tags($team['summary']));
            ?>
</div>
Пример #26
0
<?php include template("m_header");?>



<div id="deals" style="margin-top:10px;">
	<?php if(is_array($teams)){foreach($teams AS $index=>$team) { ?>
	<div>
	<a href="team.php?id=<?php echo $team['id']; ?>" data-dealid="<?php echo $team['id']; ?>">
		<img src="<?php echo team_image($team['image'],false,true,false); ?>" style="width:122px;" />
		<detail>
			<ul>
				<li class="brand"><?php echo $partners[$team['partner_id']]['title']; ?></li>
				<li class="title"><?php echo $team['team_jybt']; ?></li>
				<li class="price">
                    <strong><?php echo moneyit($team['team_price']); ?></strong>元
                    <del><?php echo moneyit($team['market_price']); ?>元</del>
                    <span><?php echo $team['now_number']; ?>人</span>
                </li>
			</ul>
		</detail>
	</a>	
	</div>	
    <?php }}?>
    
</div>
<div><?php echo $pagestring; ?></div>
<?php include template("m_footer");?>
Пример #27
0
if ($ename != 'none') {
    $city = DB::LimitQuery('category', array('condition' => array('zone' => 'city', 'ename' => $ename), 'one' => true));
}
$rss = new UniversalFeedCreator();
$rss->useCached();
$rss->title = "{$INI['system']['sitename']} 今日团购";
$rss->description = "{$INI['system']['sitename']} 每天团购一次";
$rss->link = "{$INI['system']['wwwprefix']}";
$rss->syndicationURL = $INI['system']['wwwprefix'] . '/' . $PHP_SELF;
$image = new FeedImage();
$image->title = $INI['system']['sitename'];
$image->url = "{$INI['system']['imgprefix']}/static/css/i/logo.gif";
$image->link = "{$INI['system']['sitename']}";
$image->description = "Feed provided by zuitu.com";
$rss->image = $image;
$team = $teams = index_get_team($city['id']);
if ($team['id']) {
    $teams = array();
    $teams[] = $team;
}
foreach ($teams as $team) {
    $item = new FeedItem();
    $item->title = $team['title'];
    $item->link = $INI['system']['wwwprefix'] . '/team.php?id=' . $team['id'];
    $item->description = $team['summary'] . "<br /><img src='" . team_image($team['image']) . "'/>" . $team['systemreview'];
    $item->date = $team['create_time'];
    $item->source = $INI['system']['wwwprefix'];
    $item->author = $city['name'];
    $rss->addItem($item);
}
$rss->outputFeed("ATOM2.0");
Пример #28
0
                       
					</div>
					<div class="right">
						<div class="qc-ad"></div>
					</div>
				</div>
			</div>

			<div class="cc">
				<div class="nr">
					<h3>品牌车旗舰店</h3>
					<ul>
						<?php if(is_array($itemList)){foreach($itemList AS $index=>$one) { ?>
						<li>
							<span class="fdzx">
                            <a href="/car_store.php?id=<?php echo $one['id']; ?>"><img src="<?php echo team_image($one['image']); ?>" alt="点击查看详情" width="285" height="170" title="点击查看详情"></a>
                        
                         <div class="fdzx-nr"></div>
                            <div class="fdzx-nr2">
                            <div class="qqzx">
									<a href="http://wpa.qq.com/msgrd?v=3&amp;uin=2304751933&amp;site=qq&amp;menu=yes" target="_parent">QQ在线咨询</a>
								</div>
								<div class="telezx">
								|&nbsp;专线咨询<?php echo $one['telphone']; ?> </div>
                            </div>
                            
                            
                            </span>
							<span><?php echo $one['name']; ?></span>
							<span class="yh"><b class="hongse">
								<?php echo $one['car_yh']; ?>
Пример #29
0
                ?>
											</li>
											<li style="width:846px;height:156px;float:left;">
											<?php 
            }
        }
        ?>
												<div style="float:left;width:195px;padding:10px 5px 5px 5px;">
													<a target="_blank" href="/team.php?id=<?php 
        echo $one['id'];
        ?>
" alt="<?php 
        echo $one['title'];
        ?>
"><img src="<?php 
        echo team_image($one['image'], true);
        ?>
" alt="<?php 
        echo $one['title'];
        ?>
" title="<?php 
        echo $one['title'];
        ?>
">
													</a>
													<span style="display: inline;"><p >现价: <font class="su1"><?php 
        echo $currency;
        echo moneyit($one['team_price']);
        ?>
</font>&nbsp;售出:<font class="su1"><?php 
        echo $one['now_number'];
Пример #30
0
overflow: visible;
line-height:1.6;
height: 20px;
font-size: 12px;}
</style>
		<div class="index_box" id="index_box">

			<h2 class="h2_jiudianly"><span class="h2_span_jiudianly span_left">汽车频道</span><span class="span_center"></span><span class="span_right"><a href="/car_list.php" title="更多" target="_blank">全部</a> </span></h2>

			<div class="index_box_left">
				<?php if(is_array($carStoreList)){foreach($carStoreList AS $index=>$cs) { ?>
				<ul class="<?php if($tindex%4 == 3){?>i_index_product_list_z<?php } else { ?>i_index_product_list<?php }?>">

					<div class="i_list_photo">

						<a href="/car_store.php?id=<?php echo $cs['id']; ?>" rel="nofollow" target="_blank"><img src="<?php echo team_image($cs['image']); ?>" alt="" lowsrc="http://www.milituan.net/static/theme/milituan/css/i/lowsrc_logo.gif" height="141" width="234"> </a>

					</div>

					<li class="list_name">

						<a href="/car_store.php?id=<?php echo $cs['id']; ?>" target="_blank">
						<p class="quyu">
							【<?php echo $cs['name']; ?>】<?php echo $cs['car_yh']; ?>
						</p>
					</li>
				</ul>

				<?php }}?>

			</div>