DEDECMS站内新闻的最新调用方法

我是个菜鸟站内新闻调用问题。都是一点一点摸索出来。现在把方法公布给大家以便于给那些需要的朋友们。这个是带超级链接还有留言内容页面的。
 
以下为站长新闻调用代码:
<ul class="c1 ico2">
 {dede:sql sql="Select aid,typeid,title,writer,senddate,body From dede_mynews order by aid desc limit 0,5"} <li class='dotline'><a href="/mynew.php?id=[field:aid/]">[field:title/] </a></li> [field:senddate function="MyDate('m-d',@me)" /]<br>{/dede:sql}</ul>
以下为内容页面文件:
<?php
require_once (dirname(__FILE__) . "/include/common.inc.php");

$id=$_REQUEST['id'];

$dsql="select * from dede_mynews where aid='".$id."'";
$result=mysql_query($dsql);

while($rs=mysql_fetch_object($result))
{
$title=$rs->title; 
$writer=$rs->writer;
$body=$rs->body;
$senddate=$rs->senddate;
$time=MyDate("Y-m-d",$senddate);
}
?>
<title><?=$title?></title>
<link href="/templets/style/style.css" rel="stylesheet" media="screen" type="text/css" />
<div align="center" class="boxz">
<table width="600"border="0" cellspacing="1" cellpadding="1">
 <tr>
<td height="80" align="center" bgcolor="#F9F9F9"><b><?=$title?></b></td>
</tr>

<tr>
  <td>&nbsp;</td>
</tr>

<tr>
<td><?=$body?></td>
</tr>
<tr>
<td height="30" align="center">
  <div align="right"><font color="#666666">发布人:
        <?=$writer?>
      &nbsp;&nbsp;&nbsp;时间:
        <?=$time?>
  </font></div></td>
</tr>
<tr>
  <td><div align="center"><a href="http://www.zuola.net/">烈火首页</a></div></td>
</tr>
</table>
</div>