// +----------------------------------------------------------------------+ // | Copyrights Armia Systems, Inc and iScripts.com � 2005 | // | All rights reserved | // +----------------------------------------------------------------------+ // | This script may not be distributed, sold, given away for free to | // | third party, or used as a part of any internet services such as | // | webdesign etc. | // +----------------------------------------------------------------------+ include_once "includes/config.php"; include_once "includes/session.php"; include_once "includes/functions.php"; /*display the active template*/ $active_template = displayTemplate(); $currency_attributes = displayCurrencyType(); // setting pagination limit From Admin settings $limit = getPaginationLimit(); if ($limit == 0) { $limit = 12; } $page = $_GET['page']; if (empty($page)) { $page = 1; } //End pagination settings include "includes/htmltop.php"; /* Top File Name */ //echo "includes/".$active_template[1]; include_once "includes/" . $active_template[0]; /* Center File */ include_once "includes/centermain.php"; $banner_value = getSettingsValue('ndisplay_banner');
public function my_wishlist($view_type = 'list', $page = 1) { $data = array(); $redis_functions = new Redisfunctions(); $page_title = 'My Wishlist'; $limit = getPaginationLimit($page, TRIPS_PAGINATION_LIMIT); $user_records = $redis_functions->get_user_profile_data($this->session->userdata["user_username"]); $post_records = $user_records['my_wishlist']; $input_arr = array(base_url() => 'Home', '#' => $page_title); $breadcrumbs = get_breadcrumbs($input_arr); $data["post_records"] = $post_records; $data["view_type"] = $view_type; $data["page"] = $page; $data["breadcrumbs"] = $breadcrumbs; $data["page_title"] = $page_title; $data['meta_title'] = $page_title . ' - ' . $this->redis_functions->get_site_setting('SITE_NAME'); $this->template->write_view("content", "pages/trip/listing/list-page", $data); $this->template->render(); }