Пример #1
0
    if (isset($thread->lastpost)) {
        echo (string) $thread->lastpost->post->date;
    }
    ?>
                </small>
              </div>
            </div>
          </div>
        </div>
      </a>
     <?php 
}
?>

     <ul class="pager">
       <li class="previous"><a href="<?php 
echo 'index.php?page=' . prevPage($page);
?>
">&lt;&lt;</a></li>
       <li class="next"><a href="<?php 
echo 'index.php?page=' . nextPage($page);
?>
">&gt;&gt;</a></li>
     </ul>

   </div>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
  </body>
</html>
Пример #2
0
            </div>
          </div>
          <div class="col-xs-9">
            <?php 
    $parser->parse((string) $post->message->content);
    echo nl2br($parser->getAsHtml());
    ?>
          </div>
        </div>
     <?php 
}
?>

     <ul class="pager">
       <li class="previous"><a href="<?php 
echo 'thread.php?id=' . $threadId . '&page=' . prevPage($page);
?>
">&lt;&lt;</a></li>
       <li class="next"><a href="<?php 
echo 'thread.php?id=' . $threadId . '&page=' . nextPage($page);
?>
">&gt;&gt;</a></li>
     </ul>
   </div>

   <?php 
$after = microtime(true);
echo $after - $before . " sec/serialize\n";
?>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>