Welcome to UglyTeapot! Hand Made creations in glass and polymer clay, by Charli Wilson.
For information on materials, shipping costs see here, and for some information on the artist see here
$sql = "SELECT * FROM `".$tables['news']."` ORDER BY date DESC LIMIT 0, 1"; $query = $db->query($sql); if (count($query) > 0) { foreach ($query as $row) { echo "".$row['text'];
//and if you're logged in let you edit the news
if (securityCheck($_SESSION['userid'])) {
echo "
Edit";
}
echo "
I hope you enjoy looking at my work, here are my Latest Creations:
$sql = "SELECT * FROM ".$tables['item']." ORDER BY date DESC LIMIT 5"; $qur = $db->query($sql); if (count($qur) > 0) { foreach ($qur as $row) { echo "";
echo getImage($row['itemid']);
echo "";
echo "\n
".$row['name'];
echo "\n
".substr($row['desc'], 0, 100)."... More Info";
$d = $db->query("SELECT name from $usertable WHERE `userid`='".$db->clean($row['userid'])."'");
echo "\n
By ".$d[0]['name']." on ".date("d-m-y", strtotime($row['date']));
if (securityCheck($_SESSION['userid'])) {
echo " \nEdit";
}
if ($row['sold'] == 1) {
echo " SOLD";
}
echo "