Exemplo n.º 1
0
    }
    $list = array('title' => empty($suri['value']) ? getCategoryLabelById($blogid, 0) : $suri['value'], 'items' => $listWithPaging[0], 'count' => $listWithPaging[1]['total']);
    $paging = $listWithPaging[1];
    print printMobileEntryListView($list['items'], 'blog_posts_' . $suri['page'], _text('글목록'), $paging, $list['count']);
    print printMobileListNavigation($paging, 'entry');
} else {
    if (!empty($suri['id'])) {
        list($entries, $paging) = getEntryWithPaging($blogid, $suri['id']);
    } else {
        if (!empty($suri['value'])) {
            $entryPrint = true;
            list($entries, $paging) = getEntryWithPagingBySlogan($blogid, $suri['value']);
            //	printMobileHTMLHeader();
        }
    }
    printMobileHTMLMenu('', 'list');
    $entry = $entries ? $entries[0] : null;
    ?>
	<div id="post_<?php 
    echo $entry['id'];
    ?>
" title="<?php 
    echo htmlspecialchars($entry['title']);
    ?>
" class="panel"<?php 
    echo !empty($entryPrint) ? 'selected="true"' : '';
    ?>
>
		<div class="entry_info">
			<h2><?php 
    echo htmlspecialchars($entry['title']);
Exemplo n.º 2
0
<?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();
Exemplo n.º 3
0
<?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');
list($entryId) = getCommentAttributes($blogid, $suri['id'], 'entry');
printMobileHTMLHeader();
printMobileHTMLMenu('', 'comment');
?>

<div id="comment_<?php 
echo $entryId . "_" . $suri['id'];
?>
" title="Delete <?php 
echo $suri['id'];
?>
" class="panel">
<?php 
if (doesHaveOwnership()) {
    ?>
	<h3 class="title"><?php 
    echo _text('삭제하시겠습니까?');
    ?>
</h3>
	<div class="content">
		<a data-role="button"  data-theme="b" href="<?php 
    echo $blogURL;
    ?>
Exemplo n.º 4
0
<?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('', 'trackback');
if (isset($_GET['page'])) {
    $page = $_GET['page'];
} else {
    $page = 1;
}
if (!empty($suri['id'])) {
    list($entries, $paging) = getEntryWithPaging($blogid, $suri['id']);
    $entry = $entries ? $entries[0] : null;
    ?>
<div id="trackback_<?php 
    echo $entry['id'] . "_" . time();
    ?>
" title="<?php 
    echo _text('트랙백');
    ?>
 : <?php 
    echo htmlspecialchars($entry['title']);
    ?>
" selected="false">
<?php 
    printMobileTrackbackView($entry['id']);
Exemplo n.º 5
0
<?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();
$linkView .= '<ul data-role="listview" class="posts" id="links" title="' . _text('링크') . '" selected="false">' . CRLF;
$linkView .= printMobileLinksView(getLinks($blogid));
$linkView .= '</ul>';
print $linkView;
printMobileHTMLFooter();
Exemplo n.º 6
0
function printMobileSimpleMessage($message, $redirectMessage, $redirectURL, $title = '')
{
    printMobileHTMLHeader();
    printMobileHTMLMenu();
    ?>
	<div id="postSuccess" title="Successfully" class="panel">
		<div class="content ui-bar">
			<?php 
    echo htmlspecialchars($message);
    ?>
		</div>
		<a data-role="button" data-transition="reverse slide" href="<?php 
    echo $redirectURL;
    ?>
"><?php 
    echo htmlspecialchars($redirectMessage);
    ?>
</a>
	</div>
<?php 
    printMobileHTMLFooter();
}