Ругаеться , Warning: in_array() expects parameter 2 to be array, null given in
$urls = explode("/",rtrim($_GET['urls']));
$urls = empty($urls) ? 'main' : $urls;
$indexarr = array('main','reg','news','blog','info','tv');
if(in_array($urls[0],$indexarr))
{
include ($urls[0].'.php');
}