//
// Load Correct Top Image
//
if ($id == "1") {
echo "
";
}
if ($id == "2") {
echo "
";
}
if ($id == "3") {
echo "
";
}
if ($id == "4") {
echo "
";
}
if ($id == "5") {
echo "
";
}
if ($id == "6") {
echo "
";
}
if ($id == "7") {
echo "
";
}
if ($id == "8") {
echo "
";
}
if ($id == "9") {
echo "
";
}
if ($id == "10") {
echo "
";
}
if ($id == "11") {
echo "
";
}
if ($id == "12") {
echo "
";
}
if ($id == "13") {
echo "
";
}
if ($id == "14") {
echo "
";
}
if ($id == "15") {
echo "
";
}
?>
//
// Call all Locations - Then Their Jobs
//
require("../adminjobs/conf.php");
mysql_connect("$DBHost","$DBUser","$DBPass");
$result=mysql("$DBName","SELECT location, id FROM logins");
while ($row = mysql_fetch_row($result)) {
echo "
";
//
// Call Available Jobs
//
$result2=mysql("$DBName","SELECT title, description, id FROM jobs WHERE loginid = '$row[1]' AND category='$id'");
while ($row2 = mysql_fetch_row($result2)) {
$description = strip_tags($row2[1]);
$description = substr ($description, 0, 200);
echo "