Edytuj plik theme.php, znajdz funkcje render_news (linie ~108-130):
function render_news($subject, $news, $info) {
global $locale;
echo "<table border='0' style='border: 1px solid #6D7F98' cellpadding='1' cellspacing='0' width='100%'><tr><td>";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td bgcolor='#CED5E0'>";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td class='cpic' width='100%' height='26'> <img src='".THEME."images/square.gif' hspace='2'> ";
echo "<font class='title'>$subject</font></td></tr>";
echo "<tr><td colspan='2'>";
echo "<table border='0' width='100%' bgcolor='#CED5E0' align='center'>";
echo "<tr><td class='main-body'>$news</td></tr></table>";
echo "<tr><td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])."";
echo "<hr><div align='right'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ˇ\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ˇ ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a></div>";
echo "</td></tr></table></td></tr></table></td></tr></table>";
}
i zamien na:
function render_news($subject, $news, $info) {
global $locale;
echo "<table border='0' style='border: 1px solid #6D7F98' cellpadding='1' cellspacing='0' width='100%'><tr><td>";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td bgcolor='#CED5E0'>";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td class='cpic' width='100%' height='26'> <img src='".THEME."images/square.gif' hspace='2'> ";
echo "<font class='title'>$subject</font></td></tr>";
echo "<tr><td colspan='2'>";
echo "<table border='0' width='100%' bgcolor='#CED5E0' align='center'>";
echo "<tr><td class='main-body'>$news</td></tr></table>";
echo "<tr><td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])."";
echo "".($info['news_ext'] == "y" ? " <a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ˇ\n" : "")."";
if ($info['news_allow_comments'])
echo " <a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ˇ ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table></td></tr></table>";
}
Powinno byc dobrze, o ile zwiekszysz szerokosc calej skorki, bo przy dlugich nickach/miesiacach bedzie stopka schodzila poziom nizej. Przejrzyj kod i porownaj z oryginalem, bo przyda Ci sie odrobina wiedzy w tej kwestii.
Jestem jaki jestem
|