My Content

$cur_type->type, ':uid' => $user->uid)); $knt = 0; foreach($node_res as $cur_node) { if ($knt == 0) { // Print out name of this content type $output .= "" . $cur_type->name . "
\r\n"; $output .= "
    \r\n"; } // Print out a list of content hyperlinked to the view page of that node $alias_path = url( 'node/' . $cur_node->nid, array('absolute' => false, 'alias' => false )); $output .= "
  • " . "" . $cur_node->title . "
  • \r\n"; $knt++; } if ($knt > 0) { $output .= "
\r\n"; $output .= "
\r\n"; } } } return $output; ?>