PATH:
home
/
letacommog
/
laindinois
/
OLD
/
wp-content
/
plugins
/
dwt-listing-rest-api
/
classes
<?php add_action( 'rest_api_init', 'dwt_listing_profile_api_hooks_get', 0 ); function dwt_listing_profile_api_hooks_get() { register_rest_route( 'downtown/app', '/profile/', array( 'methods' => WP_REST_Server::READABLE, 'callback' => 'dwt_listing_myProfile_get', 'permission_callback' => function () { return dwt_listing_basic_auth(); }, ) ); register_rest_route( 'downtown/app', '/profile/', array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => 'dwt_listing_myProfile_get', 'permission_callback' => function () { return dwt_listing_basic_auth(); }, ) ); } if (!function_exists('dwt_listing_myProfile_get')) { function dwt_listing_myProfile_get($request) { $insta = $youtube = $user_time_zone = $linkedin = $twitter = $google = $fb = $about = $street_location = $user_id = $phone_no = ''; global $dwt_listing_api; $user = wp_get_current_user(); $user_id = $user->ID; $profile_arr['l_publish'] = esc_html__("Published", "dwt-listing-api"); $profile_arr['l_pending'] = esc_html__("Pending", "dwt-listing-api"); $profile_arr['l_featured'] = esc_html__("Featured", "dwt-listing-api"); $profile_arr['l_expired'] = esc_html__("Expired", "dwt-listing-api"); $profile_arr['admin_approval'] = esc_html__("Waiting for admin approval.", "dwt-listing-api"); $profile_arr['l_edit'] = esc_html__("Edit", "dwt-listing-api"); $profile_arr['l_delete'] = esc_html__("Delete", "dwt-listing-api"); $profile_arr['l_expire'] = esc_html__("Expired", "dwt-listing-api"); $profile_arr['confirmation'] = array( "title" => __("Confirmation!", "dwt-listing-api"), "text" => __("Are you sure you want to do this?", "dwt-listing-api"), "btn_cancle" => __("Cancel", "dwt-listing-api"), "btn_ok" => __("Confirm", "dwt-listing-api"), ); $profile_arr['user_id'] = $user_id; //profile data $phone_no = get_user_meta($user_id, 'd_user_contact', true ); $street_location = get_user_meta($user_id, 'd_user_location', true ); $user_time_zone = get_user_meta($user_id, 'd_user_timezone', true ); $about = get_user_meta($user_id, 'd_about_user', true ); $fb = get_user_meta($user_id, 'd_fb_link', true ); $google = get_user_meta($user_id, 'd_google_link', true ); $twitter = get_user_meta($user_id, 'd_twitter_link', true ); $linkedin = get_user_meta($user_id, 'd_linked_link', true ); $youtube = get_user_meta($user_id, 'd_youtube_link', true ); $insta = get_user_meta($user_id, 'd_insta_link', true ); //user business hours $seleted_hours = ''; if(get_user_meta($user_id, 'dwt_listing_user_hours_type', true) != "" && get_user_meta($user_id, 'dwt_listing_user_hours_type', true) == "24") { $seleted_hours = '24'; } else { $seleted_hours = '12'; } $user_info[] = array("key" => esc_html__("Name", "dwt-listing-api"), "value" => $user->display_name); $user_info[] = array("key" => esc_html__("Email", "dwt-listing-api"), "value" => $user->user_email); $user_info[] = array("key" => esc_html__("Phone No", "dwt-listing-api"), "value" => $phone_no); $user_info[] = array("key" => esc_html__("Location", "dwt-listing-api"), "value" => $street_location); $user_info[] = array("key" => esc_html__("Timezone", "dwt-listing-api"), "value" => $user_time_zone); $profile_arr['user_info'] = $user_info; //social media $user_info_social[] = array("key" => esc_html__("FaceBook", "dwt-listing-api"), "value" => esc_url($fb)); $user_info_social[] = array("key" => esc_html__("Twitter", "dwt-listing-api"), "value" => esc_url($twitter)); $user_info_social[] = array("key" => esc_html__("Linked In", "dwt-listing-api"), "value" => esc_url($linkedin)); $user_info_social[] = array("key" => esc_html__("Youtube", "dwt-listing-api"), "value" => esc_url($youtube)); $user_info_social[] = array("key" => esc_html__("Instagram", "dwt-listing-api"), "value" => esc_url($insta)); $profile_arr['profile_social_media'] = $user_info_social; //About User $profile_arr['about_user']['heading'] = esc_html__("About Info", "dwt-listing-api"); $profile_arr['about_user']['desc'] = $about; $package_id = $text_1 = $text_2 = ''; //package Info if( get_user_meta($user_id, 'd_user_package_id', true ) != "" ) { $package_id = get_user_meta($user_id, 'd_user_package_id', true ); $text_1 = esc_html__('You are on','dwt-listing-api'); $text_2 = esc_html__( 'upgrade your plan if desired.','dwt-listing-api'); $profile_arr['package_info']['heading'] = esc_html__("Your Plan:", "dwt-listing-api"); $profile_arr['package_info']['desc'] = $text_1 .' '. get_the_title( $package_id ) .' '. $text_2; $profile_arr['package_info']['package_id'] = $package_id; $profile_arr['package_info']['btn_txt'] = esc_html__("View Detials", "dwt-listing-api"); } else { $profile_arr['package_info']['heading'] = __("No Plan Selected", "dwt-listing-api"); $profile_arr['package_info']['desc'] = __("Currently you don't have any package upgrade your plan if desired.", "dwt-listing-api"); $profile_arr['package_info']['btn_txt'] = __("View Packages", "dwt-listing-api"); } //dashboard activity $dashboard_activity = dwt_listing_fetch_leads_activities_app($user_id); $profile_arr['dashboard_notifications'] = $dashboard_activity; $limit = 10; if(isset($dwt_listing_api['app_dashboard_user_listings']) && $dwt_listing_api['app_dashboard_user_listings'] !="") { $limit = $dwt_listing_api['app_dashboard_user_listings']; } //publish listingz $user_listingz['active_listings'] = dwt_listing_fetch_owner_listings_inapp('publish',$limit,$user_id); //pending listingz $user_listingz['pending_listings'] = dwt_listing_fetch_owner_listings_inapp('pending',$limit,$user_id); //featured listingz $user_listingz['featured_listings'] = dwt_listing_fetch_owner_listings_inapp('featured',$limit,$user_id); //featured listingz $user_listingz['expired_listings'] = dwt_listing_fetch_owner_listings_inapp('expired',$limit,$user_id); $profile_arr['listing_types'] = $user_listingz; $hours[] = array("text" =>esc_html__("12 Hours Format", "dwt-listing-api")); $hours[] = array("text" =>esc_html__("24 Hours Format", "dwt-listing-api")); $edit_profile['title'] = array("main_title" => __("Name", "dwt-listing-api"), "placeholder" =>__("Enter Your Name", "dwt-listing-api"),"is_required" => true,"value" => $user->display_name); $edit_profile['email'] = array("main_title" => __("Email", "dwt-listing-api"), "placeholder" =>__("Enter your email", "dwt-listing-api"),"is_required" => true,"value" => $user->user_email); $edit_profile['phone'] = array("main_title" => __("Phone No", "dwt-listing-api"), "placeholder" =>__("Enter your contact no", "dwt-listing-api"),"is_required" => true,"value" => $phone_no); $edit_profile['location'] = array("main_title" => __("Location", "dwt-listing-api"), "placeholder" =>__("City or location", "dwt-listing-api"),"is_required" => true,"value" => $street_location); $edit_profile['hours'] = array("main_title" => __("Business Hours Format", "dwt-listing-api"), "placeholder" =>'',"is_required" => true,"value" => $seleted_hours,"dropdown" => $hours); $edit_profile['timezone'] = array("main_title" => __("Timezone", "dwt-listing-api"), "placeholder" =>__("City or location", "dwt-listing-api"),"is_required" => true,"value" => $user_time_zone); $edit_profile['about'] = array("main_title" => __("About Yourself", "dwt-listing-api"), "placeholder" =>__("About Yourself...", "dwt-listing-api"),"is_required" => false,"value" => $about); $edit_profile['fb'] = array("main_title" => '', "placeholder" =>__("Facebook URL", "dwt-listing-api"),"is_required" => false,"value" => esc_url($fb)); $edit_profile['tw'] = array("main_title" => '', "placeholder" =>__("Twitter URL", "dwt-listing-api"),"is_required" => false,"value" =>esc_url($twitter)); $edit_profile['in'] = array("main_title" => '', "placeholder" =>__("LinkedIn URL", "dwt-listing-api"),"is_required" => false,"value" => esc_url($linkedin)); $edit_profile['youtube'] = array("main_title" => '', "placeholder" =>__("Youtube URL", "dwt-listing-api"),"is_required" => false,"value" => esc_url($youtube)); $edit_profile['insta'] = array("main_title" => '', "placeholder" =>__("Instagram URL", "dwt-listing-api"),"is_required" => false,"value" => esc_url($insta)); $profile_arr['edit_profile'] =$edit_profile; $profile_arr['profile_data'] = dwt_listing_basic_profile_data(); $extra_arr['p_dashboard'] = esc_html__("Dashboard", "dwt-listing-api"); $extra_arr['p_listings'] = esc_html__("Listings", "dwt-listing-api"); $extra_arr['p_profile'] = esc_html__("Profile", "dwt-listing-api"); $extra_arr['p_edit_profile'] = esc_html__("Edit Profile", "dwt-listing-api"); $extra_arr['dashboard_text'] = esc_html__("Recent Activities", "dwt-listing-api"); $extra_arr['profile_edit_btn'] = esc_html__("Update Profile", "dwt-listing-api"); $extra_arr['p_recent_act'] = esc_html__("Recent Activities", "dwt-listing-api"); $extra_arr['forget_pass'] = esc_html__("Change Password", "dwt-listing-api"); $profile_arr['page_title'] = esc_html__("My Profile", "dwt-listing-api"); $profile_arr['page_title_edit'] = esc_html__("Edit Profile", "dwt-listing-api"); $response = array( 'success' => true, 'data' => $profile_arr, "message" => "" , "extra_text" => $extra_arr); return $response; } } /*Update User Proflie Fields */ add_action( 'rest_api_init', 'dwt_listing_profile_edit_api_hooks_get', 0 ); function dwt_listing_profile_edit_api_hooks_get() { register_rest_route( 'downtown/app/', '/profile-edit/', array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => 'dwt_listing_myProfile_submit_form', 'permission_callback' => function () { return dwt_listing_basic_auth(); }, ) ); } if (!function_exists('dwt_listing_myProfile_submit_form')) { function dwt_listing_myProfile_submit_form($request) { $response = $l_link = $g_link = $tw_link = $fb_link = $user_introduction = $timezone = $location = $phone = $name = ''; $user = wp_get_current_user(); $user_id = $user->data->ID; $json_data = $request->get_body_params(); $name = (isset($json_data['name'])) ? sanitize_text_field($json_data['name']) : ''; $phone = (isset($json_data['phone'])) ? sanitize_text_field($json_data['phone']) : ''; $location = (isset($json_data['location'])) ? sanitize_text_field($json_data['location']) : ''; $timezone = (isset($json_data['timezone'])) ? sanitize_text_field($json_data['timezone']) : ''; $user_introduction = (isset($json_data['about'])) ? sanitize_textarea_field($json_data['about']) : ''; $fb_link = (isset($json_data['fb'])) ? sanitize_text_field($json_data['fb']) : ''; $tw_link = (isset($json_data['tw'])) ? sanitize_text_field($json_data['tw']) : ''; $l_link = (isset($json_data['in'])) ? sanitize_text_field($json_data['in']) : ''; $youtube = (isset($json_data['youtube'])) ? sanitize_text_field($json_data['youtube']) : ''; $instagram = (isset($json_data['insta'])) ? sanitize_text_field($json_data['insta']) : ''; $hours_type = (isset($json_data['my_hours_type'])) ? sanitize_text_field($json_data['my_hours_type']) : ''; if( $name == "" ) { $response = array( 'success' => false, 'data' => '' , 'message' => __("Please enter your name.", "dwt-listing-api") ); return $response; } if( $phone == "" ) { $response = array( 'success' => false, 'data' => '' , 'message' => __("Please enter your phone number.", "dwt-listing-api") ); return $response; } if( $location == "" ) { $response = array( 'success' => false, 'data' => '' , 'message' => __("Please enter your location.", "dwt-listing-api") ); return $response; } if( $timezone == "" ) { $response = array( 'success' => false, 'data' => '' , 'message' => __("Please select your timezone.", "dwt-listing-api") ); return $response; } wp_update_user( array( 'ID' => $user_id, 'display_name' => $name ) ); update_user_meta($user_id, 'd_user_contact', $phone); update_user_meta($user_id, 'd_user_location', $location); update_user_meta($user_id, 'd_user_timezone', $timezone); update_user_meta($user_id, 'd_about_user', $user_introduction); update_user_meta($user_id, 'd_fb_link', $fb_link); update_user_meta($user_id, 'd_twitter_link', $tw_link); update_user_meta($user_id, 'd_linked_link', $l_link); update_user_meta($user_id, 'd_youtube_link', $youtube); update_user_meta($user_id, 'd_insta_link', $instagram); if($hours_type == '24') { update_user_meta($user_id, 'dwt_listing_user_hours_type', '24'); } else { update_user_meta($user_id, 'dwt_listing_user_hours_type', '12'); } $data = dwt_listing_basic_profile_data(); if(!empty($_FILES)) { if( dwt_listing_text('dwt_listing_disable_edit') == '1' && !is_super_admin( get_current_user_id())) { return rest_ensure_response(array( 'success' => false, 'data' => '', 'message' => __( "Disable for Demo.", 'dwt-listing-api'))); } $file_handler = 'user_dp'; $allowed_file_types = array('image/jpg', 'image/jpeg', 'image/png'); if(!in_array($_FILES[$file_handler]['type'], $allowed_file_types)) { return rest_ensure_response(array( 'success' => false, 'data' => '', 'message' => __( "Sorry, only JPG, JPEG, and PNG files are allowed.",'dwt-listing-api' ))); } if ($_FILES[$file_handler]['error'] !== UPLOAD_ERR_OK) { return rest_ensure_response(array( 'success' => false, 'data' => '', 'message' => $_FILES[$file_handler]['error'] )); } require_once(ABSPATH . "wp-admin" . '/includes/image.php'); require_once(ABSPATH . "wp-admin" . '/includes/file.php'); require_once(ABSPATH . "wp-admin" . '/includes/media.php'); $attach_id = media_handle_upload( $file_handler, $user_id ); if ( is_wp_error( $attach_id ) ) { $response = rest_ensure_response(array( 'success' => false, 'data' => '' , 'message' => __("There is a Problem Uploading Your Image.", "dwt-listing-api"))); } else { update_user_meta($user_id, 'dwt_listing_user_pic',$attach_id); } } $response = rest_ensure_response(array( 'success' => true, 'data' => $data , 'message' => __("Profile Updated Successfully.", "dwt-listing-api"))); return $response; } } /*Downtown Get Chang Password Screen */ add_action( 'rest_api_init', 'dwt_listing_get_password_modal', 0 ); function dwt_listing_get_password_modal() { register_rest_route( 'downtown/app', '/change-password/', array( 'methods' => WP_REST_Server::READABLE, 'callback' => 'dwt_listing_change_my_password', 'permission_callback' => function () { return dwt_listing_basic_auth(); }, ) ); } if (!function_exists('dwt_listing_change_my_password')) { function dwt_listing_change_my_password($request ) { $response = ''; $forget_pass[] = array("main_title" => __("Password", "dwt-listing-api"), "placeholder" => __("Enter Your New Password", "dwt-listing-api"), "field_type_name" => 'new_password'); $forget_pass[] = array("main_title" => __("Confirm Password", "dwt-listing-api"), "placeholder" => __("Confirm New Password", "dwt-listing-api"), "field_type_name" => 'confirm_password'); $data['change_password'] = $forget_pass; $data['heading'] = __("Set Your Password", "dwt-listing-api"); $data['btn_text'] = __("Change my password", "dwt-listing-api"); $response = rest_ensure_response(array( 'success' => true, 'data' => $data, "message" => "")); return $response; } } /*Downtown Profile Password Change Form */ add_action( 'rest_api_init', 'dwt_listing_profile_change_password', 0 ); function dwt_listing_profile_change_password() { register_rest_route( 'downtown/app', '/change-password', array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => 'dwt_listing_profile_password_change', 'permission_callback' => function () { return dwt_listing_basic_auth(); }, ) ); } if (!function_exists('dwt_listing_profile_password_change')) { function dwt_listing_profile_password_change($request ) { $json_data = $request->get_json_params(); $new_pass = (isset($json_data['new_password'])) ? sanitize_text_field($json_data['new_password']) : ''; $new_pass_con = (isset($json_data['confirm_password'])) ? sanitize_text_field($json_data['confirm_password']) : ''; if( dwt_listing_text('dwt_listing_disable_edit') == '1' && !is_super_admin( get_current_user_id())) { return rest_ensure_response(array( 'success' => false, 'data' => '', 'message' => __( "Disable for Demo.", 'dwt-listing-api'))); } if( $new_pass == "" || $new_pass_con == "") { $response = rest_ensure_response(array( 'success' => false, 'data' => '' , 'message' => __("All fields are required.", "dwt-listing-api") )); return $response; } if($new_pass === $new_pass_con) { $user = get_user_by('ID', get_current_user_id()); wp_set_password( $new_pass, $user->ID ); $response = rest_ensure_response(array( 'success' => true, 'data' => '' , 'message' => __("Password changed successfully", "dwt-listing-api") )); return $response; } else { $response = rest_ensure_response(array( 'success' => false, 'data' => '' , 'message' => __("Whoops, something wen't wrong please try later!.", "dwt-listing-api") )); return $response; } } } //user Favourite Listings add_action( 'rest_api_init', 'dwt_listing_user_fav_listings', 0 ); function dwt_listing_user_fav_listings() { register_rest_route( 'downtown/app', '/fav-listings/', array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => 'dwt_listing_user_favourite_listings', 'permission_callback' => function () { return dwt_listing_basic_auth(); }, ) ); } if (!function_exists('dwt_listing_user_favourite_listings')) { function dwt_listing_user_favourite_listings($request) { global $wpdb; global $dwt_listing_api; $fav = array(); $param = $request->get_json_params(); $user = wp_get_current_user(); $user_id = $user->ID; $limit = 10; if(isset($dwt_listing_api['app_dashboard_user_listings']) && $dwt_listing_api['app_dashboard_user_listings'] !="") { $limit = $dwt_listing_api['app_dashboard_user_listings']; } $rows = $wpdb->get_results( "SELECT meta_value FROM $wpdb->usermeta WHERE user_id = '$user_id' AND meta_key LIKE 'dwt_listing_fav_listing_id%'" ); $listing_idz = array(0); foreach( $rows as $row ) { $listing_idz[] = $row->meta_value; } $meta_query_args = array(array('key'=>'dwt_listing_listing_status','value' => 1,'compare' => '=')); if(!empty($param['next_page'])) { $page = $param['next_page']; } else { $page = 1; } $args = array( 'post_type' => 'listing', 'post__in' => $listing_idz, 'post_status' => 'publish', 'posts_per_page' =>$limit, 'paged' => $page, 'order'=> 'DESC', 'orderby' => 'ID', 'meta_query' => $meta_query_args ); $my_listings = new WP_Query( $args ); $fav['has_bookmarks'] = false; if ( $my_listings->have_posts() ) { $fav['has_bookmarks'] = true; while ( $my_listings->have_posts() ) { $fav['bookmark_count'] = esc_html__("Favorites Listings : ", "dwt-listing-api") . $my_listings->found_posts; $my_listings->the_post(); $listing_id = get_the_ID(); $media = dwt_listing_fetch_listing_gallery($listing_id); $is_featured = dwt_listing_is_listing_featured_app($listing_id); $color_code = $pieces = $category_name = $categor_id = $listing_cats = $total_leads = $contact_leads = $web_leads = $total_views = $status_type = $b_status = $is_featured = ''; if(dwt_listing_business_hours_status($listing_id) !="") { $status_type = dwt_listing_business_hours_status($listing_id); if($status_type == 0) { $b_status = esc_html__('Closed','dwt-listing-api'); $color_code = '#c00'; } else if($status_type == 2) { $b_status = esc_html__('Always Open','dwt-listing-api'); $color_code = '#fc0'; } else { $b_status = esc_html__('Open Now','dwt-listing-api'); $color_code = '#25a25a'; } } $category_name = $categor_id = '' ; $listing_cats = dwt_listing_listing_assigned_cats_app($listing_id); if(count((array) $listing_cats) > 0 && !empty($listing_cats)) { $pieces = explode(',', $listing_cats); $categor_id = $pieces[0]; $category_name = $pieces[1]; } $final_title = $limited_title = ''; if(isset($dwt_listing_api['app_title_limit']) && $dwt_listing_api['app_title_limit'] !="") { $limited_title = dwt_listing_words_count(get_the_title($post_id), $dwt_listing_api['app_title_limit']); $final_title = stripslashes_deep(wp_strip_all_tags(str_replace("|"," ",$limited_title))); } else { $final_title = get_the_title($post_id); } $listingz[] = array( "listing_id" => $listing_id, "category_id" => $categor_id, "category_name" => dwt_listing_convert_uniText($category_name), "listing_title" => dwt_listing_convert_uniText($final_title) , "image" => dwt_listing_return_listing_idz_app($media,'downtown-mylistings'), "is_featured" => $is_featured, "business_hours_status" => $b_status, "color_code" => $color_code, "posted_date" => get_the_date(get_option('date_format'),$listing_id), ); wp_reset_postdata(); } $has_next_page = $lastpage = $next = ''; //pagination $next = $page + 1; $lastpage = ceil($my_listings->found_posts/$limit); $has_next_page = ($next <= (int)$lastpage) ? true : false; $fav['bookmarks'] = $listingz; $fav['pagination'] = array("total_listings" => $my_listings->found_posts, "current_page" => (int)$page, "next_page" => (int)$next, "has_next_page" => $has_next_page ); $fav['confirmation'] = array( "title" => __("Confirmation!", "dwt-listing-api"), "text" => __("Are you sure you want to do this?", "dwt-listing-api"), "btn_cancle" => __("Cancel", "dwt-listing-api"), "btn_ok" => __("Confirm", "dwt-listing-api"), ); return rest_ensure_response(array('success' =>true,'data'=> $fav, 'message' => '')); } else { return rest_ensure_response(array('success' =>false,'data' => '', 'message'=>esc_html__( "There are no favorites.", 'dwt-listing-api'))); } } } //Remove Favourite Listings add_action( 'rest_api_init', 'remove_fav_dash_listings_app', 0 ); function remove_fav_dash_listings_app() { register_rest_route( 'downtown/app', '/remove-favz/', array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => 'app_remove_fav_listings_dash', 'permission_callback' => function () { return dwt_listing_basic_auth(); }, ) ); } if (!function_exists('app_remove_fav_listings_dash')) { function app_remove_fav_listings_dash($request) { global $dwt_listing_options; if (!is_user_logged_in()) { return rest_ensure_response(array( 'success' => false, 'data' => '', 'message' => __("You need to logged in", "dwt-listing-api"))); } if( dwt_listing_text('dwt_listing_disable_edit') == '1' && !is_super_admin( get_current_user_id())) { return rest_ensure_response(array( 'success' => false, 'data' => '', 'message' => __( "Disable for Demo.", 'dwt-listing-api'))); } $json_data = $request->get_json_params(); if(!empty($json_data['listing_id'])) { $user = wp_get_current_user(); $user_id = $user->ID; $listing_id = $json_data['listing_id']; if( delete_user_meta($user_id, 'dwt_listing_fav_listing_id' . $listing_id )) { return rest_ensure_response(array( 'success' => true, 'data' => '' , 'message' => __("Listing removed successfully.", "dwt-listing-api"))); } else { return rest_ensure_response(array( 'success' => false, 'data' => '' , 'message' => __("There's some problem, please try again later.", "dwt-listing-api"))); } } else { return rest_ensure_response(array( 'success' => false, 'data' => '' , 'message' => __("Listing Id is required.", "dwt-listing-api"))); } } }
[+]
..
[-] events.php
[edit]
[-] author-listings.php
[edit]
[-] fetch_data.php
[edit]
[-] forget.php
[edit]
[-] categories.php
[edit]
[-] listing-detail.php
[edit]
[-] packages.php
[edit]
[-] home.php
[edit]
[+]
packages
[-] reviews.php
[edit]
[+]
submit-listing
[-] profile.php
[edit]
[-] register.php
[edit]
[-] settings.php
[edit]
[-] events-search.php
[edit]
[-] listing-search.php
[edit]
[+]
profile
[-] event-detail.php
[edit]
[-] login.php
[edit]
[+]
payments
[-] blog.php
[edit]