getrow($sql); if($row[category_id]!=""){ $category_id=$row[category_id]; } $sorting = $row["sorting"]; if ($row["display"] == 1) { $displayd = 'checked'; $displayh = ''; } else { $displayd = ''; $displayh = 'checked'; } $date = $row["date"]; $name = $row["name"]; $ename = $row["ename"]; $description = $row["description"]; $requirement = $row["requirement"]; } else { $displayd = 'checked'; $displayh = ''; } $files_content = ""; //upload file for ($i=1;$i<=$num_of_files;$i++) { if ($id != "") { $sql = "SELECT * FROM `attachment` WHERE `table_name` = '".$page_tbname."' AND `table_id` = '".$id."' AND `col_name` = '".$col_name[$i]."'"; $rs = $db->query($sql); if (mysql_num_rows($rs) > 0) { $rowfile = $db->fetch_array($rs); ${"file".$i} = 'File name: '.$rowfile["real_name"].' Delete'; } } $files_content .= ' '.$attachment_text[$i].' '; if ($id != "") { $files_content .= ${"file".$i}; } /* if($i>1 && $i<=5){ $mytext='
Description '.($i-1).'
'; }else{ $mytext=''; }*/ $files_content .= '
'.$mytext.' '; } ?> Smartinfo CMS
> >
'; /* funGenTrText("time_string","Full/Part-time");*/ $time_string=$row[time_string]; if($time_string==""){ $time_string=0; } $selected[$time_string]="checked"; print ' '; funGenTrText("location"); funGenTrText("salary"); funGenTrText("benefit","Benefit",1); funGenTrText("phone"); ?>
Show > Show      > Hidden
JH#
Date
Description:
Requirements:
Job Type: Permanent      Temporary      Contract
Full/Part-time: Full Time      Part-time