أول ما نزلت النسخة الجديدة
قمت بوضع الكود الخاص بـ adf.ly في قالب headinclud
لأن ذاك الوقت ما في اي هاك
CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{$_CONF['info_row']['content_dir']}" xml:lang="{$_CONF['info_row']['content_language']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<!-- no cache headers -->
<meta http-**="Pragma" content="no-cache" />
<meta http-**="Expires" content="-1" />
<meta http-**="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<meta http-**="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta http-**="Content-Language" content="{$_CONF['info_row']['content_language']}" />
{if {$index}}
<meta name="keywords" content="{$keywords}" />
{else}
<meta name="keywords" content="{Des::while}{tags}{$tags['tag']},{/Des::while}keyword" />
{/if}
<meta name="description" content=" {$description}" />
<!--[if gte IE 7]><meta http-**="X-UA-Compatible" content="IE=EmulateIE7" /><![endif]-->
<link rel="shortcut icon" href="{$ForumAdress}favicon.ico" />
<link rel="stylesheet" href="{$ForumAdress}
{$style_path}" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$lang['rss_subject']}" href="
{$ForumAdress}index.php?page=rss&subject=1" />
{if {$index}}
<link rel="alternate" type="application/rss+xml" title="{$lang['rss_section']}" href="{$ForumAdress}
index.php?page=rss§ion=1&id={$SECTION_ID}" />
{/if}
<style type="text/css" media="all">
/*action_find_addons_css_1*/
/*action_find_addons_css_2*/
</style>
<script type="text/javascript" src="{$ForumAdress}includes/js/pbboardCode.js"></script>
<script type="text/javascript" src="{$ForumAdress}includes/js/pbboard_global.js"></script>
<script type="text/javascript" src="{$ForumAdress}includes/js/jquery.js"></script>
<script type="text/javascript" src="{$ForumAdress}includes/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="{$ForumAdress}includes/js/poem.js"></script>
<script type="text/javascript" src="{$ForumAdress}includes/js/shCore.js"></script>
<script type="text/javascript" src="{$ForumAdress}includes/js/shBrushPhp.js"></script>
<script type="text/javascript">SyntaxHighlighter.config.bloggerMode = true; SyntaxHighlighter.all();</script>
{if {$_CONF['info_row']['resize_imagesAllow']} == 1}
{template}imgs_resize{/template}
{/if}
<style type="text/css">.shakeimage{position:relative}</style>
<script type="text/javascript" src="{$ForumAdress}includes/js/effects.js"></script>
<title>{$title}
{if {$_CONF['info_row']['allowed_powered']} == 1}
- {$lang['powered']}
{/if}</title>
<link rel="stylesheet" href="look/images/group/group.css" type="text/css" />
<script>
var adfly_id = 1339768;
var adfly_advert = 'int';
var exclude_domains = ['google.com','facebook.com','narutoarabic-vb.tk',];
</script>
<script src="http://adf.ly/js/link-converter.js"></script>
<?php
if($PowerBB->_GET['page']=='topic')
{
?>
<meta property="fb:app_id" content="{$_CONF['info_row']['facebook_appid']}"/>
<meta property="og:title" content="{$title}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="<?php echo $PowerBB->functions->GetForumAdress();?>index.php?page=topic&show=1&id=<?php echo $PowerBB->_GET['id'];?>" />
{if {$_CONF['info_row']['facebook_img_active']}==1}
<meta property="og:image" content="{$_CONF['info_row']['facebook_img']}" />
{/if}
<?php
}
?>
{if {$_CONF['info_row']['facebook_siteimg_active']}==1 AND {$index}==1 }
<meta property="fb:app_id" content="{$_CONF['info_row']['facebook_appid']}"/>
<meta property="og:title" content="{$title}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="<?php echo $PowerBB->functions->GetForumAdress();?>index.php" />
<meta property="og:image" content="{$_CONF['info_row']['facebook_img']}" />
{/if}
<script src="vote/jquery-1.3.2.min.js"></script>
{if {$_CONF['info_row']['nivo_slider_place']} <> '0' }
<link rel="stylesheet" href="develop/nivo_slider/themes/{$_CONF['info_row']['nivo_slider_theme']}/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="develop/nivo_slider/nivo_slider.css" type="text/css" media="screen" />
<script type="text/javascript" src="develop/nivo_slider/nivo_slider.js"></script>
{/if}
</head>
<body>
{template}header{/template}
الحين حاولت اضع سكربت شركة ارباح بدل
بدل adf.ly
إذا استخدمته كود مباشره ارباح يصير عندي مشكلة بتسجيل الدخول
وحتى إذا استخدمت الهاك اللي مسويه أخ سليمان تطلع مشكلة بس ما ادري إذا هي نفسها أولا
وشكرا