示例#1
0
    }
}
?>
                </dd>
                <dt>Deadline</dt>
                <?php 
$deadline_day = calculate_age_day_signed($job_details['deadline_date']);
?>
                <dd <?php 
if ($deadline_day < 0) {
    echo "style='color:red'";
}
?>
 >
                    <?php 
echo isset($job_details['deadline_date']) ? humanize_date($job_details['deadline_date']) : '';
?>
&nbsp;&nbsp;&nbsp;
                    
                    <?php 
$deadline_day = calculate_age_day_signed($job_details['deadline_date']);
if ($deadline_day == 0) {
    echo ' (Today)';
} else {
    if ($deadline_day == 1) {
        echo ' (Tomorrow)';
    } else {
        if ($deadline_day == -1) {
            echo ' (Yesterday)';
        } else {
            if ($deadline_day > 1) {
示例#2
0
"><?php 
        echo $job['openings'];
        ?>
</a></td>
                  <td><a href="<?php 
        echo base_url() . 'employer_profile/edit_job/' . $job['id'];
        ?>
"><?php 
        echo humanize_date($job['published_date']);
        ?>
</a></td>
                  <td><a href="<?php 
        echo base_url() . 'employer_profile/edit_job/' . $job['id'];
        ?>
"><?php 
        echo humanize_date($job['deadline_date']);
        ?>
</a></td>
                  <td>
                    <a class="btn btn-danger delete"  data-id="<?php 
        echo $job['id'];
        ?>
" data-toggle="tooltip" title="Delete"  data-original-title="Delete"><i class="fa fa-trash-o fa-lg"></i> Delete</a>
                  </td>
                </tr>
                      <?php 
    }
} else {
    ?>
                <tr>
                  <td colspan="6">
示例#3
0
    ?>
" class="img-responsive" alt=""/></a>
      </div>
      <div class="col-sm-8 row_1">
        <h4><a href="<?php 
    echo base_url() . 'jobs/' . $job_item['id'];
    ?>
"><?php 
    echo $job_item['title'];
    ?>
</a></h4>
        <h6><?php 
    echo $job_item['category_name'];
    ?>
 <span class="dot"></span><b>Deadline: </b> <?php 
    echo humanize_date($job_item['deadline_date']);
    ?>
</h6>
        <p><?php 
    echo $job_item['job_description'];
    ?>
</p>
        <div class="social">  
            <a target="_blank" class="btn_1 facebook_share" data-val="<?php 
    echo $job_item['id'];
    ?>
">
            <i class="fa fa-facebook fb"></i>
            <span class="share1 fb">Share</span>                
          </a>
          <a target="_blank" class="btn_1 twitter_share" data-val="<?php 
示例#4
0
    echo $search_result['title'];
    ?>
 </a>
			    	 	
			    	 	</h6>
			    	 <p><span class="m_2">Description : </span><?php 
    echo $search_result["job_description"];
    ?>
</p>
			    	 <p>	
			    	 	<span class="m_2">Posted : </span><?php 
    echo humanize_date($search_result['published_date']);
    ?>
 (<?echo calculate_age_with_unit($search_result['published_date'])?>)</br>
			    	 	<span class="m_2">Deadline : </span><?php 
    echo humanize_date($search_result['deadline_date']);
    ?>
 (<?echo calculate_age_with_unit($search_result['deadline_date'])?>)
			    	 </p>
			    	 <ul class="links_bottom">
		  		    	<!-- <li><a href="location_single.html"><i class="fa fa-envelope-o icon_1"> </i><span class="icon_text">Email this Job</span></a></li> -->
			  			<li><a href="<?php 
    echo base_url() . 'jobs/' . $search_result['job_id'];
    ?>
"><i class="fa fa-eye icon_1"> </i><span class="icon_text">View full Job Description</span></a></li>
			  			<li class="last"><a href="<?php 
    echo base_url() . 'category/' . $search_result['url'];
    ?>
"><i class="fa fa-sort-desc icon_1"> </i><span class="icon_text">View similar Jobs</span></a></li>
					 </ul>
				   </div>
示例#5
0
    $age_day = calculate_age_day($row['published_date']);
    if ($age_day == 0) {
        echo ' (Today)';
    } else {
        if ($age_day == 1) {
            echo ' (Yesterday)';
        } else {
            echo '(' . $age_day . ' Days ago)';
        }
    }
    ?>
                                                    </dd>
                                                    <dt>Deadline</dt>
                                                    <dd>
                                                        <?php 
    echo humanize_date($row['deadline_date']);
    ?>
&nbsp;&nbsp;&nbsp;
                                                        
                                                        <?php 
    $age_day = calculate_age_day_signed($row['deadline_date']);
    if ($age_day == 0) {
        echo ' (Today)';
    } else {
        if ($age_day == 1) {
            echo ' (Tomorrow)';
        } else {
            if ($age_day == -1) {
                echo ' (Yesterday)';
            } else {
                if ($age_day > 1) {
示例#6
0
                    
                        <div class="panel-body">
                            <img src="<?php 
echo base_url() . 'uploads/user/images/' . $user_info['image'];
?>
" class="img-responsive img-rounded" style="max-width:400px; width:200px">
                            <dl class="dl-horizontal">
                                <dt>Full Name</dt>
                                <dd><?php 
echo $user_info['f_name'] . ' ' . $user_info['l_name'];
?>
</dd>
                                <dt>Date of Birth</dt>
                                <dd>
                                    <?php 
echo humanize_date($user_info['dob_estd']);
?>
 
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <b>Age </b><?php 
echo calculate_age_year_from_y_m_d($user_info['dob_estd']) . ' Yrs';
?>
                                </dd>
                                <dt>Gender</dt>
                                <dd><?php 
if (strcasecmp($user_info['gender'], 'm') == 0) {
    echo 'Male';
} else {
    echo 'Female';
}
?>
示例#7
0
echo $jobseeker['address'];
?>
</dd>
                        <dt>Gender</dt>
                        <dd><?php 
echo $jobseeker['gender'] == 0 ? 'Female' : 'Male';
?>
</dd>
                        <dt>Phone</dt>
                        <dd><?php 
echo $jobseeker['phone'];
?>
</dd>
                        <dt>DOB</dt>
                        <dd><?php 
echo humanize_date($jobseeker['dob_estd']);
?>
 <b>&nbsp;&nbsp;Age:</b> <?php 
echo calculate_age_year_from_y_m_d($jobseeker['dob_estd']);
?>
 Yrs</dd>
                        <dt>Marital Status</dt>
                        <dd><?php 
echo $jobseeker['marital_status'] == 0 ? 'Married' : 'Unmarried';
?>
</dd>
                    </dl>
                </div>
            </div>
            <div class="tab_grid row">
                <div class="well">