Add new comment to Články uživatele

Profile picture for user Jan Polzer

takto?

<?php
$nlimit = 10;
$userid=$user->uid;
$query= "SELECT n.created, n.title, n.nid, n.changed FROM {node} n WHERE n.uid = $userid AND n.status = 1 AND n.type != 'page' AND n.type != 'webform' AND n.type != 'profil_filmu' AND n.type != 'image' AND n.type != 'hlaska' ORDER BY n.changed DESC";
$result1 = db_query_range($query,0,$nlimit);
$output2 .= "

\n";
$output2 .= node_title_list($result1);
$output2 .= "

";
if ($output2):
print 'Články uživatele:' . $output2 . 'více';
endif;
?>

Obsah tohoto pole je soukromý a nebude veřejně zobrazen.

Odesláním komentáře souhlasíte s podmínkami Ochrany osobních údajů