<h3>[field:spacename runphp="yes"]if(@me=="")@me="未命名日记本";else @me=@me;[/field:spacename]</h3>
<div><table border="0" width="100%" id="table11" cellspacing="0" cellpadding="0" background2="{dede:global.cfg_templets_skin/}/diary/img/bg_line.gif">
[field:mid runphp='yes']
global $dsql;
            //$dsql = new DedeSql(false);
			$a="Select d.title,d.id,d.mid,d.pubdate,d.mtype From #@__archives as d where d.mid = @me and channel=1 order by id desc limit 10 ";
			$dsql->SetQuery($a);
			$dsql->Execute();
			$tags="";
			$row = $dsql->GetOne($a);
			while($row = $dsql->GetArray()){
			$url=GetOneArchive($row['id']);
			$auno=$auno+1;
			//echo $url['arcurl'];
$tags .="<tr><td width='' style='width:180px;height:18px;word-break:keep-all;white-spacing:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;'><font color=#999999 style='float:left;width:16px'>".$auno."</font><a target='_blank'  title='".$row['title']."' href='".$url['arcurl']."' style='float:left;display:block;width:160px;height:18px;word-break:keep-all;white-spacing:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;color:#555'>".$row['title']."</a></td><td width='62' class='indexriji'>".GetrijiTypename($row['mtype'])."</td><td width='26'><a herf='#' title='".GetDateMk($row['pubdate'])."'><img border='0' src='/templets/default/diary/TIME.gif' width='24' height='18'></a></td></tr>";
}
@me =$tags;
[/field:mid]
</table></div>