';
$result = pager_query(db_rewrite_sql("SELECT n.nid FROM node n WHERE n.type = 'flexinode-4' OR n.type = 'flexinode-1'"), $objects_per_page);
$i = 0;
while ($node = db_fetch_object($result)) {
print '| ';
print node_view(node_load(array('nid' => $node->nid)), 1);
print ' | ';
$i++;
if ($i == $objects_per_row)
{
print '
 |
';
$i = 0;
}
}
print '
';
//summons the pager at the bottom
print '';
//}
?>