Location: PHPKode > scripts > Rockin Rounded Corners > rockin-rounded-corners/roundcorners/functions.php
<?php
	function getCornerButtons($total) {
		$i = 1;
		while ($i <= $total) {
			if (strlen($i) == 1) {
				$zero = '0';
			} else {
				$zero = '';
			}
			$table .='<td><a href="roundedcorners.php?id=' .  $i . '"><img src="roundcorners/images/' . $zero . $i . '-tl.gif" alt="Version ' . $i . '" title="Version ' . $i . '" /></a></td>';
			if ($i == 6 || $i == 12 || $i == 18) {
				$table .= '</tr><tr>';
			}
			$i++;
		}
		$table = '<table class="corners-table"><tr>' .$table . '</tr></table>';
		return $table;
	}
?>
Return current item: Rockin Rounded Corners