PATH:
home
/
centosnipponia
/
public_html
/
voltyeu
/
voltynew
<?php $lcookie_name = "lcook"; if($_COOKIE[$lcookie_name]=="NL") { $basedirvolty=substr(substr($_SERVER['REQUEST_URI'], 0, -4), -2)=='NL' ? substr($_SERVER['REQUEST_URI'], 0, -6) : substr($_SERVER['REQUEST_URI'], 0, -4); ////if check initial ////if check initial if(isset($_POST['submit'])) { $name = $_POST['name']; // required $error_name = false; $email_from = $_POST['email']; // required $error_mail_address = 0; $category = $_POST['category']; // not required $message = $_POST['message']; // required $error_message = false; $output_form = false; $error_human=false; //check mail $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/'; if(empty( $email_from)){ $error_mail_address = 1;} elseif(!preg_match($email_exp,$email_from)){$error_mail_address = 2;} //check mail //check name if(empty( $name)) { $error_name = true; } //check name //check message if(empty($message)) { $error_message=true; } //check message //check human if( !isset($_POST['human'])) { $error_human=true; } //check human function clean_string($string) { $bad = array("content-type","bcc:","to:","cc:","href"); return str_replace($bad,"",$string); } if (!$error_name and !$error_message and ($error_mail_address == 0) and !$error_human) { //an den yparxei lathos steile to mail $email_message .= "Name: ".clean_string($name)."\n"; $email_message .= "Email: ".clean_string($email_from)."\n"; $email_message .= "Category: ".clean_string($category)."\n"; $email_message .= "Message: ".clean_string($message)."\n"; // EDIT THE 2 LINES BELOW AS REQUIRED $email_to = "tzimplakisv@nipponia.com"; $email_from="volty1@volty.eu"; $email_subject = "Volty's contact form"; // create email headers $headers = 'From: '.$email_from."\r\n". 'Reply-To: '.$email_from."\r\n" . 'X-Mailer: PHP/' . phpversion(); @mail($email_to, $email_subject, $email_message, $headers); ?> <html> <head> <title>VOLTY NIPPONIA | Greensportation</title> <link rel="shortcut icon" type="image/png" href="images/favicon.ico"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <link rel="stylesheet" href="assets/css/main.css" /> <noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript> </head> <body class="is-preload landing"> <div id="page-wrapper"> <!-- Header --> <header id="header"> <a href="https://www.nipponia.com"> <img class="responsive" style="padding:10px;" src="images/logo2V320.png" alt="nipponia" /></a> <nav id="nav"> <ul> <li><a href="setlang.php?langu=EN¤tpage=<?php echo $basedirvolty.'.php';?>">EN</a></li> <li style="margin-left:-10px; margin-right:-25px;">|</li> <li><a href="setlang.php?langu=NL¤tpage=<?php echo $basedirvolty.'NL.php';?>">NL</a></li> <li><a href="index2NL.php">Huis</a></li> <li><a href="specs3NL.php">Specs</a></li> <li><a href="contactusNL.php">Contact ons</a></li> </ul> </nav> </header> <!-- MAIN BLOCK FOR SLIDER AND SPECS --> <!-- Main --> <div id="main" class="wrapper style1"> <div class="container"> <!--Form--> <header class="major"> <h2>Dank je</h2> <p>We zullen snel antwoorden.</p> </header> <!-- Form --> <section> </section> <!--Form--> <ul style="list-style-type: none;"> <li>Nipponia S.A. Hoofdkwartier zijn gevestigd in:</li> <li>12 Agias Fotinis str., Nea Smyrni</li> <li>171 21 Athens – Greece</li> <li>Tel.: +30 210 9328800, Fax: +30 210 9408842</li> <li>email: hq@nipponia.com, Website: <a href="www.nipponia.com">www.nipponia.com</a></li> </ul> </div> </div> <!-- MAIN BLOCK FOR SLIDER AND SPECS --> <!-- Footer --> <footer id="footer"> <ul class="copyright"> <li>© Nipponia 2019. Alle rechten voorbehouden.</li><li>Design: HTML5 UP</a></li> </ul> </footer> </div> <!-- Scripts --> <script src="assets/js/jquery.min.js"></script> <script src="assets/js/jquery.scrolly.min.js"></script> <script src="assets/js/jquery.dropotron.min.js"></script> <script src="assets/js/jquery.scrollex.min.js"></script> <script src="assets/js/browser.min.js"></script> <script src="assets/js/breakpoints.min.js"></script> <script src="assets/js/util.js"></script> <script src="assets/js/main.js"></script> </body> </html> <?php } else //alliws xanadeixe thn forma me ta error messages { ?> <html> <head> <title>VOLTY NIPPONIA | Greensportation</title> <link rel="shortcut icon" type="image/png" href="images/favicon.ico"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <link rel="stylesheet" href="assets/css/main.css" /> <noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript> </head> <body class="is-preload landing"> <div id="page-wrapper"> <!-- Header --> <header id="header"> <a href="https://www.nipponia.com"> <img class="responsive" style="padding:10px;" src="images/logo2V320.png" alt="nipponia" /></a> <nav id="nav"> <ul> <li><a href="setlang.php?langu=EN¤tpage=<?php echo $basedirvolty.'.php';?>">EN</a></li> <li style="margin-left:-10px; margin-right:-25px;">|</li> <li><a href="setlang.php?langu=NL¤tpage=<?php echo $basedirvolty.'NL.php';?>">NL</a></li> <li><a href="index2NL.php">Huis</a></li> <li><a href="specs3NL.php">Specs</a></li> <li><a href="contactusNL.php">Contact ons</a></li> </ul> </nav> </header> <!-- MAIN BLOCK FOR SLIDER AND SPECS --> <!-- Main --> <div id="main" class="wrapper style1"> <div class="container"> <!--Form--> <header class="major"> <h2>Contact ons</h2> </header> <!-- Form --> <section> <h3>Formulier <?php if ($error_name){echo '<span style="color:red"> - Name is a required field</span>';} if ($error_message){echo '<span style="color:red"> - Message is a required field</span>';} if ($error_mail_address==1){echo '<span style="color:red"> - Email is a required field</span>';} if ($error_human){echo '<span style="color:red"> - Check the i am human and not a robot box</span>';}?></h3> <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <div class="row gtr-uniform gtr-50"> <div class="col-6 col-12-xsmall"> <input type="text" name="name" id="name" value="" placeholder="Naam(*)" /> </div> <div class="col-6 col-12-xsmall"> <input type="email" name="email" id="email" value="<?php echo $email_from;?>" placeholder="Email(*)" /> </div> <div class="col-12"> <select name="category" id="category"> <option value="">- Categorie -</option> <option value="1">Handelaar</option> <option value="1">Retailklant</option> </select> </div> <div class="col-6 col-12-medium"> <input type="checkbox" id="human" name="human" > <label for="human">Ik ben een mens en geen robot</label> </div> <div class="col-12"> <textarea name="message" id="message" placeholder="Voer uw bericht in(*)" rows="6"><?php echo $message;?></textarea> </div> <div class="col-12"> <ul class="actions"> <li><input type="submit" name="submit" value="Bericht versturen" class="primary" /></li> <li><input type="reset" value="Reset" /></li> </ul> </div> </div> </form> </section> <!--Form--> <ul style="list-style-type: none;"> <li>Nipponia S.A. Hoofdkwartier zijn gevestigd in:</li> <li>12 Agias Fotinis str., Nea Smyrni</li> <li>171 21 Athens – Greece</li> <li>Tel.: +30 210 9328800, Fax: +30 210 9408842</li> <li>email: hq@nipponia.com, Website: <a href="www.nipponia.com">www.nipponia.com</a></li> </ul> </div> </div> <!-- MAIN BLOCK FOR SLIDER AND SPECS --> <!-- Footer --> <footer id="footer"> <ul class="copyright"> <li>© Nipponia 2019. Alle rechten voorbehouden.</li><li>Design: HTML5 UP</a></li> </ul> </footer> </div> <!-- Scripts --> <script src="assets/js/jquery.min.js"></script> <script src="assets/js/jquery.scrolly.min.js"></script> <script src="assets/js/jquery.dropotron.min.js"></script> <script src="assets/js/jquery.scrollex.min.js"></script> <script src="assets/js/browser.min.js"></script> <script src="assets/js/breakpoints.min.js"></script> <script src="assets/js/util.js"></script> <script src="assets/js/main.js"></script> </body> </html> <?php } } ////if check initial else { //if (!$output_form and !$error_name and !$error_message and !($error_mail_address == 0)) { ?> <html> <head> <title>VOLTY NIPPONIA | Greensportation</title> <link rel="shortcut icon" type="image/png" href="images/favicon.ico"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <link rel="stylesheet" href="assets/css/main.css" /> <noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript> </head> <body class="is-preload landing"> <div id="page-wrapper"> <!-- Header --> <header id="header"> <a href="https://www.nipponia.com"> <img class="responsive" style="padding:10px;" src="images/logo2V320.png" alt="nipponia" /></a> <nav id="nav"> <ul> <li><a href="setlang.php?langu=EN¤tpage=<?php echo $basedirvolty.'.php';?>">EN</a></li> <li style="margin-left:-10px; margin-right:-25px;">|</li> <li><a href="setlang.php?langu=NL¤tpage=<?php echo $basedirvolty.'NL.php';?>">NL</a></li> <li><a href="index2NL.php">Huis</a></li> <li><a href="specs3NL.php">Specs</a></li> <li><a href="contactusNL.php">Contact ons</a></li> </ul> </nav> </header> <!-- MAIN BLOCK FOR SLIDER AND SPECS --> <!-- Main --> <div id="main" class="wrapper style1"> <div class="container"> <!--Form--> <header class="major"> <h2>Contact ons</h2> </header> <!-- Form --> <section> <h3>Formulier</h3> <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <div class="row gtr-uniform gtr-50"> <div class="col-6 col-12-xsmall"> <input type="text" name="name" id="name" value="" placeholder="Naam(*)" /> </div> <div class="col-6 col-12-xsmall"> <input type="email" name="email" id="email" value="" placeholder="Email(*)" /> </div> <div class="col-12"> <select name="category" id="category"> <option value="">- Categorie -</option> <option value="1">Handelaar</option> <option value="1">Retailklant</option> </select> </div> <div class="col-6 col-12-medium"> <input type="checkbox" id="human" name="human" > <label for="human">Ik ben een mens en geen robot</label> </div> <div class="col-12"> <textarea name="message" id="message" placeholder="Voer uw bericht in(*)" rows="6"></textarea> </div> <div class="col-12"> <ul class="actions"> <li><input type="submit" name="submit" value="Bericht versturen" class="primary" /></li> <li><input type="reset" value="Reset" /></li> </ul> </div> </div> </form> </section> <!--Form--> <ul style="list-style-type: none;"> <li>Nipponia S.A. Hoofdkwartier zijn gevestigd in:</li> <li>12 Agias Fotinis str., Nea Smyrni</li> <li>171 21 Athens – Greece</li> <li>Tel.: +30 210 9328800, Fax: +30 210 9408842</li> <li>email: hq@nipponia.com, Website: <a href="www.nipponia.com">www.nipponia.com</a></li> </ul> </div> </div> <!-- MAIN BLOCK FOR SLIDER AND SPECS --> <!-- Footer --> <footer id="footer"> <ul class="copyright"> <li>© Nipponia 2019. Alle rechten voorbehouden.</li><li>Design: HTML5 UP</a></li> </ul> </footer> </div> <!-- Scripts --> <script src="assets/js/jquery.min.js"></script> <script src="assets/js/jquery.scrolly.min.js"></script> <script src="assets/js/jquery.dropotron.min.js"></script> <script src="assets/js/jquery.scrollex.min.js"></script> <script src="assets/js/browser.min.js"></script> <script src="assets/js/breakpoints.min.js"></script> <script src="assets/js/util.js"></script> <script src="assets/js/main.js"></script> </body> </html> <?php } ?> <?php } elseif (!isset($_COOKIE[$lcookie_name]) or $_COOKIE[$lcookie_name]=="EN") { $basedirvolty=substr(substr($_SERVER['REQUEST_URI'], 0, -4), -2)=='NL' ? substr($_SERVER['REQUEST_URI'], 0, -6) : substr($_SERVER['REQUEST_URI'], 0, -4); //echo '<h1>'.$basedirvolty.'NL.php</h1>' ; header('Location: '.$basedirvolty.'NL.php'); //header('Location :'.$basedirvolty.'NL.php'); } ?>
[+]
..
[-] error_log
[edit]
[-] index2.php-old
[edit]
[-] setlang.php
[edit]
[-] contactusNL.php-notinuse
[edit]
[-] index2NL.phpold2
[edit]
[-] contactus.php-03082020
[edit]
[-] specs3.php
[edit]
[-] contactusNL.php1356
[edit]
[-] export.php
[edit]
[+]
assets
[-] specs3NL.php2
[edit]
[-] index2NL.php
[edit]
[-] specs3.php-old
[edit]
[+]
images
[-] specs3NL.php
[edit]
[-] contactus.php-notinuse
[edit]
[-] index2.php
[edit]
[-] contactus.php-old2
[edit]
[-] .htaccess.disabled
[edit]