/************************************************************/
/* Th? hi?n toàn b? bài vi?t */
/************************************************************/
function themearticle ($aid, $time, $title, $hometext, $bodytext, $notes, $story_pic, $source) {
echo"<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr>\n<td class=\"indexhometext\">\n";
OpenTable(); \\\\\\\\\\\\\\\\\\\\\\\\Mở khung ở đây\\\\\\\\\\\\\\\\
echo"<div class=\"storytitle\">$title</div>\n"
. "<div class=\"grey\">$time</div>\n"
. "<p class=\"articlehometext\" align=\"justify\">$story_pic$hometext\n"
. "<p class=\"indexhometext\" align=\"justify\">$bodytext\n<br><br>";
if($notes!="") {
echo $notes;
}
echo "<p align=\"right\"><b>$aid</b> $source</td>\n"
. "</tr>\n"
. "</table>\n<br>\n<br>\n";
}
function themenewsst($title,$image,$hometext, $story_link) {
OpenTable();
echo "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\"><tr><td valign=\"top\" style=\"text-align: justify\">";
echo "<p class=storytitle style=\"margin-top: 0px; margin-bottom: 5px\">$title</p>";
echo "$image<span class=indexhometext>$hometext</span> $story_link";
echo "</td></tr></table>";
CloseTable();
echo "<br>";
}