示例#1
0
?>
					</div>

					<div class="avatar">
						<img src="<?php 
echo ThemeFunctions::getUserAvatar();
?>
" alt="Avatar" />
					</div>
				</div>
			</aside>
		</div>

		<div id="header_wrap">
			<header>
				<div class="logo">
					<img src="/images/quicktalk/wide_translucent_fordark.svg" alt="<?php 
echo Templates::getVar('pageTitle');
?>
" />
				</div>

				<nav>
					<?php 
echo ThemeFunctions::getNavigation();
?>
				</nav>
			</header>
		</div>

		<div id="content">
示例#2
0
<?php

Templates::display('header');
$forum = Templates::getVar('forum');
$topic = Templates::getVar('topic');
$posts = Templates::getVar('posts');
$pages = Templates::getVar('pages');
$i = 0;
?>
	
	<h1>
		<a href="<?php 
echo URLController::get($forum);
?>
">
			<?php 
echo $forum->getTitle();
?>
		</a> &rsaquo;

		<?php 
echo $topic->getTitle();
?>
	</h1>

	<div id="forum">
		<div id="topic">
			<?php 
foreach ($posts as $post) {
    $i++;
    ?>
示例#3
0
<?php

Templates::display('header');
$forum = Templates::getVar('forum');
$topics = Templates::getVar('topics');
?>
	
	<h1><?php 
echo $forum->getTitle();
?>
</h1>

	<div id="forum">
		<div class="topics">
	<?php 
if (count($topics) == 0) {
    ?>
		<div class="nothing">
			<h2><?php 
    echo ForumT::get('no_topics');
    ?>
</h2>
		</div>
	<?php 
}
foreach ($topics as $topic) {
    ?>

		<div class="topic">
			<div class="icon"><img src="<?php 
    echo Templates::getThemeURL();
示例#4
0
文件: user.php 项目: GIDIX/quicktalk
<?php

Templates::display('header');
$profileUser = Templates::getVar('profileUser');
?>

	<!-- End Content -->
	</div>

	<div id="profile">
		<div class="profile_header_wrap">
			<header>
				<div class="avatar">
					<img src="<?php 
echo $profileUser->getAvatar();
?>
" alt="Avatar" />
				</div>

				<div class="meta">
					<h1><?php 
echo $profileUser->getUsername();
?>
</h1>

					<?php 
if ($profileUser->isOnline()) {
    ?>

					<?php 
}
示例#5
0
<?php

Templates::display('header');
?>

	<h1>Forums</h1>

	<div id="forum">
	<?php 
foreach (Templates::getVar('categories') as $category) {
    ?>
		<div class="category">

			<h2><?php 
    echo $category->getTitle();
    ?>
</h2>

			<div class="forums">
				<?php 
    $forums = $category->getForums();
    foreach ($forums as $forum) {
        ?>

					<div class="forum">
						<div class="icon"><img src="<?php 
        echo Templates::getThemeURL();
        ?>
images/icons/topics/<?php 
        echo $forum->getIcon();
        ?>
示例#6
0
<?php

Templates::display('header');
echo Templates::getVar('customContent');
Templates::display('footer');