當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Area::showCity方法代碼示例

本文整理匯總了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 
開發者ID:zwq,項目名稱:unpei,代碼行數:31,代碼來源:addempdea.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>
開發者ID:zwq,項目名稱:unpei,代碼行數:31,代碼來源:index.php

示例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>
開發者ID:zwq,項目名稱:unpei,代碼行數:31,代碼來源:servicecontacts.php

示例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>
開發者ID:zwq,項目名稱:unpei,代碼行數:31,代碼來源:detail.php

示例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) {
    ?>
開發者ID:zwq,項目名稱:unpei,代碼行數:31,代碼來源:index.php

示例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>
開發者ID:zwq,項目名稱:unpei,代碼行數:31,代碼來源:empowerdealer.php

示例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">
開發者ID:zwq,項目名稱:unpei,代碼行數:31,代碼來源:detail.php

示例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>
開發者ID:zwq,項目名稱:unpei,代碼行數:31,代碼來源:search.php

示例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 . " 物流公司:";
 }
開發者ID:zwq,項目名稱:unpei,代碼行數:5,代碼來源:DealerAddress.php

示例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']) {
開發者ID:zwq,項目名稱:unpei,代碼行數:31,代碼來源:index.php

示例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'];
開發者ID:zwq,項目名稱:unpei,代碼行數:31,代碼來源:subdealer.php


注:本文中的Area::showCity方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。