Example #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>";
}
Example #2
0
function themeindex($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext)
{
    global $anonymous, $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><tr><td bgcolor=\"#FFFFFF\" align=\"center\">\n" . "<font class=\"tiny\">" . _POSTEDBY . " ";
    formatAidHeader($aid);
    echo " " . _ON . " {$time} {$timezone} ({$counter} " . _READS . ")<br></font>\n" . "<font class=\"content\">{$morelink}</font></center>\n" . "<img src=\"themes/DeepBlue/images/pixel.gif\" border=\"0\" height=\"2\">\n" . "</td></tr></table>\n" . "</td></tr></table><br>\n";
}
Example #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>";
}
Example #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}";
    }
    if ("{$aid}" == "{$informant}") {
        ?>
		<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"><tr valign="top" bgcolor="#101070">
			<td><img src="themes/SlashOcean/images/cl.gif" width="7" height="10" alt=""><img src="themes/SlashOcean/images/pix.gif" width="4" height="4" alt=""></td>
			<td width="100%">
			<table width="100%" border="0" cellpadding="2" cellspacing="0"><tr><td>
			<font class="option" color="#FFFFFF"><B><?php 
        echo "{$title}";
        ?>
</B></font>
			</td></tr></table>
			</td><td align="right"><img src="themes/SlashOcean/images/pix.gif" width="4" height="4" alt=""><img src="themes/SlashOcean/images/cr.gif" width="7" height="10" alt=""></td>
         	</tr></table>
		<table border="0" cellpadding="0" cellspacing="0"><tr bgcolor="#e6e6e6">
			<td background="themes/SlashOcean/images/gl.gif"><img src="themes/SlashOcean/images/pix.gif" width="11" height="11" alt=""></td>
			<td width="100%">
				<table width="100%" border="0" cellpadding="5" cellspacing="0"><tr>
				<td><font class="tiny">Posted by <?php 
        formatAidHeader($aid);
        ?>
 on <?php 
        echo "{$datetime} {$timezone}";
        ?>
</font>

<?php 
        if ($admin) {
            echo "&nbsp;&nbsp; <font class=content> [ <a href=admin.php?op=EditStory&sid={$sid}>Edit</a> | <a href=admin.php?op=RemoveStory&sid={$sid}>Delete</a> ]";
        }
        ?>
				</td>
				</tr></table>
			</td>
			<td background="themes/SlashOcean/images/gr.gif"><img src="themes/SlashOcean/images/pix.gif" width="11" height="11" alt=""></td>
		</tr>
		<tr bgcolor="#101070"><td colspan="3"><img src="themes/SlashOcean/images/pix.gif" width="1" height="1"></td></tr>
		<tr bgcolor="#ffffff">
			<td background="themes/SlashOcean/images/wl.gif"><img src="themes/SlashOcean/images/pix.gif" width="11" height="11" alt=""></td>
			<td width="100%"><table width="100%" border="0" cellpadding="5" cellspacing="0"><tr><td>
		<?php 
        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>";
        ?>
			<?php 
        echo "<font class=content>{$thetext}";
        ?>
                 </td></tr></table></td>
                 <td background="themes/SlashOcean/images/wr.gif"><img src="themes/SlashOcean/images/pix.gif" width="11" height="11" alt=""></td>
		</tr>
		<tr bgcolor="#101070"><td colspan="3"><img src="themes/SlashOcean/images/pix.gif" width="1" height="1"></td></tr>
		</table>
<?php 
    } else {
        if ($informant != "") {
            $boxstuff = "<font class=content><a href=\"modules.php?name=Your_Account&amp;op=userinfo&username={$informant}\">{$informant}</a> ";
        } else {
            $boxstuff = "{$anonymous} ";
        }
        $boxstuff .= "<font class=content>writes <i>\"{$thetext}\"</i> {$notes}";
        ?>
		<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"><tr valign="top" bgcolor="#101070">
			<td><img src="themes/SlashOcean/images/cl.gif" width="7" height="10" alt=""><img src="themes/SlashOcean/images/pix.gif" width="4" height="4" alt=""></td>
			<td width="100%">
			<table width="100%" border="0" cellpadding="2" cellspacing="0"><tr><td>
			<font class="option" color="#FFFFFF"><B><?php 
        echo "{$title}";
        ?>
</B></font>
			</td></tr></table>
			</td><td align="right"><img src="themes/SlashOcean/images/pix.gif" width="4" height="4" alt=""><img src="themes/SlashOcean/images/cr.gif" width="7" height="10" alt=""></td>
         	</tr></table>
		<table border="0" cellpadding="0" cellspacing="0"><tr bgcolor="#e6e6e6">
			<td background="themes/SlashOcean/images/gl.gif"><img src="themes/SlashOcean/images/pix.gif" width="11" height="11" alt=""></td>
			<td width="100%">
				<table width="100%" border="0" cellpadding="5" cellspacing="0"><tr>
				<td><font class="tiny">Posted by <?php 
        formatAidHeader($aid);
        ?>
 on <?php 
        echo "{$datetime} {$timezone}";
        ?>
</font>
				
<?php 
        if ($admin) {
            echo "&nbsp;&nbsp; <font class=content> [ <a href=admin.php?op=EditStory&sid={$sid}>Editar</a> | <a href=admin.php?op=RemoveStory&sid={$sid}>Borrar</a> ]";
        }
        ?>
<br><font class=tiny>
<?php 
        echo "Contributed by <a href=\"modules.php?name=Your_Account&amp;op=userinfo&username={$informant}\">{$informant}</a>";
        ?>
				</td>
				</tr></table>
			</td>
			<td background="themes/SlashOcean/images/gr.gif"><img src="themes/SlashOcean/images/pix.gif" width="11" height="11" alt=""></td>
		</tr>
		<tr bgcolor="#101070"><td colspan="3"><img src="themes/SlashOcean/images/pix.gif" width="1" height="1"></td></tr>
		<tr bgcolor="#ffffff">
			<td background="themes/SlashOcean/images/wl.gif"><img src="themes/SlashOcean/images/pix.gif" width="11" height="11" alt=""></td>
			<td width="100%"><table width="100%" border="0" cellpadding="5" cellspacing="0"><tr><td>
		<?php 
        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>";
        ?>
			<?php 
        echo "<font class=content>{$thetext}";
        ?>
                 </td></tr></table></td>
                 <td background="themes/SlashOcean/images/wr.gif"><img src="themes/SlashOcean/images/pix.gif" width="11" height="11" alt=""></td>
		</tr>
		<tr bgcolor="#101070"><td colspan="3"><img src="themes/SlashOcean/images/pix.gif" width="1" height="1"></td></tr>
		</table>
<?php 
    }
}
Example #5
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";
}
Example #6
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();
}
Example #7
0
function themeindex($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext)
{
    global $anonymous, $tipath;
    $ThemeSel = get_theme();
    if (file_exists("themes/{$ThemeSel}/images/topics/{$topicimage}")) {
        $t_image = "themes/{$ThemeSel}/images/topics/{$topicimage}";
    } else {
        $t_image = "{$tipath}{$topicimage}";
    }
    if ("{$aid}" == "{$informant}") {
        ?>


<table border=0 cellpadding=3 cellspacing=1 width=100%>
	<tr>
		<td bgcolor=CCCCCC><font class=title> <b><?php 
        echo "{$title}";
        ?>
</b><br></td>
	</tr>
	<tr>
		<td bgcolor=FFFFFF><a
			href="modules.php?name=News&amp;new_topic=<?php 
        echo "{$topic}";
        ?>
&author="><img
			src=<?php 
        echo "{$t_image}";
        ?>
 border=0
			Alt=<?php 
        echo "\"{$topictext}\"";
        ?>
 align=right hspace=10 vspace=10></a>
		<font class=tiny> Posted by <b><?php 
        formatAidHeader($aid);
        echo "{$aid}";
        ?>
</b>
		on <?php 
        echo "{$time} {$timezone}";
        ?>
<br>
		(<?php 
        echo $counter;
        ?>
 reads) </font><br>
		<br>
		<font class=content> <?php 
        echo "{$thetext}<br><br></font>\r\n</td></tr><tr><td align=left>\r\n<font class=content>{$morelink}";
        ?>
</font></td>
	</tr>
</table>
<br>


	<?php 
    } else {
        if (!empty($informant)) {
            $boxstuff = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&username={$informant}\">{$informant}</a> ";
        } else {
            $boxstuff = "{$anonymous} ";
        }
        $boxstuff .= "writes <i>\"{$thetext}\"</i> {$notes}";
        ?>

<table border=0 cellpadding=3 cellspacing=1 width=100%>
	<tr>
		<td bgcolor=CCCCCC><font class=title> <b><?php 
        echo "{$title}";
        ?>
</b><br>
		<font class=option></td>
	</tr>
	<tr>
		<td bgcolor=FFFFFF><a
			href="modules.php?name=News&amp;new_topic=<?php 
        echo "{$topic}";
        ?>
&author="><img
			src=<?php 
        echo "{$t_image}";
        ?>
 border=0
			Alt=<?php 
        echo "\"{$topictext}\"";
        ?>
 align=right hspace=10 vspace=10></a>
		<font class=option> Posted by <?php 
        formatAidHeader($aid);
        ?>
 on <?php 
        echo "{$time} {$timezone}";
        ?>
<br>
		(<?php 
        echo $counter;
        ?>
 reads) <br>
		<br>
		</font> <font class=content> <?php 
        echo "{$boxstuff}<br><br></font>\r\n</td></tr><tr><td align=left>\r\n<font class=option>{$morelink}";
        ?>
</font></td>
	</tr>
</table>
<br>

		<?php 
    }
}
Example #8
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 width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=035D8A><tr><td>\n";
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"5\" bgcolor=FFFFFF><tr><td>\n";
    echo "<a href=modules.php?name=News&amp;new_topic={$topic}><img src={$t_image} Alt=\"{$topictext}\" border=0 align=right></a>\n";
    echo "<img src=\"themes/Sunset/images/bullet.gif\" border=0 hspace=3><font size=2><b>{$title}</b></font>\n";
    if ($admin) {
        echo "&nbsp;&nbsp; [ <a href=admin.php?op=EditStory&sid={$sid}>" . _EDIT . "</a> | <a href=admin.php?op=RemoveStory&sid={$sid}>" . _DELETE . "</a> ]<br>\n";
    } else {
        echo "<br>\n";
    }
    echo "<font size=1 color=035D8A>" . _POSTEDBY . "";
    formatAidHeader($aid);
    echo " " . _ON . " {$datetime}<br>\n";
    if ($informant != "") {
        echo "" . _CONTRIBUTEDBY . " <a href=modules.php?name=Your_Account&amp;op=userinfo&username={$informant}>{$informant}</a><br><br>\n";
    } else {
        echo "" . _CONTRIBUTEDBY . " {$anonymous}<br><br></font>\n";
    }
    echo "<font size=2 color=000000>{$thetext}</font><br><br>\n";
    echo "</td></tr></table>\n";
    echo "</td></tr></table>\n\n";
}