HashoR
04-01-2011, 04:46 AM
آموزش قرار دادن تبلیغ و نظرات در ادامه مطلب میهنبلاگ
دوستان توجه داشته باشید که باید این کد را در بالای کد وبلاگ قرار داد.
کد قرار دادن نظر در ادامه مطلب ( با کلیک بر روی ادامه مطلب بعد از مطلب ، قسمت نظرات نمایش داده میشه
<script type="text/javascript">
//[Only registered and activated users can see links]
//Please Dont Remov
//If you want to copy this script Please Link me in your Blog!
function putcom(postid) {
var url =("[cb:blog_full_address]/post/comment/"+postid);
if (window.location == "[cb:blog_full_address]/post/"+postid)
{
document.write('<iframe style="margin-top:5px;margin-bottom:5px" frameborder=0 id="comments" dir="rtl" width="100%" height="750px" onload="this.style.height = this.contentWindow.document.body.scrollHeight" src=[cb:blog_full_address]/post/comment/'+postid+'></iframe>');
}
}
</script>
حالا نحوی اضافه کردن تبلیغ :
در این فسمت کد میشه تبلیغ رو اضافه کرد :
{
document.write('<iframe style="margin-top:5px;margin-bottom:5px" frameborder=0 id="comments" dir="rtl" width="100%" height="750px" onload="this.style.height = this.contentWindow.document.body.scrollHeight" src=[cb:blog_full_address]/post/comment/'+postid+'></iframe>');
}
میشه یه صفحه آیفریم کرد یا بنر تبلیغاتی گذاشت مثل :
<script type="text/javascript">
//[Only registered and activated users can see links]
//Please Dont Remov
//If you want to copy this script Please Link me in your Blog!
function putcom(postid) {
var url =("[cb:blog_full_address]/post/comment/"+postid);
if (window.location == "[cb:blog_full_address]/post/"+postid)
{
document.write('<div class="page_numbers_01"></div><iframe style="margin-top:5px;margin-bottom:5px" frameborder=0 id="comments" dir="rtl" width="100%" height="700px" onload="this.style.height = this.contentWindow.document.body.scrollHeight" src=[cb:blog_full_address]/post/comment/'+postid+'></iframe><br><div class="advertisement" align="center">
<div id="navbar_adcode" class="adcode">
<align="center" style="padding:0px 0px 10px 0px;">
<a target="_blank" href="[Only registered and activated users can see links]">
<img border="0" src="[Only registered and activated users can see links]" width="468" height="60"></a><br>
</div>
</div>
<br><a target="_blank" href="[Only registered and activated users can see links]"><b>-|Ashiyane.org|-</b></a> & <a target="_blank" href="[Only registered and activated users can see links]"><b>-|RojGroup.Ir|-</b></a>');
}
}
ما را چه به این حرفــــــــــــــا...!
منبع: Ashiyane Digital Security Team
تشــــــــــــــــــکر نشانه رضایت است.
دوستان توجه داشته باشید که باید این کد را در بالای کد وبلاگ قرار داد.
کد قرار دادن نظر در ادامه مطلب ( با کلیک بر روی ادامه مطلب بعد از مطلب ، قسمت نظرات نمایش داده میشه
<script type="text/javascript">
//[Only registered and activated users can see links]
//Please Dont Remov
//If you want to copy this script Please Link me in your Blog!
function putcom(postid) {
var url =("[cb:blog_full_address]/post/comment/"+postid);
if (window.location == "[cb:blog_full_address]/post/"+postid)
{
document.write('<iframe style="margin-top:5px;margin-bottom:5px" frameborder=0 id="comments" dir="rtl" width="100%" height="750px" onload="this.style.height = this.contentWindow.document.body.scrollHeight" src=[cb:blog_full_address]/post/comment/'+postid+'></iframe>');
}
}
</script>
حالا نحوی اضافه کردن تبلیغ :
در این فسمت کد میشه تبلیغ رو اضافه کرد :
{
document.write('<iframe style="margin-top:5px;margin-bottom:5px" frameborder=0 id="comments" dir="rtl" width="100%" height="750px" onload="this.style.height = this.contentWindow.document.body.scrollHeight" src=[cb:blog_full_address]/post/comment/'+postid+'></iframe>');
}
میشه یه صفحه آیفریم کرد یا بنر تبلیغاتی گذاشت مثل :
<script type="text/javascript">
//[Only registered and activated users can see links]
//Please Dont Remov
//If you want to copy this script Please Link me in your Blog!
function putcom(postid) {
var url =("[cb:blog_full_address]/post/comment/"+postid);
if (window.location == "[cb:blog_full_address]/post/"+postid)
{
document.write('<div class="page_numbers_01"></div><iframe style="margin-top:5px;margin-bottom:5px" frameborder=0 id="comments" dir="rtl" width="100%" height="700px" onload="this.style.height = this.contentWindow.document.body.scrollHeight" src=[cb:blog_full_address]/post/comment/'+postid+'></iframe><br><div class="advertisement" align="center">
<div id="navbar_adcode" class="adcode">
<align="center" style="padding:0px 0px 10px 0px;">
<a target="_blank" href="[Only registered and activated users can see links]">
<img border="0" src="[Only registered and activated users can see links]" width="468" height="60"></a><br>
</div>
</div>
<br><a target="_blank" href="[Only registered and activated users can see links]"><b>-|Ashiyane.org|-</b></a> & <a target="_blank" href="[Only registered and activated users can see links]"><b>-|RojGroup.Ir|-</b></a>');
}
}
ما را چه به این حرفــــــــــــــا...!
منبع: Ashiyane Digital Security Team
تشــــــــــــــــــکر نشانه رضایت است.
