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
">
</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"> تبلیغات </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 وارد کنید و لینک ها و عکس ها را با لینک و عکس های مورد نظر خودتان جابجا کنید و تغییر دهید.
وارد قسمت 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
">
</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"> تبلیغات </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 وارد کنید و لینک ها و عکس ها را با لینک و عکس های مورد نظر خودتان جابجا کنید و تغییر دهید.