test

tid AND n.nid=t.nid ORDER BY n.title ASC”);
$tot_num = db_num_rows($res);
for($i=0;$inid, array(), null, null, FALSE, TRUE);
$next_th = l(image_display($next_node, ‘thumbnail’, array()),’node/’.$next_node->nid, array(), null, null, FALSE, TRUE);
$output = ”;
$output .= ‘

‘;
$output .= ‘

‘;
$output .= ‘

‘;
$output .= ‘

‘;
$output .= ‘

‘;
$output .= ‘

‘ . $prev_th . ‘ ‘ . $next_th . ‘ ‘ . $tot_num . ‘ photos in this album.

‘;
print $output;
}

?>

Advertisements