PHP: <!-- function google_ad_request_done(google_ads) { /* * This function is required and is used to display * the ads that are returned from the JavaScript * request. You should modify the document.write * commands so that the HTML they write out fits * with your desired ad layout. */ var s = ''; var i; /* * Verify that there are actually ads to display. */ if (google_ads.length == 0) { return; } if (google_ads[0].type="text") { if (google_ads.length > 0) { /* * For text ads, append each ad to the string. */ s +='<div class="todayCommend">'; s +='<div class="title"><h5>Google提供的广告</h5></div>'; s +='<div class="adRtext2"><ul>'; for(i=0; i < google_ads.length; i++) { s +='<li style="width:100%;cursor:hand;" onmouseout="window.status=\'\';return true;" onmouseover="window.status=\'' + google_ads[i].visible_url + '\';return true;" onclick=window.open("' + google_ads[i].url + '")><a href="' + google_ads[i].url + '" onclick="return false">' + google_ads[i].line1 + '</a>'; s +='<br /><DIV style="PADDING-TOP: 3px">'+google_ads[i].line2+google_ads[i].line3+'</DIV>'; s +='<span style="color:#467902;">'+ google_ads[i].visible_url + '</span></li>'; } s +='</ul></div></div>'; } } document.write(s); return; } google_ad_client = 'ca-netease-rs_js'; google_ad_channel = 'news'; google_ad_output = 'js'; google_max_num_ads = '3'; // google_page_url = 'http://lady.163.com'; google_language = 'zh-CN'; google_encoding = 'GB2312'; google_safe = 'high'; google_adtest = 'off'; // google_hints = ''; google_gl = 'CN'; // google_kw = 'flowers, red roses'; // google_kw_type = 'broad'; // google_contents = ''; google_ad_section = 'default'; // --> 转到此代码顶部 !