summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dash/dash_employee.php4
-rw-r--r--dash/headless.php4
2 files changed, 6 insertions, 2 deletions
diff --git a/dash/dash_employee.php b/dash/dash_employee.php
index 18e1f54..b7cf12e 100644
--- a/dash/dash_employee.php
+++ b/dash/dash_employee.php
@@ -10,12 +10,14 @@ while ($row = $result->fetch_assoc()) {
<div class="job">
<a href="#" class="jobxbtn"></a>
<p class="jobtitle"><a href="ads.php?id=<?=$row['id'];?>"><?=htmlentities($row['title']);?></a></p>
- <p class="joblocation"><?=htmlentities($row['location']);?></p>
<?php
if (is_null($row['cat_name']))
echo ' <p class="jobcat">Uncategorized</p>'.PHP_EOL;
else
echo ' <p class="jobcat">'.htmlentities($row['cat_name']).'</p>'.PHP_EOL;
+?>
+ <p class="joblocation"><?=htmlentities($row['location']);?></p>
+<?php
if (is_null($row['rating']))
echo ' <p class="jobstars">Employer Not Rated</p>'.PHP_EOL;
else
diff --git a/dash/headless.php b/dash/headless.php
index 98b0d9b..f3ba5df 100644
--- a/dash/headless.php
+++ b/dash/headless.php
@@ -10,12 +10,14 @@ if ($result->num_rows) {
<div class="job">
<a href="#" class="jobxbtn"></a>
<p class="jobtitle"><a href="ads.php?id=<?=$row['id'];?>"><?=htmlentities($row['title']);?></a></p>
- <p class="joblocation"><?=htmlentities($row['location']);?></p>
<?php
if (is_null($row['cat_name']))
echo ' <p class="jobcat">Uncategorized</p>'.PHP_EOL;
else
echo ' <p class="jobcat">'.htmlentities($row['cat_name']).'</p>'.PHP_EOL;
+?>
+ <p class="joblocation"><?=htmlentities($row['location']);?></p>
+<?php
if (is_null($row['rating']))
echo ' <p class="jobstars">Employer Not Rated</p>'.PHP_EOL;
else