HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux acmehomecare 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: www-data (33)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wp-content/themes/exertio/template-parts/auth/report.php
<?php 
$pid = get_the_ID();
$report_title = '';
if ( is_singular( 'freelancer' ) )
{
	$report_title = esc_html__('Report this Freelancer', 'exertio_theme');
}
else if (  is_singular( 'services' ))
{
	$report_title = esc_html__('Report this Service', 'exertio_theme');
}
else if ( is_singular( 'projects' ) )
{
	$report_title = esc_html__('Report this Project', 'exertio_theme');
}
if (is_singular( 'employer' ) )
{
	$report_title = esc_html__('Report this Employer', 'exertio_theme');
}
?>
<div class="modal fade forget_pwd" id="report-modal" data-backdrop="static" data-keyboard="false">
  <div class="modal-dialog">
    <div class="modal-content">
      <form class="modal-from report-form" method="POST" id="report-form">
        <div class="modal-header">
          <h5 class="modal-title"><?php echo esc_html($report_title); ?></h5>
          <button type="button" class="close" data-bs-dismiss="modal"><span>&times;</span></button>
        </div>
        <div class="modal-body">
			<div class="fr-report-form">
				<div class="form-group">
					<label><?php echo esc_html__('Choose Reason','exertio_theme'); ?></label>
					<?php
					  $report_category_taxonomies = exertio_get_terms('report-category');
						if ( !empty($report_category_taxonomies) )
						{
							$report_category = '<select name="report_category" class="form-control general_select">';

							foreach( $report_category_taxonomies as $report_category_taxonomy ) {
								if( $report_category_taxonomy->parent == 0 ) {
									 $report_category .= '<option value="'. esc_attr( $report_category_taxonomy->term_id ) .'">
											'. esc_html( $report_category_taxonomy->name ) .'</option>';
								}
							}
							$report_category.='</select>';
							echo wp_return_echo($report_category);
						}
					?>
				</div>
				<div class="form-group">
				  <label><?php echo esc_html__('Provide details','exertio_theme'); ?></label>
				  <textarea name="report_desc" class="form-control" id="" class="form-control" required data-smk-msg="<?php echo esc_attr__('Required field','exertio_theme');?>"></textarea>
				</div>
				<div class="form-group">
					<input type="hidden" id="fl_report_nonce" value="<?php echo wp_create_nonce('fl_report_secure'); ?>"  />
					<button type="button" id="btn-report" class="btn btn-theme btn-loading btn-report" data-post-id="<?php echo esc_attr($pid); ?> "><?php echo esc_html__("Save & Submit", 'exertio_theme'); ?><span class="bubbles"> <i class="fa fa-circle"></i> <i class="fa fa-circle"></i> <i class="fa fa-circle"></i> </span></button>
				</div>
			</div>
        
        </div>
      </form>
    </div>
  </div>
</div>