182 lines
9.2 KiB
PHP
182 lines
9.2 KiB
PHP
<?php include('common/jobstrip.php'); ?>
|
|
|
|
<!--begin::Row-->
|
|
<div class="row g-5 g-xl-8">
|
|
|
|
<!--begin::Col-->
|
|
<div class="col-xl-9">
|
|
<!--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">
|
|
<h3 class="card-title align-items-start flex-column">
|
|
Create New Job
|
|
</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-->
|
|
<form action="" class="form mb-15 fv-plugins-bootstrap5 fv-plugins-framework" action="/jobs/create" method='POST' id="kt_contact_form">
|
|
<!--begin::Input group-->
|
|
<div class="row mb-5">
|
|
<!--begin::Col-->
|
|
<div class="col-md-6 fv-row fv-plugins-icon-container">
|
|
<!--begin::Label-->
|
|
<label class="fs-5 fw-bold mb-2">Country</label>
|
|
<!--end::Label-->
|
|
<!--begin::Input-->
|
|
<?=$country_job?>
|
|
<!--end::Input-->
|
|
<div class="fv-plugins-message-container invalid-feedback"></div></div>
|
|
<!--end::Col-->
|
|
<!--begin::Col-->
|
|
<div class="col-md-6 fv-row fv-plugins-icon-container">
|
|
<!--end::Label-->
|
|
<label class="fs-5 fw-bold mb-2">Price</label>
|
|
<!--end::Label-->
|
|
<!--end::Input-->
|
|
<select class="form-select form-select-solid form-select-lg" name='price'>
|
|
<option value="opt1">Select Price for this job</option>
|
|
<?php
|
|
foreach($amount_array as $amr){
|
|
echo "<option value='".$amr[0]."'>".$amr[1]." ".$amr[2]."</option>";
|
|
}
|
|
?>
|
|
</select>
|
|
<!--end::Input-->
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Input group-->
|
|
</div>
|
|
<!--begin::Input group-->
|
|
<div class="d-flex flex-column mb-5 fv-row">
|
|
<!--begin::Label-->
|
|
<label class="fs-5 fw-bold mb-2">Title</label>
|
|
<!--end::Label-->
|
|
<!--begin::Input-->
|
|
<input class="form-control form-control-solid" placeholder="" name="title" maxlength="80">
|
|
<!--end::Input-->
|
|
</div>
|
|
<!--end::Input group-->
|
|
<!--begin::Input group-->
|
|
<div class="d-flex flex-column mb-5 fv-row">
|
|
<!--begin::Label-->
|
|
<label class="fs-5 fw-bold mb-2">Description [250]:</label>
|
|
<!--end::Label-->
|
|
<!--begin::Input-->
|
|
<input class="form-control form-control-solid" placeholder="" name="description">
|
|
<!--end::Input-->
|
|
</div>
|
|
<!--end::Input group-->
|
|
<!--begin::Input group-->
|
|
<div class="d-flex flex-column mb-10 fv-row fv-plugins-icon-container">
|
|
<label class="fs-6 fw-bold mb-2">Job Delivery Details:</label>
|
|
<textarea class="form-control form-control-solid" rows="6" name="job_detail" placeholder=""></textarea>
|
|
<div class="fv-plugins-message-container invalid-feedback"></div></div>
|
|
<!--end::Input group-->
|
|
|
|
<!--begin::Input group-->
|
|
<div class="d-flex flex-column mb-5 fv-row">
|
|
<!--begin::Label-->
|
|
<label class="fs-5 fw-bold mb-2">Timeline</label>
|
|
<!--end::Label-->
|
|
<!--begin::Input-->
|
|
<select class="form-select form-select-solid form-select-lg" name='timeline'>
|
|
<option value="0">Select Market Timeline for this job</option>
|
|
<option value="2">2 days</option>
|
|
<option value="3">3 days</option>
|
|
<option value="4">4 days</option>
|
|
<option value="5">5 days</option>
|
|
<option value="6">6 days</option>
|
|
<option value="7">1 week</option>
|
|
<option value="14">2 weeks</option>
|
|
<option value="21">3 weeks</option>
|
|
<option value="30">1 Month</option>
|
|
<option value="60">2 Months</option>
|
|
</select>
|
|
<!--end::Input-->
|
|
</div>
|
|
<!--end::Input group-->
|
|
|
|
|
|
|
|
<div class="d-flex flex-column mb-5 fv-row">
|
|
<div class="col-md-6 fv-row fv-plugins-icon-container">
|
|
<?php echo $job_message; ?>
|
|
</div>
|
|
<div class="col-md-3 fv-row fv-plugins-icon-container">
|
|
<!--begin::Submit-->
|
|
<button type="submit" class="btn btn-primary" >
|
|
<!--begin::Indicator-->
|
|
<span class="indicator-label">Add Job</span>
|
|
<span class="indicator-progress">Please wait...
|
|
<span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
|
|
<!--end::Indicator-->
|
|
</button>
|
|
<!--end::Submit-->
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</form>
|
|
<!--end::Table-->
|
|
</div>
|
|
<!--end::Tap pane-->
|
|
|
|
</div>
|
|
</div>
|
|
<!--end::Body-->
|
|
</div>
|
|
<!--end::Tables Widget 5-->
|
|
</div>
|
|
<!--end::Col-->
|
|
<!--begin::Col-->
|
|
<div class="col-xl-3">
|
|
<!--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">
|
|
<h3 class="card-title align-items-start flex-column">
|
|
.
|
|
</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">
|
|
<!--begin::Table-->
|
|
|
|
..
|
|
</div>
|
|
<!--end::Table-->
|
|
</div>
|
|
<!--end::Tap pane-->
|
|
|
|
</div>
|
|
</div>
|
|
<!--end::Body-->
|
|
</div>
|
|
<!--end::Tables Widget 5-->
|
|
</div>
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Row-->
|
|
|
|
|