Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > > wp-user-frontend > > > templates
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
dashboard | Directory | - | - | |
dokan | Directory | - | - | |
subscriptions | Directory | - | - | |
wc-marketplace | Directory | - | - | |
wc-vendors | Directory | - | - | |
account.php | File | 2700 bytes | January 02 2024 16:35:50. | |
dashboard.php | File | 5523 bytes | March 19 2025 14:25:12. | |
logged-in.php | File | 505 bytes | March 19 2025 14:25:12. | |
login-form.php | File | 4276 bytes | March 19 2025 14:25:12. | |
lost-pass-form.php | File | 1337 bytes | February 13 2024 11:27:44. | |
registration-form.php | File | 5256 bytes | March 19 2025 14:25:12. | |
reset-pass-form.php | File | 2178 bytes | February 13 2024 11:27:44. | |
submit-post.php | File | 380 bytes | October 21 2020 09:34:58. | |
unauthorized.php | File | 389 bytes | March 19 2025 14:25:12. |
<div class="wpuf-dashboard-container"> <h2 class="page-head"> <span class="colour"><?php printf( // translators: %s is displayname esc_attr( __( "%s's Dashboard", 'wp-user-frontend' ) ), esc_html( $userdata->display_name )); ?></span> </h2> <?php if ( wpuf_get_option( 'show_post_count', 'wpuf_dashboard', 'on' ) == 'on' ) { ?> <?php if ( !empty( $post_type_obj ) ) { ?> <div class="post_count"> <?php $labels = []; foreach ( $post_type_obj as $key => $post_type_name ) { if ( isset( $post_type_name->label ) ) { $labels[] = $post_type_name->label; } } printf( wp_kses_post( // translators: %1$s is Post and %2$s is labels __( 'You have created <span>%1$d</span> (%2$s)', 'wp-user-frontend' ) ), wp_kses_post( $dashboard_query->found_posts ), wp_kses_post( implode( ', ', $labels ) ) ); ?> </div> <?php } ?> <?php } ?> <?php if ( !empty( $post_type_obj ) ) { do_action( 'wpuf_dashboard_top', $userdata->ID, $post_type_obj ); } $meta_label = []; $meta_name = []; $meta_id = []; $meta_key = []; $template_args = []; if ( !empty( $meta ) ) { $arr = explode( ',', $meta ); foreach ( $arr as $mkey ) { $meta_key[] = trim( $mkey ); } } if ( $dashboard_query->have_posts() ) { $args = [ 'post_status' => 'publish', 'post_type' => [ 'wpuf_forms' ], ]; $query = new WP_Query( $args ); foreach ( $query->posts as $post ) { $postdata = get_object_vars( $post ); unset( $postdata['ID'] ); $data = [ 'meta_data' => [ 'fields' => wpuf_get_form_fields( $post->ID ), ], ]; foreach ( $data['meta_data']['fields'] as $fields ) { foreach ( $fields as $key => $field_value ) { if ( $key == 'is_meta' && $field_value == 'yes' ) { $meta_label[]= $fields['label']; $meta_name[] = $fields['name']; $meta_id[] = $fields['id']; } } } } wp_reset_postdata(); $len = count( $meta_key ); $len_label = count( $meta_label ); $len_id = count( $meta_id ); $featured_img = wpuf_get_option( 'show_ft_image', 'wpuf_dashboard' ); $featured_img_size = wpuf_get_option( 'ft_img_size', 'wpuf_dashboard' ); $enable_payment = wpuf_get_option( 'enable_payment', 'wpuf_payment' ); $current_user = wpuf_get_user(); $user_subscription = new WeDevs\Wpuf\User_Subscription( $current_user ); $user_sub = $user_subscription->current_pack(); $sub_id = $current_user->subscription()->current_pack_id(); if ( $sub_id ) { $subs_expired = $user_subscription->expired(); } else { $subs_expired = false; } $template_args['post_type'] = $post_type; $template_args['featured_img'] = $featured_img; $template_args['featured_img_size'] = $featured_img_size; $template_args['enable_payment'] = $enable_payment; $template_args['payment_column'] = $payment_column; $template_args['args'] = $args; $template_args['dashboard_query'] = $dashboard_query; $template_args['subs_expired'] = $subs_expired; ?> <?php wpuf_load_template( 'dashboard/list.php', $template_args ); ?> <div class="wpuf-pagination"> <?php $pagination = paginate_links( [ 'base' => add_query_arg( 'pagenum', '%#%' ), 'format' => '', 'prev_text' => __( '«', 'wp-user-frontend' ), 'next_text' => __( '»', 'wp-user-frontend' ), 'total' => $dashboard_query->max_num_pages, 'current' => $pagenum, 'add_args' => false, ] ); if ( $pagination ) { echo wp_kses( $pagination, [ 'span' => [ 'aria-current' => [], 'class' => [], ], 'a' => [ 'href' => [], 'class' => [], ] ] ); } ?> </div> <?php } else { if ( !empty( $post_type_obj ) && !empty( $labels ) ) { printf( '<div class="wpuf-message">' . wp_kses_post( // translators: %s is label __( 'No %s found', 'wp-user-frontend' ) ) . '</div>', esc_html( implode( ', ', $labels ) ) ); do_action( 'wpuf_dashboard_nopost', $userdata->ID, $post_type_obj ); } } if ( !empty( $post_type_obj ) ) { do_action( 'wpuf_dashboard_bottom', $userdata->ID, $post_type_obj ); } ?> </div>
SILENT KILLER Tool