160 lines
4.8 KiB
PHP
160 lines
4.8 KiB
PHP
<form method="post" name="post_nav_find" action="">
|
|
<input type="hidden" name="interest_id" 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.interest_id.value = value;
|
|
document.post_nav_find.submit();
|
|
return false;
|
|
}
|
|
// -->
|
|
</script>
|
|
|
|
<!-- Main content -->
|
|
<div class="content-wrapper">
|
|
<?php include('common/jobstrip.php'); ?>
|
|
|
|
<!-- Main charts -->
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
|
|
</div>
|
|
</div>
|
|
<!-- /main charts -->
|
|
<div class="row">
|
|
<div class="col-md-9">
|
|
<div class="panel panel-flat" style="height: 450px;">
|
|
<div class="panel-heading">
|
|
<h6 class="panel-title"><b><?php echo $dash_title; ?></b></h6>
|
|
</div>
|
|
<div class="panel-heading">
|
|
<?php echo $job_interest_table; ?>
|
|
<div class="panel-heading">
|
|
<?php echo $links; ?>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<div class="col-md-3">
|
|
<div class="thumbnail">
|
|
<div class="thumb">
|
|
<a href="/proj/active" class="text-default"><img src="/assets/images/interest_dash.jpg" alt="Active Projects"></a>
|
|
</div>
|
|
|
|
<div class="caption">
|
|
<h6 class="no-margin-top text-semibold">Return to <a href="/proj/active" class="label bg-success-400">My Active Projects</a> <a href="/proj/active" class="text-muted"><i class="icon-download pull-right"></i></a></h6>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<!-- /main content -->
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
/*
|
|
$(document).ready(function(){
|
|
$('#modal_theme_primary').on('show.bs.modal', function(event){
|
|
var btn = $(event.relatedTarget);
|
|
|
|
var time = btn.data('time');
|
|
|
|
//$('#time').text(time);
|
|
|
|
alert('here!');
|
|
});
|
|
});
|
|
*/
|
|
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 showOfferModal(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/offerdetail_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 class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
<h5 class="modal-title"><?php echo $client; ?></h5>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<h6 class="text-semibold">Introduction</h6>
|
|
<p><?php echo $client_description; ?>.</p>
|
|
|
|
<hr>
|
|
|
|
<h6 class="text-semibold">Skills</h6>
|
|
<p><?php echo $skills_set; ?></p>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-link" data-dismiss="modal">Close</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- /basic modal -->
|