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 Main Cellar

Welcome to the Corktraders Main Cellar! This is a comprehensive list of all wines uploaded by the Corktraders in our community. You may use the filter below to search for specific wines, or sort the listings in order by clicking on any of the table's headers.

To view the Cortraders who currently have a wine you are interested in and/or to request a trade, click the icon to the right of the wine. To read or write a review about a specific wine click on the winery or varietal.

Hint: Be sure to pay close attention to the details of the listings in the Main Cellar. Many wines appear similar in description. We recommend that members communicate with other Corktraders via the messaging system if they need any clarification about a listing.

maincellar as $row) { ?>
updown == "ASC"){ print "&updown=DESC"; }elseif($this->lastorder == "m.vintage" && $this->updown == "DESC"){ print "&updown=ASC"; } ?>">Vint.lastorder == "m.vintage" && $this->updown == "ASC"){ ?>lastorder == "m.vintage" && $this->updown == "DESC"){ ?> updown == "ASC"){ print "&updown=DESC"; }elseif($this->lastorder == "w.winery" && $this->updown == "DESC"){ print "&updown=ASC"; } ?>">Winerylastorder == "w.winery" && $this->updown == "ASC"){ ?>lastorder == "w.winery" && $this->updown == "DESC"){ ?> updown == "ASC"){ print "&updown=DESC"; }elseif($this->lastorder == "l.labelname" && $this->updown == "DESC"){ print "&updown=ASC"; } ?>">Labellastorder == "l.labelname" && $this->updown == "ASC"){ ?>lastorder == "l.labelname" && $this->updown == "DESC"){ ?> updown == "ASC"){ print "&updown=DESC"; }elseif($this->lastorder == "v.varietal" && $this->updown == "DESC"){ print "&updown=ASC"; } ?>">Varietallastorder == "v.varietal" && $this->updown == "ASC"){ ?>lastorder == "v.varietal" && $this->updown == "DESC"){ ?> updown == "ASC"){ print "&updown=DESC"; }elseif($this->lastorder == "w.region" && $this->updown == "DESC"){ print "&updown=ASC"; } ?>">Regionlastorder == "w.region" && $this->updown == "ASC"){ ?>lastorder == "w.region" && $this->updown == "DESC"){ ?>  
NV  
pid > 1) { ?> < maincellar_num_pages > 21) { $mynumpages = 21; } else { $mynumpages = $this->maincellar_num_pages; } if($this->pid > 21) { $startnumpages = $this->pid - 10; $mynumpages = $this->pid + 10; if($mynumpages > $this->maincellar_num_pages) { $mynumpages = $this->maincellar_num_pages; } } else { $startnumpages = 1; } for($i = $startnumpages; $i <= $mynumpages; $i++) { ?> maincellar_num_pages > 1 && $this->pid < $this->maincellar_num_pages) { ?> >


display; ?>  |   show per page

 

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!