OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
_backup
/
form
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/22/2024 04:05:28 AM
rwxr-xr-x
📁
css
-
03/17/2019 06:16:11 AM
rwxrwxr-x
📄
hacklog.log
1.38 KB
02/11/2020 10:49:18 AM
rw-rw-r--
📁
images
-
03/17/2019 06:16:13 AM
rwxrwxr-x
📄
index.php
27.49 KB
02/11/2020 10:49:18 AM
rw-rw-r--
📁
js
-
03/17/2019 06:16:16 AM
rwxrwxr-x
📄
nltest.php
19.41 KB
02/11/2020 10:49:18 AM
rw-rw-r--
Editing: index.php
Close
<?php session_start(); function getRealIp() { if (!empty($_SERVER['HTTP_CLIENT_IP'])) { //check ip from share internet $ip=$_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { //to check ip is pass from proxy $ip=$_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ip=$_SERVER['REMOTE_ADDR']; } return $ip; } function writeLog($where) { $ip = getRealIp(); // Get the IP from superglobal $host = gethostbyaddr($ip); // Try to locate the host of the attack $date = date("d M Y"); // create a logging message with php heredoc syntax $logging = <<<LOG \n << Start of Message >> There was a hacking attempt on your form. \n Date of Attack: {$date} IP-Adress: {$ip} \n Host of Attacker: {$host} Point of Attack: {$where} << End of Message >> LOG; // Awkward but LOG must be flush left // open log file if($handle = fopen('hacklog.log', 'a')) { fputs($handle, $logging); // write the Data to file fclose($handle); // close the file } else { // if first method is not working, for example because of wrong file permissions, email the data $to = 'ADMIN@gmail.com'; $subject = 'HACK ATTEMPT'; $header = 'From: ADMIN@gmail.com'; if (mail($to, $subject, $logging, $header)) { echo "Sent notice to admin."; } } } function verifyFormToken($form) { // check if a session is started and a token is transmitted, if not return an error if(!isset($_SESSION[$form.'_token'])) { return false; } // check if the form is sent with token in it if(!isset($_POST['token'])) { return false; } // compare the tokens against each other if they are still the same if ($_SESSION[$form.'_token'] !== $_POST['token']) { return false; } return true; } function generateFormToken($form) { // generate a token from an unique value, took from microtime, you can also use salt-values, other crypting methods... $token = md5(uniqid(microtime(), true)); // Write the generated token to the session variable to check it against the hidden field when the form is sent $_SESSION[$form.'_token'] = $token; return $token; } // VERIFY LEGITIMACY OF TOKEN if (verifyFormToken('form1')) { // CHECK TO SEE IF THIS IS A MAIL POST if (isset($_POST['URL-main'])) { // Building a whitelist array with keys which will send through the form, no others would be accepted later on $whitelist = array('token','req-name','req-email','URL-main', 'save-stuff', 'mult'); // Building an array with the $_POST-superglobal foreach ($_POST as $key=>$item) { // Check if the value $key (fieldname from $_POST) can be found in the whitelisting array, if not, die with a short message to the hacker if (!in_array($key, $whitelist)) { writeLog('Unknown form fields'); die("Hack-Attempt detected. Please use only the fields in the form"); } } // Lets check the URL whether it's a real URL or not. if not, stop the script if(!filter_var($_POST['URL-main'],FILTER_VALIDATE_URL)) { writeLog('URL Validation'); die('Hack-Attempt detected. Please insert a valid URL'); } // SAVE INFO AS COOKIE, if user wants name and email saved $saveCheck = $_POST['save-stuff']; if ($saveCheck == 'on') { setcookie("WRCF-Name", $_POST['req-name'], time()+60*60*24*365); setcookie("WRCF-Email", $_POST['req-email'], time()+60*60*24*365); } // PREPARE THE BODY OF THE MESSAGE $message = '<html><body>'; $message .= '<title>News Letter</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1 meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> <style type="text/css"> /* CLIENT-SPECIFIC STYLES */ body, table, td, a{-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;} /* Prevent WebKit and Windows mobile changing default text sizes */ table, td{mso-table-lspace: 0pt; mso-table-rspace: 0pt;} /* Remove spacing between tables in Outlook 2007 and up */ img{-ms-interpolation-mode: bicubic;} /* Allow smoother rendering of resized image in Internet Explorer */ /* RESET STYLES */ img{border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none;} table{border-collapse: collapse !important;} body{height: 100% !important; margin: 0 !important; padding: 0 !important; width: 100% !important;} /* iOS BLUE LINKS */ a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; }.fa { margin-left:7%;font-size: 16px;width: 30px;text-align: center;text-decoration: none;border-radius: 50%;margin-bottom:2%;}.fa:hover {} /* MOBILE STYLES */ @media screen and (max-width: 525px) { /* ALLOWS FOR FLUID TABLES */ .wrapper { width: 100% !important; max-width: 100% !important; } /* ADJUSTS LAYOUT OF LOGO IMAGE */ .logo img { margin: 0 auto !important; } /* USE THESE CLASSES TO HIDE CONTENT ON MOBILE */ .mobile-hide { display: none !important; } .img-max { max-width: 100% !important; width: 100% !important; height: auto !important; } /* FULL-WIDTH TABLES */ .responsive-table { width: 100% !important; } /* UTILITY CLASSES FOR ADJUSTING PADDING ON MOBILE */ .padding { padding: 10px 5% 15px 5% !important; } .padding-meta { padding: 30px 5% 0px 5% !important; text-align: center; } .no-padding { padding: 0 !important; } .section-padding { padding: 50px 15px 50px 15px !important; } /* ADJUST BUTTONS ON MOBILE */ .mobile-button-container { margin: 0 auto; width: 100% !important; } .mobile-button { padding: 15px !important; border: 0 !important; font-size: 16px !important; display: block !important; } } /* ANDROID CENTER FIX */ div[style*="margin: 16px 0;"] { margin: 0 !important; }</style><table cellspacing="0" cellpadding="0" border="0" width="100%"> <tbody><tr> <td align="center"> <table style="max-width: 700px;background-color: rgb(252, 252, 252);;border: 1px solid rgb(0, 128, 128);" class="wrapper" cellspacing="0" cellpadding="0" border="0" width="100%"> <tbody><tr><td style="width: 55px;"></td> <td style="padding: 15px;width: 150px;" valign="top" align=""> <a> <img alt="Logo" src="http://cream.knoblymedia.com/upload/bl2.jpg" style="display: block; font-family: Helvetica, Arial, sans-serif; font-size: 16px;" height="80" border="0" width="100px"> </a> </td><td style="padding: 15px 0;width: 500px;vertical-align: top;text-align: center;"><hr style="border-top: 3px solid rgb(238,238,238);margin-left: 10%;"> <h2>Knobly Media</h2><hr style="border-top: 1px solid rgb(238,238,238);margin-left: 10%;"><p>Date: 2017-04-05 | Publisher: Knobly Media</p> </td><td style="padding: 15px 0;width: 58px;vertical-align: top;"></td> </tr> </tbody></table> </td> </tr> <tr> <td class="section-padding" align="center"> <table style="padding-bottom: 20px; max-width: 700px; padding-top: 15px;border-left:1px solid rgb(0, 128, 128);border-right:1px solid rgb(0, 128, 128);border-bottom:1px solid rgb(0, 128, 128);" class="responsive-table" cellspacing="0" cellpadding="0" border="0" width="100%"> <!-- TITLE --> <tbody><tr> <td colspan="2" style="padding-top:20px" valign="top" align="center" height="100%" width="100%"> <table style="max-width:600px;" cellspacing="0" cellpadding="0" align="center" border="0" width="100%"><tbody><tr style=""></tr> <tr> <td style="font-size:0;" valign="top" align="center"> <div style="display:inline-block; margin: 0 -2px; max-width:700px; vertical-align:top; width:100%;"> <table cellspacing="0" cellpadding="0" align="left" border="0" width="100%"> <tbody><tr> <td style="" class="no-padding"> <table cellspacing="0" cellpadding="0" border="0" width="100%"><tbody><tr> <td style="padding: 0 0 5px 25px; font-size: 22px; font-family: Helvetica, Arial, sans-serif; font-weight: normal; " class="padding" align="left"><a href="http://www.indiainfoline.com/article/news-top-story/dr-reddy-s-yet-another-form-483-observation-issued-to-dr-reddy-s-117040500030_1.html" target="_blank" style="text-decoration: none !important;color:rgb(15,15,15);font-size: 18px;">Yet another Form 483 observation issued to Dr. Reddys</a></td> </tr> <tr> <td style="padding: 0px 0 0px 25px; font-size: 16px; line-height: 24px; font-family: Helvetica, Arial, sans-serif; " class="padding" align="left"><style> img{width:150px;}</style><p style="margin:0px;color:rgb(94,94,94);font-size: 14px;"> <img src="http://content.indiainfoline.com/_media/iifl/img/article/2015-08/20/full/1440063321-1493.jpg" alt="" title="" align="left" hspace="5" height="75" border="" width="75">Dr. Reddys Laboratories received Form 483 with 2 observations from US FDA, post inspection. The 483 observations were received for its Active Pharmaceutical Ingredients plant at Srikakulam in Andra Pradesh. </p> </td> </tr><tr> <td style="padding-bottom: 5%;padding-left: 21px;"><a class="sbg-button sbg-button-facebook" data-sbg-network="facebook" data-sbg-url="http://www.indiainfoline.com/article/news-top-story/dr-reddy-s-yet-another-form-483-observation-issued-to-dr-reddy-s-117040500030_1.html" data-sbg-title="Share Button Generator" data-sbg-summary="Create simple share buttons, no strings attached" data-sbg-image="http://election.gv.my/assets/vote.png" data-sbg-width="600" data-sbg-height="368" data-sbg-isbinded="true"><i class="fa fa-facebook-official fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><a class="sbg-button sbg-button-twitter" data-sbg-network="twitter" data-sbg-text="Create simple share buttons, no strings attached http://www.indiainfoline.com/article/news-top-story/dr-reddy-s-yet-another-form-483-observation-issued-to-dr-reddy-s-117040500030_1.html" data-sbg-via="aakilfernandes" data-sbg-hashtags="sharing,simple" data-sbg-width="600" data-sbg-height="258" data-sbg-isbinded="true"><i class="fa fa-twitter-square fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><a class="sbg-button sbg-button-linkedin" data-sbg-network="linkedin" data-sbg-url="http://www.indiainfoline.com/article/news-top-story/dr-reddy-s-yet-another-form-483-observation-issued-to-dr-reddy-s-117040500030_1.html" data-sbg-title="Share Button Generator" data-sbg-source="Aakil Fernandes" data-sbg-summary="Create simple share buttons, no strings attached" data-sbg-width="585" data-sbg-height="471" data-sbg-isbinded="true"><i class="fa fa-linkedin-square fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><a class="sbg-button sbg-button-google-plus" data-sbg-network="google-plus" data-sbg-url="http://www.indiainfoline.com/article/news-top-story/dr-reddy-s-yet-another-form-483-observation-issued-to-dr-reddy-s-117040500030_1.html" data-sbg-width="500" data-sbg-height="505" data-sbg-isbinded="true"><i class="fa fa-google-plus-square fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><a class="sbg-button sbg-button-pinterest" data-sbg-network="pinterest" data-sbg-url="http://www.indiainfoline.com/article/news-top-story/dr-reddy-s-yet-another-form-483-observation-issued-to-dr-reddy-s-117040500030_1.html" data-sbg-media="http://sharebuttongenerator.aakilfernandes.com/img/addButton.png" data-sbg-description="Create simple share buttons, no strings attached" data-sbg-width="750" data-sbg-height="322" data-sbg-isbinded="true"><i class="fa fa-pinterest-square fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><script>sbg()</script> </td></tr><tr> <td style="padding: 0 0 5px 25px; font-size: 22px; font-family: Helvetica, Arial, sans-serif; font-weight: normal; " class="padding" align="left"><a href="http://www.indiainfoline.com/article/news-top-story/intas-pharma-intas-pharma-becomes-the-most-valuable-privately-held-pharma-company-117040300236_1.html" target="_blank" style="text-decoration: none !important;color:rgb(15,15,15);font-size: 18px;">Intas Pharma becomes the most valuable privately held pharma company</a></td> </tr> <tr> <td style="padding: 0px 0 0px 25px; font-size: 16px; line-height: 24px; font-family: Helvetica, Arial, sans-serif; " class="padding" align="left"><style> img{width:150px;}</style><p style="margin:0px;color:rgb(94,94,94);font-size: 14px;"> <img src="http://content.indiainfoline.com/_media/iifl/img/misc/2015-03/18/full/medical-supplies-pills-and-capsules-1426674429-3622300.jpg" alt="" title="" align="left" hspace="5" height="75" border="" width="75">Intas has emerged as Indias most-valued private pharmaceuticals company, at USD 3.5 billion (Rs 23,000 crore) post the private equity transaction. </p> </td> </tr><tr> <td style="padding-bottom: 5%;padding-left: 21px;"><a class="sbg-button sbg-button-facebook" data-sbg-network="facebook" data-sbg-url="http://www.indiainfoline.com/article/news-top-story/intas-pharma-intas-pharma-becomes-the-most-valuable-privately-held-pharma-company-117040300236_1.html" data-sbg-title="Share Button Generator" data-sbg-summary="Create simple share buttons, no strings attached" data-sbg-image="http://election.gv.my/assets/vote.png" data-sbg-width="600" data-sbg-height="368" data-sbg-isbinded="true"><i class="fa fa-facebook-official fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><a class="sbg-button sbg-button-twitter" data-sbg-network="twitter" data-sbg-text="Create simple share buttons, no strings attached http://www.indiainfoline.com/article/news-top-story/intas-pharma-intas-pharma-becomes-the-most-valuable-privately-held-pharma-company-117040300236_1.html" data-sbg-via="aakilfernandes" data-sbg-hashtags="sharing,simple" data-sbg-width="600" data-sbg-height="258" data-sbg-isbinded="true"><i class="fa fa-twitter-square fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><a class="sbg-button sbg-button-linkedin" data-sbg-network="linkedin" data-sbg-url="http://www.indiainfoline.com/article/news-top-story/intas-pharma-intas-pharma-becomes-the-most-valuable-privately-held-pharma-company-117040300236_1.html" data-sbg-title="Share Button Generator" data-sbg-source="Aakil Fernandes" data-sbg-summary="Create simple share buttons, no strings attached" data-sbg-width="585" data-sbg-height="471" data-sbg-isbinded="true"><i class="fa fa-linkedin-square fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><a class="sbg-button sbg-button-google-plus" data-sbg-network="google-plus" data-sbg-url="http://www.indiainfoline.com/article/news-top-story/intas-pharma-intas-pharma-becomes-the-most-valuable-privately-held-pharma-company-117040300236_1.html" data-sbg-width="500" data-sbg-height="505" data-sbg-isbinded="true"><i class="fa fa-google-plus-square fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><a class="sbg-button sbg-button-pinterest" data-sbg-network="pinterest" data-sbg-url="http://www.indiainfoline.com/article/news-top-story/intas-pharma-intas-pharma-becomes-the-most-valuable-privately-held-pharma-company-117040300236_1.html" data-sbg-media="http://sharebuttongenerator.aakilfernandes.com/img/addButton.png" data-sbg-description="Create simple share buttons, no strings attached" data-sbg-width="750" data-sbg-height="322" data-sbg-isbinded="true"><i class="fa fa-pinterest-square fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><script>sbg()</script> </td></tr><tr> <td style="padding: 0 0 5px 25px; font-size: 22px; font-family: Helvetica, Arial, sans-serif; font-weight: normal; " class="padding" align="left"><a href="http://www.indiainfoline.com/article/news-top-story/glenmark-glenmark-pharmaceuticals-receives-tentative-anda-approval-117033100199_1.html" target="_blank" style="text-decoration: none !important;color:rgb(15,15,15);font-size: 18px;">Glenmark Pharmaceuticals receives tentative ANDA approval</a></td> </tr> <tr> <td style="padding: 0px 0 0px 25px; font-size: 16px; line-height: 24px; font-family: Helvetica, Arial, sans-serif; " class="padding" align="left"><style> img{width:150px;}</style><p style="margin:0px;color:rgb(94,94,94);font-size: 14px;"> <img src="http://content.indiainfoline.com/_media/iifl/img/article/2015-04/08/full/glenmark-pharma-1438061385-4353470.jpg" alt="" title="" align="left" hspace="5" height="75" border="" width="75">Glenmark Pharmaceuticals Inc., USA (Glenmark), has been granted tentative approval by the United States Food " Drug Administration (U.S. FDA) for Milnacipran Hydrochloride Tablets, 12.5 mg, 25 mg, 50 mg and 100 mg, the generic version of Savella Tablets, 12.5 mg, 25 mg, 50 mg and 100 mg of Allergan Sales, LLC. </p> </td> </tr><tr> <td style="padding-bottom: 5%;padding-left: 21px;"><a class="sbg-button sbg-button-facebook" data-sbg-network="facebook" data-sbg-url="http://www.indiainfoline.com/article/news-top-story/glenmark-glenmark-pharmaceuticals-receives-tentative-anda-approval-117033100199_1.html" data-sbg-title="Share Button Generator" data-sbg-summary="Create simple share buttons, no strings attached" data-sbg-image="http://election.gv.my/assets/vote.png" data-sbg-width="600" data-sbg-height="368" data-sbg-isbinded="true"><i class="fa fa-facebook-official fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><a class="sbg-button sbg-button-twitter" data-sbg-network="twitter" data-sbg-text="Create simple share buttons, no strings attached http://www.indiainfoline.com/article/news-top-story/glenmark-glenmark-pharmaceuticals-receives-tentative-anda-approval-117033100199_1.html" data-sbg-via="aakilfernandes" data-sbg-hashtags="sharing,simple" data-sbg-width="600" data-sbg-height="258" data-sbg-isbinded="true"><i class="fa fa-twitter-square fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><a class="sbg-button sbg-button-linkedin" data-sbg-network="linkedin" data-sbg-url="http://www.indiainfoline.com/article/news-top-story/glenmark-glenmark-pharmaceuticals-receives-tentative-anda-approval-117033100199_1.html" data-sbg-title="Share Button Generator" data-sbg-source="Aakil Fernandes" data-sbg-summary="Create simple share buttons, no strings attached" data-sbg-width="585" data-sbg-height="471" data-sbg-isbinded="true"><i class="fa fa-linkedin-square fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><a class="sbg-button sbg-button-google-plus" data-sbg-network="google-plus" data-sbg-url="http://www.indiainfoline.com/article/news-top-story/glenmark-glenmark-pharmaceuticals-receives-tentative-anda-approval-117033100199_1.html" data-sbg-width="500" data-sbg-height="505" data-sbg-isbinded="true"><i class="fa fa-google-plus-square fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><a class="sbg-button sbg-button-pinterest" data-sbg-network="pinterest" data-sbg-url="http://www.indiainfoline.com/article/news-top-story/glenmark-glenmark-pharmaceuticals-receives-tentative-anda-approval-117033100199_1.html" data-sbg-media="http://sharebuttongenerator.aakilfernandes.com/img/addButton.png" data-sbg-description="Create simple share buttons, no strings attached" data-sbg-width="750" data-sbg-height="322" data-sbg-isbinded="true"><i class="fa fa-pinterest-square fa-2x" style="line-height: 2.5;color:rgb(87,112,165);font-size: 20px;"></i></a><script>sbg()</script> </td></tr> </tbody></table> </td> </tr> </tbody></table> </div> </td> </tr> </tbody></table> </td> </tr> <tr> <td style="padding: 20px;border-top: 1px solid rgb(0, 128, 128);background-color: rgb(252, 252, 252);" align="center"> <table style="max-width: 500px;" class="responsive-table" cellspacing="0" cellpadding="0" align="center" border="0" width="100%"> <tbody><tr> <td style="font-size: 12px; line-height: 18px; font-family: Helvetica, Arial, sans-serif; " align="center"> Powered by Knobly Cream <br> <a>Click here</a> to unsubscribe. </td> </tr> </tbody></table> </td> </tr></tbody></table> </td></tr></tbody></table>'; $message .= "<tr><td><strong>Email:</strong> </td><td>" . strip_tags($_POST['req-email']) . "</td></tr>"; $message .= "<tr><td><strong>URL To Change (main):</strong> </td><td>" . $_POST['URL-main'] . "</td></tr>"; $message .= "</table>"; $message .= "</body></html>"; // MAKE SURE THE "FROM" EMAIL ADDRESS DOESN'T HAVE ANY NASTY STUFF IN IT $pattern = "/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$/i"; if (preg_match($pattern, trim(strip_tags($_POST['req-email'])))) { $cleanedFrom = trim(strip_tags($_POST['req-email'])); } else { return "The email address you entered was invalid. Please try again!"; } // CHANGE THE BELOW VARIABLES TO YOUR NEEDS $to = 'pallavik@knobly.com'; $subject = 'Website Change Reqest'; $headers = "From: " . $cleanedFrom . "\r\n"; $headers .= "Reply-To: ". strip_tags($_POST['req-email']) . "\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; if (mail($to, $subject, $message, $headers)) { echo 'Your message has been sent.'; } else { echo 'There was a problem sending the email.'; } // DON'T BOTHER CONTINUING TO THE HTML... die(); } } else { if (!isset($_SESSION[$form.'_token'])) { } else { echo "Hack-Attempt detected. Got ya!."; writeLog('Formtoken'); } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Website Change Request Form</title> <link rel="stylesheet" href="css/jqtransform.css" type="text/css" media="all" /> <link rel="stylesheet" href="css/style.css" type="text/css" media="all" /> <script src="http://www.google.com/jsapi" type="text/javascript"></script> <script type="text/javascript"> google.load("jquery", "1.3.2"); </script> <script type="text/javascript" src="js/jquery.jqtransform.js"></script> <script type="text/javascript" src="js/jquery.validate.js"></script> <script type="text/javascript" src="js/jquery.form.js"></script> <script type="text/javascript" src="js/websitechange.js"></script> </head> <?php // generate a new token for the $_SESSION superglobal and put them in a hidden field $newToken = generateFormToken('form1'); ?> <body> <div id="page-wrap"> <h1>Website Change Request Form</h1> <form action="index.php" method="post" id="change-form"> <input type="hidden" name="token" value="<?php echo $newToken; ?>"> <div class="rowElem"> <label for="req-name">Your Name*:</label> <input type="text" id="req-name" name="req-name" class="required" minlength="2" value="Pallavi" /> </div> <div class="rowElem"> <label for="req-email">Your Email:</label> <input type="text" name="req-email" class="required email" value="pallavik@knobly.com" /> </div> <div class="rowElem"> <label for="URL-main">URL of Page:</label> <input type="text" name="URL-main" class="required url" /> </div> <div class="rowElem"> <label> </label> <input type="submit" value="Send Request!" /> </div> <div class="rowElem"> <label> </label> <input type="checkbox" name="save-stuff" /> <label for="save-stuff"> Save Name and Email?</label> </div> </form> </div> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-68528-29"); pageTracker._initData(); pageTracker._trackPageview(); </script> </body> </html>