	<table id="index_list_table">
<?php
	mysql_data_seek($rs, $startline);			//テーブル内の指定行に移動
	$line = $startline;					//$lineに$startlineを代入
	while ($rec=mysql_fetch_array($rs) and $line<=$endline) {
?>
	<tr class="index_list<?= $rec['c_privacy'] == 444 ? ' index_list_privacy' : '' ?>">
	<td class="index_list_category" style="color: <?= $rec['c_categoryDisplayColor'] ?>;">
		<?= $rec['c_categoryName'] ?>
	</td>
	<td class="index_list_thumbnail" style="display:<?= $_COOKIE['index_list_thumbnail'] == 'none' ? 'none' : '' ?>;">
		<a href="<?= my_htmlspecialchars($rec['c_url']) ?>" target="_blank"><img src="http://img.simpleapi.net/small/<?= my_htmlspecialchars($rec['c_url']) ?>"></a>
	</td>
	<td class="index_list_homepage">
		<p class="index_list_title"><a href="<?= my_htmlspecialchars($rec['c_url']) ?>" target="_blank"><?= my_htmlspecialchars($rec['c_title']) ?></a></p>
		<p class="index_list_url"><?= my_htmlspecialchars($rec['c_url']) ?></p>
	<?php if ($rec['c_html'] <> '') { ?>
		<div style="float: left;"><?= $rec['c_html'] ?></div>
	<?php } ?>
	</td>
	</tr>
<?php
		$line++;
	}
?>
	</table>
