limitperpage = 15; $mflib->setCookie(); session_start(); $mflib->initialize(); if (isset($_SESSION["uuid"]) && $_SESSION["uuid"] != "") { if ($mflib->dataGetWishlist() != null) { echo " Item Name Price Creator Rating Edit "; foreach ($mflib->dataGetWishlist() as $row) { if (strlen($row["name"]) >= 40) { $NAME = substr(substr($row["name"], 0, 40), 0, strrpos(substr($row["name"], 0, 40), ' ')) . " ..."; } else $NAME = $row["name"]; if (!isset($row["rating"])) { $row["rating"] = "None"; } echo " " . $NAME . " " . $row["currency"] . "" . str_replace(".00", "", sprintf ("%.2f", $row["price"])) . " " . $row["creator"] . " " . $row["rating"] . " Delete "; } } else { echo "

You have nothing currently in your Wishlist

"; } } ?>