Parašė dyaz· 2008 Spa. 13 14:10:09
#1
Tai vat noriu kad patrauktumet tuos zodzius na ziurekit screene
Stai articles:
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='563' height='50' border='0' cellpadding='0' cellspacing='0' align='center'>
<tr>
<td colspan='4'>
<img src='".THEME."images/panelen_01.png' width='562' height='11' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='11' alt=''></td>
</tr>
<tr>
<td rowspan='4'>
<img src='".THEME."images/panelen_02.png' width='11' height='39' alt=''></td>
<td rowspan='2' background='".THEME."images/panelen_03.png' width='424' height='16'><span style='font-family:Arial;
font-weight: bold;
font-size: 12px;
color: #ffffff;'>$subject</span> </td>
<td>
<img src='".THEME."images/panelen_04.png' width='101' height='3' alt=''></td>
<td rowspan='3'>
<img src='".THEME."images/panelen_05.png' width='26' height='31' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='3' alt=''></td>
</tr>
<tr>
<td rowspan='2' background='".THEME."images/panelen_06.png' width='101' height='28'><span style='font-family:Arial;
font-size: 11px;
color: #545454;'>Parašė:</span> <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a><br><span style='font-family:Arial;
font-size: 11px;
color: #545454;'>Data:</span> <a>".showdate("shortdate", $info['article_date'])."</a></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='13' alt=''></td>
</tr>
<tr>
<td rowspan='2'>
<img src='".THEME."images/panelen_07.png' width='424' height='23' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='15' alt=''></td>
</tr>
<tr>
<td colspan='2'>
<img src='".THEME."images/panelen_08.png' width='127' height='8' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='8' alt=''></td>
</tr>
</table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td></tr></table>";