예제 #1
0
            ?>
                                <span style="float:right; "><?php 
            echo (int) $row->lot_size;
            ?>
 <?php 
            echo show_square_unit($row->lot_size_unit);
            ?>
</sup></span>
                                <?php 
        } else {
            ?>
                                <span style="float:right; "><?php 
            echo (int) $row->home_size;
            ?>
 <?php 
            echo show_square_unit($row->home_size_unit);
            ?>
</sup></span>
                                <?php 
        }
        ?>
                            </div>
                            <div style="clear:both;" class="property-utilities">
                                <div title="Bathrooms" class="bathrooms" style="float: right; padding-top: 0px;">
                                    <?php 
        if ($row->type == 'DBC_TYPE_LAND') {
            ?>
                                    <div class="content">N/A</div>
                                    <?php 
        } else {
            ?>
예제 #2
0
             $estate['estate_type_class'] = 'rent';
             $estate['estate_type_text'] = lang_key('DBC_PURPOSE_RENT');
         }
     } else {
         if ($row->purpose == 'DBC_PURPOSE_BOTH') {
             $estate['estate_type_class'] = 'both';
             $estate['estate_type_text'] = lang_key('DBC_PURPOSE_BOTH');
         }
     }
 }
 if ($row->category_type == 'DBC_TYPE_LAND' || $row->category_type == 'DBC_TYPE_COMMERCIAL') {
     $estate['estate_size'] = (int) $row->lot_size;
     $estate['estate_size_unit'] = lang_key(show_square_unit($row->lot_size_unit));
 } else {
     $estate['estate_size'] = (int) $row->home_size;
     $estate['estate_size_unit'] = lang_key(show_square_unit($row->home_size_unit));
 }
 if ($row->category_type == 'DBC_TYPE_RESIDENTIAL' || $row->category_type == 'DBC_TYPE_COMMERCIAL' && $row->type == 'DBC_TYPE_OFFICE') {
     $estate['estate_bathroom'] = $row->bath;
     $estate['estate_bathroom_label'] = lang_key('Baths');
 } else {
     $estate['estate_bathroom'] = '';
     $estate['estate_bathroom_label'] = '';
 }
 if ($row->category_type == 'DBC_TYPE_RESIDENTIAL') {
     $estate['estate_bedroom'] = $row->bedroom;
     $estate['estate_bedroom_label'] = lang_key('Beds');
 } else {
     $estate['estate_bedroom'] = '';
     $estate['estate_bedroom_label'] = '';
 }
예제 #3
0
            ?>
                            <span class="OS_pad-l"  style="float:left; "><?php 
            echo (int) $row->lot_size;
            ?>
 <?php 
            echo lang_key(show_square_unit($row->lot_size_unit));
            ?>
</span>
                            <?php 
        } else {
            ?>
                                <span class="OS_pad-l"  style="float:left; "><?php 
            echo (int) $row->home_size;
            ?>
 <?php 
            echo lang_key(show_square_unit($row->home_size_unit));
            ?>
</span>
                            <?php 
        }
        ?>
                        </div>
                        <div style="clear:both;" class="property-utilities OS_dit_dow">
                            <?php 
        if ($row->category_type == 'DBC_TYPE_RESIDENTIAL' || $row->category_type == 'DBC_TYPE_COMMERCIAL' && $row->type == 'DBC_TYPE_OFFICE') {
            ?>
                                <div title="Bathrooms" class="bathrooms OS_dit_dow-icon" style="padding-top: 0px;">
                                    <div class="content"><?php 
            echo $row->bath;
            ?>
&nbsp;<?php 
예제 #4
0
                        <div class="col-md-3 col-sm-3 col-xs-5 titles"><span><i class="fa fa-building"></i> <?php 
    echo lang_key($row->type);
    ?>
</span></div>
                        <?php 
    if ($row->category_type == 'DBC_TYPE_LAND' || $row->category_type == 'DBC_TYPE_COMMERCIAL') {
        ?>
                        <div class="col-md-3 col-sm-3 col-xs-5 titles"><span><i class="fa fa-arrows-alt "></i> <?php 
        echo (int) $row->lot_size . ' ' . lang_key(show_square_unit($row->lot_size_unit));
        ?>
</span></div>
                        <?php 
    } else {
        ?>
                                <div class="col-md-3 col-sm-3 col-xs-5 titles"><span><i class="fa fa-arrows-alt "></i> <?php 
        echo (int) $row->home_size . ' ' . lang_key(show_square_unit($row->home_size_unit));
        ?>
</span></div>
                        <?php 
    }
    ?>
                        <div class="col-md-3 col-sm-3 col-xs-5 titles last"><span><i class="fa fa-money"></i> <?php 
    echo show_price($row->total_price, $row->id);
    ?>
 <?php 
    echo $row->purpose == 'DBC_PURPOSE_RENT' ? lang_key($row->rent_price_unit) : '';
    ?>
</span></div>
                    </div>
                </li>	<!-- list-group-item -->
                <li class="list-group-item">
예제 #5
0
    echo lang_key($row->type);
    ?>
</span></div>

                        <?php 
    if ($row->type == 'DBC_TYPE_LAND') {
        ?>
                            <div class="col-md-3 col-sm-3 col-xs-5 titles"><span><i class="fa fa-arrows-alt "></i> <?php 
        echo (int) $row->lot_size . ' ' . show_square_unit($row->lot_size_unit);
        ?>
</span></div>
                        <?php 
    } else {
        ?>
                            <div class="col-md-3 col-sm-3 col-xs-5 titles"><span><i class="fa fa-arrows-alt "></i> <?php 
        echo (int) $row->home_size . ' ' . show_square_unit($row->home_size_unit);
        ?>
</span></div>
                        <?php 
    }
    ?>


                        <div class="col-md-3 col-sm-3 col-xs-5 titles"><span><img alt="bedroom" src="<?php 
    echo theme_url();
    ?>
/assets/images/icons/bedrooms_fa2.png"> <?php 
    echo $row->bedroom;
    ?>
 <?php 
    echo lang_key('bedrooms');