Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     is_installed();
     #defined in auth helper
     remove_featured_if_expired();
     $this->PER_PAGE = get_per_page_value();
     #defined in auth helper
     $this->active_theme = get_active_theme();
     $this->load->model('show_model');
     $this->load->model('user/user_model');
     $this->load->library('encrypt');
     $this->load->helper('text');
     $this->output->enable_profiler($this->config->item('debug_site'));
     if (isset($_POST['view_orderby'])) {
         $this->session->set_userdata('view_orderby', $this->input->post('view_orderby'));
     }
     if (isset($_POST['view_ordertype'])) {
         $this->session->set_userdata('view_ordertype', $this->input->post('view_ordertype'));
     }
     $system_currency_type = get_settings('realestate_settings', 'system_currency_type', 0);
     if ($system_currency_type == 0) {
         $system_currency = get_currency_icon(get_settings('realestate_settings', 'system_currency', 'USD'));
     } else {
         $system_currency = get_settings('realestate_settings', 'system_currency', 'USD');
     }
     $this->session->set_userdata('system_currency', $system_currency);
     $this->form_validation->set_error_delimiters('<div class="alert alert-danger">', '</div>');
 }
 public function __construct()
 {
     parent::__construct();
     is_installed();
     #defined in auth helper
     expiration_cron();
     //$this->PER_PAGE = get_per_page_value();#defined in auth helper
     $this->PER_PAGE = get_settings('business_settings', 'posts_per_page', 6);
     $this->active_theme = get_active_theme();
     $this->load->model('show_model');
     $system_currency_type = get_settings('business_settings', 'system_currency_type', 0);
     if ($system_currency_type == 0) {
         $system_currency = get_currency_icon(get_settings('business_settings', 'system_currency', 'USD'));
     } else {
         $system_currency = get_settings('business_settings', 'system_currency', 'USD');
     }
     $this->session->set_userdata('system_currency', $system_currency);
     $this->form_validation->set_error_delimiters('<div class="alert alert-danger">', '</div>');
 }
Ejemplo n.º 3
0
          <label class="col-sm-2 col-lg-3 control-label">Description:</label>
          <div class="col-sm-4 col-lg-5 controls">
            <textarea name="description" value="" placeholder="Package Description" class="form-control input-sm"><?php 
echo set_value('description') != '' ? set_value('description') : '';
?>
</textarea>
            <span class="help-inline">&nbsp;</span>
            <?php 
echo form_error('description');
?>
          </div>
        </div>

        <div class="form-group">
          <label class="col-sm-2 col-lg-3 control-label">Price <?php 
echo get_currency_icon(get_settings('paypal_settings', 'currency', 'USD')) . '(' . get_settings('paypal_settings', 'currency', 'USD') . ')';
?>
:</label>
          <div class="col-sm-4 col-lg-5 controls">
            <input type="text" name="price" value="<?php 
echo set_value('price') != '' ? set_value('price') : '';
?>
" placeholder="Package Price" class="form-control input-sm" >
            <span class="help-inline">&nbsp;</span>
            <?php 
echo form_error('price');
?>
          </div>
        </div>

        <div class="form-group">
Ejemplo n.º 4
0
                                <?php 
foreach ($options as $currency => $val) {
    ?>

                                    <?php 
    $sel = $v == $currency ? 'selected="selected"' : '';
    ?>

                                   <option value="<?php 
    echo $currency;
    ?>
" <?php 
    echo $sel;
    ?>
><?php 
    echo $val[0] . ' (' . get_currency_icon($currency) . ' ' . $currency . ')';
    ?>
</option>
                                <?php 
}
?>

                            </select>

                            <input type="hidden" name="bank_currency_rules" value="required">
                            <span class="help-inline">&nbsp;</span>
                            <?php 
echo form_error('bank_currency');
?>

                        </div>
Ejemplo n.º 5
0
    clear: both;
}
.facilities{
    list-style: none;
    margin: 0;
    padding: 0;
}
.facilities li{
    float: left;
    margin-right: 10px;
}
</style>
<?php 
$system_currency_type = get_settings('realestate_settings', 'system_currency_type', 0);
if ($system_currency_type == 0) {
    $system_currency = get_currency_icon(get_settings('realestate_settings', 'system_currency', 'USD'));
} else {
    $system_currency = get_settings('realestate_settings', 'system_currency', 'USD');
}
?>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>
<script type="text/javascript">
    var markers = [];
    var cityCircle = new google.maps.Circle({});
    function initialize() {
        geocoder = new google.maps.Geocoder();
        var mapOptions = {
            center: new google.maps.LatLng(31.9565783,35.9456950999),
            zoom: 10
        };
        map = new google.maps.Map(document.getElementById("map-canvas"),mapOptions);