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 Forums

Forum Index breadcrumbs) - 1; $i >= 0; $i--) { $breadcrumb = $this->breadcrumbs[$i]; ?> > > thread; ?>
posts[0]; ?>

thread; ?>

Post a reply display; ?> • num_pages; $i++) { ?>
posts as $p_row) { ?>




3000 || $p_row['username'] == "corktrader") { if($p_row['custom_karma']) { print $p_row['custom_karma']; } else { print "Oenophile"; } } print " (" . $p_row['num_posts'] . ")"; ?>
Location:

 

Post a reply display; ?> • num_pages; $i++) { ?>
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!