当前位置: 首页>>代码示例>>PHP>>正文


PHP team_image函数代码示例

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


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

示例1: htmlspecialchars

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>
开发者ID:jowino,项目名称:bd786110cact,代码行数:31,代码来源:ajax_dialog_charityedit.php

示例2: explode

     $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>";
开发者ID:BGCX262,项目名称:zuituware-svn-to-git,代码行数:31,代码来源:hao123.php

示例3: foreach

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'];
开发者ID:norain2050,项目名称:zuituware,代码行数:31,代码来源:tuan800.php

示例4: if

     	<?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 }}?>
开发者ID:noikiy,项目名称:mdwp,代码行数:31,代码来源:biz_mobile_report.php

示例5: array

}
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']));
开发者ID:yunsite,项目名称:hhzuitu,代码行数:31,代码来源:index.php

示例6: team_image

		</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 
开发者ID:jowino,项目名称:bd786110cact,代码行数:30,代码来源:team_index.php

示例7: echo

				

				<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">
开发者ID:noikiy,项目名称:mdwp,代码行数:27,代码来源:team_top.php

示例8: if

        <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 }?>
            
             
            
                
开发者ID:noikiy,项目名称:mdwp,代码行数:27,代码来源:wap_touch_search.php

示例9: if

        </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>
开发者ID:noikiy,项目名称:mdwp,代码行数:31,代码来源:zt_drc2013_5_18.php

示例10: htmlspecialchars

                                     
                        <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>
开发者ID:noikiy,项目名称:mdwp,代码行数:30,代码来源:manage_partner_edit.php

示例11: if

<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>
开发者ID:noikiy,项目名称:mdwp,代码行数:31,代码来源:team_current.php

示例12: if

		})
	})

</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">
开发者ID:noikiy,项目名称:mdwp,代码行数:31,代码来源:block_side_looked_view.php

示例13: or

			"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 }?>
开发者ID:noikiy,项目名称:mdwp,代码行数:30,代码来源:block_side_hot_push.php

示例14: template

<?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>
开发者ID:noikiy,项目名称:mdwp,代码行数:31,代码来源:m_team_view.php

示例15: template

<?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");?>
开发者ID:noikiy,项目名称:mdwp,代码行数:24,代码来源:m_myorder_goods.php


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