Exemple #1
0
    ?>
	<ul class="posts" id="category_<?php 
    echo $suri['page'];
    ?>
" title="<?php 
    echo $category == 0 ? _text('모든 카테고리') : ucwords(getCategoryNameById($blogid, $category));
    ?>
" selected="false">
	<?php 
    $itemsView = '<li class="group">' . CRLF;
    $itemsView .= '	<span class="left">' . ($category == 0 ? _text('모든 카테고리') : ucwords(getCategoryNameById($blogid, $category))) . ' (' . $list['count'] . ')</span>' . CRLF;
    $itemsView .= '	<span class="right">Page <span class="now_page">' . $paging['page'] . '</span> / ' . $paging['pages'] . '</span>' . CRLF;
    $itemsView .= '</li>' . CRLF;
    foreach ($list['items'] as $item) {
        $author = User::getName($item['userid']);
        if ($imageName = printIphoneAttachmentExtract(printIphoneEntryContent($blogid, $item['userid'], $item['id']))) {
            $imageSrc = printIphoneImageResizer($blogid, $imageName, 28);
        } else {
            $imageSrc = $service['path'] . '/resources/style/iphone/image/noPostThumb.png';
        }
        $itemsView .= '<li class="post_item">' . CRLF;
        $itemsView .= '	<span class="image"><img src="' . $imageSrc . '" width="28" height="28" /></span>' . CRLF;
        $itemsView .= '	<a href="' . $blogURL . '/entry/' . $item['id'] . '" class="link">' . CRLF;
        $itemsView .= '		<div class="post">' . CRLF;
        $itemsView .= '			<span class="title">' . fireEvent('ViewListTitle', htmlspecialchars($item['title'])) . '</span>' . CRLF;
        $itemsView .= '			<span class="description">' . Timestamp::format5($item['published']) . ', ' . 'Comments(' . ($item['comments'] > 0 ? $item['comments'] : 0) . ')' . '</span>' . CRLF;
        $itemsView .= '		</div>' . CRLF;
        $itemsView .= '	</a>' . CRLF;
        $itemsView .= '</li>' . CRLF;
    }
    $itemsView .= '<li class="pagination">' . CRLF;
Exemple #2
0
    ?>
	<ul class="posts" id="blog_posts_<?php 
    echo $suri['page'];
    ?>
" title="<?php 
    echo _text('글목록');
    ?>
" selected="false">
<?php 
    $itemsView = '<li class="group">' . CRLF;
    $itemsView .= '	<span class="left">' . _text('글목록') . '(' . $list['count'] . ')</span>' . CRLF;
    $itemsView .= '	<span class="right">Page <span class="now_page">' . $paging['page'] . '</span> / ' . $paging['pages'] . '</span>' . CRLF;
    $itemsView .= '</li>' . CRLF;
    foreach ($list['items'] as $item) {
        $author = User::getName($item['userid']);
        if ($imageName = printIphoneAttachmentExtract($item['content'])) {
            $imageSrc = printIphoneImageResizer($blogid, $imageName, 28);
        } else {
            $imageSrc = $service['path'] . '/resources/style/iphone/image/noPostThumb.png';
        }
        $itemsView .= '<li class="post_item">' . CRLF;
        $itemsView .= '	<span class="image"><img src="' . $imageSrc . '" width="28" height="28" /></span>' . CRLF;
        $itemsView .= '	<a href="' . $blogURL . '/entry/' . $item['id'] . '" class="link">' . CRLF;
        $itemsView .= '		<div class="post">' . CRLF;
        $itemsView .= '			<span class="title">' . fireEvent('ViewListTitle', htmlspecialchars($item['title'])) . '</span>' . CRLF;
        $itemsView .= '			<span class="description">' . Timestamp::format5($item['published']) . ', ' . 'Comments(' . ($item['comments'] > 0 ? $item['comments'] : 0) . ')' . '</span>' . CRLF;
        $itemsView .= '		</div>' . CRLF;
        $itemsView .= '	</a>' . CRLF;
        $itemsView .= '</li>' . CRLF;
    }
    $itemsView .= '<li class="pagination">' . CRLF;