From 7b59091bda702e3d9907d5a14d248bf241c15df7 Mon Sep 17 00:00:00 2001
From: cflem =htmlentities($row['title']);?> =htmlentities($row['location']);?>
'.htmlentities($row['cat_name']).'
'.PHP_EOL; if (is_null($row['rating'])) echo 'Employer Not Rated
'.PHP_EOL; else - echo ''.$row['rating'].' Star Employer
'.PHP_EOL; + echo ''.intval($row['rating']).' Star Employer
'.PHP_EOL; ?>Pays $=number_format($row['pay'], 2);?>
=htmlentities(substr($row['description'], 0, min(strlen($row['description']), 160)));?> [...]
diff --git a/dash/headless.php b/dash/headless.php index 16693cd..98b0d9b 100644 --- a/dash/headless.php +++ b/dash/headless.php @@ -12,10 +12,14 @@ if ($result->num_rows) {=htmlentities($row['title']);?>
=htmlentities($row['location']);?>
Uncategorized'.PHP_EOL; + else + echo ''.htmlentities($row['cat_name']).'
'.PHP_EOL; if (is_null($row['rating'])) echo 'Employer Not Rated
'.PHP_EOL; else - echo ''.$row['rating'].' Star Employer
'.PHP_EOL; + echo ''.intval($row['rating']).' Star Employer
'.PHP_EOL; ?>Pays $=number_format($row['pay'], 2);?>
=htmlentities(substr($row['description'], 0, min(strlen($row['description']), 160)));?> [...]
-- cgit v1.2.3