93-5-24، 01:38 عصر
(آخرین ویرایش در این ارسال: 93-5-24، 01:39 عصر، توسط Abolfazl0098.)
باید بری تو بخش <BLOGFA> و <BLOGFA/> دنبال این تگ بگردی <BlogComments/> و <BlogComment> وحالا این تگ رو کاملا پاک کن و اینو بجاش بذار
و بعد از انجام این کار برو اول قالبت و دنبال یه تگ به این شکل بگرد
و کدی رو که من درست قرار دادم جاش بذارید
حالا نظرات کار میکنه
اگه نتونستی بده اینجا دو سوته ردیفه
کد:
<BlogComment>
<span dir="rtl" ><script type="text/javascript">GetBC(<-PostId->);</script></span>
</BlogComment>
کد:
<script language="javascript">
function GetBC(lngPostid)
{
intTimeZone=<-BlogTimeZone->;
strBlogId="<-BlogId->";
intCount=-1;
strResult="";
try {
for (i=0;i<BlogComments.length;i+=2)
{
if (BlogComments[i]==lngPostid)
intCount=BlogComments[i+1] ;
}
} catch( e) {
}
if ( intCount==-1) strResult="آرشیو نظرات";
if ( intCount==0) strResult="نظر بدهید";
if ( intCount==1) strResult="یک نظر";
if ( intCount>1) strResult=intCount + " نظر" ;
strUrl="/comments/?blogid=" +strBlogId + "&postid=" + lngPostid + "&timezone=" + intTimeZone ;
strResult ="<a href=\"javascript:void(0)\" onclick=\"javascript:window.open('" + strUrl + "','blogfa_comments','status=yes,scrollbars=yes,toolbar=no,menubar=no,location=no ,width=500px,height=500px')\" >" + strResult + " </a>" ;
document.write ( strResult ) ;
}
function OpenLD()
{
window.open('/links','blogfa_ld','status=yes,scrollbars=yes,toolbar=no,menubar=no,location=no ,width=500px,height=500px');
return true;
}
</script>
حالا نظرات کار میکنه
اگه نتونستی بده اینجا دو سوته ردیفه
مسلط به زبان های
CSS
, #HTML , PHP , C++ , C