Файловый менеджер - Редактировать - /var/www/zerocorporation/Products.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');?> | Products</title> <meta name="description" content="Various Products of ZeroCorporation"> <!-- 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> <li><a href="/PrismsCRM_Android"><img src="App_Theme/images/banner/Android.png" width="940" height="400" alt="image"/></a></li> <li><a href="/PrismsCRM_iOS"><img src="App_Theme/images/banner/Apple_iOS.png" width="940" height="400" alt="image"/></a></li> <li><a href="/Spectra"><img src="App_Theme/images/banner/Spectra.png" width="940" height="400" alt="image"/></a></li> <li><a href="/PrismsCRM_Web"><img src="App_Theme/images/banner/Web.png" width="940" height="400" alt="image"/></a></li> <li><a href="/Envisage"><img src="App_Theme/images/banner/Envisage.png" 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"> <h2>Products</h2> <p> </p> <h3><font style="font-family: IMAGESFONT;font-size:24px">I</font>MAGES</h3> <p>The simple, powerful <strong>REVOLUTION</strong> in connecting with your customers easily, and at a fraction of the cost of TV advertising.<br><b>•</b><strong>Show exciting multiple Videos & other Presentations on-line.</strong> Simple to create or use your existing material.<br><b>•</b><strong>Simple to Upload and Manage </strong>— Change content easily and as often as you like. No Web-Master needed!<br><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>For more information on <b><i><font style="font-family: IMAGESFONT;">I</font>MAGES</b></i>, please <a href = "/IMAGES"><b>click here</b></a></p> <p> </p> <h3>PrismsCRM</h3> <p><b><i>PrismsCRM</i></b> is a world-leading Pharma centric CRM solution built primarily to address the needs of Pharmaceutical and related companies in managing their field force effectively whilst being able to source and utilise information gained for wider strategic marketing purposes. From the field force perspective it gives a 360° view of individual territory and customers around whom all activities and interactions take place and are accounted for and from the Management perspective it gives a multi-dimensional view of the geographies , customers, activities , Sales vs Efforts and the ROI per call.</p> <p>For more information on <b><i>PrismsCRM</b></i>, please <a href = "/PrismsCRM"><b>click here</b></a></p> <p> </p> <h3>Envisage</h3> <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>For more information on <b><i>Envisage</b></i>, please <a href = "/Envisage"><b>click here</b></a></p> </section> <!-- /.three_fourth content--> <section class="one_fourth last"> <!-- /.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
|
Настройка