Beispiel #1
0
        ?>
                        <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 
Beispiel #2
0
            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>
Beispiel #3
0
        ?>
</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>
Beispiel #4
0
?>
</span></p>
                    <p><label>传&nbsp;&nbsp;真:</label><span><?php 
echo $model->Fax;
?>
</span></p>
                    <p><label>qq&nbsp;&nbsp;号:</label><span><?php 
echo $model->QQ;
?>
</span></p>
                    <p><label>座&nbsp;&nbsp;机:</label><span><?php 
echo $model->TelPhone;
?>
</span></p>
                    <p><label>地&nbsp;&nbsp;址:</label><span><?php 
echo Area::showCity($model['Province']) . Area::showCity($model['City']) . Area::showCity($model['Area']) . $model->Address;
?>
</span></p>

                </div>
            </div>
        </div>
        <div class="m-top bor_back">
            <p class="txxx">营业执照</p>
            <div class="txxx_info4">
                <div class=" m_left68 gs_info">
                    <p><label class="m_left12">注册号:</label><span><?php 
echo $model['Registration'];
?>
</span></p>
                    <p><label style="vertical-align:top;">执照照片:</label>
Beispiel #5
0
?>
</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>
Beispiel #6
0
                    <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) {
    ?>
Beispiel #7
0
			<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>
Beispiel #8
0
                <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">
Beispiel #9
0
				<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>
Beispiel #10
0
 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 . " 物流公司:";
 }
Beispiel #11
0
                        <tr>
                            <td><div class="number-col y-align-t display-ib"><span><?php 
        echo $i;
        ?>
</span></div></td>
                            <td><?php 
        echo CHtml::link($dealer['organName'], array('/maker/dealquery/detail/dealer/' . $dealer['userID']), array('target' => '_blank'));
        ?>
</td>
                            <td><?php 
        Area::showCity($dealer['province']) . Area::showCity($dealer['city']) . Area::showCity($dealer['area']);
        echo $dealer['address'];
        ?>
</td>
                            <td><?php 
        echo Area::showCity($dealer['BusinessScope']);
        ?>
</td>
                            <td><?php 
        echo $dealer['Phone'];
        ?>
</td>
                            <td><?php 
        $data = DealerBrand::model()->findAll("OrganID = " . $dealer['userID']);
        ?>
                                <?php 
        foreach ($data as $k => $datas) {
            ?>
                                    <?php 
            $brands .= $datas['BrandName'];
            ?>
Beispiel #12
0
</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']) {
Beispiel #13
0
        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'];