Ejemplo n.º 1
0
function render_article($subject, $article, $info)
{
    global $locale;
    opentable($subject);
    echo "<div class='floatfix'>" . ($info['article_breaks'] == "y" ? nl2br($article) : $article) . "</div>\n<div class='news-footer'>\n\t" . articleposter($info, " &middot;") . articleopts($info, "&middot;") . itemoptions("A", $info['article_id']) . "\n</div>\n";
    closetable();
}
Ejemplo n.º 2
0
function render_article($subject, $article, $info)
{
    echo "<div class='capmain'>{$subject}</div>\n";
    echo "<div class='main-body floatfix'>" . ($info['article_breaks'] == "y" ? nl2br($article) : $article) . "</div>\n";
    echo "<div class='news-footer'>\n";
    echo articleposter($info, "&middot;") . articleopts($info, "&middot;") . itemoptions("A", $info['article_id']);
    echo "</div>\n";
}
Ejemplo n.º 3
0
function render_article($subject, $article, $info)
{
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td class='capmain'>" . $subject . "</td>\n";
    echo "</tr>\n<tr>\n";
    echo "<td class='main-body'>" . ($info['article_breaks'] == "y" ? nl2br($article) : $article) . "</td>\n";
    echo "</tr>\n<tr>\n";
    echo "<td align='center' class='news-footer'>\n";
    echo articleposter($info, " &middot;") . articleopts($info, "&middot;") . itemoptions("A", $info['article_id']);
    echo "</td>\n</tr>\n</table>\n";
}
Ejemplo n.º 4
0
function render_article($subject, $article, $info)
{
    echo "<div class='border tablebreak'>";
    // echo "<div class='capmain'>$subject</div>\n";
    echo "<table cellpadding='0' cellspacing='0' width='100%' align='center'>\n\t<tr>\n\t<td class='tabletoplinks'></td>\n\t<td class='tabletop'>" . $subject . "</td>\n\t<td class='tabletoprechts'></td>\n\t</tr></table>";
    // ende meins
    echo "<div class='main-body floatfix'>" . ($info['article_breaks'] == "y" ? nl2br($article) : $article) . "</div>\n";
    echo "<div class='news-footer'>\n";
    echo articleposter($info, "&middot;") . articleopts($info, "&middot;") . itemoptions("A", $info['article_id']);
    echo "</div>\n";
    echo "</div>";
}
Ejemplo n.º 5
0
function render_article($subject, $article, $info)
{
    echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
    echo "<td><img src='" . THEME . "/images/pfboxcapleft.jpg' alt='image' /></td>\n";
    echo "<td class='capmain' width='100%'>" . $subject . "</td>\n";
    echo "<td><img src='" . THEME . "/images/pfboxcapright.jpg' alt='image' /></td>\n";
    echo "</tr>\n</table>\n";
    echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
    echo "<td class='pfboxbll' height='100%'>&nbsp;</td>\n";
    echo "<td class='main-body middle-border'>" . ($info['article_breaks'] == "y" ? nl2br($article) : $article) . "</td>\n";
    echo "<td class='pfboxblr' height='100%'>&nbsp;</td>\n";
    echo "</tr>\n<tr>\n";
    echo "<td class='pfboxbll' height='100%'>&nbsp;</td>\n";
    echo "<td align='center' class='news-footer'>\n";
    echo articleposter($info, " &middot;") . articleopts($info, "&middot;") . itemoptions("A", $info['article_id']);
    echo "</td>\n";
    echo "<td class='pfboxblr' height='100%'>&nbsp;</td>\n";
    echo "</tr>\n</table>\n";
    echo "<table cellspacing='0' cellpadding='0' width='100%' class='spacer'>\n<tr>\n";
    echo "<td align='left'><img src='" . THEME . "/images/pfboxsidebleft.jpg' alt='image' /></td>";
    echo "<td align='center' class='pfboxsideb' width='100%'></td>";
    echo "<td align='right'><img src='" . THEME . "/images/pfboxsidebright.jpg' alt='image' /></td>";
    echo "</tr>\n</table>\n";
}
Ejemplo n.º 6
0
    if (checkgroup($cp_data['page_access'])) {
        ob_start();
        eval("?>" . stripslashes($cp_data['page_content']) . "<?php ");
        $custompage = ob_get_contents();
        ob_end_clean();
        if ($settings['wysiwyg_enabled']) {
            $custompage = explode("<!-- pagebreak -->", $custompage);
            $pagecount = count($custompage);
            echo "<div class='viewpage'>" . $custompage[$_GET['rowstart']] . "</div>";
            if ($pagecount > 1) {
                echo "<div align='center' style='margin-top:5px;'>\n" . makepagenav((int) $_GET['rowstart'], 1, $pagecount, 3, FUSION_SELF . "?page_id=" . (int) $_GET['page_id'] . "&amp;") . "\n</div>\n";
            }
        } else {
            echo "<div class='viewpage'>" . $custompage . "</div>";
        }
        echo itemoptions("CP", (int) $_GET['page_id']);
        // Pimped
    } else {
        echo "<div style='text-align:center'><br />\n" . $locale['400'] . "\n<br /><br /></div>\n";
    }
} else {
    add_to_title($locale['global_200'] . $locale['401']);
    opentable($locale['401']);
    echo "<div style='text-align:center'><br />\n" . $locale['402'] . "\n<br /><br /></div>\n";
}
closetable();
if (dbrows($cp_result) && checkgroup($cp_data['page_access'])) {
    if ($settings['enable_tags']) {
        require_once INCLUDES . "tag_include.php";
        // Pimped: tag
        echo show_tags((int) $_GET['page_id'], "C");