¦¦ News ¦¦ Updates ¦¦ Upcoming Events ¦¦
"; print "








Welcome to the New Official Deth Deks Skateboards Website. As you can see we are still currently under construction, but dont worry as each day passes more and more will be done. If you have any questions, suggestions, or concerns about anything you see or want to see on this website, Please feel free to email me at Dethdeks@gmail.com.
"; switch($_GET['action']) { case "news": ind_news(); break; case "update": ind_update(); break; case "event": ind_event(); break; } print "




"; require "footer.php"; function ind_news() { print "

News


"; $q=mysql_query("SELECT * FROM news ORDER BY news_NEW DESC") or die(mysql_error()); while($r=mysql_fetch_array($q)) { print ""; } print "
Topic Description Date
{$r['news_TOPIC']} {$r['news_DESC']} {$r['news_DATE']}
"; } function ind_update() { print "

Grip


"; $q=mysql_query("SELECT * FROM product WHERE prod_TYPE='Grip' ORDER BY prod_ID DESC") or die(mysql_error()); while($r=mysql_fetch_array($q)) { print ""; } print "
Name Price Description Image
{$r['prod_NAME']} \${$r['prod_PRICE']} {$r['prod_DESC']}
"; } function ind_event() { print "

Hardware


"; $q=mysql_query("SELECT * FROM product WHERE prod_TYPE='Hardware' ORDER BY prod_ID DESC") or die(mysql_error()); while($r=mysql_fetch_array($q)) { print ""; } print "
Name Price Description Image
{$r['prod_NAME']} \${$r['prod_PRICE']} {$r['prod_DESC']}
"; } ?>