      <? if ($myrow['news_picture']!="") { ?>
        <? if ($myrow['news_picturealignment']==1) { ?>
          <table width=100% cellspacing=5 cellpadding=0 border=0>
          <tr>
          <td valign=top width=200>
          <?
          $mypicturefile=image_getfilename($myrow['news_picture']);
          echo "<img src='images/".$mypicturefile."' ".image_resizeimage($mypicturefile,false)." border=0>";
          // width=200 height=160
          ?>
          </td>
          <td valign=top class=newscontent>
          <span class=newsdate>
          <? echo unconverttounix($myrow['news_date']); //Isnin, 07 Januari 2007 ?>
          </span><br>
          <?
          if ($pubtask=="main") {
            if ($myrow['news_summary']!="") {
              echo richtext($myrow['news_summary']);
            } else {
              echo richtext(substr($myrow['news_text'],0,500))."..";
            }
          } else {
            echo richtext($myrow['news_text']);
          }
          ?>
          </td>
          </tr>
          </table>
        <? } else { ?>
          <table width=100% cellspacing=5 cellpadding=0 border=0>
          <tr>
          <td valign=top width=100% align=center>
          <?
          $mypicturefile=image_getfilename($myrow['news_picture']);
          // later to adjust accordingly if banner-type pics..
          echo "<img src='images/".$mypicturefile."' ".image_resizeimage($mypicturefile,false)." border=0>";
          ?>
          </td>
          </tr>
          <tr>
          <td valign=top width=100% class=newscontent>
          <span class=newsdate>
          <? echo unconverttounix($myrow['news_date']); //Isnin, 07 Januari 2007 ?>
          </span><br>
          <?
          if ($pubtask=="main") {
            if ($myrow['news_summary']!="") {
              echo richtext($myrow['news_summary']);
            } else {
              echo richtext(substr($myrow['news_text'],0,500))."..";
            }
          } else {
            echo richtext($myrow['news_text']);
          }
          ?>
          </td>
          </tr>
          </table>
        <? } ?>
      <? } else { ?>
        <span class=newsdate>
        <? echo unconverttounix($myrow['news_date']); //Isnin, 07 Januari 2007 ?>
        </span><br>
        <?
        if ($pubtask=="main") {
          if ($myrow['news_summary']!="") {
            echo richtext($myrow['news_summary']);
          } else {
            echo richtext(substr($myrow['news_text'],0,500))."..";
          }
        } else {
          echo richtext($myrow['news_text']);
        }
        ?>
      <? } ?>
