Skip to content

Commit 623b3b1

Browse files
committed
几个页面增加google adsense自动广告代码
1 parent 1eed943 commit 623b3b1

File tree

6 files changed

+51
-9
lines changed

6 files changed

+51
-9
lines changed

blog/2007/107.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,14 @@
5757
<link rel="alternate" type="application/json+oembed" href="/wp-json/oembed/1.0/embed?url=http%3A%2F%2F%2Fblog%2F2007%2F107.html" />
5858
<link rel="alternate" type="text/xml+oembed" href="/wp-json/oembed/1.0/embed?url=http%3A%2F%2F%2Fblog%2F2007%2F107.html&#038;format=xml" />
5959
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
60-
</head>
60+
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
61+
<script>
62+
(adsbygoogle = window.adsbygoogle || []).push({
63+
google_ad_client: "ca-pub-7550237914345135",
64+
enable_page_level_ads: true
65+
});
66+
</script>
67+
</head>
6168

6269
<body class="single single-post postid-107 single-format-standard">
6370
<div id="page" class="site">
@@ -108,7 +115,7 @@ <h1 class="entry-title">任我行CRM无法加载组件解决实例</h1> </header
108115
<div class="entry-content">
109116
<p>  公司的任我行CRM系统组件无法加载,用修复的方法也不行,已经不能运行好几天了,今天要用到,于是乘中午大家都休息没人用服务器时打算重装CRM。<br />
110117
  好不容易找到安装文件和升级包,装好后一试,还是一样的问题。问之前负责此系统的同事,他说问过好多人都说遇到这问题只能重装系统了。我想不就组件问题嘛,还不至于重装吧,再说了,服务器要用,重装也来不及。试试其它办法吧。<br />
111-
  既然是组件问题,那就再修复一下吧,按照页面的提示,运行C:Program FilesWeWayCRMUtilityToolsAceCRM.MSI,结果这次没有完成,提示:<br />
118+
  既然是组件问题,那就再修复一下吧,按照页面的提示,运行C:\Program Files\WeWayCRM\UtilityTools\AceCRM.MSI,结果这次没有完成,提示:<br />
112119
Error registering COM+ Application. Contact your support personnel for more information.<br />
113120
  上网搜索了下COM+注册失败相关信息,有人说把原来的删了就行了。于是我进入管理工具,打开组件服务,找到“COM+ 应用程序”里的AceCRM,把它给删了,再运行刚才的安装,这次安装成功了,但系统还是无法运行。<br />
114121
  在迷惘中,我注意到了边上的“组件服务”管理器,发现AceCRM未处于正常的启动状态,我试图启动它,结果提示“配置不正确(好像是用户和密码错误)”,查看AceCRM的属性,在标识里发现此组件是用系统账户的当前已登录的用户来运行的。难道是这个运行用户的问题?我把它改成指定用户,并设好密码,然后再去启动组件。这次没有错误提示了。打开CRM系统,熟悉的登录界面终于出来了。</p>

blog/2012/207.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,14 @@
5757
<link rel="alternate" type="application/json+oembed" href="/wp-json/oembed/1.0/embed?url=http%3A%2F%2F%2Fblog%2F2012%2F207.html" />
5858
<link rel="alternate" type="text/xml+oembed" href="/wp-json/oembed/1.0/embed?url=http%3A%2F%2F%2Fblog%2F2012%2F207.html&#038;format=xml" />
5959
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
60-
</head>
60+
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
61+
<script>
62+
(adsbygoogle = window.adsbygoogle || []).push({
63+
google_ad_client: "ca-pub-7550237914345135",
64+
enable_page_level_ads: true
65+
});
66+
</script>
67+
</head>
6168

6269
<body class="single single-post postid-207 single-format-standard">
6370
<div id="page" class="site">

blog/2013/240.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,14 @@
5757
<link rel="alternate" type="application/json+oembed" href="/wp-json/oembed/1.0/embed?url=http%3A%2F%2F%2Fblog%2F2013%2F240.html" />
5858
<link rel="alternate" type="text/xml+oembed" href="/wp-json/oembed/1.0/embed?url=http%3A%2F%2F%2Fblog%2F2013%2F240.html&#038;format=xml" />
5959
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
60-
</head>
60+
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
61+
<script>
62+
(adsbygoogle = window.adsbygoogle || []).push({
63+
google_ad_client: "ca-pub-7550237914345135",
64+
enable_page_level_ads: true
65+
});
66+
</script>
67+
</head>
6168

6269
<body class="single single-post postid-240 single-format-standard">
6370
<div id="page" class="site">

blog/2014/303.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,14 @@
5757
<link rel="alternate" type="application/json+oembed" href="/wp-json/oembed/1.0/embed?url=http%3A%2F%2F%2Fblog%2F2014%2F303.html" />
5858
<link rel="alternate" type="text/xml+oembed" href="/wp-json/oembed/1.0/embed?url=http%3A%2F%2F%2Fblog%2F2014%2F303.html&#038;format=xml" />
5959
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
60-
</head>
60+
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
61+
<script>
62+
(adsbygoogle = window.adsbygoogle || []).push({
63+
google_ad_client: "ca-pub-7550237914345135",
64+
enable_page_level_ads: true
65+
});
66+
</script>
67+
</head>
6168

6269
<body class="single single-post postid-303 single-format-standard">
6370
<div id="page" class="site">

blog/2016/306.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,14 @@
5757
<link rel="alternate" type="application/json+oembed" href="/wp-json/oembed/1.0/embed?url=http%3A%2F%2F%2Fblog%2F2016%2F306.html" />
5858
<link rel="alternate" type="text/xml+oembed" href="/wp-json/oembed/1.0/embed?url=http%3A%2F%2F%2Fblog%2F2016%2F306.html&#038;format=xml" />
5959
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
60-
</head>
60+
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
61+
<script>
62+
(adsbygoogle = window.adsbygoogle || []).push({
63+
google_ad_client: "ca-pub-7550237914345135",
64+
enable_page_level_ads: true
65+
});
66+
</script>
67+
</head>
6168

6269
<body class="single single-post postid-306 single-format-standard">
6370
<div id="page" class="site">
@@ -108,12 +115,12 @@ <h1 class="entry-title">PHP中Notice: iconv(): Unknown error (84) 的解决办
108115
<div class="entry-content">
109116
<p>   今天在写一个导出数据到csv的功能,为了防止中文乱码,需要将utf8转码,我使用了这样的语句:</p>
110117
<div class="codeText">
111-
<pre class="prettyprint linenums:1">#这里先是把csv文件的内容生成,然后下面转码
118+
<pre class="prettyprint linenums:1">#这里先是把csv文件的内容生成,然后下面转码
112119
$csv=iconv(&#039;utf-8&#039;,&#039;gb2312&#039;,$csv);</pre>
113120
</div>
114121
<p>结果报<span style="color: #ff0000;"><strong><span style="font-family: arial; font-size: 13px; line-height: 20.02px;">Notice: </span><span style="font-family: arial; font-size: 13px; line-height: 20.02px;">iconv():</span><span style="font-family: arial; font-size: 13px; line-height: 20.02px;"> </span><span style="font-family: arial; font-size: 13px; line-height: 20.02px;">Unknown</span><span style="font-family: arial; font-size: 13px; line-height: 20.02px;"> </span><span style="font-family: arial; font-size: 13px; line-height: 20.02px;">error</span><span style="font-family: arial; font-size: 13px; line-height: 20.02px;"> (22)</span></strong></span><span style="color: #333333; font-family: arial; font-size: 13px; line-height: 20.02px;">的错误,想起来$csv里带有换行,所以没办法转换,于是在各个数据项串成csv文件内容前转换,这时报了两个</span><span style="color: #ff0000;"><strong>iconv(): Unknown error (84)</strong></span>的错误,输出内容,发现报错时有一个是处理汉字“密菓”,第二个字不认得,生僻,我突然想到,难道是字符集不支持,于是换成gbk:</p>
115122
<div class="codeText">
116-
<pre class="prettyprint linenums:1">$csv .= iconv(&#039;utf-8&#039;,&#039;gbk&#039;,$val)
123+
<pre class="prettyprint linenums:1">$csv .= iconv(&#039;utf-8&#039;,&#039;gbk&#039;,$val)
117124
</pre>
118125
</div>
119126
<p>再运行,没报错了。</p>

index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@
4949
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="/wp-includes/wlwmanifest.xml" />
5050
<meta name="generator" content="WordPress 4.6" />
5151
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
52-
</head>
52+
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
53+
<script>
54+
(adsbygoogle = window.adsbygoogle || []).push({
55+
google_ad_client: "ca-pub-7550237914345135",
56+
enable_page_level_ads: true
57+
});
58+
</script>
59+
</head>
5360

5461
<body class="home blog hfeed">
5562
<div id="page" class="site">

0 commit comments

Comments
 (0)