Jwma, 3 Şilde 2020
COVID-19 QAZAQSTANDA. Jwqtırğandar — 41065. Jazılğandar — 13614. Qaytıs bolğandar — 188
Jañalıqtar 2493 0 pikir 27 Tamız, 2009 sağat 15:39

Poslednie dobavlennıe publikacii


$nlimit = 10;
$type = "book";
$result = db_query_range(db_prefix_tables("SELECT n.created, n.title, n.nid FROM {node} AS n, {users} AS u
WHERE n.type = '$type' AND n.status = 1 AND u.uid=n.uid ORDER BY n.created DESC "), 0, $nlimit);
while ($node = db_fetch_object($result)) {
$items[] = node_view(node_load(array('nid' => $node->nid)), $teaser = TRUE, $page = FALSE, $links = TRUE);
}
if (isset($items) && is_array($items) && count($items) > 0) {
foreach ($items as $item){
$output .= $item . "

";
}
}
print $output;
?>


$nlimit = 10;
$type = "book";
$result = db_query_range(db_prefix_tables("SELECT n.created, n.title, n.nid FROM {node} AS n, {users} AS u
WHERE n.type = '$type' AND n.status = 1 AND u.uid=n.uid ORDER BY n.created DESC "), 0, $nlimit);
while ($node = db_fetch_object($result)) {
$items[] = node_view(node_load(array('nid' => $node->nid)), $teaser = TRUE, $page = FALSE, $links = TRUE);
}
if (isset($items) && is_array($items) && count($items) > 0) {
foreach ($items as $item){
$output .= $item . "

";
}
}
print $output;
?>

0 pikir