Exemple #1
0
function message()
{
    if (isNakedDay()) {
        ?>
<div id="site_notice">
  <h3>What happened to the design?</h3>
  <p>To know more about why styles are disabled on this website visit the <a href="http://naked.dustindiaz.com" title="Web Standards Naked Day Host Website">Annual <abbr title="Cascading Style Sheets">CSS</abbr> Naked Day</a> website for more information.</p>
</div>
<?php 
    }
}
Exemple #2
0
<?php

# get common
require "{$_SERVER['DOCUMENT_ROOT']}/scripts/common.php";
?>
<!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="en" lang="en">
<head>
  <title>Redesigning &#172; Easy Designs, LLC</title>
<?php 
docHead();
if (!isNakedDay()) {
    ?>
  <style type="text/css" media="screen">
    #content {
      background: #fff url(/images/underConstruction.jpg) bottom left no-repeat; 
      padding-left: 400px;
      padding-bottom: 200px;
      width: 800px;
      position: absolute;
      bottom: 0;
      left: 0;
    }
    h1 {
       text-indent: -999em;
    }
    div#content p {
      margin: 1em 0 0;
      width: 300px;
    }
    div#footer {