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")) { ?>
Jennifer loves Corktraders
Corktraders News

Jennifer's Reviews recently featured a flattering post about Corktraders...

"Have you ever been to a wine trading/swapping party? That’s a party where everyone invited brings a bottle of wine to swap with other guests at the party! You have an opportunity, depending on whose invited, to walk away with a new tasting challange on a wine you may never have had the opportunity to try!  Now, take that local party concept and multiply it times the World Wide Web and you have one heck of a wine swapping party!"

Read the whole article at Jennifer's Reviews

 

 
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!