تحديث آخر نسخة 1.8.37

تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
أريد إضافة إعلان عن طريق index
#2
استبدله بالتالى
كود :
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
    <a href="http://www.dd4bb.com"><img src="http://www.maoso3a.com/images/dd4bb.gif" title="الدعم العربي" alt="الدعم العربي" /></a>
    </td>
    <td><script language="JavaScript">
<!-- Begin
rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
};

function rand(number) {
    var result = Math.ceil(rnd()*number);
    if (!result)result++;
        return result
};
var ad_cnt1 = 3;
var ad1 = rand(ad_cnt1);
var link1;
var adBanner1;
var width1
var height1
if (ad1==1) {
link1="http://www.skinarabia.com";
adBanner1="http://www.skinarabia.com/images/banners/468x60_001.gif";
width1="468";
height1="60";
alt1="Unlimited Website Hosting";
}
if (ad1==2) {
link1="http://www.skinarabia.com";
adBanner1="http://www.skinarabia.com/images/banners/468x60_002.gif";
width1="468";
height1="60";
alt1="Unlimited Website Hosting";
}
if (ad1==3) {
link1="http://www.skinarabia.com";
adBanner1="http://www.skinarabia.com/images/banners/468x60_003.gif";
width1="468";
height1="60";
alt1="Unlimited Website Hosting";
}
document.write('<center><a href="' + link1 + '" target="_blank" rel="nofollow">');
document.write('<img src="' + adBanner1 + '" width=' + width1 + ' height=' + height1 + ' border=0 alt="' + alt1 + '"></a>');
document.write('</center>');
// End -->
</SCRIPT></td>
    </tr>
</table>
<img src="http://www.maoso3a.com/images/Abu3alqam.gif" alt="منتديات ابو العلقم" /><br />
{$forums}
<table border="0" cellspacing="0" cellpadding="0" class="tborder">
<tr>
<td class="thead" align="right"><img align="right" src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" /></td>
<td class="thead"><strong> {$lang->boardstats}</strong></td></tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" width="95%">
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
{$whosonline}
{$user_legend}
{$online_today}
{$birthdays}
{$forumstats}
</tbody></table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
    <tr>
        <td class="trow1">
            <table width="100%">
                <tr>
                    <td>
                        <img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /> <span class="smalltext">{$lang->new_posts}</span><br />
                        <img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /> <span class="smalltext">{$lang->no_new_posts}</span><br />
                        <img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" style="vertical-align: middle;" /> <span class="smalltext">{$lang->forum_locked}</span>
                    </td>
                    <td style="vertical-align: top; text-align: right;"><span class="smalltext">{$logoutlink}<a href="misc.php?action=markread">{$lang->markread}</a> | <a href="showteam.php">{$lang->forumteam}</a> | <a href="stats.php">{$lang->forumstats}</a></span>
                        {$loginform}
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
{$footer}
</body>
</html>
شكر من طرف :


الردود في هذا الموضوع
Re: أريد إضافة إعلان عن طريق index - بواسطة Pepo - 2008-03-10, 06:25 PM

التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم