#### file comune per le pagine account (messaggi, rides, etc)
# se arrivo da conferma registrazione
if (!isset($_SESSION["id_cliente"]) and isset($_REQUEST["x"]) and $_REQUEST["x"])
{
$str = base64_decode(strrev(base64_decode($_REQUEST["x"])));
$arr = explode("|", $str);
if (isset($arr[1]))
{
$id_cliente = $arr[1];
$query = "
UPDATE clienti SET
email_verificato = NOW()
WHERE 1
AND id = '".mysqli_real_escape_string($db_link, $id_cliente)."'
-- AND cell_verificato IS NOT NULL
";
doQuery($query);
if (mysqli_affected_rows($db_link))
{
$query = "
UPDATE clienti SET
attivo = 1
WHERE 1
AND id = '".mysqli_real_escape_string($db_link, $id_cliente)."'
";
doQuery($query);
$subject = "Registration Confirmed";
$template = __DIR__."/../template_html/confermata-registrazione-$currentLang.html";
if (file_exists($template))
$template = __DIR__."/../template_html/confermata-registrazione-en.html";
$template_html = file_get_contents($template);
$query = "
SELECT nome, cognome, email
FROM clienti
WHERE 1
AND id = '" . mysqli_real_escape_string($db_link, $id_cliente) . "'
";
$result = doQuery($query);
list($cliente_nome, $cliente_cognome, $cliente_email) = mysqli_fetch_array($result);
$body = $template_html;
$body = str_replace("%base_url%", "https://{$_SERVER["HTTP_HOST"]}", $body);
$body = str_replace("%nome%", $cliente_nome, $body);
$body = str_replace("%cognome%", $cliente_cognome, $body);
$body = str_replace("%data%", date("d/m/Y"), $body);
sendEmail($arr_configurazione["email_sender"], $arr_configurazione["nome_sito"], $cliente_email, "$cliente_nome $cliente_cognome", $subject, $body, "");
$_SESSION["id_cliente"] = $id_cliente;
}
}
}
# deve essere loggato
if (!isset($_SESSION["id_cliente"])) {
header("Location: /$currentLang/login");
exit();
}
$query = "
SELECT email, nome, cognome, telefono,
indirizzo, cap, citta, provincia, stato,
rag_soc, riferimento,
indirizzo_az, cap_az, citta_az, provincia_az, stato_az,
piva, cod_sdi, email_pec, email_az, telefono_az,
last_login
FROM clienti
WHERE 1
AND id = '".mysqli_real_escape_string($db_link, $_SESSION["id_cliente"])."'
";
$result = doQuery($query);
list($cliente_email, $cliente_nome, $cliente_cognome, $cliente_telefono,
$cliente_indirizzo, $cliente_cap, $cliente_citta, $cliente_provincia, $cliente_stato,
$cliente_rag_soc, $cliente_riferimento,
$cliente_indirizzo_az, $cliente_cap_az, $cliente_citta_az, $cliente_provincia_az, $cliente_stato_az,
$cliente_piva, $cliente_cod_sdi, $cliente_email_pec, $cliente_email_az, $cliente_telefono_az,
$cliente_last_login) = mysqli_fetch_array($result);
$query = "
SELECT COUNT(id)
FROM servizi
WHERE 1
AND id_cliente = '".mysqli_real_escape_string($db_link, $_SESSION["id_cliente"])."'
AND pagato = 1
";
$result = doQuery($query);
list($cnt_servizi) = mysqli_fetch_array($result);
?>
Manage your personal profile
Ease of use,
Full security, exclusively for you.
Payment Successful!
Ciao, Warning: Undefined variable $cliente_nome in /var/www/vhosts/mikigo.net/httpdocs/inc/inc_account.php on line 9 Warning: Undefined variable $cliente_cognome in /var/www/vhosts/mikigo.net/httpdocs/inc/inc_account.php on line 9
Last login Warning: Undefined variable $cliente_last_login in /var/www/vhosts/mikigo.net/httpdocs/inc/inc_account.php on line 12
- Warning: Undefined variable $cliente_last_login in /var/www/vhosts/mikigo.net/httpdocs/inc/inc_account.php on line 12
In this section, you can update the details associated with your account to ensure secure and up-to-date access. Please remember to save your changes after making updates.
Thank you for your trust!
We are thrilled to have you as a customer and are passionately committed to providing you with impeccable service. For any needs or further information, please do not hesitate to contact us. Enjoy your trip!
Find the
right vehicle
for you and enjoy smooth rides every time with us..
$img_logo_white = (isset($arr_configurazione["site_logo_white"]) and $arr_configurazione["site_logo_white"]) ? "https://partner.{$_SERVER["HTTP_HOST"]}/{$arr_configurazione["site_logo_white"]}" : "/images/logo-mikigo.png";
?>
We are growing fast! Today GetChauffeur has more than 15K satisfied clients around the world.