$arg=$_SERVER["QUERY_STRING"]; $pos=strpos($arg,'/'); $title=utf8_decode(rawurldecode(str_replace('_',' ',substr($arg,0,$pos)))); ?>