require_once("../common/includes/settings.php"); require_once("config.php"); include_once('../bikeshops/classes/bikeshop_review.class.php'); header("HTTP/1.1 301 Moved Permanently"); header ("Location: " . $GLOBAL_HOSTHTTP_URL . "/bikeshops/show-promotion.php?nid=" . $_GET['nid']); exit; $sql = "SELECT * FROM merchant_news WHERE nid ='$nid'"; $result = mysql_query($sql, $link); $row = mysql_fetch_assoc($result); if(!isset($_GET['nid'])) { header("Location: " . $GLOBAL_HOSTHTTP_URL . "/shopping/fmnlist.php"); } $merchant = new Merchant(2, $row['merchantid']); $sid = $merchant->getShopid(); $shop = new Shop($sid); $WEBPAGE_TITLE = $shop->getShopname() . ' - ' . $row['title'] . " | Togoparts.com"; $meta_keywords = ""; $canonical_url = 'http://www.togoparts.com/shopping/shopnews.php?nid='.$nid; $share_title = $row['title']; ?>