From a44a0e047a7582fe7e31743e1b03a17cf2987f73 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Thu, 9 Mar 2017 00:28:02 -0500 Subject: Created the ability to post ads, rating framework --- dash/dash_functions.php | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'dash/dash_functions.php') diff --git a/dash/dash_functions.php b/dash/dash_functions.php index cb22cd5..b12fdcd 100644 --- a/dash/dash_functions.php +++ b/dash/dash_functions.php @@ -17,8 +17,7 @@ function typestr ($type) { } } function rating_format ($rating = null, $typestr = 'Employer') { - if (is_null($rating)) return $typestr.' Not Rated'; - return number_format($rating, 1).' Star '.$typestr; + return ''; } function draw_noads () { ?> @@ -57,14 +56,16 @@ function draw_ad ($row) {
- -

+ + +

-

-

[...]

+

No address listed.' : htmlentities($row['address']);?>

+

No comment included.' : htmlentities($row['comment']);?>

-- cgit v1.2.3