01 |
{dede:channel type = 'son' noself= 'yes' } |
04 |
$sql = "SELECT arc.* FROM `mydiy_archives` arc where arc.arcrank>-1 AND arc.typeid = @me ORDER BY arc.id desc limit 10" ; |
05 |
$dsql->SetQuery($sql); |
08 |
while ($row = $dsql->GetArray( 't' )) |
10 |
$arcurl = GetOneArchive($row[ 'id' ]); |
11 |
$pubdate = MyDate( 'm-d' ,$row[ 'pubdate' ]); |
13 |
<dt><a href= "{$arcurl['arcurl']}" ><span class= "aa2" >{$row[ 'title' ]}</span><span class= "aa3" >{$pubdate}</span></a></dt> |
|