1 2 3<!DOCTYPE html><!-- Michael Hogan --> 4 5 6<!--[if lt IE 7 ]> <html lang="es" class="no-js ie6"> <![endif]--> 7<!--[if IE 7 ]> <html lang="es" class="no-js ie7"> <![endif]--> 8<!--[if IE 8 ]> <html lang="es" class="no-js ie8"> <![endif]--> 9<!--[if IE 9 ]> <html lang="es" class="no-js ie9"> <![endif]--> 10<!--[if (gt IE 9)|!(IE)]><!--> <html lang="es" class="no-js"> <!--<![endif]--> 11 12<!--[if lte IE 6]> 13 <link rel="stylesheet" type="text/css" media="screen, projection" href="http://universal-ie6-css.googlecode.com/files/ie6.0.3.css" /> 14<![endif]--> 15 16<!--[if lt IE 8]>
17<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js"></script>
17 18<![endif]--> 19 20<head> 21<meta charset="UTF-8"> 22 23<title>Dr. Hogan</title> 24 25<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> 26<meta http-equiv="imagetoolbar" content="no" /> 27 28<meta name="author" content="Michael Hogan" /> 29<meta name="copyright" content="© 2011" /> 30<meta name="description" content="" /> 31<meta name="robots" content="index,follow" /> 32<meta name="robots" content="noodp" /> 33 34<link rel="canonical" href="http://www.drmichaelhogan.comcontact.php" /> 35<link rel="author" href="humans.txt" /> 36<link rel="shortcut icon" href="assets/favicon.ico" /> 37 38 39 40<link rel="stylesheet" media="screen" href="css/base.css?v=2" /> <!--CSS--> 41
42<script src="js/libs/modernizr.js"></script>
42 <!-- Modernizr --> 43 44</head> 45<body> 46 47<!-- 48<div class="navleft"></div> 49<div class="navright"></div> 50--> 51 52<!--[if IE 6]> 53<style> 54.fullhead, nav, #backus, #wrap, header 55{display: none;} 56</style> 57<![endif]--> 58 59 60 61<div class="fullhead2"> 62 63 <div id="wrap"> 64 <div class="headlogo"> 65 </div> 66 <nav id="type2"> 67 <ul> 68 <li><a href="index.php" >Home</a><div class="pipe"></div></li> 69 <li><a href="works.php" >Works</a><div class="pipe"></div></li> 70 <li><a href="poems/poem_of_the_day.php" >Poem of the Day</a><div class="pipe"></div></li> 71 <li class="toggle"><a href="#" >Press</a> 72 73 <ul class="submenu"> 74 <li><a href="press/interviews.php">Interviews</a></li> 75 <li><a href="press/social_media.php">Social Media</a></li> 76 <li><a href="press/favorites.php">Favorites</a></li> 77 <li><a href="press/online_reviews.php">Online reviews</a></li> 78 <li><a href="press.php">Paper reviews</a></li> 79 </ul> 80 <div class="clear"></div> 81 <div class="pipe"></div></li> 82 <li><a href="bio.php">Biography</a><div class="pipe"></div></li> 83 <li><a href="gallery.php">Gallery</a><div class="pipe"></div></li> 84 <li><a href="readings.php" >Readings</a><div class="pipe"></div></li> 85 <li><a href="workshops.php" >Workshops</a><div class="pipe"></div></li> 86 <li><a href="contact.php" >Contact</a></li> 87 </ul> 88 89 90 91 </nav> 92</div> 93 94</div> 95 96 97 98 99 100 101 102 103 <div id="wrap"> 104 105 106 107 108 109 <!-- Cabezal - Inicio--> 110 <header id="top"> 111 112 </header> 113 114 <!-- Cabezal - Fin--> 115 116 <!-- Contenido - Inicio --> 117 <section class="content"> 118 <!--Slider - Inicio--> 119 <div class="hoganform"> 120<h3>CONTACT</h3> 121<h4>Michael Hogan</h4> 122 </div> 123 <div class="linealpha"></div> 124<section class="forthbook" style="height: 450px;"> 125 126<div class="col1" style="height: 400px;"> 127 128<div class="brk1"></div> 129<h4 style="margin-top: 35px;">Facebook</h4>
130<script>(function(d){ 131 var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;} 132 js = d.createElement('script'); js.id = id; js.async = true; 133 js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; 134 d.getElementsByTagName('head')[0].appendChild(js); 135}(document));</script>
135 136<div class="fb-activity" data-site="www.drmichaelhogan.com" data-width="315" data-height="245" data-header="false" data-recommendations="false"></div> 137</div> 138 139 140<div id="formarea"> 141 142 143 144<p><b>Michael Hogan</b> is listed with the Academy of America Poets, Poets and Writers, and the 145Associated Writing Programs. He is available for readings from his work in poetry, fiction, or non-fiction; he also offers classes in creative writing for students at any level from middle school through graduate level, as well as workshops for educators on teaching writing.</p> 146 147 148<? 149 // Attention! Please read the following. 150 // It is important you do not edit pieces of code that aren't tagged as a configurable options identified by the following: 151 152 // Configuration option. 153 154 // Each option that is easily editable has a modified example given. 155 156 157 $error = ''; 158 $name = ''; 159 $email = ''; 160 $state = ''; 161 $country = ''; 162 //$phone = ''; Remove the // tags and this text to active phone number. 163 $subject = ''; 164 $comments = ''; 165 $verify = ''; 166 167 if(isset($_POST['contactus'])) { 168 169 $name = $_POST['name']; 170 $email = $_POST['email']; 171 $state = $_POST['state']; 172 $country = $_POST['country']; 173 //$phone = $_POST['phone']; Remove the // tags and this text to active phone number. 174 $comments = $_POST['comments']; 175 176 177 // Configuration option. 178 // You may change the error messages below. 179 // e.g. $error = 'Attention! This is a customised error message!'; 180 181 if(trim($name) == '') { 182 $error = '<div class="error_message">Attention! You must enter your name.</div>'; 183 } else if(trim($email) == '') { 184 $error = '<div class="error_message">Attention! Please enter a valid email address.</div>'; 185 } else if(!isEmail($email)) { 186 $error = '<div class="error_message">Attention! You have enter an invalid e-mail address, try again.</div>'; 187 } else if(trim($state) == '') { 188 $error = '<div class="error_message">Attention! Please enter your state.</div>'; 189 } else if(trim($country) == '') { 190 $error = '<div class="error_message">Attention! Please enter your country.</div>'; 191 } else if(trim($comments) == '') { 192 $error = '<div class="error_message">Attention! Please enter your message.</div>'; 193 } 194 if($error == '') { 195 196 if(get_magic_quotes_gpc()) { 197 $comments = stripslashes($comments); 198 } 199 200 201 // Configuration option. 202 // Enter the email address that you want to emails to be sent to. 203 // Example $address = "[email protected]"; 204 205 //$address = "[email protected]"; 206 $address = "[email protected]"; 207 208 209 210 // Configuration option. 211 // i.e. The standard subject will appear as, "You've been contacted by John Doe." 212 213 // Example, $e_subject = '$name . ' has contacted you via Your Website.'; 214 215 $e_subject = 'You\'ve been contacted by ' . $name . ' from your website'; 216 217 218 // Configuration option. 219 // You can change this if you feel that you need to. 220 // Developers, you may wish to add more fields to the form, in which case you must be sure to add them here. 221 222 $e_body = "You have been contacted by $name from $state , $country with regards to their additional message is as follows.\r\n\n"; 223 $e_content = "\"$comments\"\r\n\n"; 224 225 // Configuration option. 226 // RIf you active phone number, swap the tags of $e-reply below to include phone number. 227 //$e_reply = "You can contact $name via email, $email or via phone $phone"; 228 $e_reply = "You can contact $name via email, $email"; 229 230 $msg = $e_body . $e_content . $e_reply; 231 232 $enviado = mail($address, $e_subject, $msg, "From: $email\r\nReply-To: $email\r\nReturn-Path: $email\r\n"); 233 234 235 // Email has sent successfully, echo a success page. 236 237 echo "<div id='succsess_page'>"; 238 echo '<br/>'; 239 echo "<h1>Email Sent Successfully.</h1>"; 240 echo "<p>Thank you <strong>$name</strong>, your message has been submitted to us.</p>"; 241 echo "</div>"; 242 243 } 244 } 245 246 if($enviado) // Do not edit. 247 { 248 $name = ''; 249 $state = ''; 250 $country = ''; 251 $email = ''; 252 $comments = ''; 253 } 254?> 255 256 257 258 <? echo $error; ?> 259 260 <br /> 261 <fieldset> 262 263 264 265 <form method="post" action=""> 266 267 268 <input name="name" placeholder="name" type="text" id="name" size="30" value="" /> 269 270 <br /> 271 272 <input name="state" placeholder="State" type="text" id="state" size="30" value="" /> 273 274 <br /> 275 276 <input name="country" placeholder="Country" type="text" id="country" size="30" value="" /> 277 278 <br /> 279 280 <input name="email" placeholder="Email" type="text" id="email" size="30" value="" /> 281 282 <br /> 283 284 285 <textarea name="comments" placeholder="Comments" cols="40" rows="3" id="comments"></textarea> 286 287 <hr /> 288 289 290 <input name="contactus" type="submit" class="submit" id="contactus" value="" /> 291 292 </form> 293 294 </fieldset> 295 296<? 297 298function isEmail($email) { 299return(preg_match("/^[-_.[:alnum:]]+@((([[:alnum:]]|[[:alnum:]][[:alnum:]-]*[[:alnum:]])\.)+(ad|ae|aero|af|ag|ai|al|am|an|ao|aq|ar|arpa|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bi|biz|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|com|coop|cr|cs|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|in|info|int|io|iq|ir|is|it|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|mg|mh|mil|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|name|nc|ne|net|nf|ng|ni|nl|no|np|nr|nt|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|pro|ps|pt|pw|py|qa|re|ro|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)$|(([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5])\.){3}([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5]))$/i",$email)); 300} 301 302?> 303 304<div id="addinfo"> 305<div class="workline"></div> 306<div id="cont1"> 307<p><b>U.S. mailing address:</b></p> 308<p>Michael Hogan</p> 309<p>5802 Bob Bullock C-1</p> 310<p>PMB 014-452 Laredo, TX 78041</p> 311</div> 312<div class="contpipe"></div> 313<div id="cont1"> 314<p><b>Physical address:</b></p> 315<p>Camayagua 1260 </p> 316<p>Colonia Providencia</p> 317<p>Guadalajara, Jalisco, Mexico</p> 318</div> 319<div class="contpipe"></div> 320<div id="cont2"> 321<p><b>Phones & email:</b></p> 322<p>Tel: 52 33 3167 1152 </p> 323<p><span>[email protected]</span></p> 324<p><span>[email protected]</span></p> 325</div> 326 327<div class="workline2"></div> 328</div> 329 330 331</div> 332 333 334 335 336</div> 337 338 339 340 <div class="brk1"></div> 341 342</section> 343 344<!-- Contenido - Fin --> 345 </div><!--end #wrapper--> 346 347 348 <footer id="bottom"> 349 <div id="wrap"> 350 <div id="info"> 351 <div class="footlogo"> 352 </div> 353 <div style="position: relative; top: 55px; left: 55px;"> 354 <p class="follow">Follow me at </p><a href="http://www.facebook.com/drmichaelhogan" target="._blank" class="facebook"></a><a class="twitter"></a> 355 <div class="brk1"></div> 356 <p class="copy">© Copyright 2011 Michael Hogan</p> 357 <p class="copy">All rights reserved.</p> 358 </div> 359 </div> 360 <div class="sitemap"> 361 <div id="sitelink"> 362 <li class="normal"><a href="index.php" >HOME</a></li> 363 </div> 364 <div class="footpipe"></div> 365 <div id="sitelink"> 366 <li class="normal"><a href="works.php" >WORKS</a></li> 367 <li><a href="books/poetry.php" class="small">Poetry</a></li> 368 <li><a href="books/fiction.php" class="small">Fiction</a></li> 369 <li><a href="books/non-fiction.php" class="small">Non fiction</a></li> 370 <li><a href="books/selected-anthologies.php" class="small">Selected Anthologies</a></li> 371 <li><a href="books/the_deaf_cat_and_the_rain.php" class="small">Published Articles</a></li> 372 <!-- <li><a href="#" class="small">Forthcoming Books</a></li> --> 373 </div> 374 <div class="footpipe"></div> 375 <div id="sitelink"> 376 <li class="normal"><a href="poems/poem_of_the_day.php">POEM OF THE DAY</a></li> 377 378 379 </div> 380 <div class="footpipe"></div> 381 <div id="sitelink"> 382 <li class="normal"><a href="press.php" >PRESS</a></li> 383 <li><a href="press/interviews.php" class="small">Interviews</a></li> 384 <li><a href="press/social_media.php" class="small">Social media</a></li> 385 <li><a href="press/favorites.php" class="small">Favorites</a></li> 386 <li><a href="press/online_reviews.php" class="small">Online reviews</a></li> 387 <li><a href="press.php" class="small">Paper reviews</a></li> 388 389 </div> 390 <div class="footpipe"></div> 391 <div id="sitelink"> 392 393 <li class="normal"><a href="bio.php" >BIOGRAPHY</a></li> 394 395 396 </div> 397 <div class="footpipe"></div> 398 <div id="sitelink"> 399 400 <li class="normal">
400<a href="gallery.php" >GALLERY</a></li> 401 402 403 404 </div> 405 <div class="footpipe"></div> 406 <div id="sitelink"> 407 408 <li class="normal"><a href="readings.php" >READINGS</a></li> 409 <li class="sub"><a href="workshops.php" >WORKSHOPS</a></li> 410 411 412 </div> 413 </div> 414 415 </div> 416 417 418 419 </footer><!--end #bottom--> 420 421 422 423 424 425 426 427 428 429
430<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
430<!--Load jQuery-->
431<script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.5.2.min.js"%3E%3C/script%3E'))</script>
vendor: 1 bytes, line 431
431
432<script src="js/script.js"></script>
vendor: 1 bytes, line 432
432
433<script src="js/scroll.js"></script>
vendor: 1 bytes, line 433
433
434<script src="js/collapser.js"></script>
434 435 436 437 <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6. 438 chromium.org/developers/how-tos/chrome-frame-getting-started --> 439 <!--[if lt IE 7 ]> 440
440<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
440 441
441<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
441 442 <![endif]--> 443 444 445<!--[if lt IE 7 ]>
446<script src="js/libs/dd_belatedpng.js"></script>
vendor: 1 bytes, line 446
446
447<script> DD_belatedPNG.fix('img, .png_bg');</script>
447 448<![endif]--> 449 450<!--[if IE 6]> 451
451<script type="text/javascript"> 452 /*Load jQuery if not already loaded*/ if(typeof jQuery == 'undefined'){ document.write("
452<script type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js\"></"+"script>"); var __noconflict = true; } 453 var IE6UPDATE_OPTIONS = { 454 icons_path: "js/ie6update/images/" 455 } 456 </script>
456 457
457<script type="text/javascript" src="js/ie6update/ie6update.js"></script>
457 458<![endif]--> 459 460<!--Google Analytics-->
461<script type="text/javascript"> 462 463 var _gaq = _gaq || []; 464 _gaq.push(['_setAccount', 'UA-26949211-1']); 465 _gaq.push(['_trackPageview']); 466 467 (function() { 468 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 469 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; 470 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 471 })(); 472 473</script>
473 474<!--Google Analytics--> 475 476</body> 477</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.