if($_GET['feed_type']=='weiba'){ $tag['weiba'] = 'current'; } elseif($_GET['feed_type']=='cweiba'){ $tag['cweiba'] = 'current'; } else{ $tag['public'] = 'current'; }