0) { $WebsiteDetailsData = mysql_fetch_array($WebsiteDetailsResult); $strStatus = $WebsiteDetailsData["Status"]; $strCached = $WebsiteDetailsData["Cached"]; if (($strCached == '1') && ($strStatus == 'Active')) { $strShowBackLinks = $WebsiteDetailsData["ShowLinks"]; $strShowRankedLinks = $WebsiteDetailsData["ShowLinks"]; $strLink1ToRankedDomain = $WebsiteDetailsData["Link1ToRankedDomain"]; $strLink2ToRankedDomain = $WebsiteDetailsData["Link2ToRankedDomain"]; } else if (($strCached == '1') && ($strStatus == 'Quarantine')) { $strShowRankedLinks = $WebsiteDetailsData["ShowLinks"]; $strLink1ToRankedDomain = $WebsiteDetailsData["Link1ToRankedDomain"]; $strLink2ToRankedDomain = $WebsiteDetailsData["Link2ToRankedDomain"]; } } if ($strShowBackLinks == '1') { $strBackLinks1Sql = "SELECT BackLinkUrl,LinkText FROM $datName2.BackLinks "; $strBackLinks1Sql .= "WHERE (LinkingPageUrl = '$strWebsiteUrl' AND Enabled = 1) ORDER BY MySortOrder"; $BackLinks1Result = mysql_query($strBackLinks1Sql); if (mysql_num_rows($BackLinks1Result) > 0) { $strBackLinks1Found = "1"; } } ?> <?php echo $strHomePageTitle;?>