Файловый менеджер - Редактировать - /var/www/zerocorporation/IMAGES.php
Назад
<?php include("App_Core/Core.php"); if(isset($_POST['SubmitRequest'])){ $_SESSION['Firstname'] = ucfirst($_POST['Firstname']); $_SESSION['Lastname'] = ucfirst($_POST['Lastname']); $_SESSION['Company'] = ucfirst($_POST['Company']); $_SESSION['Phone'] = $_POST['Phone']; $_SESSION['Email'] = ucfirst($_POST['Email']); //Validate if($_SESSION['Firstname'] == ""){ $error[1] = '1'; } if($_SESSION['Lastname'] == ""){ $error[2] = '1'; } if($_SESSION['Company'] == ""){ $error[3] = '1'; } if($_SESSION['Phone'] == ""){ $error[4] = '1'; } if(validate_email($_SESSION['Email']) == "NOTVALID"){ $error[5] = '1'; } if(!isset($error)) { $Subject = 'New Demo Request'; $Message = "<head> <title>Zero Corporation | New Demo Request.</title> </head> <body> <table width='650' align='center' style='border: solid 1px #cccccc; margin: 0 auto; padding: 20px 30px 20px 30px; font-family: Calibri; font-size: 95%'> <tr> <td width='420'><div style='height: 25px; font-weight: bold; font-size: 1.3em;'><img src='http://www.zerocorporation.com/images/LogoTransparent2.png' alt='Zero Corporation' name='logo' width='218' align='left'></div></td> <td width='218' align='right' style='color:#ff9933; font-family:Calibri; font-style:italic;'>Date: ".date("d/M/Y")."</td> </tr> <tr> <td colspan='2'> <div style='margin-top: 30px; padding-bottom: 25px;'> <p>We have a new demo request for <strong>".$_POST['Product']."</strong></p> <p> Firstname: <strong>".$_SESSION['Firstname']."</strong><br> Lastname: <strong>".$_SESSION['Lastname']."</strong><br> Email: <strong>".$_SESSION['Email']."</strong><br> Phone: <strong>".$_SESSION['Phone']."</strong><br> Company: <strong>".$_SESSION['Company']."</strong><br> </p> <p>Kind Regards,<br> ZeroCorporation Website</p> </div> </td> </tr> <tr> <td colspan='2' align='right'>© ".date('Y')." | ZeroCorporation.com.au </td> </tr> </table> </body> </html>"; if(EmailWebsite(Setting('Email'), $Subject, $Message)) { $Status = "True"; unset($_SESSION['Firstname']); unset($_SESSION['Lastname']); unset($_SESSION['Company']); unset($_SESSION['Phone']); unset($_SESSION['Email']); }else{ $Status = "False"; } }else{ $StatusMessage = "Please fill out all feilds"; } } ?> <!doctype html> <!--[if IEMobile 7 ]> <html class="no-js iem7" lang="en"> <![endif]--> <!--[if (gt IEMobile 7)|!(IEMobile)]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <head> <meta charset="utf-8"> <title><?php echo Setting('WebsiteTitle');?> | IMAGES</title> <meta name="description" content="The simple, powerful REVOLUTION in connecting with your customers...easy, and at a fraction of the cost of TV advertising."> <!-- The script prevents links from opening in mobile safari. https://gist.github.com/1042026 --> <!-- <script>(function(a,b,c){if(c in b&&b[c]){var d,e=a.location,f=/^(a|html)$/i;a.addEventListener("click",function(a){d=a.target;while(!f.test(d.nodeName))d=d.parentNode;"href"in d&&(d.href.indexOf("http")||~d.href.indexOf(e.host))&&(a.preventDefault(),e.href=d.href)},!1)}})(document,window.navigator,"standalone")</script> --> <!-- Main Stylesheet --> <link rel="stylesheet" href="App_Theme/css/superfish.css" media="screen" /> <link rel="stylesheet" href="App_Theme/IMAGES.css"> <link rel="stylesheet" href="App_Theme/css/flexslider.css" type="text/css" media="screen" /> <link rel="stylesheet" href="App_Theme/css/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" /> <link rel="stylesheet" href="App_Theme/css/custom-rebuild.css" media="screen" /> <link href='http://fonts.googleapis.com/css?family=Oxygen' rel='stylesheet' type='text/css'> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.pack.js"></script> <script type="text/javascript" src="App_Theme/js/Demo.js"></script> <?php echo Setting('Analytics');?> </head> <body> <div id="boxes"> <div id="dialog" class="window"> <form id="Request" name="Request" method="POST" action=""> <div class="WindowHeader"><b>Request an IMAGES demo</b></div> <div id="GetMessage"></div> <div class="WindowRow"> <div class="WindowRowText">Firstname:</div> <input type="text" name="Firstname" id="Firstname" class="WindowRowTextBox" value="<?php echo $_SESSION['Firstname'];?>" <?php if(isset($error) && $error[1] == '1'){echo'style="background-color:#C99"';}?>/> </div> <div class="WindowRow"> <div class="WindowRowText">Lastname:</div> <input type="text" name="Lastname" id="Lastname" class="WindowRowTextBox" value="<?php echo $_SESSION['Lastname'];?>" <?php if(isset($error) && $error[2] == '1'){echo'style="background-color:#C99"';}?>/> </div> <div class="WindowRow"> <div class="WindowRowText">Email:</div> <input type="text" name="Email" id="Email" class="WindowRowTextBox" value="<?php echo $_SESSION['Email'];?>" <?php if(isset($error) && $error[5] == '1'){echo'style="background-color:#C99"';}?>/> </div> <div class="WindowRow"> <div class="WindowRowText">Phone:</div> <input type="text" name="Phone" id="Phone" class="WindowRowTextBox" value="<?php echo $_SESSION['Phone'];?>" <?php if(isset($error) && $error[4] == '1'){echo'style="background-color:#C99"';}?>/> </div> <div class="WindowRow"> <div class="WindowRowText">Company:</div> <input type="text" name="Company" id="Company" class="WindowRowTextBox" value="<?php echo $_SESSION['Company'];?>" <?php if(isset($error) && $error[3] == '1'){echo'style="background-color:#C99"';}?>/> </div> <div class="WindowRow"> <div class="WindowRowText"> <input type="hidden" name="Product" value="IMAGES"/> </div> <input type="submit" name="SubmitRequest" class="WindowRowSubmitButton" value="Submit Request"/> </div> </form> </div> <div id="mask"></div> </div> <div id="container"> <?php include("App_Includes/Header.php");?> <?php include("App_Includes/Menu.php");?> <section id="content-container"> <section class="content_container_fix"> <!-- /.page_title --> <section class="full_width no_margin"> <div class="flexslider"> <ul class="slides"> <li><a href="/IMAGES"><img src="App_Theme/images/banner/IntroImages.jpg" width="940" height="400" alt="image"/></a></li> <li><a href="http://pharmaimages.com/"><img src="App_Theme/images/banner/PharmaIMAGES.jpg" width="940" height="400" alt="image"/></a></li> <li><a href="http://zeroimages.com/"><img src="App_Theme/images/banner/ZeroIMAGES.jpg" width="940" height="400" alt="image"/></a></li> <li><a href="http://zippyview.com/"><img src="App_Theme/images/banner/ZippyView.jpg" width="940" height="400" alt="image"/> </a></li> </ul> </div> </section> <section class="full_width"> <?php if($Status == 'True'){ echo'<div class="message-box green">We have received your request, a sales member will be intouch shortly.</div>'; } if($Status == 'False'){ echo'<div class="message-box red">Woops... something went wrong, please try again.</div>'; } if(isset($StatusMessage)){ echo'<div class="message-box yellow">'.$StatusMessage.'</div>'; } ?> <section class="three_fourth content-left"><img src="App_Theme/images/PrismsCRM_iPad.png" alt="" style="float:left; margin-top:-20px; margin-right:20px;"> <h2><font style="font-family: IMAGESFONT;font-size:27px">I</font>MAGES</h2> <p>The simple, powerful <strong>REVOLUTION</strong> in connecting with your customers easily, and at a fraction of the cost of TV advertising.</p> <p><b>•</b><strong> Show exciting multiple Videos & other Presentations on-line.</strong> Simple to create or use your existing material. </p> <p><b>•</b><strong> Simple to Upload and Manage </strong>— Change content easily and as often as you like. No Web-Master needed!</p> <p><b>•</b><strong> Scalable, Secure and Highly Customisable.</strong></p> <p><b>•</b><strong> Powerful Analytics</strong> — Capture comprehensive data about customer viewing patterns. The captured data is converted into meaningful information in reports designed to be easy to comprehend and act on.</p> <p><b>•</b><strong> Immediate Communication </strong>with your Customers.</p> <p><b>•</b><strong> Generate immediate Leads & Sales.</strong></p> </section> <!-- /.three_fourth content--> <section class="one_fourth last"> <section class="widget"> <h3>Related Products</h3> <ul class="menu"> <li><a href="/PharmaIMAGES">Pharma<font style="font-family: IMAGESFONT;font-size:15px">I</font>MAGES</a></li> <li><a href="/ZeroIMAGES">Zero<font style="font-family: IMAGESFONT;font-size:15px">I</font>MAGES</a></li> <li><a href="/ZippyView">ZippyView</a></li> </ul> </section> <!-- /.widget --> <section class="widget"></section> <!-- /.widget --> <!-- /.widget --> <?php include("App_Includes/ContactPanel.php");?> <!-- /.widget --> </section> <!-- /.one_fourth --> </section> <!-- /.full_width --> <section class="clear_full"></section> </section> <!-- /.content_container_fix --> </section> <!-- /#content-container --> <?php include("App_Includes/Footer.php");?> <!-- /footer --> </div> <!-- /#container --> <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.2.min.js"><\/script>')</script> <script type="text/javascript"> /*------------------------------- * jQuery Plugin: Super Fish Menu -------------------------------*/ jQuery(document).ready(function($){ $("ul.main-menu").supersubs({ minWidth: 12, // minimum width of sub-menus in em units maxWidth: 150, // maximum width of sub-menus in em units extraWidth: 1 // extra width can ensure lines don't sometimes turn over // due to slight rounding differences and font-family }).superfish({ delay: 300, // one second delay on mouseout animation: {opacity:'show',height:'show'}, // fade-in and slide-down animation speed: 'normal', // faster animation speed autoArrows: false, // disable generation of arrow mark-up dropShadows: true // disable drop shadows }); // call supersubs first, then superfish, so that subs are // not display:none when measuring. Call before initialising // containing tabs for same reason. }); </script> <script src="App_Theme/js/libs/ui/jquery.ui.core.js"></script> <script src="App_Theme/js/libs/ui/jquery.ui.widget.js"></script> <script src="App_Theme/js/libs/ui/jquery.ui.accordion.js"></script> <script src="App_Theme/js/libs/ui/jquery.ui.tabs.js"></script> <script src="App_Theme/js/libs/superfish/hoverIntent.js"></script> <script src="App_Theme/js/libs/superfish/superfish.js"></script> <script src="App_Theme/js/libs/superfish/supersubs.js"></script> <script src="App_Theme/js/libs/jquery.flexslider-min.js"></script> <script type="text/javascript" src="App_Theme/js/libs/jquery.easing.1.3.js"></script> <script src="App_Theme/js/libs/slides.min.jquery.js"></script> <script src="App_Theme/js/libs/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script> <script src="App_Theme/js/scripts.js"></script> <!-- scripts concatenated and minified via ant build script--> <script src="App_Theme/js/helper.js"></script> <!-- end scripts--> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 7.0.33-0ubuntu0.16.04.16 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка