summaryrefslogtreecommitdiff
path: root/dash
diff options
context:
space:
mode:
Diffstat (limited to 'dash')
-rw-r--r--dash/.ads.php.swpbin0 -> 12288 bytes
-rw-r--r--dash/ads.php19
2 files changed, 19 insertions, 0 deletions
diff --git a/dash/.ads.php.swp b/dash/.ads.php.swp
new file mode 100644
index 0000000..cd67f43
--- /dev/null
+++ b/dash/.ads.php.swp
Binary files differ
diff --git a/dash/ads.php b/dash/ads.php
new file mode 100644
index 0000000..b096ee9
--- /dev/null
+++ b/dash/ads.php
@@ -0,0 +1,19 @@
+<?php
+define('HEIRARCHY', 1);
+
+require('dash_common.php');
+$adid = intval($_GET['id']);
+if ($adid < 1) fatal('No ad ID has been provided. You must have reached this page in error.');
+$title = 'Ad / Bulletin';
+require('header.php');
+$result = $db->query('ads.title, ads.pay, ads.time, ads.location, ads.description, users.name, users.email, users.zipcode, users.phone, users.picture, users.address FROM ads INNER JOIN users ON users.id = ads.uid WHERE ads.id = '.$adid.' LIMIT 1') or fatal($db->error);
+if ($result->num_rows < 1) fatal('No ad with this ID has been found.');
+$row = $result->fetch_assoc();
+?>
+ <div id="fulljob">
+
+ </div>
+<?php
+$result->free();
+require('footer.php');
+?>