PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : کد Html جهت قرار دادن تبلیغات در بالای سایت



Admin
23rd April 2009, 07:57 AM
کد Html جهت قرار دادن تبلیغات در بالای سایت

وارد قسمت Admincp شوید
در قسمت Style Manager استایلی را که میخواهید تبلیغات قرار دهید انتخاب کنید

در قسمت header کد Html را وارد کنید

یک نمونه از کد header که تبلیغات اضافه نشده


<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar
"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions" /></a></td>
<td align="$stylevar
">
&nbsp;
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
[B]$spacer_open

$_phpinclude_output



شما باید کد Html را بعد از این قسمت $spacer_open وارد کنید


<div style="text-align: center">
<fieldset style="padding: 2; width:930px; height:205px; position:relative" dir="rtl">
<legend align="center"><font face="Tahoma" size="1">&nbsp;تبلیغات </font></legend>
<p align="center">
<a target="_blank" href="https://www.mypersianforum.com/html/link/ads.html">
<img border="0" src="https://www.mypersianforum.com/addlogo/ads_persianforum_170x70.gif" width="170" height="70"></a><a href="https://www.mypersianforum.com/html/link/ads.html"> </a>
<a target="_blank" href="https://www.mypersianforum.com/html/link/ads.html">
<img border="0" src="https://www.mypersianforum.com/addlogo/ads_persianforum_340x70.gif" width="340" height="70"></a><a href="https://www.mypersianforum.com/html/link/ads.html"> </a>
<a target="_blank" href="https://www.mypersianforum.com/html/link/ads.html">
<img border="0" src="https://www.mypersianforum.com/addlogo/ads_persianforum_170x70.gif" width="170" height="70"></a><br>
<a target="_blank" href="https://www.mypersianforum.com/html/link/ads.html">
<img border="0" src="https://www.mypersianforum.com/addlogo/ads_persianforum_170x70.gif" width="170" height="70"></a>
<a target="_blank" href="https://www.mypersianforum.com/html/link/index.html">
<img border="0" src="https://www.mypersianforum.com/addlogo/link_logo_persianforum_340x70.gif" width="340" height="70"></a>
<a target="_blank" href="https://www.mypersianforum.com/html/link/ads.html">
<img border="0" src="https://www.mypersianforum.com/addlogo/ads_persianforum_170x70.gif" width="170" height="70"></a></fieldset>
</div>

این کد ها را در یک برنامه مانند Microsoft Office FrontPage وارد کنید و لینک ها و عکس ها را با لینک و عکس های مورد نظر خودتان جابجا کنید و تغییر دهید.

Admin
23rd April 2009, 08:00 AM
تبلیغ گوشه سایت

http://uc-njavan.ir/uploder/files/y88/1-2-3/1233048175.jpg




<SCRIPT language=javascript type=text/javascript>
//<![CDATA[
var Ovr2='';
if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat')
{cot_t1_DOCtp="_top:expression(document.documentElement.scrollTop +document.documentElement.clientHeight-this.clientHeight);_left:expression(document.docum entElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);}";}
else
{cot_t1_DOCtp="_top:expression(document.body.scrollTop+document.b ody.clientHeight-this.clientHeight);_left:expression(document.body. scrollLeft + document.body.clientWidth - offsetWidth);}";}

if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat')
{cot_t1_DOCtp2="_top:expression(document.documentElement.scrollTop-20+document.documentElement.clientHeight-this.clientHeight);}";}
else
{cot_t1_DOCtp2="_top:expression(document.body.scrollTop-20+document.body.clientHeight-this.clientHeight);}";}
var cot_tl_bodyCSS='* html {background: fixed;background-repeat: repeat;background-position: right bottom;}';
var cot_tl_fixedCSS='#cot_tl_fixed{position:fixed;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'_position:absolut e;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'bottom:0px;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'right:0px;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'clip:rect(0 100 85 0);';
var cot_tl_fixedCSS=cot_tl_fixedCSS+cot_t1_DOCtp;
var cot_tl_popCSS='#cot_tl_pop {background-color: transparent;';
var cot_tl_popCSS=cot_tl_popCSS+'position:fixed;';
var cot_tl_popCSS=cot_tl_popCSS+'_position:absolute;';
var cot_tl_popCSS=cot_tl_popCSS+'height:194px;';
var cot_tl_popCSS=cot_tl_popCSS+'width: 244px;';
var cot_tl_popCSS=cot_tl_popCSS+'right: 120px;';
var cot_tl_popCSS=cot_tl_popCSS+'bottom: 20px;';
var cot_tl_popCSS=cot_tl_popCSS+'overflow: hidden;';
var cot_tl_popCSS=cot_tl_popCSS+'visibility: hidden;';
var cot_tl_popCSS=cot_tl_popCSS+'z-index: 100;';
var cot_tl_popCSS=cot_tl_popCSS+cot_t1_DOCtp2;
document.write('<style type="text/css">'+cot_tl_bodyCSS+cot_tl_fixedCSS+cot_tl_popCSS+'</style>');

function COT(cot_tl_theLogo,cot_tl_LogoType,LogoPosition,th eAffiliate)
{document.write('<div id="cot_tl_fixed">');
document.write('<a href="http://xxxxxxxxxxxxxxx.com/showthread.php?t=7" target="_blank"><img src='+cot_tl_theLogo+' alt="دعوت به همکاری" border="0"></a>');
document.write('</div>');}

//if(window.location.protocol == "http:")
COT("http://xxxxxxxxxxxxxxxxxxo.gif", "SC2", "none");
//]]>
</SCRIPT>

فراموش نکنید که آدرس های داخل کد رو تغییر بدید.

Admin
23rd April 2009, 08:01 AM
تبلیغ گوشه سایت بصورت هک بدون نیاز به تغییرات دستی در کدها

http://www.vbulletin.org/forum/showthread.php?t=201116

استفاده از تمامی مطالب سایت تنها با ذکر منبع آن به نام سایت علمی نخبگان جوان و ذکر آدرس سایت مجاز است

استفاده از نام و برند نخبگان جوان به هر نحو توسط سایر سایت ها ممنوع بوده و پیگرد قانونی دارد