Example #1
0
 protected function echoImages(){
   if($this->article["image_2"]!=""){
     echo "<img src='";
     HtmlView::echoCacheUrl("Static/Images/Content/Thumbnails/".$this->article["image_2"]);
     echo "' id='image2' />";
   }
   if($this->article["image_3"]!=""){
     echo "<img src='";
     HtmlView::echoCacheUrl("Static/Images/Content/Thumbnails/".$this->article["image_3"]);
     echo "' id='image3' />";
   }
 }
Example #2
0
  function put() {
?>
<!DOCTYPE html>
<html lang="en-us">
  <head>
    <meta charset="utf-8" />
    <link rel='stylesheet' type='text/css' href='<?php HtmlView::echoCacheUrl("Static/Css/layout.php") ?>'/>
    <link rel='stylesheet' type='text/css' href='<?php HtmlView::echoCacheUrl("Static/Css/style.php") ?>'/>
    <link rel='stylesheet' type='text/css' href='<?php HtmlView::echoCacheUrl("Static/Fonts/stylesheet.css") ?>'/>
    <link rel="shortcut icon" href="Static/Images/Site/favicon_shadow.ico" />

    <?php $this->page->echoHead();?>
    <title><?php $this->page->echoTitle();?></title>
  </head>
  <body>
      <div id='header' style='background-image: url("<?php HtmlView::echoCacheUrl("Static/Images/Site/Banner-Repeat.png") ?>")'>
	<a href='?'><img src='<?php HtmlView::echoCacheUrl("Static/Images/Site/Logo.png") ?>"' /></a>
      </div>

      <div id='content' >
	<div id='centerbox' <?php $this->page->echoContentAttr();?> ><?php $this->page->echoContent();?></div>
      </div>
      <div id='aside'>
	<?php $this->page->echoAside();?>
	<ul id='pagenav'>
	  <li><a href='?home'>Home</a></li>
	  <li><a href='?credits'>Thanks to...</a></li>
	  <li><a href='?directions'>Getting Here</a></li>
	</ul>
      </div>


    </body>
</html>

<?php
  }
Example #3
0
 function echoHead() {
   echo "<link rel='stylesheet' type='text/css' href='";
   HtmlView::echoCacheUrl("Static/Css/credits_rules.php");
   echo "'/>";
 }