From be8e64ca785c9281d09b42aeaa917e8a1673af42 Mon Sep 17 00:00:00 2001 From: cflem Date: Sun, 1 Jan 2017 19:46:20 -0700 Subject: Moved ad displaying to dash_functions.php; finished settings.php --- dash/dash_functions.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'dash/dash_functions.php') diff --git a/dash/dash_functions.php b/dash/dash_functions.php index 49664a3..b9fd9db 100644 --- a/dash/dash_functions.php +++ b/dash/dash_functions.php @@ -6,4 +6,28 @@ function dash_fatal ($msg = null, $link = null, $label = null) { require('footer.php'); die; } +function draw_ad ($row) { +?> +
+ +

+Uncategorized

'.PHP_EOL; + else + echo '

'.htmlentities($row['cat_name']).'

'.PHP_EOL; +?> +

+Employer Not Rated

'.PHP_EOL; + else + echo '

'.intval($row['rating']).' Star Employer

'.PHP_EOL; +?> +

Pays $

+

[...]

+

+
+ -- cgit v1.2.3