PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : تبدیل کد فرم نظرات وردپرس به فرم دیگر



afshin98
March 4th, 2015, 19:40
با سلام
من میخواستم کد زیر رو روی اون کد دومی که میگم جایگذاری کنم لطفا کمک کنید
کد اول


<div class="baserpl">

<div style="width:96%;margin:0% 2% 0% 2%;padding:3px 0px 3px 0px;">

<form action="http://www.ganja2music312.com/wp-comments-post.php" method="post" id="commentform">

<br />
<div style="text-align:left;direction:ltr;">Your name :<input type="text" name="author" id="author" value="سافشین" size="22" tabindex="1" class="inputa" />
</div>
<div style="text-align:left;direction:ltr;">E-mail acc :<input type="text" name="email" id="email" value="afshinarabi1994@gmail.com" size="22" tabindex="2" class="inputb" />
</div>

<!--<p><small><strong>XHTML:</strong> از این تگ میتوانید استفاده کنید: <code>&lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt; </code></small></p>-->
<textarea name="comment" id="comment" class="textar" style="width:560px;"></textarea>





<input type="hidden" name="comment_post_ID" value="702367" />

</p>

<p class="comment-form-ant-spm" style="clear:both;">
<strong>سال جاری را به میلادی وارد کنید مثال:2015</strong> <span class="required"></span>
<input type="hidden" name="ant-spm-a" id="ant-spm-a" value="2015" />
<input type="text" name="ant-spm-q" id="ant-spm-q" size="30" value="" />
</p><p class="comment-form-ant-spm-2" style="display:none;">
<strong>Leave this field empty</strong>
<input type="text" name="ant-spm-e-email-url" id="ant-spm-e-email-url" size="30" value="" />
</p><p align="right"><input name="submit" type="submit" id="submit" tabindex="5" value="Submit" class="submitcom" />
</form>

</div>
</div></div>

<br />


</div>

کد دوم



<div id="comment_error"></div>
<div id="loading_t"></div>
<div id="error_a"></div>
<div id="comment_form">
<div class="comment_rb">
<form method="post">
<input type="hidden" name="p_b" value="811" id="p_b">
<input type="hidden" name="send_comment" value="1">
<input type="hidden" name="bb4265fe580fe52d6b62b86d53a5b1ec" value="1">
<input type="hidden" name="commentsub" value="1"/> <div class="commentrb name"><input value="" type=text id=comment_n name=name size="40" style="Font:9pt tahoma" dir="ltr" maxlength=40> نام</div>
<div class="commentrb emailrb"><input value="" type="email" name="email" id="comment_e" size="40" style="Font:9pt tahoma" dir="ltr" maxlength=60> ایمیل (منتشر نمی‌شود) (لازم)</div>
<div class="commentrb siterb"><input value="" type="text" name="site" id="comment_s" size="40" dir="ltr" style="Font:9pt tahoma" maxlength=100> وبسایت</div>
<div class="commentrb messagerb"><script type=text/javascript>
document.write("<textarea name='me"+"ssa"+"ge' id='message' style='width:400px;' cols='100%' rows='10'></textarea>");
</script></div>
<script>function SM(strCode) {document.getElementById ("message").value +=strCode;}</script>
<div id="comment_smiles" class="commentrb">
<script>function SM(strCode) {document.getElementById ("message").value +=strCode;}</script>

<div style="width:100%">

<img src="/images/smilies/smile (0).gif" alt=":)" width="18" height="18" style="cursor:hand;" onClick='SM(":)")'>

<img src="/images/smilies/smile (1).gif" alt=":(" width="18" height="18" style="cursor:hand;" onClick='SM(":(")'>

<img src="/images/smilies/smile (2).gif" alt=";)" width="18" height="18" style="cursor:hand;" onClick='SM(";)")'>

<img src="/images/smilies/smile (3).gif" alt=":D" width="18" height="18" style="cursor:hand;" onClick='SM(":D")'>

<img src="/images/smilies/smile (29).gif" alt=";))" width="18" height="18" style="cursor:hand;" onClick='SM(";))")'>

<img src="/images/smilies/smile (5).gif" alt=":X" width="18" height="18" style="cursor:hand;" onClick='SM(":X")'>

<img src="/images/smilies/smile (24).gif" alt=":?" width="18" height="18" style="cursor:hand;" onClick='SM(":?")'>

<img src="/images/smilies/smile (7).gif" alt=":P" width="18" height="18" style="cursor:hand;" onClick='SM(":P")'>

<img src="/images/smilies/smile (8).gif" alt=":*" width="18" height="18" style="cursor:hand;" onClick='SM(":*")'>

<img src="/images/smilies/smile (9).gif" alt="=((" width="18" height="18" style="cursor:hand;" onClick='SM("=((")'>

<img src="/images/smilies/smile (10).gif" alt=":O" width="18" height="18" style="cursor:hand;" onClick='SM(":O")'>

<img src="/images/smilies/smile (27).gif" alt="@};-" width="18" height="18" style="cursor:hand;" onClick='SM("@};-")'>

<img src="/images/smilies/smile (12).gif" alt=":B" width="18" height="18" style="cursor:hand;" onClick='SM(":B")'>

<img src="/images/smilies/smile (16).gif" alt="/:)" width="18" height="18" style="cursor:hand;" onClick='SM("/:)")'>

<img src="/images/smilies/smile (13).gif" alt=":S" width="18" height="18" style="cursor:hand;" onClick='SM(":S")'>

</div>
</div>
<div class="commentrb cpr"><input type="checkbox" name="CP" id="comment_cp" /><span lang="fa"> نظر خصوصی</span></div>
<div class="commentrb save_info">
<input type="checkbox" name="save_info" value="1">مشخصات شما ذخیره شود ؟
<a href="javascript:Del_Cooki();" style="font-size:8pt">[حذف مشخصات]</a> <a href="javascript:Display_smiles('comment_smiles');" style="font-size:8pt">[شکلک ها]</a></div>

<div class="commentrb secure rbc"><img align="absbottom" src="/include/captcha/cap2.php?name_sess=4e0e3bb46774773a583b53964e8c682 1" id="im_secC" /><a href="#" onclick="document.getElementById('im_secC').src='/include/captcha/cap2.php?name_sess=4e0e3bb46774773a583b53964e8c682 1&Reload_id=' + + Math.random(); return false"><img align="absbottom" border="0" src="/images/refresh.gif" /></a>
<input style="Font:9pt tahoma" id="comment_cap" type="text" name="daff56007cfea05e8978555a8bf0ad15" size="10"/> کد امنیتی
</div>

<div class="commentrb submitrb"> <input onclick="load_ajax(this.form,'/post/811?ajax=1');return false;" name=submitreg style="Font:9pt tahoma" type=submit value="ارسال نظر"> <input style="Font:9pt tahoma" type=reset value="پاک کردن ">
</div>
</form>
</div>
</div>

در واقع میخوام نمایش بصورت کد اول باشه کد دومو دادم که باهم ادغام شن (کد دوم برای رزبلاگ هستش)
کمکم کنید ممنون میشم