115 lines
3.2 KiB
PHP
115 lines
3.2 KiB
PHP
<form method="post" name="job_nav_find" action="">
|
|
<input type="hidden" name="jobOfferID" value="">
|
|
<input type="hidden" name="jobID" value="">
|
|
</form>
|
|
|
|
<div class="card card-xl-stretch mb-5 mb-xl-8">
|
|
<div class="card-header border-0 pt-5">
|
|
<h3 class="card-title align-items-start flex-column">
|
|
<span class="card-label fw-bolder fs-3 mb-1"><a href="/proj/active">Active Projects</a></span>
|
|
</h3>
|
|
<div class="card-toolbar">
|
|
|
|
</div>
|
|
</div>
|
|
<div class="card-body py-3">
|
|
<div class="tab-content">
|
|
<div class="tab-pane fade show active" id="kt_table_widget_5_tab_1">
|
|
<div class="table-responsive">
|
|
<?
|
|
if (count($job_table_result) > 0 ){
|
|
include 'active_jobs/active_jobs_table.php';
|
|
}
|
|
else{
|
|
include 'active_jobs/active_jobs_nojob.php';
|
|
}
|
|
?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
function post_nav_find_action(what, value) {
|
|
// alert(what);
|
|
document.job_nav_find.action = what + '';
|
|
document.job_nav_find.jobOfferID.value = value;
|
|
document.job_nav_find.jobID.value = value;
|
|
document.job_nav_find.submit();
|
|
return false;
|
|
}
|
|
// -->
|
|
</script>
|
|
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
|
|
function showModal(interest_id) {
|
|
if (typeof event !== 'undefined') {
|
|
event.preventDefault();
|
|
}
|
|
// collect data - either from forms or from data variables
|
|
var id = $(this).data('id');
|
|
|
|
// load the modal content with a loader gif and message
|
|
$('#modal-content').html('Loading...');
|
|
|
|
// show modal window
|
|
$('#modal_theme_primary').modal('show');
|
|
|
|
// do the ajax bit
|
|
var post_data = {
|
|
'interest_id': id,
|
|
};
|
|
|
|
$.ajax({
|
|
url: "/jobs/jobinterest_modal?interest_id="+interest_id
|
|
}).done(function (data) {
|
|
//alert(data);
|
|
$('#modal-content').html(data);
|
|
});
|
|
}
|
|
|
|
function showJobModal(contact_id) {
|
|
if (typeof event !== 'undefined') {
|
|
event.preventDefault();
|
|
}
|
|
// collect data - either from forms or from data variables
|
|
var id = $(this).data('id');
|
|
|
|
// load the modal content with a loader gif and message
|
|
$('#modal-content').html('Loading...');
|
|
|
|
// show modal window
|
|
$('#modal_theme_primary').modal('show');
|
|
|
|
// do the ajax bit
|
|
var post_data = {
|
|
'interest_id': id,
|
|
};
|
|
|
|
$.ajax({
|
|
url: "/jobs/jobdetail_modal?contact_id="+contact_id
|
|
}).done(function (data) {
|
|
//alert(data);
|
|
$('#modal-content').html(data);
|
|
});
|
|
}
|
|
|
|
// -->
|
|
</script>
|
|
|
|
|
|
<!-- Basic modal -->
|
|
<div id="modal_theme_primary" class="modal fade">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content" id="modal-content">
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- /basic modal -->
|