public function my_profile()
 {
     $user_id = $this->session->userdata('user_id');
     $wsdl = $this->_get_wsdl_base_url();
     if ($user_id !== FALSE) {
         $tab_content_list = $this->get_user_profile_tabs();
         parent::index();
         $content = "ressphere home search";
         $title = "Ressphere - My Profile";
         $this->SEO_Tags($content);
         $this->set_title($title);
         //$this->load->module_model('home_category_model');
         $this->extemplate->add_js('js/_usercontrols/change_password.js');
         $this->extemplate->add_js('js/_scrolling_nav/scrolling-nav.js');
         $this->extemplate->add_js('js/cb_home.js');
         $this->extemplate->add_js('js/jquery.easing.min.js');
         $this->extemplate->add_js($wsdl . 'js/_switch-toggle/bootstrap-switch.js', 'import', FALSE, FALSE);
         $this->extemplate->add_js('js/cb_update_profile.js');
         $this->extemplate->add_css('css/home.css');
         $this->extemplate->add_css('css/_sidebar/simple-sidebar.css');
         $this->extemplate->add_css('css/cb_user_profile_update.css');
         $this->extemplate->add_css('css/_scrolling_nav/scrolling-nav.css');
         $this->extemplate->add_css($wsdl . 'css/_switch-toggle/bootstrap-switch.css', 'link', FALSE, FALSE);
         $this->extemplate->add_css('css/user_profile.css');
         //cb_change_profile
         $this->extemplate->write_view('contents', '_usercontrols/cb_my_profile', array('general' => $this->get_generic_data(), 'tab_content_list' => $tab_content_list), TRUE);
         $this->extemplate->render();
         $this->session->set_userdata('secure', '1');
     } else {
         //TODO: Temporary use 404 with 403
         show_error($this->get_page403("This page is for registered member", $this->session->userdata('client_base_url')), 403, "");
     }
 }
Esempio n. 2
0
 public function index()
 {
     parent::index();
     $content = "ressphere policy";
     $title = "Resspshere - Term and Conditions";
     $this->SEO_Tags($content);
     $this->set_title($title);
     $this->extemplate->add_js('js/cb_home.js');
     $this->extemplate->add_css('css/home.css');
     $this->extemplate->write_view('contents', '_usercontrols/policy_content', '', TRUE);
     $this->extemplate->render();
 }
Esempio n. 3
0
 function index()
 {
     parent::index();
     $content = "404 Page Not Found";
     $title = "404 Ressphere Page Not Found";
     $this->SEO_Tags($content);
     $wsdl = $this->_get_wsdl_base_url();
     $this->extemplate->set_extemplate('page404_home');
     $this->extemplate->write('title', $title);
     $this->extemplate->add_js($wsdl . 'js/jquery.easing.min.js', 'import', FALSE, FALSE);
     $this->extemplate->add_css($wsdl . 'css/404.css', 'link', FALSE, FALSE);
     //cb_change_profile
     $this->extemplate->write_view('content', '_usercontrols/cb_404_page', array('reason' => "Look like something wrong! The page you were looking for is not here", 'img404' => $wsdl . 'images/404img.svg', 'homepage' => $wsdl, 'contactus' => $wsdl . '#contact'), TRUE);
     $this->extemplate->render();
 }
Esempio n. 4
0
 public function index()
 {
     parent::index();
     $contact_list = array(array('Name', 'Your name', 'text'), array('Email', 'Your email', 'email'), array('Phone', 'Your phone number', 'phone'), array('Message', 'We always listen to you', 'textarea'));
     $content = "ressphere home search";
     $title = "Welcome to ressphere";
     $this->SEO_Tags($content);
     $this->set_title($title);
     $this->extemplate->add_js('js/jquery.easing.min.js');
     $this->extemplate->add_js('js/_exscrolling_nav/classie.js');
     $this->extemplate->add_js('js/_exscrolling_nav/cbpAnimatedHeader.min.js');
     $this->extemplate->add_js('js/_exscrolling_nav/jqBootstrapValidation.js');
     $this->extemplate->add_js('js/cb_home.js');
     $this->extemplate->add_css('css/home.css');
     $this->extemplate->add_css('css/about_us.css');
     $this->extemplate->add_css('css/contact_us.css');
     //$this->extemplate->add_css('css/demo.css');
     //$this->extemplate->add_css('css/flexslider.css');
     $this->extemplate->write_view('contents', '_usercontrols/cb_services', array('feature_list' => $this->_get_features()), TRUE);
     $this->extemplate->write_view('about_us', '_usercontrols/cb_about_us_content', array('news' => $this->_get_about_us()), TRUE);
     $this->set_contact_us_html_ui($contact_list);
     $this->extemplate->render();
 }