Ejemplo n.º 1
0
        xoops_cp_header();
        echo "<div><h4>" . _AM_ARTICLEMANAGEMENT . "</h4></div>";
        adminmenu();
        echo "<table width='100%' border='0' cellpadding = '1' cellspacing='0' class='outer'>";
        echo "<tr class = 'even'><td>";
        echo "<div><a href='allarticles.php?action=all'>" . _AM_ALLARTICLES . "</a></div>";
        echo "<div><a href='allarticles.php?action=published'>" . _AM_PUBLARTICLES . "</a></div>";
        echo "<div><a href='allarticles.php?action=autoart'>" . _AM_AUTOARTICLES . "</a><div>";
        echo "<div><a href='allarticles.php?action=expired'>" . _AM_EXPIREDARTICLES . "</a><div>";
        echo "<div><a href='allarticles.php?action=autoexpire'>" . _AM_AUTOEXPIREARTICLES . "</a><div>";
        echo "<div><a href='allarticles.php?action=submitted'>" . _AM_SUBLARTICLES . "</a><div>";
        echo "<div><a href='allarticles.php?action=online'>" . _AM_ONLINARTICLES . "</a><div>";
        echo "<div><a href='allarticles.php?action=offline'>" . _AM_OFFLIARTICLES . "</a><div>";
        echo "</td></tr></table><br>";
        if (WfsCategory::countByArticle() > 0) {
            echo "<table width='100%' border='0' cellspacing='1' cellpadding = '2' class='outer'><tr>";
            echo "<td class='even'>";
            echo "<div class= 'bg3'><h4>" . _AM_POSTNEWARTICLE . "</h4></div>";
            $article = new WfsArticle();
            $article->editform();
            echo "</td></tr></table>";
        } else {
            echo "<table width='100%' border='0' cellspacing='1' class='outer'><tr><td class='odd'>";
            echo "<h4>" . _AM_NOCATEGORY . "</h4>";
            echo "<div><b><a href='category.php?op=default'>" . _AM_CATEGORYTAKEMETO . "</a></b></div>";
            echo "</td></tr></table>";
        }
        wfsfooter();
        break;
}
xoops_cp_footer();