Files
WrenchBoradWeb/www/application/views/users/view_dash.php
T
2022-09-18 21:38:07 -04:00

103 lines
2.4 KiB
PHP

<form method="post" name="post_nav_find" action="">
<input type="hidden" name="jobOfferID" value="">
<input type="hidden" name="jobID" value="">
</form>
<?php include('common/userstrip.php'); ?>
<div class="row g-5 g-xl-8">
<div class="col-xl-6">
<?php
include(VIEWPATH.'/compo/comp_current_offers.php');
?>
</div>
<div class="col-xl-6">
<?php
include(VIEWPATH.'/compo/comp_active_jobs.php');
?>
</div>
<!--end::Col-->
</div>
<script type="text/javascript">
<!--
function post_nav_find_action(what, value) {
// alert(what);
document.post_nav_find.action = what + '';
document.post_nav_find.jobOfferID.value = value;
document.post_nav_find.jobID.value = value;
document.post_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 -->