<tbody align="center">
{if:$gdata[list]}
{php}
$count = count($gdata['list']);
$array = array_values($gdata['list']);
for ($i = 0; $i < $count; $i += 4) {
echo "<tr>";
if (isset($array[$i])) {
echo '<td height="35" style="font-size: 16px"><a href="'.$array[$i]['url'].'">'.$array[$i]['title'].'</a></td>';
}
if (isset($array[$i + 1])) {
echo '<td height="35" style="font-size: 16px"><a href="'.$array[$i+1]['url'].'">'.$array[$i+1]['title'].'</a></td>';
}
if (isset($array[$i + 2])) {
echo '<td height="35" style="font-size: 16px"><a href="'.$array[$i+2]['url'].'">'.$array[$i+2]['title'].'</a></td>';
}
if (isset($array[$i + 3])) {
echo '<td height="35" style="font-size: 16px"><a href="'.$array[$i+3]['url'].'">'.$array[$i+3]['title'].'</a></td>';
}
echo "</tr>";
}
{/php}
{else}
<tr><td colspan="4">暂无数据</td></tr>
{/if}
</tbody>