diff --git a/assets/placeholder.png b/assets/placeholder.png index 5518989..46d89a1 100644 Binary files a/assets/placeholder.png and b/assets/placeholder.png differ diff --git a/assets/placeholder.png~ b/assets/placeholder.png~ index db22339..5518989 100644 Binary files a/assets/placeholder.png~ and b/assets/placeholder.png~ differ diff --git a/catalog.php b/catalog.php index e1a67cb..0a58aca 100644 --- a/catalog.php +++ b/catalog.php @@ -105,7 +105,7 @@ $getitstarted->header(); Limited

Limited Items

-

Owners of these discontinued items can re-sell them to other users at any price.

+

Items sold by people that are available for a limited time.

Limited U @@ -146,12 +146,12 @@ $getitstarted->header();
" height=150 width=150>

Limited'; }; ?>

- @

- By " class="btn-link"> + By " class="btn-link">
+ @

diff --git a/item.php b/item.php index 59f33f4..5162aa9 100644 --- a/item.php +++ b/item.php @@ -10,6 +10,20 @@ if(!isset($_GET["id"])) { } else { $id = (int)$_GET["id"]; } + +function getMoney($money) { + if ($money < 1000000) { + // Anything less than a million + return number_format($money); + } else if ($money < 1000000000) { + // Anything less than a billion + return number_format($money / 1000000, 1) . 'M'; + } else { + // At least a billion + return number_format($money / 1000000000, 1) . 'B'; + } +} + $q = $con->prepare("SELECT * FROM catalog WHERE id = :id"); $q->bindParam(':id',$id,PDO::PARAM_INT); $q->execute(); @@ -29,12 +43,30 @@ $getitstarted->header(); <?php echo htmlspecialchars($item["name"]); ?> | <?php echo $sitename; ?> -
+

-

this item is called

-

with id

-

and he costs $

-

thats all i have to say

+ +
+ +"> + +
+sdasdas +
+ +
+
+

Price: @

+ +

(0 sold)

+
+
+
+ + + + +