يا إخواني هذا الكود وما ضبط معي
<!-- INCLUDE BLOCK : header -->
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g
lusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.j s#pubid=ra-4eec429136200a6f"></script>
<!-- AddThis Button END -->
<link rel="stylesheet" href="{img_dir}/rate.css" type="text/css">
<script type="text/javascript" language="javascript" src="scripts/behavior.js"></script>
<script type="text/javascript" language="javascript" src="scripts/rating.js"></script>
<table align="center" border="0" cellpadding="2" cellspacing="0" class="dcitbce" width="95%">
<tr>
<td>
<table {ldir} align="right" border="0" cellpadding="0" cellspacing="0" class="dcitbce">
<tr>
<td align="right" height="16"><img border="0" src="{img_dir}/se.gif" width="12" height="12">
<!-- START BLOCK : rewriteon -->
<a href="news-action-listnews.htm">{news}</a>
<!-- END BLOCK : rewriteon -->
<!-- START BLOCK : rewriteoff -->
<a href="news.php?action=listnews">{news}</a>
<!-- END BLOCK : rewriteoff -->
<br></td>
</tr><tr><td align="right" height="16">
<!-- START BLOCK : rewriteonnav -->
{output} <a href="news-action-listnewsm-id-{catid}.htm"> {catname}</a></td></tr><tr><td align="right" height="16">
<!-- END BLOCK : rewriteonnav -->
<!-- START BLOCK : rewriteoffnav -->
{output} <a href="news.php?action=listnewsm&id={catid}"> {catname}</a></td></tr><tr><td align="right" height="16">
<!-- END BLOCK : rewriteoffnav -->
<!-- START BLOCK : rewriteoncurrcat -->
{output} <a href="news-action-listnewsm-id-{catid}.htm"> {catname}</a><br />
{output} {caption}
<!-- END BLOCK : rewriteoncurrcat -->
<!-- START BLOCK : rewriteoffcurrcat -->
{output} <a href="news.php?action=listnewsm&id={catid}"> {catname}</a><br />
{output} {caption}
<!-- END BLOCK : rewriteoffcurrcat -->
</td>
</tr>
</table>
</td>
</tr>
</table>
<script type="text/javascript" language="javascript" src="{script_url}/scripts/poetry.js"></script>
<br>
<!-- START BLOCK : greet -->
<div id="blocktable" style="width:88%">
<div class="contenttitle2"><span style='float: right'><img border="0" src="{img_dir}/arroww2.gif"></span>كلمة الإهداء</div>
<table align="center" border="0" cellpadding="3" cellspacing="1" class="tborder" width="100%" height="40">
<tr>
<td class="tdc" width="100%" {ldir}><span class="news">{greeting}</span><p align=left>{sender_name}</p></td>
</tr>
</table>
</div>
<br>
<!-- END BLOCK : greet -->
<table align="center" border="0" cellpadding="1" cellspacing="0" width="99%">
<tr>
<td valign="top">
<!-- START BLOCK : extrablocks -->
<div id="blocktable" style="width: 130px;float:left">
<div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>{extrablockname} </div>
{extracont}
<div id="extradiv{blockid}" style="position:relative;">
<div id="extradiv{blockid}status" style="position:relative; width:130px; display:none">
<div id="extradiv{blockid}procces" style="margin:5px 5px 5px 5px"></div>
</div>
<span id="extracont{blockid}">{moreless}</span>
</div>
</div>
<br><br>
<!-- END BLOCK : extrablocks -->
</td>
<td valign="top" width="100%">
<!-- START BLOCK : news -->
<div id="blocktable">
<div class="contenttitle2"><span style='float: right'><img border="0" src="{img_dir}/arroww2.gif"></span>{caption}</div>
<table align="center" border="0" cellpadding="8" cellspacing="1" class="tborder" width="100%">
<tr>
<td class=tdc {ldir}><span style='float:left'>{media}</span><div class="news">{text}</div></td>
</tr>
</table>
</div>
تم إضافته يوم {dab}
<br>
<div align="center" class="dcitbce">شوهد {views} مرة - تم إرسالة {greet} مرة</div>
<br>
<div align="center" id="commentico" style="cursor
ointer;display:block">{allowcomnt}
<input type="image" src="{script_url}/infimages/email.gif" name="submit" title="ارسل الخبر لصديق" onclick="makeRequest('greet.php?division=news& id={id}&action=pregreet','GET','','commentdiv' ,'content','');">
<input type="image" src="{script_url}/infimages/print.gif" name="submit" onclick="infaction('print','print','newsm','{id}') ;" title="اطبع المحتوى">
<input type="image" src="{script_url}/infimages/html.gif" name="submit" onClick="infaction('html','save','newsm','{id}');" title="html حفظ بصيغة">
<input type="image" src="{script_url}/infimages/pdf.gif" name="submit" onclick="infaction('pdf','save','newsm','{id}');" title="pdf حفظ بصيغة">
</div>
<!-- END BLOCK : news -->
<!-- START BLOCK : rating -->
<table class="tb" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td class="largertext" align="left" valign="top" width="50%">
<div class="ratingblock"><div id="unit_long{id}"> <ul id="unit_ul{id}" class="unit-rating" style="width:150px;"> <li class="current-rating" style="width:{ratewidth}px;">التقييم {rate}/10</li>
<!-- START BLOCK : rate -->
<li><a href="rate.php?star={star}&id={id}&m={m}&a mp;c=10&v={votes}&av={rate}&r=1" title="{star}" class="r{star}-unit rater" rel="nofollow">{star}</a></li>
<!-- END BLOCK : rate -->
</ul> اضف تقييمك<p {ldir}>التقييم: <strong> {rate}</strong>/10 ({votes} صوت) </p></div></div>
</td></tr></tbody></table>
<!-- END BLOCK : rating -->
<div id="commentdiv" style="position:relative; display:none">
<div id="commentdivstatus" style="position:relative; width:150px; display:none">
<div id="commentdivprocces" style="margin:5px 5px 5px 5px"></div>
</div>
<span id="content">
<script language="javascript">
function smilie(smilietext) {
document.commentform.comment.value += smilietext+" ";
document.commentform.comment.focus();
}
function Check(){
var the = document.commentform;
if (the.name.value == ""){
alert("يرجى كتابة اسمك");
the.name.focus();
the.name.style.background = "#FFD2D2";
return false;
}
if (the.email.value == ""){
the.name.style.background = "";
alert("يرجى كتابة بريدك");
the.email.focus();
the.email.style.background = "#FFD2D2";
return false;
}
if (the.comment.value == ""){
the.email.style.background = "";
alert("يرجى كتابة تعليقك");
the.comment.focus();
the.comment.style.background = "#FFD2D2";
return false;
}
return true;
}
function Checkn(){
var thenews = document.newsform;
if (thenews.yourname.value == ""){
alert("يرجى كتابة اسمك");
thenews.yourname.focus();
thenews.yourname.style.background = "#FFD2D2";
return false;
}
if (thenews.youremail.value == ""){
thenews.yourname.style.background = "";
alert("يرجى كتابة بريدك");
thenews.youremail.focus();
thenews.youremail.style.background = "#FFD2D2";
return false;
}
if (thenews.name.value == ""){
thenews.yourname.style.background = "";
thenews.youremail.style.background = "";
alert("يرجى كتابة اسم صديقك");
thenews.name.focus();
thenews.name.style.background = "#FFD2D2";
return false;
}
if (thenews.email.value == ""){
thenews.name.style.background = "";
thenews.yourname.style.background = "";
thenews.youremail.style.background = "";
alert("يرجى كتابة بريد صديقك");
thenews.email.focus();
thenews.email.style.background = "#FFD2D2";
return false;
}
return true;
}
</script>
</span>
</div>
<br>
<!-- START BLOCK : commentrecords -->
<div id="comt">
<div class="contenttitle2">الـتـعـلـيـقـا ت</div>
</div>
<br>
<!-- START BLOCK : commentrecord -->
<div id="comt">
<div class="dcitb">
<div class="{class}"><span style="float:left">{iptoc}</span> [{name}] [{date}] {allowcomnt}</div>
<div class="comment">{comment}</div>
</div>
</div>
<!-- START BLOCK : commentreplys -->
<div id="comt">
<div class="dcitb">
<div class="{class}"><span style="float:left">{repliptoc}</span> [{replname}] [{crdate}]</div>
<div class="comment">{commentrepl}</div>
</div>
</div>
<!-- END BLOCK : commentreplys -->
<br />
<!-- END BLOCK : commentrecord -->
<!-- END BLOCK : commentrecords -->
</td>
</tr>
</table>
<div class="dcitbce">{prev_next}</div>
<!-- INCLUDE BLOCK : footer -->
أرجو الحل الله يعافيكم