Here i have attached my printscrren of the problem..


Hi dears

I installed fckeditor module,

When i display the content with image ,

It is not displayed properly,


This is the code am using


   
    case 'view':
      if (user_access('access content') && $delta == 0 && arg(0)=='user') {
        $num_posts = variable_get('ptHeadlines_blog_num_posts', 5);
//        $current_user_profile = arg(1);
        $result = db_query_range("select cn.nid,cn.title,nr.title,nr.timestamp,nr.body,nr.teaser from node as cn,node_revisions as nr where cn.nid=nr.nid and cn.type='article'ORDER BY nr.timestamp DESC", NULL, 0, $num_posts);

        if (db_num_rows($result)) {
          $items = array();
          while ($blog_posts = db_fetch_object($result)) {
            $items[] = "<ul>".l(ucwords($blog_posts->title), 'node/'. $blog_posts->nid)."</ul>".substr($blog_posts->teaser, 0, 175).l("More","node/".$blog_posts->nid);
           
          }
          $block['subject'] = t('More Headlines');
          // Theme our array of links as an unordered list
          $block['content'] = theme('item_list', $items);
        //  if (db_num_rows($result) == $num_posts) {
       //     //$block['content'] .= '<div class="block-view-more">'. l(t('View more'), 'blog/'. $current_user_profile, array(), NULL, NULL, FALSE, FALSE) .'</div>';
        //  }       
        }
      }
      return $block;           
  }