Location: PHPKode > projects > Backend code/CMS for blizzle.com > v1.x/blizlets/releases.php
<?
$bHtml = "";
$query = "SELECT * FROM releases ORDER BY date DESC LIMIT 10;";
$result = mysql_query ($query, $link) or die (mysql_error());
while (list($name,$version,$ulink) = mysql_fetch_row($result)) {
	$bHtml = $bHtml."<a title=\"".heftyReplace("[desc:$name]")."\" href=\"$ulink\">$name $version</a><br>\n";
}
$bHtml = $bHtml." <br><a href=\"/releases.php\">detailed releases...</a>\n";

createBlizlet('New Releases',$bHtml);

?>
Return current item: Backend code/CMS for blizzle.com