get('username', null, 'ctcommunity'); //$messages = $session->get('num_messages', null, 'ctcommunity'); //$requests = $session->get('num_requests', null, 'ctcommunity'); $uid = $session->get('uid', null, 'ctcommunity'); $db =& JFactory::getDBO(); $query = "select count(*) as num_messages from #__ct_messages where `to` = $uid and viewed = 0 and removed = 0"; $db->setQuery($query); $results = $db->loadAssoc(); $messages = $results['num_messages']; $query = "SELECT count(*) as num_requests FROM #__ct_friendrequests WHERE `to` = $uid"; $db->setQuery($query); $myrequests = $db->loadAssoc(); $requests = $myrequests['num_requests']; if((($myView == "frontpage" || $myView =="") && !$uid) || ($myView != "frontpage")) { ?>
Corktraders Goes Green
Corktraders News

 

 


In our ongoing attempt to revolutionize the wine world, we have discovered that some wine related materials are not being recycled and in some cases will not be accepted in community recycling programs. We are constantly looking for ways to upcycle (ie. "reuse") wine-related products keeping them out of the landfills or in someone's garage. All of the wine related materials we use are collected from friends, family and local restaurants.

These products are available for purchase at http://www.corktraders.etsy.com

 

 

Wine Cork WreathWine Bottle Lights
 
RECENTLY ADDED WINES
Vint. Winery Label Varietal  
RECENT REVIEWS
Vint. Winery Label Varietal
 
RECENT FORUM POSTS
Forum Name Thread Posted by

Any Questions? Find the answers here.

User menu

 

Friend us!