require_once("common.inc.php"); $type_str[0]="Permanent"; $type_str[1]="Temporary"; $type_str[2]="Contract"; $time_string_str[0]="Full Time"; $time_string_str[1]="Part-time"; function funNumber($input){ return 'JH'.str_pad($input, 6, "0", STR_PAD_LEFT); } //============== $tbname="job"; $perpage="1000"; $address=$_SERVER['SCRIPT_NAME']; //============== $array=$db->getrow("SELECT * FROM `".$tbname."` where display='1' and id=".$id." "); $description_array=split("\n",$array["description"]); if($array["description"]!=""){ foreach($description_array as $index=>$value){ if(trim($value)!=""){ $description.='
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||