Файловый менеджер - Редактировать - /var/www/zerocorporation/WhitePapers.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');?> | White Papers</title> <meta name="description" content="White papers on various subjects."> <!-- 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"><img src="App_Theme/images/banner/White-Papers.jpg" width="940" height="200" alt="image" /> <br /> </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 first"> <h3>Changing Landscape of the Pharmaceutical Industry</h3> <p>The rules, by which the Pharmaceutical game is played across the world is more or less the same but the variations are determined by the country and the culture in which the game is played. It must be noted, however, that the model of marketing Pharmaceutical products has not changed drastically over the last 3 decades. <br><b>What are the factors that are driving the need for change in the traditional Pharmaceutical model of researching and marketing of drugs? <br>What structural adjustments would Pharma companies be likely to make to weather the storm?…</b><a href="/ChangingLandscape"><b><u>Read More</b></u></a></p> <p> </p> <h3>Sales Force Effectiveness</h3> <p>Sales Force Effectiveness or Excellence is about maximising the performance of the sales team. The Pharmaceutical market is like a battle field and each sales force is engaged in a “military” kind of operation to win the “war”. Winning or losing can be measured in terms of gaining or losing market share. Just like the outcome of war is not only determined by the bravery of individual soldiers but by the clever strategies and tactics planned by the High Command, the effectiveness of the Sales Force in the Pharmaceutical war also depends on combined implementation of good strategies by the marketing and sales teams. <br><b>What factors contribute to Sales Force Effectiveness?<br>How do we measure Sales Force Effectiveness?<br>What variables should be taken in to account to evaluate effectiveness?…</b><a href="/SalesForceEffectiveness"><b><u>Read More</b></u></a></p> <p> </p> <h3>Future of IT — Implications to the Pharmaceutical Industry (September, 1995)</h3> <p>Seventeen years ago while lecturing on Karl Marx in Bombay University I predicted that communism, as a political system will not even last my lifetime.Talking about the impact of Information Technology on the future of the Pharmaceutical industry, I am forced to make some predictions.<br> According to R. Buckminster Fuller, humans on this planet have two primary functions:<br> 1) To gather Information.<br> 2) To solve problems.<br> These two fundamental functions have been pivotal to the evolution of every culture…<a href="/FutureOfIT"><b><u>Read More</b></u></a></p> </section> <!-- /.three_fourth content--> <section class="one_fourth last"> <!-- /.widget --> <section class="widget"> <div class="fb-share"> <a class="fb-share-button fb-share-button-25" href="javascript:void(window.open('https://www.facebook.com/sharer/sharer.php?u=' + location.href, 'sharer', 'width=626,height=436,toolbar=0,status=0'));"><span>Share</span></a><br> tell others about this </div> </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
|
Настройка