Beispiel #1
0
function themeindex($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext)
{
    global $anonymous;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" bgcolor=\"000000\" width=\"100%\"><tr><td>" . "<table border=\"0\" cellpadding=\"3\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"ffffff\">" . "<b>{$title}</b><br>" . "<font class=\"tiny\">" . "" . _POSTEDBY . " <b>";
    formatAidHeader($aid);
    echo "</b> " . _ON . " {$time} {$timezone} ({$counter} " . _READS . ")<br>" . "<b>" . _TOPIC . "</b> <a href=\"modules.php?name=News&amp;new_topic={$topic}\">{$topictext}</a><br>" . "</font></td></tr><tr><td bgcolor=\"ffffff\">";
    FormatStory($thetext, $notes, $aid, $informant);
    echo "<br><br>" . "</td></tr><tr><td bgcolor=\"ffffff\" align=\"right\">" . "<font class=\"content\">{$morelink}</font>" . "</td></tr></table></td></tr></table>" . "<br>";
}
Beispiel #2
0
function themearticle($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext)
{
    global $admin, $sid, $tipath;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\">\n" . "<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n" . "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n" . "<img src=\"themes/DeepBlue/images/dot.gif\" border=\"0\"></td><td width=\"100%\" bgcolor=\"#FFFFFF\"><font class=\"option\"><b>&nbsp;{$title}</b></font></td></tr>\n" . "<tr><td colspan=\"2\" bgcolor=\"#FFFFFF\"><br>\n" . "<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>\n" . "<a href=\"modules.php?name=News&new_topic={$topic}\"><img src=\"{$tipath}{$topicimage}\" alt=\"{$topictext}\" border=\"0\" align=\"right\"></a>";
    FormatStory($thetext, $notes = "", $aid, $informant);
    echo "</td></tr></table>\n" . "</td></tr></table><br>\n" . "</td></tr></table>\n" . "</td></tr></table><br><br>\n";
}
Beispiel #3
0
function themeindex($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext)
{
    global $tipath, $anonymous, $bgcolor1, $bgcolor2, $bgcolor3;
    $ThemeSel = get_theme();
    if (file_exists("themes/{$ThemeSel}/images/topics/{$topicimage}")) {
        $t_image = "themes/{$ThemeSel}/images/topics/{$topicimage}";
    } else {
        $t_image = "{$tipath}{$topicimage}";
    }
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" bgcolor={$bgcolor3} width=\"100%\"><tr><td>" . "<table border=\"0\" cellpadding=\"3\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor={$bgcolor2}>" . "<font class=\"title\">{$title}</font><br>" . "<font size=\"1\">" . "{$time} " . _BY . " " . "<b>";
    formatAidHeader($aid);
    echo "</b> ({$counter} " . _READS . ")</font></td></tr>" . "<tr><td bgcolor={$bgcolor1}><a href=\"modules.php?name=News&amp;new_topic={$topic}\"><img src=\"{$t_image}\" align=\"right\" border=\"0\" alt=\"{$topictext}\" title=\"{$topictext}\"></a>";
    FormatStory($thetext, $notes, $aid, $informant);
    echo "<br>" . "</td></tr><tr><td bgcolor={$bgcolor1} align=\"right\">" . "<font size=\"2\">{$morelink}</font>" . "</td></tr></table></td></tr></table>" . "<br>";
}
Beispiel #4
0
function themearticle($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext)
{
    global $admin, $sid, $tipath;
    $ThemeSel = get_theme();
    if (file_exists("themes/{$ThemeSel}/images/topics/{$topicimage}")) {
        $t_image = "themes/{$ThemeSel}/images/topics/{$topicimage}";
    } else {
        $t_image = "{$tipath}{$topicimage}";
    }
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#ffffff\" width=\"100%\"><tr><td>\n" . "<table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" bgcolor=\"#000000\" width=\"100%\"><tr><td>\n" . "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#808080\" width=\"100%\"><tr><td align=\"left\">\n" . "<font class=\"option\" color=\"#363636\"><b>{$title}</b></font><br>\n" . "<font class=\"content\">" . _POSTEDON . " {$datetime} " . _BY . " ";
    formatAidHeader($aid);
    echo "</td></tr></table></td></tr></table><br>";
    echo "<a href=\"modules.php?name=News&amp;new_topic={$topic}\"><img src=\"{$t_image}\" border=\"0\" Alt=\"{$topictext}\" align=\"right\" hspace=\"10\" vspace=\"10\"></a>\n";
    FormatStory($thetext, $notes = "", $aid, $informant);
    echo "</td></tr></table><br>\n\n\n";
}
Beispiel #5
0
function themearticle($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext)
{
    global $admin, $sid, $tipath, $admin_file;
    $ThemeSel = get_theme();
    if (file_exists("themes/{$ThemeSel}/images/topics/{$topicimage}")) {
        $t_image = "themes/{$ThemeSel}/images/topics/{$topicimage}";
    } else {
        $t_image = "{$tipath}{$topicimage}";
    }
    Opentable();
    echo "<font class=\"option\" color=\"#363636\"><b>{$title}</b></font><br>\n" . "<font class=\"content\">Posted on {$datetime} by ";
    formatAidHeader($aid);
    if (is_admin($admin)) {
        echo "<br>[ <a href=\"" . $admin_file . ".php?op=EditStory&amp;sid={$sid}\">" . _EDIT . "</a> | <a href=\"" . $admin_file . ".php?op=RemoveStory&amp;sid={$sid}\">" . _DELETE . "</a> ]\n";
    }
    echo "<br><br>";
    echo "<a href=\"modules.php?name=News&amp;new_topic={$topic}\"><img src=\"{$t_image}\" border=\"0\" Alt=\"{$topictext}\" align=\"right\" hspace=\"10\" vspace=\"10\"></a>\n";
    FormatStory($thetext, $notes = "", $aid, $informant);
    echo "<br>\n\n\n";
    CloseTable();
}