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")) { ?>
Cheers From Boston
Corktraders News

Boston Wine ExpoCorktraders was in Beantown last month for the 18th Annual Boston Wine Expo.  This show is the largest trade and consumer wine event in the country.  We were fortunate to meet so many fellow connoisseurs and enjoyed some amazing wines from the 450 wineries that exhibited pouring over 1800 wines.  

 

 

 

 


 
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!