is_valid) { // echo "You got it!"; $is_capture_valid=true; } else { # set the error code so that we can display it $error = $resp->error; $is_capture_valid=false; } } $url="index.php"; $lang="bg"; if (session_is_registered('lang')) if ($_SESSION['lang']=='bg' || $_SESSION['lang']=='en') $lang=$_SESSION['lang']; if (isset($_GET['lang'])){ if ($_GET['lang']=='bg' || $_GET['lang']=='en') $lang=$_GET['lang']; session_register ('lang'); $_SESSION['lang']=$lang; } $url=$url."?lang=$lang"; $s=""; if (isset($_GET['show'])){ if ($_GET['show']=='hardware' || $_GET['show']=='software' || $_GET['show']=='about') $s=$_GET['show']; } $url=$url."&show=$s"; $itm=-1; if (isset($_GET['item'])) if (is_numeric($_GET['item'])) $itm=$_GET['item']; $url=$url."&item=$itm" ?> Valdodov