$uid = 0;
@ini_set("register_globals","off");
session_name("visa_request");
session_save_path("../tmp");
session_start();
if (session_is_registered("order_nom") && isset($_SESSION["order_nom"]) &&
preg_match('/^\d{1,9}$/',$_SESSION["order_nom"]))
{
$uid = $_SESSION["order_nom"];
}
// Connect to MySQL database.
include ("admin/connect.php");
$typ = 1;
$res = @mysql_query("select * from tOrders where id = ".$uid,$link);
if (@mysql_num_rows($res)){
$row = @mysql_fetch_assoc($res);
} else
$uid = 0;
@mysql_free_result($res);
if (!strcasecmp(getenv("REQUEST_METHOD"),"POST") &&
isset($_POST["typ"]) && preg_match('/^[1234]$/',$_POST["typ"]))
{
$typ = $_POST["typ"];
if ($uid){
@mysql_query("update tOrders set typ = ".$typ." where id = ".$uid,$link);
} else {
@mysql_query("insert into tOrders(typ) values (".$typ.")",$link);
$_SESSION["order_nom"] = @mysql_insert_id($link);
}
if ($typ == 1){
header("location:tourist-visa.php");
} elseif ($typ == 2){
header("location:business-visa.php");
} elseif ($typ == 3){
header("location:transit-visa.php");
} else {
header("location:private-visa.php");
}
} else {
if ($uid) $typ = $row["typ"];
}
?>
Russian National Tourism Office. Buy visas, country information, visit Russia, visa support, excursions, exhibitions
| |
Contact us

LONDON OFFICE:
70 Piccadilly, London W1J 8HP
Contact us:
| By phone: |
0207 495 7570 |
| By fax: |
0207 495 8555 |
| By e-mail: |
General Enquiries: info@visitrussia.org.uk
We try our best to answer as soon as we can usually within 30 minutes upon receiving although complex or unusual enquiries may take longer time to deal with. |
| By post: |
Russian National Tourist Office
70 Piccadilly
London W1J 8HP |
| By courier or in person: |
Please deliver the documents within office opening hours only.
Entrance is from Dover Street (please see map)
First Floor
Russian National Tourist Office
70 Piccadilly
London W1J 8HP |
| OPENING HOURS FOR DELIVERIES & COLLECTIONS |
Monday-Friday 9:00am till 6:00pm except bank holidays
Saturday-Sunday Closed |
EDINBURGH OFFICE:
16 Forth Street, Edinburgh EH1 3LH
Tel: +44 (0) 131 550 3709
Fax: +44 (0) 131 550 3701
email: edinburgh@visitrussia.org.uk
|
|
|
|
© Copyright 2007-2010, Russian National Tourist Office |
Contact Us |
Site Map | Terms & Conditions