function seo($title, $keywords='', $description='', $other='', $flag = false) {
    $setting = cache('setting', '', 'common');
    $site_title = $setting['site_name'];
    $site_keywords = $setting['site_keywords'];
    $site_description = $setting['site_description'];
$tpl_theme = config('TPL_THEME');
    $SEO = array();
    if($flag == false && $tpl_theme !== 'wap'){
         $SEO['title'] = ($title ? $title.' - ' : '').$site_title;
     }else{
        $SEO['title'] = $title;
     }
if(0 === SITE_AUTHORIZE && $tpl_theme !== 'wap')$SEO[color=#FF0000]['title'] .= ' - '.pack("H*","506f77657265642062792048616964616f");[/color]
    $SEO['keywords'] = ($keywords ? $keywords : '').$site_keywords;
    $SEO['description'] = ($description ? $description : '').$site_description;
    $SEO['other'] = $other ? $other : '';
    return $SEO;
}

解决方案 »

  1.   

    echo pack("H*","506f77657265642062792048616964616f");
    Powered by Haidao
    知道该怎么做了吧?
      

  2.   

    ['title'] .= ' - '.pack("H*","506f77657265642062792048616964616f");
    改为
    ['title'] .= ' - Powered by Haidao';
      

  3.   

    怎么修改呢??
     把函数码改为['title'] .= ' - Powered by Haidao';等于没去掉['title'] .= ' - Powered by Haidao';
      

  4.   

    ['title'] .= ' - '.pack("H*","506f77657265642062792048616964616f");
    改为
    ['title'] .= ' ';