	<div>
	<ul id="index_thumbnail">
<?php
	mysql_data_seek($rs, $startline);			//テーブル内の指定行に移動
	$line = $startline;					//$lineに$startlineを代入
	while ($rec=mysql_fetch_array($rs) and $line<=$endline) {
?>
		<li>
		<p class="index_thumbnail_title"><a href="<?= my_htmlspecialchars($rec['c_url']) ?>" target="_blank"><?= my_htmlspecialchars(left_short($rec['c_title'], 8)) ?></a></p>
		<a href="<?= my_htmlspecialchars($rec['c_url']) ?>" target="_blank"><img src="http://img.simpleapi.net/small/<?= my_htmlspecialchars($rec['c_url']) ?>"></a>
		</li>
<?php
		$line++;
	}
?>
	</ul>
	</div>
