本文整理汇总了PHP中Area::showCity方法的典型用法代码示例。如果您正苦于以下问题:PHP Area::showCity方法的具体用法?PHP Area::showCity怎么用?PHP Area::showCity使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Area
的用法示例。
在下文中一共展示了Area::showCity方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
?>
<tr class='bg-green-light'>
<td><?php
echo $i;
?>
</td>
<td name='organName'><?php
echo $dealer->organName;
?>
</td>
<td name='Phone'><?php
echo $dealer->Phone;
?>
</td>
<td><?php
Area::showCity($dealer->province) . Area::showCity($dealer->city) . Area::showCity($dealer->area);
?>
</td>
<td><?php
echo CHtml::button('选择', array('class' => 'btn-small', 'id' => 'opt'));
?>
</td>
</tr>
<?php
$i++;
?>
<?php
}
?>
</tbody>
<?php
示例2:
echo F::msubstr($cp);
$cp = '';
}
?>
</td>
<td ><?php
echo $model['mobile_phone'];
?>
<?php
echo $model['contactName'];
?>
</td>
<td ><?php
Area::showCity($model['province']);
Area::showCity($model['city']);
Area::showCity($model['area']);
echo $model['address'];
?>
</td>
<!-- <td ><a target="_blank" href='<?php
//echo Yii::app()->createUrl("dealer/makequery/shouqgoods/maker_id/" . $model['userID'])
?>
'>商品清单</a></td>-->
</tr>
<?php
$i++;
}
?>
</tbody>
</table>
</div>
示例3: array
?>
</td>
<td name='companyname'><?php
echo $service['serviceName'];
?>
</td>
<td name='phone'><?php
echo $service['serviceCellPhone'];
?>
</td>
<td name='email'><?php
echo $service['serviceEmail'];
?>
</td>
<td><?php
Area::showCity($service['serviceProvince']) . Area::showCity($service['serviceCity']) . Area::showCity($service['serviceArea']);
?>
</td>
<td><?php
echo CHtml::button('选择', array('class' => 'btn-small', 'id' => 'opt'));
?>
</td>
</tr>
<?php
$i++;
}
?>
<?php
} else {
?>
<tr>
示例4: array
?>
</span></li>
<li>QQ:<span><?php
echo $owner['QQ'];
?>
</span></li>
<li>电话:<span><?php
echo $owner['Phone'];
?>
</span></li>
<li>驾驶证号:<span><?php
echo $owner['DrivingLicense'];
?>
</span></li>
<li>所在城市:<span><?php
echo Area::showCity($owner['City']);
?>
</span></li>
<div style="clear:both"></div>
<p class=" m-top5"></p>
</ul>
</div>
</div>
<p class="txxx txxx3">车辆信息</p>
<div class="txxx_info4">
<div class="bor_back m_top10">
<?php
$this->widget('widgets.default.WGridView', array('dataProvider' => $dataProvider, 'columns' => array(array('name' => '序号', 'type' => 'raw', 'value' => '$this->grid->dataProvider->pagination->currentPage*$this->grid->dataProvider->pagination->pageSize + $row+1', 'headerHtmlOptions' => array('style' => 'width:20px;')), array('name' => '车牌号', 'type' => 'raw', 'value' => 'CHtml::encode($data->LicensePlate)', 'headerHtmlOptions' => array('style' => 'width:70px;')), array('name' => '行驶证号', 'type' => 'raw', 'value' => 'CHtml::encode($data->VehicleLicense)', 'headerHtmlOptions' => array('style' => 'width:170px;')), array('name' => '使用性质', 'type' => 'raw', 'value' => 'CHtml::encode($data->UseNature)', 'headerHtmlOptions' => array('style' => 'width:60px;')), array('name' => '购置时间', 'type' => 'raw', 'value' => 'CHtml::encode(date("d/m/Y",$data->BuyTime))', 'headerHtmlOptions' => array('style' => 'width:60px;')), array('name' => '行驶里程(km)', 'type' => 'raw', 'value' => 'CHtml::encode($data->Mileage)', 'headerHtmlOptions' => array('style' => 'width:80px;')), array('name' => '车架号/VIN码', 'type' => 'raw', 'value' => 'CHtml::encode($data->VinCode)', 'headerHtmlOptions' => array('style' => 'width:70px;')), array('name' => '汽车品牌', 'type' => 'raw', 'value' => 'CHtml::encode($data->Car)', 'headerHtmlOptions' => array('style' => 'width:100px;')))));
?>
</div>
示例5:
<td><?php
echo $model['serviceQQ'];
?>
</td>
</tr>
<tr>
<td align="right">邮 箱:</td>
<td colspan="3"><?php
echo $model['serviceEmail'];
?>
</td>
</tr>
<tr>
<td align="right">地 址:</td>
<td colspan="3"><?php
echo Area::showCity($model['serviceProvince']) . Area::showCity($model['serviceCity']) . Area::showCity($model['serviceArea']) . $model['serviceAddress'];
?>
</td>
</tr>
</table>
</div>
</div>
<div class=' jgcx photos content-rows15 bg-white'>
<div class='title'>机构照片</div>
<div class='pos-r'style="width:730px;">
<a href='javascript:;' class="arr-l scroll-left"></a>
<div class="photos-list" style="width:651px;">
<ul>
<?php
if ($photo) {
?>
示例6:
<li>
<div class='number-col y-align-t display-ib'> <strong class='f14-b'>1</strong>
</div>
<div class='y-align-t display-ib'>
<a class='title f14-b' target="_blank" href="<?php
echo Yii::app()->createUrl('ds03/dealerquery/detail/dealerID');
echo '/' . $dealer['userID'];
?>
">[经销商]<?php
echo $model['organName'];
?>
</a>
<p>
授权经销地域:<?php
Area::showCity($model['domainProvince']);
Area::showCity($model['domainCity']);
?>
<br>
联系方式:<?php
echo $dealer['ContactPhone'];
?>
<?php
echo $dealer['contactName'];
?>
<br>
配件品牌:<?php
echo $dealer['BusinessBrand'];
?>
<br>
配件名称:
<a class='font-green name' href="#">刹车片</a>
示例7:
<p><span style="float:left;display: block;width: 150px;">固定电话:<?php
echo $model['ContactPhone'];
?>
</span></p>
<p style=" clear: both"></p>
<p><span style="float:left;display: block;width: 150px;">QQ号:<?php
echo $model['QQ'];
?>
</span></p>
<p style=" clear: both"></p>
<p>邮箱:<?php
echo $model['Email'];
?>
</p>
<p>地址:<?php
Area::showCity($model['province']) . Area::showCity($model['city']) . Area::showCity($model['area']);
?>
</p>
</div>
</div>
</div>
<div class='jgcx content-rows15 bg-white' style="margin-bottom: 15px;line-height: 2em;padding: 10px">
<div class="title title-dashed">
示例8: array
<div class='number-col y-align-t display-ib'> <strong class='f14-b'><?php
echo $i;
?>
</strong>
</div>
<div class='y-align-t display-ib'>
<?php
echo CHtml::link('[经销商]' . $dealer['organName'], array('/maker/default/detail/dealer/' . $dealer['userID']), array('class' => "title f14-b", 'target' => '_blank'));
?>
<!--<a class='title f14-b' target="_blank">[经销商]<?php
echo $dealer['organName'];
?>
</a>
--><p>
地址:<?php
Area::showCity($dealer['province']) . Area::showCity($dealer['city']) . Area::showCity($dealer['area']);
echo $dealer['address'];
?>
<br>
联系方式:<?php
echo $dealer['Phone'];
?>
<br>
配件品牌:<?php
echo $dealer['BusinessBrand'];
?>
<br>
<span class='jp-code'>嘉配号:<?php
echo $dealer["jiapartsID"];
?>
</span>
示例9: getaddress2
public static function getaddress2($id)
{
$model = self::model()->find('id=:id', array(':id' => $id));
echo Area::showCity($model->province) . Area::showCity($model->city) . Area::showCity($model->area) . $model->address . "(" . $model->shippingName . " 收)" . " " . "电话:" . $model->phone_mod . " 物流公司:";
}
示例10:
</td>
<td><?php
echo F::msubstr($model['phone']);
?>
</td>
<td><?php
if ($model['jiapart_ID']) {
echo F::msubstr($model['jiapart_ID']);
} else {
echo "无";
}
?>
</td>
<td><?php
if ($model['province']) {
echo Area::showCity($model['province']) . Area::showCity($model['city']) . Area::showCity($model['area']) . $model['address'];
} else {
echo "无";
}
?>
</td>
<td><?php
if ($model['email']) {
echo F::msubstr($model['email']);
} else {
echo "无";
}
?>
</td>
<td><?php
if ($model['weixin']) {
示例11:
Area::showCity($subdealer['allowCity']);
?>
</td>
<td >
<?php
echo $subdealer['phone'];
?>
<br/>
<?php
echo $subdealer['person'];
?>
</td>
<td > <?php
Area::showCity($subdealer['province']);
Area::showCity($subdealer['city']);
Area::showCity($subdealer['area']);
?>
<?php
echo "<br>" . $subdealer['address'];
?>
</td>
<td >
<a href="<?php
echo Yii::app()->createUrl('dealer/business/updatesubdealer/id');
echo '/' . $subdealer['id'];
?>
">修改</a>
<br/>
<!-- <a href="<?php
echo Yii::app()->createUrl('dealer/business/deletesubdealer/id');
echo '/' . $subdealer['id'];