Esempio n. 1
0
<?php

session_start();
require_once $_SERVER['DOCUMENT_ROOT'] . "/common/class/common.class.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/common/class/jobs.class.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/common/class/user.class.php";
$objuser = new user();
$objuser->checkLoginAjax();
$objjob = new jobs();
$response = $objjob->get_job_by_id($_POST['jobid']);
$description = $response['description'];
$description .= "<br><b> More Description added on " . date("F j, Y, g:i a") . "</b><br>";
$description .= $_POST['description'];
$objjob->adddescription($description, $_POST['jobid']);
echo "script: messageBox('More Description Added to Job.',function() { window.location='account.php'; } );";
Esempio n. 2
0
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . "/common/class/jobs.class.php";
?>
<form method="post" action="ajax/jobs/updatedescription.php" onsubmit="if(validateForm(this)) submitFormOnFloat(this); return false;">
<input type="hidden" name="jobid" value="<?php 
echo $_GET['jid'];
?>
" >
<?php 
$objjob = new jobs();
$data = $objjob->get_job_by_id($_GET['jid']);
?>
<table width="100%">
<tr>
<td width="30%"></td>
<td width="70%"></td>
</tr>
<tr>
	<td colspan="2"><big><b>Add More Description to : <?php 
echo $data['title'];
?>
</b></big></td>
</tr>    

<tr>
<td><strong>Description</strong></td>
<td><textarea name="description" value="" rows="10" cols="40" class="vldnoblank"></textarea>
<span class="checkStatus"></span> 
</td>
</tr>
Esempio n. 3
0
<?php

include "header.php";
include "subheader.php";
require_once "common/class/mysql.class.php";
require_once "common/class/jobs.class.php";
$common_class = new jobs();
$mysql_querry = new mysql();
$jobs = new jobs();
$job = $jobs->get_job_by_id($_GET['id']);
$objmaincat = new maincategory();
$user = new user();
?>
<h3 class="heading">&nbsp;<?php 
echo $job['title'];
?>
 - Jobs</h3>
<div style="margin:3px 0 0 0;"><strong>Job ID:</strong> <?php 
echo $_GET['id'];
?>
</div>
<table border="0" class="tableDetails" width="100%">
  <tr height="20"></tr>
   <tr class="fir">
    <th width="175">&nbsp;Title : </th> <td><b><?php 
echo $job['title'];
?>
</b></td> 
  </tr>
  <tr>
    <th>&nbsp;Posted On :</th> <td>&nbsp;<?php