묻고답하기
한비님 레이아웃을 쓰는데요 소스 분석좀 부탁 드림니다
2017.01.17 20:18
구글 애드센스에서 아래 빨간 소스를 haed 나 html 바로아래 붙여넣기 하라는데 파란글 위치가 맞는지요
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3891975849245304",
enable_page_level_ads: true
});
</script>
<load target="js/xe_official.js" />
<load target="css/default.css" cond="$layout_info->colorset=='default' || !$layout_info->colorset" />
<load target="css/white.css" cond="$layout_info->colorset=='white'" />
<load target="css/black.css" cond="$layout_info->colorset=='black'" />
<style type="text/css" cond="$layout_info->background_image">
body{background:url({getUrl()}{$layout_info->background_image}) repeat-x left top;}
</style>
<meta name="naver-site-verification" content="540c2b70499205a97fef2669ac70319a35250042"/>
<!--구글--> 아래소스는 몇년전에 넣었었는데 그동안 애드센스를 안썼거든요
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17058952-1']);
_gaq.push(['_trackPageview']);
<!--추가-->
var pluginUrl =
'//www.google-analytics.com/plugins/ga/inpage_linkid.js';
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);<!--추가끝-->
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!--구글-->
<!--@if(!$layout_info->colorset)-->{@$layout_info->colorset = "default"}<!--@end-->
<div class="xe">
<div class="header">
<h1>
<a href="{$layout_info->index_url}" cond="$layout_info->logo_image"><img src="{$layout_info->logo_image}" alt="logo" border="0" class="iePngFix" /></a>
<a href="{$layout_info->index_url}" cond="!$layout_info->logo_image">{$layout_info->logo_image_alt}</a>
</h1>
<div class="language">
<strong title="{$lang_type}">{$lang_supported[$lang_type]}</strong> <button type="button" class="toggle"><img src="./images/{$layout_info->colorset}/buttonLang.gif" alt="Select Language" width="87" height="15" /></button>
<ul class="selectLang">
<li loop="$lang_supported=>$key,$val" cond="$key!= $lang_type"><button type="button" onclick="doChangeLangType('{$key}');return false;">{$val}</button></li>
</ul>
</div>
<div class="gnb">
<ul>
<li loop="$main_menu->list=>$key1,$val1" class="active"|cond="$val1['selected']"><a href="{$val1['href']}" target="_blank"|cond="$val1['open_window']=='Y'">{$val1['link']}</a>
<ul cond="$val1['list']">
<li loop="$val1['list']=>$key2,$val2" class="active"|cond="$val2['selected']"><a href="{$val2['href']}" target="_blank"|cond="$val2['open_window']=='Y'">{$val2['link']}</a></li>
</ul>
</li>
</ul>
</div>
<form action="{getUrl()}" method="post" class="iSearch">
<input type="hidden" name="vid" value="{$vid}" cond="$vid" />
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="act" value="IS" />
<input type="hidden" name="search_target" value="title_content" />
<input name="is_keyword" type="text" class="iText" title="keyword" />
<input type="image" src="./images/{$layout_info->colorset}/buttonSearch.gif" alt="{$lang->cmd_search}" class="submit" />
</form>
</div>
<div class="body">
<div class="lnb">
<!--로그인--><div class="lnb_div"><img class="zbxe_widget_output" widget="login_info" skin="Forhanbi_login" colorset="forhanbi" /> </div>
<div class="lnb_div">
<ul class="locNav" cond="$layout_info->sub_menu">
<li loop="$sub_menu->list=>$key1,$val1" class="active"|cond="$val1['selected']"><a href="{$val1['href']}" target="_blank"|cond="$val1['open_window']=='Y'">{$val1['link']}</a>
</li>
</ul>
</div>
<!--배너--><center><a href="http://www.xn--2q1b16p8rcctce5fcv0a.com/" target="_blank" title="부동산,공장,전,월세">
<img src="http://www.dbhs.co.kr/b/x.gif"width="210" height="60"></a>
<!--접속자--><img class="zbxe_widget_output" widget="counter_status" skin="styx_flash" colorset="normal" />
<!--카렌다--><br><embed type="application/x-shockwave-flash" src="http://www.dbhs.co.kr/max
/jngcalendar.swf" Viewer quality="high" volume="90" height="227" width="222"><!--카렌다-->
<div class="lnb_div" cond="$layout_info->lnb_div1">
{$layout_info->lnb_div1}
</div>
<div class="lnb_div" cond="$layout_info->lnb_div2">
{$layout_info->lnb_div2}
</div>
<div class="lnb_div" cond="$layout_info->lnb_div3">
{$layout_info->lnb_div3}
</div>
<div class="lnb_div" cond="$layout_info->lnb_div4">
{$layout_info->lnb_div4}
</div>
</div>
<div class="content xe_content {$layout_info->BgContent}">
{$content}
</div>
</div>
<div class="footer">
</div>
</div><center><img class="zbxe_widget_output" widget="counter_status" skin="qookrabbit" /></center><br><img class="zbxe_widget_output" widget="best_content" skin="default" colorset="white" content_type="document" module_srls="242847,230138,240093,243391,,224229,85572,3411,4047,102983,85606,224602,15172,2936,3410,34857,223275,3426,34869" list_type="normal" tab_type="none" markup_type="table" page_count="1" option_view="title,regdate,nickname,content" show_browser_title="Y" show_comment_count="Y" show_trackback_count="Y" show_category="Y" show_icon="Y" duration_new="60" thumbnail_type="crop" />