Beispiel #1
0
		<?php 
SCPartial::render("shared/header");
?>
    <?php 
echo $flash_message;
?>
		<div id="pagecontainer">
			<h1><?php 
SCLayout::yield("title");
?>
</h1>

			<?php 
SCLayout::yield("util_links");
?>
      <?php 
SCLayout::yield("content");
?>
      <?php 
SCPartial::render("shared/notifier");
?>
		</div>
	<?php 
SCPartial::render("shared/js_includes");
?>
	<?php 
SCBlock::render("javascript");
?>
	</body>
</html>
Beispiel #2
0
echo $thread->boardid;
?>
_<?php 
echo $thread->messageid;
?>
" class="thread">
  <div id="messages">
    <?php 
SCPartial::render("thread/thread_messages", array("thread" => $thread));
?>
  </div>
  <div id="loadmore">
    <a href="<?php 
echo SCRoutes::set("threads", "show", array("boardid" => $thread->boardid, "threadid" => $thread->messageid));
?>
">
      <span id="loadmore_count">0</span>
      New Messages
    </a>
  </div>
</div>

<?php 
SCBlock::set("javascript", <<<JS
<script type="text/javascript">
\$(function() {
    new SC.TimeUpdater();
});
</script>
JS
);