للأسف يا غالى جربتها ولم تنجح 
كود php
	كود PHP:
	
            while ($shownews = mysql_fetch_array($qshownews))
            {
            $shownews['news'] = titlecut($shownews['news'],$length=400,$count=4);
            $shownews['newsname'] = titlecut($shownews['newsname'],$length=45,$count=4);
            $coun++;
            $row['td'][] = $shownews;
                if ($coun == 2){
                $rows[] = $row;
                $coun=0;
                $row['td']='';
                }
            }
            if($coun) $rows[] = $row;
            print $easy->display('homepage.html'); 
 القالب
	كود PHP:
	
            <center>
            <table width="500" border="0" cellspacing="0" cellpadding="0">
            <LOOP NAME="{rows}">
            <tr>
            
            <LOOP NAME="{{td}}">
            <td align="right" valign="top"><table width="230" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="16" align="left"><img src="http://www.swalif.net/softs/images/SCHOOLNET_44.gif" width="16" height="23" alt="" /></td>
                        <td width="200" align="right"  background="http://www.swalif.net/softs/images/SCHOOLNET_46.gif" class="newstitle"><table width="200" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="right" dir="rtl"><a href="news.php?id={{id}}" target="_blank" class="nna">{{newsname}}</a></td>
  </tr>
</table></td>
                        <td width="14" align="right"><img src="http://www.swalif.net/softs/images/SCHOOLNET_49.gif" width="14" height="23" alt="" /></td>
                      </tr>
                      <tr>
                        <td colspan="3" align="right" class="dotborder" dir="rtl">
                        <span class="mainfont"><img src="{{newsimg}}" alt="{{newsname}}" width="90" height="75" hspace="5" vspace="5" align="right" /></span>{{news}} <a href="news.php?id={{id}}" class="navstyle">التفاصيل</a></td>
                      </tr>
                  </table></td>
                  </LOOP>
                  
                   </tr>
            </LOOP>
            </table>
        </center><br />