All pastes #356642 Raw Edit

Stuff

public php v1 · immutable
·published 2007-02-15 05:19 UTC
rendered paste body
<?php global $user; if ($user->uid == 0 && arg(0) == 'frontpage' || arg(0) == 'tags') { drupal_goto('home'); } ?><?php  global $user;  if($user->uid == 0 && arg(0) == 'splash1' || arg(0) == 'splash2' || arg(0) == 'splash3') { ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>"><head><title><?php print $head_title ?></title><script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script></head><?php global $user; if ($user->uid == 0 && arg(0) == 'frontpage' || arg(0) == 'tags') { drupal_goto('home'); } ?> HERE I WOULD CREATE AN ENTIRELY NEW WEBSITE LAYOUT && ATTAC A SPECIFIC CSS FILE</body></html><?php } else { ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>"><head><title><?php print $head_title ?></title><?php print $head ?><?php print $styles ?><script type="text/javascript" src="themes/ozmosis/js/boxover.js"></script><?php if(arg(0) == "users") : ?><script type="text/javascript" src="/misc/collapse.js"></script><?php endif; ?><script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script></head><!-- Body --><body class="<?php print arg(0); ?>" ><!-- Container --><div id="container">  <!-- Header -->  <div id="header">    <?phpglobal $user;if ($user->uid) : ?>    <!-- submit button -->    <a href="http://www.ozmosis.com/instructions">    <div class="button"></div>    </a>    <?php endif; ?>    <?php print $header; ?> </div>  <!-- Content -->  <div id="content">    <?php if($messages) : ?>    <!-- Messages -->    <?php print $messages ?>    <?php endif; ?>    <?php if($help) : ?>    <!-- Help text -->    <?php print $help ?>    <?php endif; ?>    <?php if($title) : ?>    <!-- Title -->    <div class="top-title"><?php print $title ?></div>    <?php endif; ?>    <?php if($tabs) : ?>    <!-- Tabs -->    <div class="tab"> <?php print $tabs ?> </div>    <?php endif; ?>    <?php print $content; ?> </div>  <!-- Right Column -->  <div id="rightcol"> <?php print $rightcol; ?></div></div><!-- Footer --><div id="footer"> <?php print $footer; ?><?php print $footer_message ?></div><?php echo $closure ?><!-- End Body --></body></html><?php } ?>