1 2 3<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4 5<html xmlns="http://www.w3.org/1999/xhtml"> 6<head id="ctl00_Head1"> 7 <title> 8 Contact 9 </title> 10 <link href="/Content/Bootstrap/bootstrap-bare.min.css" rel="stylesheet" /> 11 <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" /> 12
12<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
12 13 <style type="text/css"> 14 body { 15 font-family: 'Roboto', sans-serif; 16 color: #212121; 17 } 18 19 .form-control { 20 width: 600px; 21 padding: 10px; 22 } 23 24 .text-center { 25 text-align: center; 26 } 27 28 .footer { 29 position: fixed; 30 bottom: 0; 31 border-top: 1px solid #e4e4e4; 32 width: 100%; 33 text-align: center; 34 line-height: 50px; 35 overflow: auto; 36 background-color: #f2f2f2; 37 } 38 39 #content { 40 margin-top: 90px; 41 } 42 43 #content-header p, #content-header h1 { 44 text-align: center; 45 } 46 47 #content-header p { 48 color: #424242; 49 margin: 0; 50 } 51 52 #content-header h1 { 53 } 54 55 #surveyContent { 56 width: 650px; 57 margin-left: auto; 58 margin-right: auto; 59 } 60 61 #submitForm { 62 color: #fff; 63 background-color: #2196F3; 64 border: none; 65 font-size: 18px; 66 padding: 5px 20px 5px 20px; 67 border-radius: 3px; 68 margin-left: 25px; 69 cursor: pointer; 70 } 71 72 #submitForm:hover { 73 background-color: #1565C0; 74 } 75 76 .alert-danger { 77 color: #F44336; 78 } 79 80 #disclaimer { 81 width: 600px; 82 margin-left: auto; 83 margin-right: auto; 84 } 85 </style> 86</head> 87<body> 88 89 90 <div class="container" id="content"> 91 <div class="col-md-12" style="min-height: 400px; margin-bottom: 50px;"> 92 <div id="content-header"> 93 <h1>Questions and Inquiries about TV Now Pro?</h1> 94 95 <div> 96 <p>We would love to hear your feedback or answer your questions!</p> 97 </div> 98 </div> 99 <div id="surveyContent" style="margin-top: 10px;"> 100 <p id="validationMessage"></p> 101 102 <div style="margin-top: 20px;"> 103 <div style="margin-left: 25px;"> 104 <input type="text" class="form-control" id="name" name="yourname" placeholder="Your Name" /> 105 </div> 106 </div> 107 <div style="margin-top: 20px;"> 108 <div style="margin-left: 25px;"> 109 <input type="text" class="form-control" id="email" placeholder="Your email" /> 110 <br /> 111 <em style="font-size: 12px;color: #757575;">Your email will never be used for marketing purposes.</em> 112 </div> 113 </div> 114 <div style="margin-top: 20px;"> 115 <div style="margin-left: 25px;"> 116 <textarea class="form-control" rows="5" id="comments" placeholder="Your Comments"></textarea> 117 </div> 118 </div> 119 <div style="margin-top: 20px;"> 120 <button type="button" id="submitForm" class="btn btn-success">send message</button> 121 </div> 122 <div style="margin-top: 20px;" id="disclaimer"> 123 <em style="font-size: 12px;color: #757575;">All the information you provide is in this form will be used by us according to the provisions of our <a href="/home/terms" target="blank">Terms</a> and <a href="/home/privacy" target="blank">Privacy Policy</a>. We will not use this information for any third party marketing purposes. </a></em> 124 </div> 125 </div> 126 </div> 127 </div> 128 129 <div class="footer"> 130 <div class="container"> 131 <div class="col-xs-12 text-center"> 132 <a href="/home/privacy" target="blank">Privacy Policy</a> | 133 <a href="/home/terms" target="blank">Terms & Conditions</a> 134 </div> 135 </div> 136 </div> 137 138
138<script type="text/javascript"> 139 (function () { 140 var self = this; 141 self.key = ''; 142 143 self.validSubmit = function () { 144 145 var yourname = $("#name").val(); 146 var comments = $("#comments").val(); 147 var email = $("#email").val(); 148 149 var errorMessage = "<div class='alert alert-danger' role='alert'><strong>Please fix the follow issues: </strong><br /><ul>"; 150 var valid = true; 151 152 //$('#validationMessage').empty(); 153 154 if (yourname == undefined || yourname > -1) { 155 valid = false; 156 //$("#required-reason").show(); 157 //$("#name").addClass( "error-highlight" ); 158 errorMessage += "<li>You must input your name.</li>"; 159 } if (email == undefined || email > -1) { 160 valid = false; 161 //$("#required-reason").show(); 162 errorMessage += "<li>You must input an email.</li>"; 163 } else { 164 //$("#required-reason").hide(); 165 } 166 errorMessage += "</ul></div>" 167 168 if (!valid) 169 $('#validationMessage').html(errorMessage); 170 else 171 $('#validationMessage').html(''); 172 173 return valid; 174 } 175 176 $("#submitForm").on('click', function () { 177 if (self.validSubmit()) { 178 var yourname = $("#name").val(); 179 var comments = $("#comments").val(); 180 var email = $("#email").val(); 181 182 var postData = JSON.stringify({ Name: yourname, Message: comments, EncToken: self.key, Email: email}); 183 184 //$("#surveyContent").html("<div class='col-xs-12 text-center'><img src='/Content/img/spin.gif' /></div>"); 185 186 $.ajax({ type: "POST", url: "/ContactUs/Contact?vert=TV Now Pro", data: postData, contentType: "application/json" }).done(function (data) { 187 if (data.success == true || true) { 188 var thankYouText = "<div class='col-xs-12 text-center' style='margin-top: 50px;'>"; 189 thankYouText += "<h1>Thank you for your feedback!</h1></div>"; 190 $("#surveyContent").html(thankYouText); 191 } 192 }); 193 } 194 }); 195 })(); 196 </script>
196 197 198</body> 199</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.