".$l['admin']['section_weblog']." | ".$l['admin']['section_page'].""; $where = "section = 'page'"; $year_menu = ''; } else { $show_section = "".$l['admin']['section_weblog']." | ".$l['admin']['section_page'].""; $where = "YEAR(date) = '".escape_for_mysql($yl->get_selected_year()) ."' AND section = 'weblog'"; $year_menu = "

".$yl->get_admin_linklist()."

\n"; } $c['meta']['title'] = $l['admin']['index_headline']; if (!isset($c['main'])) $c['main'] = ''; $c['main'] .= output_admin_menu()."

".$l['admin']['admin_headline']."

»» ".$l['admin']['new_post']."

".$l['admin']['section_show'].": ".$show_section."

".$year_menu." "; $sql = "SELECT id, date as mysql_date, UNIX_TIMESTAMP(date) AS date, topic FROM ".JLOG_DB_CONTENT." WHERE ".$where." ORDER BY mysql_date DESC;"; $blog = new Query($sql); if($blog->error()) { echo "
\n";
        echo $blog->getError();
        echo "
\n"; die(); } while ($daten = $blog->fetch()) { $list = " "; ### Plugin Hook $c['main'] .= $plugins->callHook('adminList', $list, $daten); } $c['main'] .= "
".$l['admin']['change']." ".$l['admin']['delete']." ".$l['admin']['date']." ".$l['admin']['headline']."
".$l[ ".$l[ ".strftime(JLOG_DATE_SUBCURRENT, $daten['date'])." ".htmlspecialchars($daten['topic'], ENT_QUOTES)."
"; require(JLOG_BASEPATH.'scripts'.DIRECTORY_SEPARATOR.'do_template.php'); echo $body; // eof