$row1只是个一维数组,为什么要foreach两次呢?
<html>
<head>
<title>留言板</title>
</head>
<body bgcolor="tan">
<{foreach item=index1 from=$array1}>    <{$index1.username}><{/foreach}>
</body>
</html>