به دلیل درخواست های شما کاربران عزیز تصمیم گرفتیم یک قسمت جدید برای نظرات طراحی کنیم تا از این پس کاربران بتوانند نظرات هر مطلب را در زیر خود آن نمایش دهند اگر قصد طراحی یک قالب قشنگ برای بخش نظرات خود در پایین هر پست را دارید حتما به آدرس طراحی قالب سر بزنید و به دنبال تگهایی بگردید که در تگ <comment></comment> قرار می گیرند نمونه ای از کدهای قالب طراحی شده برای بخش نظرات را در پایین گذاشتم فقط دقت کنید که این کدها باید بین دو تگ <entry></entry> قرار داده شوند البته من پیشنهاد میکنم کدهای زیر را بالای تگ <entry/> قرار دهید


کدها :


<IfEntryPage>
  <style>
.comment {
    margin: 0px 0px 10px;
    padding: 0px;
}
.comment-content {
       font-size:12px;
    clear:both;
    padding: 0px 10px 5px;
    text-align:right
}
.comment-meta span {
    display: block;
    padding: 0px 0px 0px 5px;
    float:right
}
.comment-meta span.date {
    float: left;
    padding: 19px 10px;
}
a:link {
    text-decoration: none;
    color: #1C260D;
    outline:0
}
span.gravatar {
    padding: 9px;
}
  </style>
<div style='text-align:center;'>
<Comment>
<div style="background:#E1FFFF;width:622px">
<div>
<div class="comment-meta">
<span class="gravatar"><img src="http://mihandownload.com/site-theme/images/defult.gif" /></span>
<span style='padding-top:20px;font-size:11px' dir="rtl">
<-CommentAuthor-> گفته :
</span>
<span class="date"><-CommentTime-> ,<-CommentDate-></span>
</div>
</div>
            <div class="comment-content">
<p><-CommentBody-></p>
<ReplayBlock>
------------------------
<br>
<div dir='rtl'><-CommentReplayTitle-> : <-CommentReplay-></div>
</ReplayBlock>
            </div>
</div>
</Comment>
</div>

<SCRIPT LANGUAGE='JavaScript'>
function email_validator(email) {
   reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
   if(reg.test(email) == false) {
     alert("لطفا يک ايميل معتبر وارد کنيد");
      return false;
   }
   return true;
}

</script>
    <form name='frmC' method='post' action='http://<-BlogId->.samenblog.com/<-EntryId->/' onsubmit='return email_validator(this.email.value)'>
<div style='font-size:11px'> </div>
<center><div class='border' style='width:452px'>
<table dir='rtl' border=0 style='width:390px;' cellpadding='2' align='center' cellspacing='0' style='padding-left:-10px'>
<tr><td> </td>
            <td height='22'><div class='fon' style='margin:0px 112px 0px 0px;font-size:12px'>نظر شما</div></td>
    </tr>
    <tr>

        <td width='105'><div class='fonttitle' style='font-size:12px'>نام شما:</div></td>

        <td>
        <input type='text' class='fon' maxlength='50' value='' id='name' name='nickname' size='35'></td>
    </tr>
    <tr>

<td width='105'><div class='fonttitle' style='font-size:12px'>پست الکترونيک:</div></td><td>
        <input dir='ltr' class='fon' type='text' maxlength='50' name='email' size='35' value=''></td>
    </tr>
    <tr>

        <td width='85'><div class='fonttitle' style='font-size:12px'>وب سايت:</div></td>
        <td>
           <table style='margin-right:154px;margin-top:20px;display:none;POSITION: absolute;filter:alpha(opacity=86);-moz-opacity:.86;opacity:.86;background:#BBBBBB' cellpadding='0' cellspacing='0' id='smdiv'><tr><td valign='top' width='15'><a style='text-decoration: none; color: #800000; font-family: Arial; font-size: 8pt; font-weight: bold' onclick="document.getElementById ('smdiv').style.display='none';" href='javascript:void(0);'>X</a></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('016')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/016-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('011')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/011-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('008')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/008-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('009')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/009-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('012')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/012-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('010')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/010-gif.gif'></td>

        <td width='23' height='25'><img class='n' onclick="Shoi('006')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/006-gif.gif'></td></tr><tr><td></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('003')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/003-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('001')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/001-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('flower')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/flower.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('019')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/019-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('042')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/042-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('038')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/038-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('018')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/018-gif.gif'></td></tr><tr><td></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('017')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/017-gif.gif'></td>

        <td width='23' height='25'><img class='n' onclick="Shoi('015')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/015-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('014')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/014-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('013')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/013-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('036')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/036-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('034')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/034-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('037')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/037-gif.gif'></td></tr><tr><td></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('kiss2')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/kiss2.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('027')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/027-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('025')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/025-gif.gif'></td>

        <td width='23' height='25'><img class='n' onclick="Shoi('024')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/024-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('033')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/033-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('032')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/032-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('022')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/022-gif.gif'></td></tr><tr><td></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('49')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/49.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('044')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/044-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('028')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/028-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('026')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/026-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('031')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/031-gif.gif'></td>

        <td width='23' height='25'><img class='n' onclick="Shoi('030')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/030-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('020')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/020-gif.gif'></td></tr><tr><td></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('kiss1')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/kiss1.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('021')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/021-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('heart')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/heart.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('035')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/035-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('041')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/041-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('040')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/040-gif.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('039')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/039-gif.gif'></td></tr><tr><td></td>

        <td width='23' height='25'><img class='n' onclick="Shoi('17')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/17.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('innocent')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/innocent.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('kiss')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/kiss.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('excl')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/excl.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('grin')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/grin.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('furious')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/furious.gif'></td>
        <td width='23' height='25'><img class='n' onclick="Shoi('cry')" onmouseout="Off(this)" onmouseover="On(this)" border='0' src='http://www.samenblog.com/images/smilies/cry.gif'></td></tr>
        </table>
<table cellpadding='0' cellspacing='0' width='300'><tr><td><input dir='ltr' type='text' maxlength='50' class='fon' value='' name='web' size='35'></td><td><img align='left' height='18' width='18' border='0' id='imh' onmouseout="Off(this)" onmouseover="On(this)" onclick="document.getElementById ('smdiv').style.display='';" src='http://www.samenblog.com/images/smilies/1.gif'></td></tr></table></td>
 </tr>
     <tr>
        <td width='105'><div class='fonttitle'>کد تایید:</div></td>
        <td>
        <input dir='ltr' type='text' maxlength='50' class='fon' value='' name='code_sent' size='35'> <img src='/secure.php'  style='margin-bottom:-3px'>
        </td>
 </tr>
 </table>

<table align='center' cellpadding='0' cellspacing='0'><tr><td>
<textarea dir='rtl' id='cmtbody' class='fon' style='width:405px;height:150px;margin:0px 0px 0px 0px' name='contents'></textarea></td></tr>
<tr><td align='right'><div class='fon' style='margin-right:-1px;font-size:12px'>لطفاً پیام های غیر مرتبط با مطلب این صفحه را از قسمت  تماس با ما  ارسال کنید</div></td></tr>

<tr><td align='center' height='28'><input type='image' dir='rtl' value='send' src='http://www.samenblog.com/pictures/save.png' />
</td>
</tr>
</table>
</div></center>
<input type='hidden' name='task' value='doposting'>
<input type='hidden' name='w' value='<-BlogId->'>
<input type='hidden' name='e_id' value='<-EntryId->'>
<input type='hidden' name='spam' value='yes'>
</form>
</IfEntryPage>
برچسب‌ها :
نویسنده: مدیر | نسخه قابل چاپ | مهر 22, 1389 - 21:13 | 1 2 3 4 5

آخرین مطالب

محبوب ترین مطالب