| Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64 Path : /home/udaipurk/public_html/websites/samaj/samaj/admin/ |
| Current File : //home/udaipurk/public_html/websites/samaj/samaj/admin/post_job.php |
<?php
include('../config.php');
if(isset($_POST['submit']))
{
$title=$_POST['title'];
$job_des=$_POST['job_des'];
$industry=$_POST['industry'];
$functional=$_POST['functional'];
$min_exp=$_POST['min_exp'];
$max_exp=$_POST['max_exp'];
$min_salary=$_POST['min_salary'];
$max_salary=$_POST['max_salary'];
$job_location=$_POST['location'];
$job_type=$_POST['job_type'];
$qualification=$_POST['qualification'];
$q_specification=$_POST['q_specification'];
$company=$_POST['company'];
$company_des=$_POST['company_des'];
$email=$_POST['email'];
$mobile=$_POST['mobile'];
$skill=$_POST['skill'];
$date=date('d-m-y');
$photo=$_FILES['photo']['name'];
if(($_FILES['photo']['type'] == "image/jpeg" || $_FILES['photo']['type'] == "image/png") && ($_FILES['photo']['size']< (50*1024)))
{
$path='company/'.$photo;
move_uploaded_file($_FILES['photo']['tmp_name'], $path);
}
else
{
$path="company/logo.png";
}
$query=mysqli_query($link,"insert into job_post (title,job_des,industry,functional,min_exp,max_exp,min_salary,max_salary,job_location,job_type,qualification,q_specification,skill,company,company_des,phone,email,photo,date) values ('$title','$job_des','$industry','$functional','$min_exp','$max_exp','$min_salary','$max_salary','$job_location','$job_type','$qualification','$q_specification','$skill','$company','$company_des','$mobile','$email','$path','$date')");
if($query)
{
header("location:post_job.php?err=1");
}
else
{
header("location:post_job.php?err=2");
}
}
// <--Delete Query-->
if(isset($_GET['did']))
{
$did=$_GET['did'];
$query="delete from job_post where j_id='$did'";
$result=mysqli_query($link,$query);
if($result)
header('location:post_job.php?err=1');
else
header('location:post_job.php?err=2');
}
// <--End Code-->
// <--main Page-->
include('header.php');
if(isset($_GET['err']))
{
$msg=$_GET['err'];
if($msg==1)
{
?>
<div class="alert alert-success">
<h4>Success!</h4>
You successfully Submitted.
</div>
<?php
}
if($msg==2)
{
?>
<div class="alert alert-error">
<h4>Fail!</h4>
Not submitted Successfully.
</div>
<script lang="javascript" >
function phonenumber()
{
var mobile = document.getElementById("mobile").value;
var phoneno = /^[0-9]*$/;
if(mobile.match(phoneno))
{
return true;
}
else
{
alert("Should be in number format");
document.getElementById("mobile").value="";
document.getElementById("mobile").focus();
}
}
</script>
<?php
}
}
if(isset($_GET['vid']))
{
$vid=$_GET['vid'];
$query="select * from job_post where j_id='$vid'";
$res=mysqli_query($link,$query);
$row=mysqli_fetch_array($res);
global $row;
?>
<div class="row-fluid">
<div class="span6">
<div class="head">
<div class="isw-users"></div>
<h1>Posted Job</h1>
<div class="clear"></div>
</div>
<div class="block-fluid">
<table cellpadding="0" cellspacing="0" width="100%" class="table listUsers">
<tbody>
<?php
$img=$row['photo'];
?>
<tr>
<td width="150">
<a href="<?php echo $img; ?>"><img src="<?php echo $img; ?>" class="img-polaroid" style=""/></a>
<p><b>Company Name:</b> <?php echo $row['company']; ?></p>
<p><b>Company Description:</b> <?php echo $row['company_des']; ?></p>
<p><b>Phone no.:</b> <?php echo $row['phone']; ?></p>
<p><b>Official Email:</b> <?php echo $row['email']; ?></p>
</td>
<td>
<a href="#" class="user" style="font-size:17px"><?php echo $row['title']; ?></a>
<p class="about">
<b> Job Description :</b> <?php echo $row['job_des']; ?> <br/>
<b> Industry :</b> <?php echo $row['industry']; ?> <br/>
<span> <b> Functional Area :</b> <?php echo $row['functional']; ?></span>
<br><br>
<span> <b> Experience :</b> <?php echo $row['min_exp']; ?> - <?php echo $row['max_exp']; ?> Years</span>
<br>
<span> <b> Annual Salary :</b> <?php echo $row['min_salary']; ?> - <?php echo $row['max_salary']; ?> </span>
<br/>
<span><b>Job Location :</b> <?php echo $row['job_location']; ?></span>
<br>
<span> <b> Job Type:</b> <?php echo $row['job_type']; ?></span><br>
<span> <b> Skills Required:</b> <?php echo $row['skill']; ?></span>
<br/><br/>
<b> Qualification :</b> <?php echo $row['qualification']; ?> <br/>
<span> <b> Qualification Specification :</b> <?php echo $row['q_specification']; ?></span><br/>
</br></br>
<b> Posted Date :</b> <?php echo $row['date']; ?> <br/>
</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<?php
}
else
{
// <--End Code-->
?>
<form id="validation" action="post_job.php" method="POST" enctype="multipart/form-data">
<div class="row-fluid">
<div class="span6">
<div class="head">
<div class="isw-list"></div>
<h1>Post New Job </h1>
<div class="clear"></div>
</div>
<div class="block-fluid">
<input type="hidden" name="j_id" value="<?php global $row; echo $row['j_id']; ?>" />
<div class="row-form">
<div class="span3">Job Title</div>
<div class="span9">
<input type="text" id="title" name="title" value="<?php global $row; echo $row['title']; ?>" class='validate[required]'>
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span12">
<div class="head">
<h1>Job Description</h1>
<div class="clear"></div>
</div>
<div class="block-fluid" id="wysiwyg_container">
<textarea id="wysiwyg" name="job_des" style="height: 300px;"><?php global $row; echo $row['job_des']; ?></textarea>
</div>
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span3">Select Industry</div>
<div class="span9">
<select class="form-control" id="s2_2" name="industry" aria-required="true" aria-invalid="true" style="width:100%">
<option value="" selected="selected">Select Industry</option>
<optgroup label="Top Industries">
<option>IT - Software</option>
<option>Banking / Financial Services</option>
<option>Manufacturing</option>
<option>Engineering / Construction</option>
<option>Education / Training</option>
<option>BPO / Call Center</option>
<option>IT - Hardware / Networking</option>
<option>Automobile / Auto Ancillaries</option>
<option>Telecom / ISP</option>
<option >Medical / Healthcare</option>
<option>Fresher (No Industry)</option>
</optgroup>
<optgroup label="Other Industries">
<option >Advertising / MR / PR / Events</option>
<option >Agriculture / Dairy</option>
<option >Architecture / Interior Design</option>
<option >Astrology</option>
<option >Aviation / Airline</option>
<option>Cement / Building Material</option>
<option>Chemical / Plastic / Rubber / Glass</option>
<option >Consumer Durables / Electronics</option>
<option >Environment / Waste Management</option>
<option >Export-Import / Trading</option>
<option>Fertilizers / Pesticides</option>
<option >FMCG / F&B</option>
<option >Furnishings / Sanitaryware / Electricals</option>
<option >Gems / Jewellery</option>
<option >Gifts / Toys / Stationary</option>
<option >Government Department</option>
<option >Hotel / Restaurant</option>
<option >Industrial Design</option>
<option>Insurance</option>
<option >KPO / Analytics</option>
<option >Legal</option>
<option >Logistics / Courier / Transportation</option>
<option>Management Consulting / Strategy</option>
<option>Matrimony</option>
<option >Media / Dotcom / Entertainment</option>
<option>Merchant Navy</option>
<option >Metal / Iron / Steel</option>
<option >Military / Police / Arms & Ammunition</option>
<option >Mining</option>
<option >NGO / Social Work</option>
<option >Oil & Gas / Petroleum</option>
<option >Paint</option>
<option >Paper / Wood</option>
<option >Personal Care / Beauty</option>
<option >Pharma / Biotech</option>
<option >Politics</option>
<option >Power / Energy</option>
<option >Printing / Packaging</option>
<option >Quality Certification</option>
<option >Real Estate</option>
<option >Recruitment Services</option>
<option >Religion / Spirituality</option>
<option >Retail</option>
<option >Sculpture / Craft</option>
<option >Security / Detective Services</option>
<option >Sports / Fitness</option>
<option >Textile / Garments / Fashion</option>
<option >Travel / Tourism</option>
<option >Unskilled Labor / Domestic Help</option>
<option >Veterinary Science / Pet Care</option>
</optgroup>
</select>
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span3">Functional Area of the Job</div>
<div class="span9">
<select class="form-control" id="s2_1" name="functional" aria-required="true" aria-invalid="true" style="width:100%">
<option value="" selected="selected">Select Functional Area</option>
<optgroup label="Finance / Accounts / Investment Banking">
<option > Equity Research</option>
<option > Finance / Accounts / Tax</option>
<option>Investment Banking / M&A </option>
<option >Risk / Underwriting</option>
<option >Securities Trading</option>
</optgroup>
<optgroup label="Customer Service / Back Office Operations">
<option >Back Office Operations</option>
<option >Customer Service (Domestic)</option>
<option >Customer Service (International)</option>
<option>Operations Management / Process Analysis</option>
<option>Technical Support / Helpdesk</option>
</optgroup>
<optgroup label="IT - Software">
<option>DBA / Datawarehousing</option>
<option>Embedded / System Software</option>
<option >ERP / CRM</option>
<option>General / Other Software</option>
<option >IT Operations / EDP / MIS</option>
<option>Mainframe</option>
<option>Telecom Software</option>
<option >Web / Mobile Technologies</option>
</optgroup>
<optgroup label="Production / Maintenance / Service">
<option >Maintenance</option>
<option >Production</option>
<option >Service / Installation / Repair</option>
</optgroup>
<optgroup label="Sales / BD">
<option >Pre-Sales</option>
<option >Sales / BD</option>
<option >Sales Support / MIS</option>
</optgroup>
<optgroup label="IT - Hardware / Networking / Telecom Engineering">
<option >Hardware / Telecom Equipment Design</option>
<option >Network / System Administration</option>
<option >Telecom Network Design / Management</option>
</optgroup>
<optgroup label="Engineering Design / Construction">
<option >Engineering Design / Construction</option>
</optgroup>
<optgroup label="Administration / Front Office / Secretary">
<option >Administration / Facility / Transport</option>
<option >Front Office / Receptionist</option>
<option >Secretary / PA / Steno</option>
</optgroup>
<optgroup label="Marketing / Advertising / MR / PR / Events">
<option >Event Management</option>
<option >Internet Marketing</option>
<option >Market Research (MR)</option>
<option >Marketing / Communication</option>
<option>Media Planning / Buying</option>
<option >Public Relations (PR)</option>
</optgroup>
<optgroup label="Quality / Testing (QA-QC)">
<option>Quality (QA-QC)</option>
<option>Testing</option>
</optgroup>
<optgroup label="Education / Training / Language">
<option>Career / Education Counselling</option>
<option>Curriculum Design</option>
<option>Education Management / Director / Principal</option>
<option>Language / Translation</option>
<option>Library Management</option>
<option >Pre-School / Day Care</option>
<option >Professional / Soft Skills Training</option>
<option>Professor / Lecturer</option>
<option>Special Education</option>
<option >Teacher / Tutor</option>
<option >Teaching Assistant</option>
<option>Technical / Process Training</option>
</optgroup>
<optgroup label="Fresher (No Experience)">
<option>Fresher (No Experience)</option>
</optgroup>
<optgroup label="Architecture / Interior Design">
<option>Architecture</option>
<option>Interior Design</option>
</optgroup>
<optgroup label="Certified Telecom Professionals">
<option>Certified Telecom Professionals</option>
</optgroup>
<optgroup label="Civil Services / Military / Police">
<option>Civil Services</option>
<option>Military</option>
<option>Police</option>
</optgroup>
<optgroup label="Environment / Health / Safety">
<option>Environment / Health / Safety</option>
</optgroup>
<optgroup label="Graphic Design / Web Design / Copywriting">
<option>Graphic Design</option>
<option>Web Design</option>
<option>Copywriting</option>
</optgroup>
<optgroup label="Hotel / Restaurant">
<option >F&B Service</option>
<option>Front Office / Guest Relations</option>
<option >General / Operations Management</option>
<option >Housekeeping</option>
<option>Kitchen</option>
</optgroup>
<optgroup label="HR / Recruitment">
<option>HR</option>
<option>Recruitment</option>
</optgroup>
<optgroup label="Journalism / Content / Writing">
<option>Content Development</option>
<option>Journalism / Writing</option>
<option>Technical Writing</option>
</optgroup>
<optgroup label="Legal / Company Secretary">
<option>Company Secretary</option>
<option>Corporate Legal Department</option>
<option>Legal Practice</option>
<option>Legal Support Services</option>
</optgroup>
<optgroup label="Management Consulting / Strategy / EA">
<option>Executive Assistant (EA)</option>
<option>Management Consulting / Strategy</option>
<option>Sector / Business Research</option>
</optgroup>
<optgroup label="Medical / Healthcare">
<option>Allied Health Services</option>
<option>Doctor</option>
<option>Hospital Management / Director</option>
<option>Medical Transcription</option>
<option>Nursing</option>
<option>Pharmacist / Medical Representative</option>
</optgroup>
<optgroup label="Oil & Gas Engineering / Mining / Geology">
<option>Geology</option>
<option>Mining</option>
<option>Oil & Gas Engineering</option>
</optgroup>
<optgroup label="R&D / Product Design">
<option>R&D / Product Design</option>
</optgroup>
<optgroup label="Real Estate">
<option>Property Management</option>
<option>Real Estate Consultant / Agent</option>
</optgroup>
<optgroup label="Retail / Export-Import / Trading">
<option>Documentation / Shipping</option>
<option>Liasion</option>
<option>Merchandising / Sourcing</option>
</optgroup>
<optgroup label="SBU Head / CEO / Director / Entrepreneur">
<option>Entrepreneur</option>
<option>SBU Head / CEO / Director</option>
</optgroup>
<optgroup label="Security / Detective Services">
<option>Detective Services</option>
<option>Security Services</option>
</optgroup>
<optgroup label="Statistics / Analytics / Acturial Science">
<option>Acturial Science</option>
<option>Statistics / Analytics</option>
</optgroup>
<optgroup label="Supply Chain / Purchase / Inventory">
<option>Inventory / Warehousing</option>
<option>Purchase</option>
<option>Supply Chain / Logistics</option>
</optgroup>
<optgroup label="Travel / Aviation / Merchant Navy">
<option>Airport / Airline Ground Operations</option>
<option >Cabin Crew</option>
<option>Marine Deck Department</option>
<option >Marine Engineering Department</option>
<option>Marine Service / Steward Department</option>
<option >Pilot</option>
<option >Reservation / Ticketing</option>
<option>Tour / Travel Guide</option>
<option >Tour / Travel Management</option>
</optgroup>
<optgroup label="TV / Film / Radio / Entertainment">
<option >Actor / Anchor</option>
<option>Cinematography</option>
<option>Direction / Editing</option>
<option>Music</option>
<option>Production</option>
<option>Production Design / Art</option>
<option>Programming / Scheduling</option>
<option>Script / Screenplay</option>
<option>Sound Mixing / Editing</option>
<option>Visual Effects</option>
</optgroup>
<optgroup label="Other">
<option>Animal Husbandry</option>
<option>Astrology</option>
<option>Beautician / Stylist</option>
<option>Fashion / Textile Design</option>
<option>Fashion Modelling</option>
<option>Fire Prevention / Control</option>
<option>Matrimony</option>
<option>NGO / Social Work</option>
<option>Painting</option>
<option >Pet Care / Breeding</option>
<option>Photography</option>
<option>Plantation / Farming</option>
<option>Politics</option>
<option>Religion / Spirituality</option>
<option>Sculpture / Craft</option>
<option>Sports / Fitness</option>
<option>Unskilled / Manual Labour</option>
</optgroup>
</select>
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span3">Experience</div>
<div class="span4">
<select class="form-control" name="min_exp" aria-required="true" aria-invalid="true">
<option value="" selected="selected">- Min Exp -</option>
<option value="0">0 Yr</option>
<option value="l1"><1 Yr</option>
<option value="1">1 Yr</option>
<option value="2">2 Yrs</option>
<option value="3">3 Yrs</option>
<option value="4">4 Yrs</option>
<option value="5">5 Yrs</option>
<option value="6">6 Yrs</option>
<option value="7">7 Yrs</option>
<option value="8">8 Yrs</option>
<option value="9">9 Yrs</option>
<option value="10">10 Yrs</option>
<option value="11">11 Yrs</option>
<option value="12">12 Yrs</option>
<option value="13">13 Yrs</option>
<option value="14">14 Yrs</option>
<option value="15">15 Yrs</option>
<option value="16">16 Yrs</option>
<option value="17">17 Yrs</option>
<option value="18">18 Yrs</option>
<option value="19">19 Yrs</option>
<option value="20">20 Yrs</option>
<option value="21">21 Yrs</option>
<option value="22">22 Yrs</option>
<option value="23">23 Yrs</option>
<option value="24">24 Yrs</option>
<option value="25">> 25 Yrs</option>
</select>
</div>
<div class="span4">
<select class="form-control" name="max_exp" aria-required="true" aria-invalid="true">
<option value="" selected="selected">- Max Exp -</option>
<option value="0">0 Yr</option>
<option value="l1"><1 Yr</option>
<option value="1">1 Yr</option>
<option value="2">2 Yrs</option>
<option value="3">3 Yrs</option>
<option value="4">4 Yrs</option>
<option value="5">5 Yrs</option>
<option value="6">6 Yrs</option>
<option value="7">7 Yrs</option>
<option value="8">8 Yrs</option>
<option value="9">9 Yrs</option>
<option value="10">10 Yrs</option>
<option value="11">11 Yrs</option>
<option value="12">12 Yrs</option>
<option value="13">13 Yrs</option>
<option value="14">14 Yrs</option>
<option value="15">15 Yrs</option>
<option value="16">16 Yrs</option>
<option value="17">17 Yrs</option>
<option value="18">18 Yrs</option>
<option value="19">19 Yrs</option>
<option value="20">20 Yrs</option>
<option value="21">21 Yrs</option>
<option value="22">22 Yrs</option>
<option value="23">23 Yrs</option>
<option value="24">24 Yrs</option>
<option value="25">> 25 Yrs</option>
</select>
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span3">Annual Salary Offered</div>
<div class="span4">
<select class="form-control" name="min_salary" aria-required="true" aria-invalid="true">
<option value="0" selected="selected">- Min Salary -</option>
<option>< Rs 50,000 / Yr</option>
<option>Rs 50,000 / Yr</option><option>Rs 1.0 Lakh / Yr</option><option >Rs 1.5 Lakh / Yr</option><option>Rs 2.0 Lakh / Yr</option><option>Rs 2.5 Lakh / Yr</option><option>Rs 3.0 Lakh / Yr</option><option>Rs 3.5 Lakh / Yr</option><option >Rs 4.0 Lakh / Yr</option><option >Rs 4.5 Lakh / Yr</option><option>Rs 5 Lakh / Yr</option><option>Rs 6 Lakh / Yr</option><option>Rs 7 Lakh / Yr</option><option>Rs 8 Lakh / Yr</option><option>Rs 9 Lakh / Yr</option><option>Rs 10 Lakh / Yr</option><option>Rs 12 Lakh / Yr</option><option>Rs 14 Lakh / Yr</option><option>Rs 16 Lakh / Yr</option><option>Rs 18 Lakh / Yr</option><option>Rs 20 Lakh / Yr</option><option>Rs 22 Lakh / Yr</option><option>Rs 24 Lakh / Yr</option><option>Rs 26 Lakh / Yr</option><option>Rs 28 Lakh / Yr</option><option>Rs 30 Lakh / Yr</option><option>Rs 32 Lakh / Yr</option><option>Rs 34 Lakh / Yr</option><option>Rs 36 Lakh / Yr</option><option>Rs 38 Lakh / Yr</option><option>Rs 40 Lakh / Yr</option><option>Rs 42 Lakh / Yr</option><option>Rs 44 Lakh / Yr</option><option>Rs 46 Lakh / Yr</option><option>Rs 48 Lakh / Yr</option><option>Rs 50+ Lakh / Yr</option></select>
</div>
<div class="span4">
<select class="form-control" name="max_salary" aria-required="true" aria-invalid="true">
<option value="0" selected="selected">- Max Salary -</option>
<option>< Rs 50,000 / Yr</option>
<option>Rs 50,000 / Yr</option><option>Rs 1.0 Lakh / Yr</option><option>Rs 1.5 Lakh / Yr</option><option>Rs 2.0 Lakh / Yr</option><option>Rs 2.5 Lakh / Yr</option><option>Rs 3.0 Lakh / Yr</option><option>Rs 3.5 Lakh / Yr</option><option>Rs 4.0 Lakh / Yr</option><option>Rs 4.5 Lakh / Yr</option><option>Rs 5 Lakh / Yr</option><option>Rs 6 Lakh / Yr</option><option >Rs 7 Lakh / Yr</option><option>Rs 8 Lakh / Yr</option><option>Rs 9 Lakh / Yr</option><option>Rs 10 Lakh / Yr</option><option>Rs 12 Lakh / Yr</option><option>Rs 14 Lakh / Yr</option><option>Rs 16 Lakh / Yr</option><option>Rs 18 Lakh / Yr</option><option>Rs 20 Lakh / Yr</option><option>Rs 22 Lakh / Yr</option><option>Rs 24 Lakh / Yr</option><option>Rs 26 Lakh / Yr</option><option>Rs 28 Lakh / Yr</option><option>Rs 30 Lakh / Yr</option><option>Rs 32 Lakh / Yr</option><option>Rs 34 Lakh / Yr</option><option>Rs 36 Lakh / Yr</option><option>Rs 38 Lakh / Yr</option><option>Rs 40 Lakh / Yr</option><option>Rs 42 Lakh / Yr</option><option>Rs 44 Lakh / Yr</option><option>Rs 46 Lakh / Yr</option><option>Rs 48 Lakh / Yr</option><option>Rs 50+ Lakh / Yr</option></select>
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span3">Location</div>
<div class="span9">
<input type="text" id="location" name="location" value="<?php global $row; echo $row['location']; ?>" class='validate[required]'>
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span3">Job Type</div>
<div class="span9">
<select class="form-control" id="qualification" name="job_type">
<option value="">--Select--</option>
<option value="Full Time">Full Time</option>
<option value="Part Time">Part Time</option>
<option value="Internship">Internship</option>
</select>
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span3">Skills</div>
<div class="span9">
<input type="text" id="skill" name="skill" value="<?php global $row; echo $row['location']; ?>" class='validate[required]'>
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span3">Education</div>
<div class="span4">
<select class="form-control" id="qualification" name="qualification">
<option value="">--Select--</option>
<option value="10+2">10+2</option>
<option value="Bachelor">Bachelor</option>
<option value="Master" >Master</option>
<option value="Diploma">Diploma/Vocational Course</option>
<option value="PG or Equivalent">PG or Equivalent</option>
<option value="PhD/MPhil or Equivalent">PhD/MPhil or Equivalent</option>
<option value="Other">Other</option>
</select>
</div>
<div class="span4">
<select class="form-control" id="qualification" name="q_specification">
<option value="">--Select--</option>
<option value="Any">Any</option>
<option value="Arts">Arts</option>
<option value="CA">CA</option>
<option value="Designing">Designing</option>
<option value="Engineering">Engineering</option>
<option value="Hospitality and Hotel Management">Hospitality and Hotel Management</option>
<option value="Journalism / Communication">Journalism / Communication</option>
<option value="Law">Law</option>
<option value="Medical">Medical</option>
<option value="Management">Management</option>
<option value="Pharmacy">Pharmacy</option>
<option value="Science">Science</option>
</select>
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span3">Company Name</div>
<div class="span9">
<input type="text" id="company" name="company" value="<?php global $row; echo $row['location']; ?>" class='validate[required]'>
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span3">About Company</div>
<div class="span9">
<input type="text" id="company_des" name="company_des" value="<?php global $row; echo $row['location']; ?>" >
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span3">Phone no.</div>
<div class="span9">
<input type="text" id="mobile" name="mobile" value="<?php global $row; echo $row['mobile']; ?>" class='validate[required]' onblur="phonenumber()" >
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span3">Official Email</div>
<div class="span9">
<input type="email" id="email" name="email" value="<?php global $row; echo $row['email']; ?>" class='validate[required]'>
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span3">Company Logo:</div>
<div class="span9">
<?php
echo "<input type='file' name='photo' value='".$row['photo']."' id='user'/>"?>
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span9">
<input value="Submit" type="submit" name="submit" id="user"/>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</form>
<?php } ?>
<div class="span6">
<div class="head">
<div class="isw-target"></div>
<h1>Articles</h1>
<div class="clear"></div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="head">
<div class="clear"></div>
</div>
<div class="block-fluid table-sorting">
<table cellpadding="0" cellspacing="0" width="100%" class="table" id="tSortable_j">
<thead>
<tr>
<th width="">id</th>
<th width="">Job Title</th>
<th width="">Location</th>
<th width="">Company</th>
<th width="">Date</th>
<th width="">Image</th>
<th width="">View</th>
<th width="">Delete</th>
</tr></thead><tbody>
<?php
include('../config.php');
$query="select * from job_post order by j_id desc";
$res=mysqli_query($link,$query);
while($row=mysqli_fetch_array($res))
{
$id=$row['j_id'];
echo"
<tr>
<td>$row[j_id]</td>
<td>$row[title]</td>
<td>$row[job_location]</td>
<td>$row[company]</td>
<td>$row[date]</td>
<td><img src='$row[photo]' style='width:50px;height:50px'/></td>
<td><a href='post_job.php?vid=$id' ><img src='img/b_search.png'/></a></td>
<td><a href='post_job.php?did=$id' class='confirm'><img src='img/b_drop.png'/></a></td>
</tr>
";}?>
</tbody></table>
<div class="clear"></div>
</div>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function(){
$(".confirm").easyconfirm();
$("#alert").click(function() {
alert("You approved the action");
});});
</script>
<?php include('footer.php') ?>