예제 #1
0
파일: index.php 프로젝트: ragi79/Textcube
	<!--
	<h2><?php 
echo _text('글 보관함');
?>
</h2>
	<ul>
	<?php 
foreach (getArchives($blogid) as $archive) {
    ?>
	<li><a href="<?php 
    echo $context->getProperty('uri.blog');
    ?>
/archive/<?php 
    echo $archive['period'];
    ?>
"><?php 
    echo getPeriodLabel($archive['period']);
    ?>
</a> (<?php 
    echo $archive['count'];
    ?>
)</li>
	<?php 
}
?>
	</ul>
	-->
</div>
<?php 
printMobileNavigation($entry);
printMobileHtmlFooter();
예제 #2
0
파일: index.php 프로젝트: ragi79/Textcube
</div>
<?php 
    $entryTags = getTags($entry['blogid'], $entry['id']);
    if (sizeof($entryTags) > 0) {
        ?>
		<div class="entry_tags" data-role="content" data-theme="c">
		<h3 class="tags_title">Tags</h3>
<?php 
        $tags = array();
        $relTag = Setting::getBlogSettingGlobal('useMicroformat', 3) > 1 && (count($entries) == 1 || !empty($skin->hentryExisted));
        foreach ($entryTags as $entryTag) {
            $tags[$entryTag['name']] = '<a href="' . $context->getProperty('uri.blog') . '/tag/' . $entryTag['id'] . '">' . htmlspecialchars($entryTag['name']) . '</a>';
        }
        echo implode(",\r\n", array_values($tags));
        ?>
		</div>
	</div>
<?php 
    }
    if (doesHaveOwnership() || $entry['visibility'] >= 2 || isset($_COOKIE['GUEST_PASSWORD']) && trim($_COOKIE['GUEST_PASSWORD']) == trim($entry['password'])) {
        printMobileNavigation($entry, true, true, $paging);
    } else {
        printMobileNavigation($entry, false, false, $paging);
    }
    if (!empty($entryPrint)) {
        ?>
		</div>
<?php 
    }
}
printMobileHTMLFooter();
예제 #3
0
파일: index.php 프로젝트: ragi79/Textcube
<?php

/// Copyright (c) 2004-2012, Needlworks  / Tatter Network Foundation
/// All rights reserved. Licensed under the GPL.
/// See the GNU General Public License for more details. (/documents/LICENSE, /documents/COPYRIGHT)
define('__TEXTCUBE_IPHONE__', true);
require ROOT . '/library/preprocessor.php';
requireView('iphoneView');
printMobileHTMLHeader();
printMobileHTMLMenu('', 'guestbook');
if (isset($_GET['page'])) {
    $page = $_GET['page'];
} else {
    $page = 1;
}
?>
<div id="guestbook_<?php 
echo time();
?>
" title="<?php 
echo _text('방명록');
?>
" selected="false">
<?php 
list($comments, $paging) = printMobileGuestbookView($page);
printMobileNavigation(0, false, false, $paging, 'guestbook');
?>
</div>
<?php 
printMobileHTMLFooter();
예제 #4
0
파일: index.php 프로젝트: ragi79/Textcube
    echo _text('댓글');
    ?>
 : <?php 
    echo htmlspecialchars($entry['title']);
    ?>
" selected="false">
<?php 
    printMobileCommentView($entry['id']);
    printMobileNavigation($entry, false, true);
    ?>
	</fieldset>
</div>
<?php 
} else {
    // All comments
    ?>
<div id="comment_<?php 
    echo time();
    ?>
" title="<?php 
    echo _text('최근 댓글');
    ?>
" selected="false">
<?php 
    list($comments, $paging) = printMobileRecentCommentView($page);
    printMobileNavigation($entry, false, false, $paging, 'comment');
    ?>
</div>
<?php 
}
printMobileHTMLFooter();
예제 #5
0
파일: index.php 프로젝트: ragi79/Textcube
" title="<?php 
    echo _text('트랙백');
    ?>
 : <?php 
    echo htmlspecialchars($entry['title']);
    ?>
" selected="false">
<?php 
    printMobileTrackbackView($entry['id']);
    printMobileNavigation($entry, true, false);
    ?>
</div>
<?php 
} else {
    ?>
	
<div id="trackback_<?php 
    echo "_" . time();
    ?>
" title="<?php 
    echo _text('최근 트랙백');
    ?>
" selected="false">
<?php 
    printMobileRecentTrackbackView($page);
    printMobileNavigation($entry, false, false, $paging, 'trackback');
    ?>
</div>
<?php 
    printMobileHTMLFooter();
}
예제 #6
0
파일: index.php 프로젝트: hinablue/TextCube
<?php

/// Copyright (c) 2004-2011, Needlworks  / Tatter Network Foundation
/// All rights reserved. Licensed under the GPL.
/// See the GNU General Public License for more details. (/documents/LICENSE, /documents/COPYRIGHT)
define('__TEXTCUBE_MOBILE__', true);
require ROOT . '/library/preprocessor.php';
requireView('mobileView');
list($entries, $paging) = getEntryWithPaging($blogid, $suri['id']);
$entry = $entries ? $entries[0] : null;
printMobileHtmlHeader();
?>
<div id="content">
<?php 
printMobileTrackbackView($entry['id']);
?>
</div>
<?php 
printMobileNavigation($entry, true, false);
printMobileHtmlFooter();