<?php printIphoneTrackbackView($entry['id']); ?> <fieldset class="navi margin-top10"> <?php printIphoneNavigation($entry, true, false); ?> </fieldset> </div> <?php } else { ?> <div id="trackback_<?php echo "_" . time(); ?> " title="<?php echo _text('최근 트랙백'); ?> " selected="false"> <?php printIphoneRecentTrackbackView($page); ?> <fieldset class="navi margin-top10"> <?php printIphoneNavigation($entry, false, false, $paging, 'trackback'); ?> </fieldset> </div> <?php }
<?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_IPHONE__', true); require ROOT . '/library/preprocessor.php'; requireView('iphoneView'); if (isset($suri['id'])) { $page = $suri['id']; } else { $page = 1; } ?> <div id="guestbook_<?php echo time(); ?> " title="<?php echo _text('방명록'); ?> " selected="false"> <?php printIphoneGuestbookView($page); ?> <fieldset class="navi margin-top10"> <?php printIphoneNavigation(0, false, false, $paging, 'guestbook'); ?> </fieldset> </div>
<?php printIphoneCommentView($entry['id']); ?> <fieldset class="navi margin-top10"> <?php printIphoneNavigation($entry, false, true); ?> </fieldset> </div> <?php } else { // All comments ?> <div id="comment_<?php echo time(); ?> " title="<?php echo _text('최근 댓글'); ?> " selected="false"> <?php printIphoneRecentCommentView($page); ?> <fieldset class="navi margin-top10"> <?php printIphoneNavigation($entry, false, false, $paging, 'comment'); ?> </fieldset> </div> <?php }
<div class="entry_tags"> <?php $tags = array(); $relTag = Setting::getBlogSettingGlobal('useMicroformat', 3) > 1 && (count($entries) == 1 || !empty($skin->hentryExisted)); foreach ($entryTags as $entryTag) { $tags[$entryTag['name']] = "<a href=\"{$blogURL}/tag/" . $entryTag['id'] . '">' . htmlspecialchars($entryTag['name']) . '</a>'; } echo implode(",\r\n", array_values($tags)); ?> </div> <?php } ?> <fieldset class="margin-top10"> <?php if (doesHaveOwnership() || $entry['visibility'] >= 2 || isset($_COOKIE['GUEST_PASSWORD']) && trim($_COOKIE['GUEST_PASSWORD']) == trim($entry['password'])) { printIphoneNavigation($entry, true, true, $paging); } else { printIphoneNavigation($entry, false, false, $paging); } ?> </fieldset> </div> <?php if (!empty($entryPrint)) { ?> </div> <?php printIphoneHtmlFooter(); } }
if (deleteComment($blogid, $_GET['replyId'], $entryId, isset($_GET['password']) ? $_GET['password'] : '') === false) { printIphoneErrorPage(_text('Comment delete error.'), _text('Incorrect Password.'), "{$blogURL}/comment/delete/{$_GET['replyId']}"); exit; } } else { list($entryId) = getCommentAttributes($blogid, $suri['id'], 'entry'); if (deleteComment($blogid, $suri['id'], $entryId, '') === false) { printIphoneErrorPage(_t('Comment delete error'), _t('Administrator access only.'), "{$blogURL}/comment/delete/{$suri['id']}"); exit; } } list($entries, $paging) = getEntryWithPaging($blogid, $entryId); $entry = $entries ? $entries[0] : null; ?> <div id="commentDeleted" title="Deleted" class="panel"> <div class="content"> <?php echo _t('Comment deleted.'); ?> </div> <a href="<?php echo "{$blogURL}/comment/{$entryId}"; ?> " class="whiteButton margin-top10">Go to comments page</a> <fieldset class="margin-top10"> <?php printIphoneNavigation($entry); ?> </fieldset> </div>