Example #1
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_MOBILE__', true);
require ROOT . '/library/preprocessor.php';
requireView('mobileView');
list($entries, $paging) = getEntryWithPaging($blogid, $suri['id']);
$entry = $entries ? $entries[0] : null;
printMobileHtmlHeader(htmlspecialchars($context->getProperty('blog.title')));
?>
<div id="pannels">
	<!--
	<h2><?php 
echo _t('카테고리');
?>
</h2>
	<?php 
echo getCategoriesView(getEntriesTotalCount($blogid), getCategories($blogid), true, true);
?>
	-->
	<h2><?php 
echo _text('최근에 달린 댓글');
?>
</h2>
	<?php 
$comments = getRecentComments($blogid);
if (count($comments) > 0) {
    echo '<ul>';
}
Example #2
0
function printMobileSimpleMessage($message, $redirectMessage, $redirectURL, $title = '')
{
    printMobileHtmlHeader($title);
    ?>
<h2><?php 
    echo htmlspecialchars($message);
    ?>
</h2>
<a href="<?php 
    echo $redirectURL;
    ?>
"><?php 
    echo htmlspecialchars($redirectMessage);
    ?>
</a>
<?php 
    printMobileHtmlFooter();
}
Example #3
0
<?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();
Example #4
0
<?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(htmlspecialchars($blog['title']));
?>
<div id="pannels">
	<!--
	<h2><?php 
echo _t('카테고리');
?>
</h2>
	<?php 
echo getCategoriesView(getEntriesTotalCount($blogid), getCategories($blogid), true, true);
?>
	-->
	<h2><?php 
echo _text('최근에 달린 댓글');
?>
</h2>
	<?php 
$comments = getRecentComments($blogid);
if (count($comments) > 0) {
    echo '<ul>';
}