Подскажите сабж, вывод рядом с анкором даты публикации, что можно добавить?
<?php
/**
* The following displays a list of the 10 most recent blog titles
* as links to the full blogs. If you want to increase/reduce
* the number of titles displayed, simply change $listlength value.
*
*/
$listlength="30";
$nodetype="blog";
$output = node_title_list(db_query_range(db_rewrite_sql("SELECT n.nid, n.title, n.created FROM {node} n WHERE n.type = '%s' AND n.status = 1 ORDER BY n.created DESC"), $nodetype, 0, $listlength));
print $output;
?>
/**
* The following displays a list of the 10 most recent blog titles
* as links to the full blogs. If you want to increase/reduce
* the number of titles displayed, simply change $listlength value.
*
*/
$listlength="30";
$nodetype="blog";
$output = node_title_list(db_query_range(db_rewrite_sql("SELECT n.nid, n.title, n.created FROM {node} n WHERE n.type = '%s' AND n.status = 1 ORDER BY n.created DESC"), $nodetype, 0, $listlength));
print $output;
?>