uri->segment(2) == "dashboard"){ include 'header.php'; } ?> db->get_where('settings' , array('type' => 'system_title'))->row()->description; $system_name = $this->db->get_where('settings' , array('type' => 'system_name'))->row()->description; $currency_id = $this->db->get_where('settings' , array('type' => 'system_currency_id'))->row()->description; $currency_symbol = $this->db->get_where('currency' , array('currency_id' => $currency_id))->row()->currency_symbol; $text_align = $this->db->get_where('settings' , array('type'=>'text_align'))->row()->description; $skin_colour = $this->db->get_where('settings' , array('type'=>'skin_colour'))->row()->description; $account_type = $this->session->userdata('login_type'); $client_id = $this->session->userdata('login_user_id'); $this->db->order_by('payment_id','desc'); $this->db->limit(1); $payment = $this->db->get_where('payment' , array('client_id' => $this->session->userdata('login_user_id'), 'active' => 0))->row_array(); $payment_amount = $payment['amount']; $active_classes = $this->db->get_where('rsvp' , array('client_id' => $this->session->userdata('login_user_id')))->num_rows(); $salon = $this->uri->segment(3); ?>


db->order_by('payment_id', 'desc'); $has_discounts = $this->db->get_where('payment', array('client_id' => $this->session->userdata('login_user_id'), 'project_id' => 20, 'timestamp >' => '1672120800', 'active' => 1))->num_rows(); if($has_discounts > 0){ $this->db->order_by('payment_id', 'asc'); $this->db->limit(1); $payment = $this->db->get_where('payment', array('client_id' => $this->session->userdata('login_user_id'), 'project_id' => 20, 'timestamp >' => '1672120800', 'active' => 1))->row_array(); $purchase_date = $payment['timestamp']; $payment_id = $payment['payment_id']; $coupon_code = $payment['coupon_code']; $rsvps = $this->db->get_where('rsvp', array('client_id' => $this->session->userdata('login_user_id'), 'timestamp >' => $purchase_date, 'status' => 2))->num_rows(); $count = 0; $this->db->order_by('minimum', 'asc'); $codes = $this->db->get('promotions')->result_array(); foreach($codes as $code){ if($rsvps >= $code['minimum'] && $coupon_code < $code['id']){ $code_name = $code['name']; $code_description = $code['description']; $count = 1; } } if($count > 0){ ?>

¡Adquiere tu beneficio!
Entra aquí


Clases de

date('W')){ ?>
db->get_where('settings', array('type' => 'client_schedule'))->row()->description; if($client_schedule == "timely"){ include 'clases.php'; } if($client_schedule == "columns"){ include 'class_together.php'; } ?>
Follow Us On

Conoce Nuestros Paquetes

Ver Calendario de Clases

Nuestros Paquetes

Compra tus clases!

Horarios de Clase

¡Descarga nuestra APP!