das wird sich erst noch herausstellen obs sonst noch wo falsch ist 

 aber bisher ist es mir nicht aufgefallen 
hab glaub ich die Passage gefunden:
  if ($facebookButton == true) {
                $row['fb'] = '<iframe src="http://www.facebook.com/plugins/like.php?href=http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF']).'/index.php?news-'.$row['id'].'&layout=standard&show_faces=false&width=450&action=like&colorscheme=light&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>';
            } else {
                $row['fb'] = '';
            }
            $tpl->set_ar_out($row, 0);
        }
        $tpl->set_out('SITELINK', $MPL, 1);
        unset($tpl);
    }
} else {
    $design->header();
    $xajax->printJavascript();
    $nid = escape($menu->get(1), 'integer');
    $erg = db_query("SELECT a.news_title,
   a.news_id,
   DATE_FORMAT(a.news_time,'%d. %m. %Y') as datum,
   DATE_FORMAT(a.news_time,'%W') as dayofweek,
   a.news_kat,
   a.news_text,
   a.news_recht,
    a.news_groups,
    a.html,
    a.show,
   b.name as username,
   b.avatar as avatar,
   b.id as userid
   FROM prefix_news as a
   LEFT JOIN prefix_user as b ON a.user_id = b.id
   WHERE `a`.`show` > 0 AND `a`.`show` <= UNIX_TIMESTAMP() AND `a`.`news_id` = '" . $nid . "'");