' . (!isset($_COOKIE['id']) ? 'You have a tag link! Click a tag to vote' : 'You have used up your tag vote, please come back tomorrow') . '
'; // --- End $result = mysql_query("SELECT * FROM `tagcloud`"); while($row = mysql_fetch_assoc($result)){ $fontsize = array(11, 15, 20, 30, 50); switch ($fontsize){ case ($row['clicks'] >= 1 AND $row['clicks'] <= 20): echo "' . 'Your tag has been logged!' . '
'; } // End else{ echo '' . 'You can view the site but your tag has not been logged' . '
'; } echo $row['link']; echo "Go Back";
}
else {
echo 'Nothing was found, please press back on your browser!';
}
}
} // Close if($dbc)
else { // DB Connection Failed
echo 'Ooops Theres A Problem. Please contact the' . ' ' . "" . 'admin';
}
?>