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 News

Corktraders News



Are you ready to Corktrade?

Who's ready to start Corktrading?! We're excited to announce that our web development team is hard at work and the Beta launch is only weeks away.

Read more...
 
<< Start < Prev 1 2 3 Next > End >>

Page 3 of 3
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!