PluginProbe
JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications / 2.3.2
JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications v2.3.2
2.5.0 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4.0 All 33 releases
jobwp / admin / view / application_list.php

application_list.php in JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications 2.3.2, at admin/view/application_list.php

105 lines 3.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( !defined( 'ABSPATH' ) ) {
4 exit;
5 }
6 $showMessage = '';
7 // Delete Single Application
8 if ( isset( $_GET['delID'] ) ) {
9 $showMessage = $this->jobwp_delete_single_application( $_GET['delID'] );
10 }
11 $jobwpDir = wp_upload_dir();
12 $jobwpDir = $jobwpDir['baseurl'] . '/jobwp-resume';
13 ?>
14 <div class="settings-banner">
15 <h2><i class="fa-solid fa-list-check"></i>&nbsp;<?php
16 _e( 'Application Lists', JOBWP_TXT_DOMAIN );
17 ?></h2>
18 </div>
19 <?php
20 if ( '' !== $showMessage ) {
21 $this->jobwp_display_notification( 'info', $showMessage );
22 }
23 ?>
24 <div id="jobwp-wrap-all" class="wrap">
25 <form id="posts-filter" class="submitterRequest" method="post" action="?post_type=jobs&page=jobwp-application-list">
26 <table class="wp-list-table widefat fixed striped posts" cellspacing="0" id="wpc_data_table">
27 <thead>
28 <tr>
29 <?php
30 print_column_headers( 'jobwp-allication-table-column' );
31 ?>
32 </tr>
33 </thead>
34 <tbody id="the-list">
35 <?php
36 $jL = 1;
37 $applications = $this->jobwp_get_all_applications();
38 if ( count( $applications ) > 0 ) {
39 foreach ( $applications as $application ) {
40 ?>
41 <tr>
42 <td><input type="checkbox" class="bulkSelect" name="bulkSelection[]" value="<?php
43 esc_attr_e( $application->job_id );
44 ?>"></td>
45 <td style="font-weight:600;"><?php
46 printf( '%d', $jL );
47 ?></td>
48 <td><?php
49 printf( '%s', $application->applied_for );
50 ?></td>
51 <td><?php
52 printf( '%s', $application->applicant_name );
53 ?></td>
54 <td><?php
55 printf( '%s', $application->applicant_email );
56 ?></td>
57 <td><?php
58 printf( '%s', $application->applicant_message );
59 ?></td>
60 <td><a href="<?php
61 printf( '%s/%s', $jobwpDir, $application->resume_name );
62 ?>"><?php
63 esc_html_e( $application->resume_name );
64 ?></a></td>
65 <td><?php
66 printf( '%s', date( 'D d M Y - h:i A', strtotime( $application->applied_on ) ) );
67 ?>
68 </td>
69 <?php
70 ?>
71 <td>
72 <span class="delReq">
73 <a href="?post_type=jobs&page=jobwp-application-list&delID=<?php
74 esc_attr_e( $application->job_id );
75 ?>" class="reqDel"><?php
76 _e( 'DELETE', JOBWP_TXT_DOMAIN );
77 ?></a>
78 </span>
79 </td>
80 </tr>
81 <?php
82 $jL++;
83 }
84 }
85 ?>
86 </tbody>
87 <tfoot>
88 <tr>
89 <?php
90 print_column_headers( 'jobwp-allication-table-column', false );
91 ?>
92 </tr>
93 </tfoot>
94 </table>
95 </form>
96 </div>
97 <?php
98 ?>
99 <a href="#" class="button button-primary jobwp-button"><?php
100 _e( 'EXPORT TO CSV', JOBWP_TXT_DOMAIN );
101 ?></a><br>
102 <span><?php
103 echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now to Export', 'jobwp' ) . '</a>' ;
104 ?></span>
105