コード例 #1
0
ファイル: listing_detail.php プロジェクト: jasonhai/onehome
echo $model->property_name_or_address;
?>
&nbsp;<i class="fa fa-chevron-right"></i>
                                </a></li>
                            </ul>
                        </div><!-- box-3 -->


                        <?php 
$this->widget('EnquiryProperty', array('property_id' => $model->id, 'position' => 'bottom', 'agent_id' => $model->user_id));
?>
                    </div><!-- col-md-9 -->

                    <div class="col-md-3">
                        <?php 
$this->widget('EnquiryProperty', array('property_id' => $model->id, 'position' => 'right', 'agent_id' => $model->user_id));
?>

                        <!-- Map-->
                        <?php 
$titleAressMap = $model->display_title != '' ? $model->display_title : Listing::GetAddressReal($model);
// ANH DUNG FIX Listing::GetAddressReal($model) Mar 10, 2015
$this->widget('MapWidget', array('json_map' => $model->json_map, 'postal_code' => $model->postal_code_xy, 'title' => $titleAressMap . ", Singapore {$model->postal_code}", 'model' => $model, 'fullScreen' => 'menu'));
?>
                        <!-- End Map-->                        
                    </div><!-- col-md-3 -->
                </div>
            </div>
        </div><!-- tab-content -->
    </div><!-- green-tab -->
</div><!-- listing-detail -->
コード例 #2
0
ファイル: load_map_detail.php プロジェクト: jasonhai/onehome
<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
?>



<?php 
$titleAressMap = $model->display_title != '' ? $model->display_title : Listing::GetAddressReal($model);
// ANH DUNG FIX Listing::GetAddressReal($model) Mar 10, 2015
$titleAressMap = Listing::GetAddressReal($model);
$this->widget('MapWidget', array('json_map' => $model->json_map, 'postal_code' => $model->postal_code_xy, 'title' => $titleAressMap . ", Singapore {$model->postal_code} ", 'sizeMap' => $size, 'fullScreen' => 'map', 'model' => $model));