1. 论坛系统升级为Xenforo,欢迎大家测试!
    排除公告

网易的GG代码算不算违规?

本帖由 srsman2006-10-17 发布。版面名称:源码讨论

  1. srsman

    srsman Active Member

    注册:
    2005-11-08
    帖子:
    1,920
    赞:
    6
    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 '';
         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.
                  */
                     
    +='<div class="todayCommend">';
                     
    +='<div class="title"><h5>Google提供的广告</h5></div>';
                     
    +='<div class="adRtext2"><ul>';
                 for(
    i=0google_ads.lengthi++) {
                     
    +='<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>';
                     
    +='<br /><DIV style="PADDING-TOP: 3px">'+google_ads[i].line2+google_ads[i].line3+'</DIV>';
                     
    +='<span style="color:#467902;">'google_ads[i].visible_url '</span></li>';
                 }
                     
    +='</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';
      
    // -->

    转到此代码顶部 !
     
  2. 风狼

    风狼 New Member

    注册:
    2005-10-01
    帖子:
    7,452
    赞:
    25
    人家是大客户。。怕鸟
     
  3. srsman

    srsman Active Member

    注册:
    2005-11-08
    帖子:
    1,920
    赞:
    6
    我也想改字体。。。。。。。。。。。。。。。。
     
  4. laogui

    laogui Administrator
    管理成员

    注册:
    2005-08-30
    帖子:
    15,216
    赞:
    35
    人家是特殊客户,签订合同的那种,随便怎么改
     
  5. srsman

    srsman Active Member

    注册:
    2005-11-08
    帖子:
    1,920
    赞:
    6
    哦哦!多谢!
     
  6. 老林

    老林 New Member

    注册:
    2005-09-06
    帖子:
    10,580
    赞:
    36
    GG有专人帮他搞