//if($_GET['v'] == 1) $_COOKIE['ver'] = 1;
//else $_COOKIE['ver'] = 2;
$ver = 2;
if(empty($_GET['v'])){
if(!empty($_COOKIE['ver'])){
if($_COOKIE['ver'] == 1) $ver = 1;
else $ver = 2;
}
else $ver = 2;
}
else if($_GET['v'] == 1) $ver = 1;
else $ver = 2;
include './index'.$ver.'.php';
//if($_GET['v'] == 1 ||$_COOKIE['ver'] == 1) include './index1.php';
// else include './index2.php';
?>