Exemple #1
0
			
			<p><i>
				This is my page about me. Now, you may have noticed that there is no color or graphics on this page. 
				The theme is inspired by the clean theme from <a href="http://mnmlist.com/">mnmlist.com</a> written by Leo Babauta.
				The purpose is that I want people to read what I'm writing, not looking at the pretty colors or the fancy pictures.  
			</i></p>
			
			<h2>News</h2>
		
			<?php 
foreach ($newsItems as $newsItem) {
    ?>
 
			<h3><?php 
    echo $newsItem->getTitle();
    ?>
 - <?php 
    echo DateFormat::toNewsDate($newsItem->getCreatedTimestamp());
    ?>
</h3>
			<p>
				<?php 
    echo $newsItem->getContent();
    ?>
			</p>
			<?php 
}
?>
		</div>
	</body>
</html>
        print "        " . $article->getPublish() . "\n";
        print "      </div>\n";
        print "      <div class=\"col-md-3 hidden-xs\">\n";
        if ($article->getEdited() !== false) {
            print "        <small>Edited by: " . $article->getEdited() . "</small>\n";
        }
        print "      </div>\n";
        print "      <div class=\"col-md-3 hidden-xs\">\n";
        print "        " . $article->getEdit() . "\n";
        print "      </div>\n";
        print "    </div>\n";
    }
    print "    <div class=\"row\">\n";
    print "      <div class=\"col-md-12\">\n";
    print "        <h3>" . $article->getTitle() . "</h3>\n";
    print "        " . $article->getContent() . "\n";
    print "      </div>\n";
    print "    </div>\n";
} else {
    print '      <h2>No article selected to preview!</h2>' . PHP_EOL;
}
print "  </div>\n";
print "</div>\n";
?>
<div class="row pane">
  <div class="col-xs-12">
    <form class="form-horizontal" action="<?php 
print $_SERVER['REQUEST_URI'];
?>
" method="get">
      <div class="form-group">