Файловый менеджер - Редактировать - /var/www/zerocorporation/Envisage.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($_POST['name'] != ""){ $error[6] = '1'; } 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');?> | Envisage</title> <meta name="description" content="<b><i>Envisage</i></b> is a Web based Data Visualization and Data Analytics software. Data from an In-house ERP or third party provider like the DDD from IMS Health can be integrated in to <b><i>Envisage</i></b>."> <!-- 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/style.css"> <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 src="App_Theme/js/libs/modernizr-2.0.6.min.js"></script> <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 a Envisage 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 style="display:none"> <input type="text" name="name" id="name" value="">/> </div> <div class="WindowRow"> <div class="WindowRowText"> <input type="hidden" name="Product" value="Envisage"/> </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"> <img src="App_Theme/images/banner/Envisage.png" width="940" height="499" alt="image" /> <br /> <br /> <br /> <div class="product-request"> <div class="fb-share"> <a href="#dialog" onClick="openwindow();" name="modal"><img src="App_Theme/images/Demo.png" alt="" width="85" height="25"></a><br> request a demo here </div> <div> <?php include("App_Includes/ContactPanel.php");?> </div> </div> <div> <?php if($Status == 'True'){ echo'<div class="message-box green" style="width:580px;">We have received your request, a sales member will be intouch shortly.</div>'; } if($Status == 'False'){ echo'<div class="message-box red" style="width:580px;">Woops... something went wrong, please try again.</div>'; } if(isset($StatusMessage)){ echo'<div class="message-box yellow" style="width:580px;">'.$StatusMessage.'</div>'; } ?> <p><img src="App_Theme/images/Envisage.jpg" alt="" width="424" height="237" style="float:left; margin-right:30px;"> <h2>Envisage</h2></p> <p><b><i>Envisage</i></b> is a Web based Data Visualization and Data Analytics software. Data from In-house ERP or third part provider like the DDD from IMS Health can be integrated in to <b><i>Envisage</i></b>.</p> <p>Besides the capability to carry out visual analysis of IMS DDD in all variables like units, value, market share, growth, potential, sales and performance indices, <b><i>Envisage</i></b> data can be combined with <b><i>PRISMS</i></b> data to provide powerful Effort vs Results and other reports.</p> <p><b><i>Envisage</i></b> can be used by representatives to create work plans for each brick (Post Code areas) while viewing the sales data, submit their plans for approval by managers, and execute the plan in a smooth flow.</p> <p><b><i>Envisage</i></b> can be integrated with mapping tools for territory alignments and visualizing performance in three primary colors.</p> </div> <br> </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
|
Настройка