Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Raides susimaisioses

Parašė Enzo· 2008 Spa. 11 19:10:47
#14

tada šitaip bandyk:

function render_article($subject, $article, $info) {

global $locale;
echo "<table width='563' height='50' border='0' cellpadding='0' cellspacing='0'>
   <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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
      <td>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
         <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&#353;&#279;:</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>";