fix
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
// -->
|
||||
</script>
|
||||
|
||||
<!--begin::Toolbar-->
|
||||
<div class="d-flex flex-wrap flex-stack my-5">
|
||||
<!--begin::Heading-->
|
||||
<h2 class="fs-2 fw-bold my-2">Available Jobs
|
||||
@@ -32,10 +31,9 @@
|
||||
</div -->
|
||||
<!--end::Select wrapper-->
|
||||
</div>
|
||||
<!--end::Controls-->
|
||||
</div>
|
||||
<!--end::Toolbar-->
|
||||
<!--begin::Row-->
|
||||
|
||||
|
||||
<div class="row g-6 g-xl-9">
|
||||
<?php
|
||||
// $market_table_result
|
||||
@@ -43,7 +41,7 @@
|
||||
//onclick="return EDetail('$row->offer_code')
|
||||
foreach ($market_table_result as $row)
|
||||
{
|
||||
?>
|
||||
?>
|
||||
<!--begin::Col-->
|
||||
<div class="col-md-6 col-xl-4" >
|
||||
<!--begin::Card-->
|
||||
@@ -77,7 +75,7 @@
|
||||
<div class="symbol-group symbol-hover">
|
||||
<!--begin::User-->
|
||||
|
||||
<?=$row->offer_code?>
|
||||
<?=$row->offer_code?>
|
||||
|
||||
<!--begin::User-->
|
||||
</div>
|
||||
@@ -88,131 +86,119 @@
|
||||
<!--end::Card-->
|
||||
</div>
|
||||
<!--end::Col-->
|
||||
<?php
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
</div>
|
||||
<!--end::Row-->
|
||||
|
||||
|
||||
|
||||
<div class="modal-body scroll-y px-10 px-lg-15 pt-0 pb-15">
|
||||
|
||||
<!-- Basic modal -->
|
||||
<div id="modal_theme_primary" class="modal fade">
|
||||
<div class="modal-dialog modal-dialog-centered mw-650px">
|
||||
<div class="modal-content rounded">
|
||||
<!--begin::Modal header-->
|
||||
<div class="modal-header pb-0 border-0 justify-content-end">
|
||||
<!--begin::Close-->
|
||||
<div class="btn btn-sm btn-icon btn-active-color-primary" data-bs-dismiss="modal">
|
||||
<!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
|
||||
<span class="svg-icon svg-icon-1">
|
||||
<div id="modal_theme_primary" class="modal fade">
|
||||
<div class="modal-dialog modal-dialog-centered mw-650px">
|
||||
<div class="modal-content rounded">
|
||||
<!--begin::Modal header-->
|
||||
<div class="modal-header pb-0 border-0 justify-content-end">
|
||||
<!--begin::Close-->
|
||||
<div class="btn btn-sm btn-icon btn-active-color-primary" data-bs-dismiss="modal">
|
||||
<!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
|
||||
<span class="svg-icon svg-icon-1">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
||||
<rect opacity="0.5" x="6" y="17.3137" width="16" height="2" rx="1" transform="rotate(-45 6 17.3137)" fill="currentColor" />
|
||||
<rect x="7.41422" y="6" width="16" height="2" rx="1" transform="rotate(45 7.41422 6)" fill="currentColor" />
|
||||
</svg>
|
||||
</span>
|
||||
<!--end::Svg Icon-->
|
||||
<!--end::Svg Icon-->
|
||||
</div>
|
||||
<!--end::Close-->
|
||||
</div>
|
||||
<!--end::Close-->
|
||||
</div>
|
||||
<!--begin::Modal header-->
|
||||
<div id="modal-content">
|
||||
<!--begin::Modal header-->
|
||||
<div id="modal-content">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /basic modal -->
|
||||
<!-- /main content -->
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
<!--
|
||||
|
||||
var current_job_contract = null;
|
||||
var current_job_contract = null;
|
||||
|
||||
function showMarketJobModal(job_contract) {
|
||||
//alert(job_contract);
|
||||
if (typeof event !== 'undefined') {
|
||||
event.preventDefault();
|
||||
}
|
||||
function showMarketJobModal(job_contract) {
|
||||
//alert(job_contract);
|
||||
if (typeof event !== 'undefined') {
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
// load the modal content with a loader gif and message
|
||||
$('#modal-content').html('Loading...');
|
||||
// load the modal content with a loader gif and message
|
||||
$('#modal-content').html('Loading...');
|
||||
|
||||
// show modal window
|
||||
$('#modal_theme_primary').modal('show');
|
||||
// show modal window
|
||||
$('#modal_theme_primary').modal('show');
|
||||
|
||||
|
||||
//alert("/jobs/marketdetail?proc=NCOMPLETE&job_contract=" + job_contract);
|
||||
//alert("/jobs/marketdetail?proc=NCOMPLETE&job_contract=" + job_contract);
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: "/jobs/marketdetail?proc=NCOMPLETE&job_contract=" + job_contract
|
||||
}).done(function (data) {
|
||||
$.ajax({
|
||||
url: "/jobs/marketdetail?proc=NCOMPLETE&job_contract=" + job_contract
|
||||
}).done(function (data) {
|
||||
//alert(data);
|
||||
$('#modal-content').html(data);
|
||||
});
|
||||
}
|
||||
$('#modal-content').html(data);
|
||||
});
|
||||
}
|
||||
|
||||
function EDetail(job_contract) {
|
||||
if (current_job_contract!=null) {
|
||||
$('#'+current_job_contract).html('');
|
||||
current_job_contract = null;
|
||||
}
|
||||
current_job_contract = job_contract;
|
||||
//$('#req_completion').html('Processing...');
|
||||
//$('#req_completion_submit').prop('disabled', true);
|
||||
$('#submit_'+job_contract).prop('disabled', true);
|
||||
$.ajax({
|
||||
url: "/jobs/marketdetail?proc=NCOMPLETE&job_contract=" + job_contract
|
||||
}).done(function( data ) {
|
||||
$('#'+job_contract).html(data);
|
||||
$('#submit_'+job_contract).prop('disabled', false);
|
||||
});
|
||||
return false;
|
||||
}
|
||||
function EDetail(job_contract) {
|
||||
if (current_job_contract!=null) {
|
||||
$('#'+current_job_contract).html('');
|
||||
current_job_contract = null;
|
||||
}
|
||||
current_job_contract = job_contract;
|
||||
//$('#req_completion').html('Processing...');
|
||||
//$('#req_completion_submit').prop('disabled', true);
|
||||
$('#submit_'+job_contract).prop('disabled', true);
|
||||
$.ajax({
|
||||
url: "/jobs/marketdetail?proc=NCOMPLETE&job_contract=" + job_contract
|
||||
}).done(function( data ) {
|
||||
$('#'+job_contract).html(data);
|
||||
$('#submit_'+job_contract).prop('disabled', false);
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
function SInterest(job_contract) {
|
||||
//$('#req_completion').html('Processing...');
|
||||
//$('#req_completion_submit').prop('disabled', true);
|
||||
$('#submit_interest_'+job_contract).prop('disabled', true);
|
||||
$.ajax({
|
||||
url: "/jobs/showinterest?proc=NCOMPLETE&job_contract=" + job_contract
|
||||
}).done(function( data ) {
|
||||
$('#'+job_contract).html(data);
|
||||
$('#submit_interest_'+job_contract).prop('disabled', false);
|
||||
});
|
||||
return false;
|
||||
}
|
||||
function SInterest(job_contract) {
|
||||
//$('#req_completion').html('Processing...');
|
||||
//$('#req_completion_submit').prop('disabled', true);
|
||||
$('#submit_interest_'+job_contract).prop('disabled', true);
|
||||
$.ajax({
|
||||
url: "/jobs/showinterest?proc=NCOMPLETE&job_contract=" + job_contract
|
||||
}).done(function( data ) {
|
||||
$('#'+job_contract).html(data);
|
||||
$('#submit_interest_'+job_contract).prop('disabled', false);
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
function OMessage(offer_code) {
|
||||
if (document.job_message.yourmessage.value=='') {
|
||||
alert('Missing message!');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
//$('#msg_result_'+offer_code).html('Processing...');
|
||||
$('#submit_yourmessage_'+offer_code).prop('disabled', true);
|
||||
$.ajax({
|
||||
url: "/jobs/marketrmessage?proc=NCOMPLETE&offer_code=" + offer_code + "&yourmessage=" + document.job_message.yourmessage.value
|
||||
}).done(function( data ) {
|
||||
$('#msg_result_'+offer_code).html(data);
|
||||
// document.offer_individual.rec_email.value = '';
|
||||
$('#submit_yourmessage_'+offer_code).prop('disabled', false);
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// -->
|
||||
</script>
|
||||
function OMessage(offer_code) {
|
||||
if (document.job_message.yourmessage.value=='') {
|
||||
alert('Missing message!');
|
||||
return false;
|
||||
}
|
||||
//$('#msg_result_'+offer_code).html('Processing...');
|
||||
$('#submit_yourmessage_'+offer_code).prop('disabled', true);
|
||||
$.ajax({
|
||||
url: "/jobs/marketrmessage?proc=NCOMPLETE&offer_code=" + offer_code + "&yourmessage=" + document.job_message.yourmessage.value
|
||||
}).done(function( data ) {
|
||||
$('#msg_result_'+offer_code).html(data);
|
||||
// document.offer_individual.rec_email.value = '';
|
||||
$('#submit_yourmessage_'+offer_code).prop('disabled', false);
|
||||
});
|
||||
return false;
|
||||
}
|
||||
// -->
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user