Parašė Athrax· 2008 Lie. 1 15:07:56
#6
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "<td style=background-image:url('".THEME."images/Side_Images/right.gif') width='6'> </td>";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td style=background-image:url('".THEME."images/Side_Images/left.gif') width='6'></td>
<td class='footer3'>".stripslashes($settings['footer'])."</td>
<td style=background-image:url('".THEME."images/Side_Images/right.gif') width='6'></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td style=background-image:url('".THEME."images/Side_Images/left.gif') width='6'></td>
<td align='center' class='footer2'><br>
".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br><br>\n");
if ($license == false) {echo "© blabla.lt 2008, visos teises saugomos<br>\n";}
echo "<div align='center'><span style='cursor:default; font-size:10px; font-weight:normal; text-decoration: none;' title=\"header=[<img src='".THEME."images/Copyright/copyright.gif' style='vertical-align: middle;'>".$locale['SF400']."] body=[".phpentities($locale['SF401'])."] delay=[0] fade=[on]\"></form><br><br>\n";
echo "<td style=background-image:url('".THEME."images/Side_Images/right.gif') width='6'> </td>";
echo "</td>\n</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<center><br><table width='95%' cellpadding='0' cellspacing='2' class='newsborder'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='newscapmain'>$subject</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='news-body'>
$news
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<tr>
<td class='news-footer'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."</td>
<td align='right' class='news-footer'>\n";
if ($info['news_ext'] == "y") echo "<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> ·\n";
echo $info['news_reads'].$locale['044']."
<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>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
sitas ?
Redagavo Athrax· 2008 Lie. 1 15:07:09