196 lines
5.9 KiB
PHP
196 lines
5.9 KiB
PHP
<!-- Main content -->
|
|
<form method="post" name="post_nav_find" action="/proj/thisjob">
|
|
<input type="hidden" name="jobID" value="">
|
|
</form>
|
|
<script type="text/javascript">
|
|
<!--
|
|
function post_nav_find_action(what, value) {
|
|
// alert(what);
|
|
document.post_nav_find.action = what + '';
|
|
document.post_nav_find.jobID.value = value;
|
|
document.post_nav_find.submit();
|
|
return false;
|
|
}
|
|
// -->
|
|
</script>
|
|
|
|
<?php include('common/jobstrip.php');?>
|
|
<div class="row g-5 g-xl-8">
|
|
<div class="col-xl-6">
|
|
<div class="card card-xl-stretch mb-5 mb-xl-8">
|
|
<!--begin::Header-->
|
|
<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">Active Task </span>
|
|
</h3>
|
|
<div class="card-toolbar">
|
|
|
|
</div>
|
|
</div>
|
|
<!--end::Header-->
|
|
<!--begin::Body-->
|
|
<div class="card-body py-3">
|
|
<div class="tab-content">
|
|
<!--begin::Tap pane-->
|
|
<div class="tab-pane fade show active" id="kt_table_widget_5_tab_1">
|
|
<!--begin::Table container-->
|
|
<div class="table-responsive">
|
|
|
|
<table class="table align-middle gs-0 gy-3">
|
|
<!--begin::Table head-->
|
|
<thead>
|
|
|
|
<tr style="font-weight: bolder;">
|
|
<th class="p-0 " style="width: 120px;">Job</th>
|
|
<th class="p-0 min-w-160px">Title/<br>Description</th>
|
|
<th class="p-0 w-100px"></th>
|
|
</tr>
|
|
</thead>
|
|
<!--end::Table head-->
|
|
<!--begin::Table body-->
|
|
<tbody>
|
|
<?php
|
|
foreach( $job_table_result as $row){
|
|
// var_dump($row);
|
|
// echo $row['project'];
|
|
?>
|
|
<tr style="height: 60px;">
|
|
<td>
|
|
<?=$row->project?><br>
|
|
</td>
|
|
<td>
|
|
<?=$row->description?>
|
|
</td>
|
|
|
|
<td class="text-end">
|
|
<?=$row->manage ?>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
?>
|
|
|
|
|
|
</tbody>
|
|
<!--end::Table body-->
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<?php echo $links; ?>
|
|
|
|
</div>
|
|
<!--end::Tap pane-->
|
|
|
|
</div>
|
|
</div>
|
|
<!--end::Body-->
|
|
</div>
|
|
<!--end::Tables Widget 5-->
|
|
</div>
|
|
<!--end::Col-->
|
|
<!--begin::Col-->
|
|
<div class="col-xl-6">
|
|
<!--begin::Tables Widget 5-->
|
|
<div class="card card-xl-stretch mb-5 mb-xl-8">
|
|
<!--begin::Header-->
|
|
<div class="card-header border-0 pt-5">
|
|
|
|
</div>
|
|
<!--end::Header-->
|
|
<!--begin::Body-->
|
|
<div class="card-body py-3">
|
|
<div class="tab-content">
|
|
<!--begin::Tap pane-->
|
|
<div class="tab-pane fade show active" id="kt_table_widget_5_tab_1">
|
|
<!--begin::Table container-->
|
|
<div class="table-responsive">
|
|
<!--begin::Table-->
|
|
|
|
|
|
</div>
|
|
<!--end::Table-->
|
|
</div>
|
|
<!--end::Tap pane-->
|
|
|
|
</div>
|
|
</div>
|
|
<!--end::Body-->
|
|
</div>
|
|
<!--end::Tables Widget 5-->
|
|
</div>
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Row-->
|
|
|
|
|
|
|
|
<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,
|
|
};
|
|
//alert(contact_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 mw-650px">
|
|
<div class="modal-content" id="modal-content">
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- /basic modal -->
|