Togoparts Cyclist's Choice 2015 Winners

Bikeshops getBikeshopCategories(); foreach($dcategories as $dcat) { $best_label = $dcat->id != 1 ? 'Best ' : ''; $winners = CyclistsChoiceWinner::with('bikeshop')->where('ccid', $ccid)->where('cccid', $dcat->id)->orderBy('rank', 'asc')->get(); $winner = $winners[0]; $img_url = $GLOBAL_HOST_RELATIVE_URL . "/bikeshops/images/shop/logo-large-" . $winner->winner_id . ".jpg"; $url = $GLOBAL_HOST_RELATIVE_URL . "/bikeshops/shop_details.php?sid=" . $winner->winner_id; ?>

WINNER

winner_id > 0) { ?>

Runner Ups:

    rank) $has_runnerup = true; } if($ctr == 2) { $wlabel = '1st:'; } else if($ctr == 3) { $wlabel = '2nd:'; } else if($ctr == 4) { $wlabel = 'Noteworthy:'; } } if($has_runnerup) { ?>
  • rank) { $url = $GLOBAL_HOST_RELATIVE_URL . '/bikeshops/shop_details.php?sid=' . $w->winner_id; ?>
artid > 0) { ?>
where('ccdid', $disc->id)->where('type', 'brand')->orderBy('type, sequence', 'asc')->get(); $dcategories = $cchoice->getBrandsByDiscipline($disc->id); $artpage = 0; if(count($dcategories) > 0) { foreach($dcategories as $dcat) { $winners = CyclistsChoiceWinner::with('brand')->where('ccid', $ccid)->where('cccid', $dcat->id)->orderBy('id', 'asc')->get(); $winner = $winners[0]; $img_url = $GLOBAL_HOST_RELATIVE_URL . "/items/images/" . $winner->brand->brand_image; $url = $GLOBAL_HOST_RELATIVE_URL . "/items/view_brand.php?bid=" . $winner->winner_id; if($winner->winner_id > 0) { $distributors = new TieIns("mid", "ASC", 0, 999, 0, $winner->winner_id, 0); $dist_size = $distributors->size(); } else { $dist_size = 0; } $distrubutors_text = ""; $hasDist = 0; if($dist_size) { foreach ($distributors->getTieIns() as $dist) { $merchant = new Merchant(2, $dist->getMID()); $shop = new Shop($merchant->getShopid()); $distrubutors_text .= '' . $shop->getShopname() . ','; if($merchant->isPaidValidMerchant()) { $hasDist = 1; } } } $distrubutors_text = rtrim($distrubutors_text,','); if($artpage == 0) { $artpage = $winner->artpage; } ?>

Best

WINNER

winner_id > 0) { ?>

Distrubuted by:

Runner Ups:

    rank) $has_runnerup = true; } if($ctr == 2) { $wlabel = '1st:'; } else if($ctr == 3) { $wlabel = '2nd:'; } else if($ctr == 4) { $wlabel = 'Noteworthy:'; } } if($has_runnerup) { ?>
  • rank) { $url = $GLOBAL_HOST_RELATIVE_URL . '/items/images/view_brand.php?bid=' . $w->winner_id; ?>
artid > 0) { ?>