本文整理汇总了PHP中table::tds方法的典型用法代码示例。如果您正苦于以下问题:PHP table::tds方法的具体用法?PHP table::tds怎么用?PHP table::tds使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类table
的用法示例。
在下文中一共展示了table::tds方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Copyright
<?php
/**************************************************
Coppermine 1.5.x Plugin - forum
*************************************************
Copyright (c) 2010 foulu (Le Hoai Phuong), eenemeenemuu
*************************************************
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
********************************************
$HeadURL$
$Revision$
$LastChangedBy$
$Date$
**************************************************/
pageheader($fr_title ? $fr_title : Config::item('fr_title'));
print html::spacer();
print table::open(0);
print table::tds(array(array('text' => $fr_title ? $fr_title : Config::item('fr_title')), array('align' => 'right', 'text' => ($authorizer->is_user() ? html::button('forum.php?c=profile', Lang::item('home.fr_profile')) : '') . NBSP . html::button('forum.php?c=search', Lang::item('home.search')))));
print table::close();
print html::spacer();
print table::open();
print form::hidden('c', 'search');
print table::tds(array(array('class' => 'tableb', 'text' => html::span(forum::nagavitor($nagavitor)))));
print table::close();
print html::spacer();
print $fr_contents;
pagefooter();
示例2: Copyright
/**************************************************
Coppermine 1.5.x Plugin - forum
*************************************************
Copyright (c) 2010 foulu (Le Hoai Phuong), eenemeenemuu
*************************************************
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
********************************************
$HeadURL$
$Revision$
$LastChangedBy$
$Date$
**************************************************/
// menu
echo table::open();
echo table::tds(array(array('class' => 'tableb', 'text' => html::button('forum.php?c=admin', Lang::item('admin.home')) . NBSP . html::button('forum.php?c=admin&m=newcat', Lang::item('admin.new_category')) . NBSP . html::button('forum.php?c=admin&m=setting', Lang::item('admin.setting')))));
echo table::close();
echo table::open();
echo form::open('forum.php?c=admin&m=editcat');
echo form::hidden('id', $cat_id);
echo table::td(Lang::item('admin.new_cat'), 2);
if (count($errors) > 0) {
echo table::td(table::error($errors), 2, 'tableh2');
}
echo table::tds(array(array('class' => 'tableb', 'text' => Lang::item('admin.fullname')), array('class' => 'tableb', 'text' => form::text('name', $form['name']))));
echo table::tds(array(array('class' => 'tablef', 'colspan' => '2', 'text' => form::submit(Lang::item('common.modify'), 'submit'))));
echo form::close();
echo table::close();
示例3: Copyright
<?php
/**************************************************
Coppermine 1.5.x Plugin - forum
*************************************************
Copyright (c) 2010 foulu (Le Hoai Phuong), eenemeenemuu
*************************************************
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
********************************************
$HeadURL$
$Revision$
$LastChangedBy$
$Date$
**************************************************/
echo table::open();
echo table::title(Lang::item('board.topic_preview'), 1);
echo table::tds(array('class' => 'tableh2', 'text' => $subject));
echo table::tds(array('class' => 'tableb', 'text' => $message));
echo table::close();
示例4: foreach
echo table::td(Lang::item('home.latest_posts'), 2);
foreach ($recents as $recent) {
echo table::tds(array(array('class' => 'tableb', 'text' => table::open(2) . table::tds(array(array('text' => sprintf(Lang::item('home.latest_post'), html::message_anchor($recent['msg_id'], $recent['subject']), html::profile_anchor($recent['poster_id'], $recent['poster_name']))), array('align' => 'right', 'text' => time::decode($recent['poster_time'])))) . table::close())));
}
echo table::close();
// left
$left_table = '';
$left_table .= table::open(3);
$left_table .= table::td(Lang::item('home.visitor_stats'), 4);
$left_table .= table::tds(array(array('class' => 'tableb', 'text' => Lang::item('home.t_r_m')), array('class' => 'tableb', 'text' => $stats['t_r_m']), array('class' => 'tableb', 'text' => Lang::item('home.t_li_u')), array('class' => 'tableb', 'text' => $stats['t_li_u'])));
$left_table .= table::tds(array(array('class' => 'tableb', 'text' => Lang::item('home.t_t')), array('class' => 'tableb', 'text' => $stats['t_t']), array('class' => 'tableb', 'text' => Lang::item('home.t_a_u')), array('class' => 'tableb', 'text' => $stats['t_a_u'])));
$left_table .= table::tds(array(array('class' => 'tableb', 'text' => Lang::item('home.t_r')), array('class' => 'tableb', 'text' => $stats['t_r']), array('class' => 'tableb', 'text' => ' '), array('class' => 'tableb', 'text' => ' ')));
$left_table .= table::close();
// right
foreach ($newest_members as $k => $v) {
$newest_members[$k] = html::profile_anchor($v['user_id'], $v['user_name']);
}
$newest_members = implode(', ', $newest_members);
foreach ($active_members as $k => $v) {
$active_members[$k] = html::profile_anchor($v['user_id'], $v['user_name']);
}
$active_members = implode(', ', $active_members);
$right_table = '';
$right_table .= table::open(3);
$right_table .= table::td(Lang::item('home.members'));
$right_table .= table::tds(array('class' => 'tableb', 'text' => Lang::item('home.newest_members') . $newest_members));
$right_table .= table::tds(array('class' => 'tableb', 'text' => Lang::item('home.active_members') . $active_members));
$right_table .= table::close();
echo table::open(array('align' => 'center', 'width' => -1, 'border' => 0, 'cellspacing' => 1, 'cellpadding' => 0));
echo table::tds(array(array('width' => '50%', 'valign' => 'top', 'text' => $left_table), array('width' => '50%', 'valign' => 'top', 'text' => $right_table)));
echo table::close();
示例5: array
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
********************************************
$HeadURL$
$Revision$
$LastChangedBy$
$Date$
**************************************************/
// left
$left = '';
$left .= table::open();
$left .= table::tds(array(array('class' => 'tableh1', 'text' => html::anchor('forum.php', 'Message'))));
$left .= table::tds(array(array('class' => 'tableb', 'text' => 'New message')));
$left .= table::tds(array(array('class' => 'tableb', 'text' => 'Inbox')));
$left .= table::tds(array(array('class' => 'tableb', 'text' => 'Outbox')));
$left .= table::close();
// right
// stats table
$right .= table::open();
$right .= table::tds(array(array('class' => 'tableh1', 'width' => '5%', 'text' => NBSP), array('class' => 'tableh1', 'width' => '30%', 'text' => 'Date'), array('class' => 'tableh1', 'width' => '30%', 'text' => 'Subject'), array('class' => 'tableh1', 'width' => '30%', 'text' => 'Form'), array('class' => 'tableh1', 'width' => '5%', 'align' => 'center', 'text' => form::checkbox('selectall'))));
$right .= table::tds(array(array('class' => 'tableh2', 'colspan' => 5, 'text' => '<div style="float: left;">Page:</div>' . '<div style="float: right;">Page:</div>')));
$right .= table::close();
$right .= table::open();
foreach ($pms as $key => $pm) {
}
$right .= table::close();
// display table
echo table::open(0);
echo table::tds(array(array('width' => '150px', 'valign' => 'top', 'text' => $left), array('valign' => 'top', 'text' => $right)));
echo table::close();
示例6: array
document.getElementById('pv_subject').innerHTML = datas[0];
document.getElementById('pv_body').innerHTML = datas[1];
});
});
});
-->
</script>
EOT;
echo "<div name=\"preview_area\" id=\"preview_area\" style=\"display: none;\">";
echo table::open();
echo table::td(Lang::item('board.topic_preview'), 1);
echo table::tds(array('class' => 'tableh2', 'id' => 'pv_subject', 'text' => ''));
echo table::tds(array('class' => 'tableb', 'id' => 'pv_body', 'text' => ''));
echo table::close();
echo "</div>";
echo table::open();
echo table::td(Lang::item('topic.new_topic'), 2);
echo form::open('forum.php?c=message&m=edit&id=' . $msg_id, 'editmsg');
if (count($errors) > 0) {
echo table::td(table::error($errors), 2, 'tableh2');
}
echo table::tds(array(array('class' => 'tableb', 'width' => '30%', 'text' => Lang::item('topic.subject')), array('class' => 'tableb', 'width' => '70%', 'text' => form::text('subject', $form['subject']))));
if (Config::item('fr_msg_icons') == 1) {
echo table::tds(array(array('class' => 'tableb', 'text' => Lang::item('topic.message_icon')), array('class' => 'tableb', 'text' => forum::generate_message_icons('icon', $icons, $form['icon']))));
}
echo table::tds(array(array('class' => 'tableb', 'text' => NBSP), array('class' => 'tableb', 'text' => forum::generate_bbcode_tags('editmsg', 'body'))));
echo table::tds(array(array('class' => 'tableb', 'text' => Lang::item('topic.message')), array('class' => 'tableb', 'text' => form::textarea('body', $form['body']))));
echo table::tds(array(array('class' => 'tableb', 'text' => NBSP), array('class' => 'tableb', 'text' => generate_smilies('editmsg', 'body'))));
echo table::tds(array(array('class' => 'tablef', 'text' => NBSP), array('class' => 'tablef', 'text' => form::submit(Lang::item('common.modify'), 'submit') . html::jsbutton('return false;', Lang::item('common.preview'), array('id' => 'preview')) . NBSP . html::button('forum.php?c=board&id=' . $board_id, Lang::item('common.cancel')))));
echo form::close();
echo table::close();
示例7: Copyright
Copyright (c) 2010 foulu (Le Hoai Phuong), eenemeenemuu
*************************************************
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
********************************************
$HeadURL$
$Revision$
$LastChangedBy$
$Date$
**************************************************/
// start
pageheader($fr_title);
// forum header
echo html::spacer();
echo table::open(0);
echo table::tds(array(array('text' => Config::item('fr_title')), array('align' => 'right', 'text' => ($authorizer->is_user() ? html::button('forum.php?c=profile', Lang::item('home.fr_profile')) : '') . NBSP . html::button('forum.php?c=search', Lang::item('home.search')))));
echo table::close();
echo html::spacer();
echo table::open();
echo form::open('forum.php', 'search', 'get');
echo form::hidden('c', 'search');
echo table::tds(array(array('class' => 'tableb', 'text' => table::open(2) . table::tds(array(array('text' => html::span(forum::nagavitor($nagavitor))), array('align' => 'right', 'text' => Lang::item('home.dosearch') . form::text('search', '', false) . form::submit(Lang::item('home.submit_search'), 'submit') . html::anchor('forum.php?c=search', Lang::item('home.adv_search'))))) . table::close())));
echo form::close();
echo table::close();
echo html::spacer();
// forum body
echo $fr_contents;
// end
pagefooter();
示例8: sprintf
echo table::tds(array(array('class' => 'tablef', 'colspan' => 2, 'text' => form::submit(Lang::item('common.search'), 'submit'))));
echo form::close();
echo table::close();
if (count($messages) > 0) {
echo html::spacer();
// paging
echo table::open();
echo table::td(Lang::item('search.search_result') . ' - ' . sprintf(Lang::item('search.found'), $results));
echo table::tds(array(array('class' => 'tableb', 'text' => Lang::item('board.page') . forum::paging($paging))));
echo table::close();
foreach ($messages as $message) {
echo table::open();
echo table::tds(array(array('class' => 'tableh1', 'text' => table::open(2) . table::tds(array(array('align' => 'left', 'width' => '70%', 'text' => forum::nagavitor($message['linkto'], '-->')), array('align' => 'right', 'width' => '30%', 'text' => Lang::item('search.on') . time::decode($message['poster_time'])))) . table::close())));
echo table::tds(array(array('class' => 'tableh2', 'colspan' => 2, 'text' => Lang::item('search.start_by') . html::profile_anchor($message['starter_id'], $message['starter_name']) . ' | ' . Lang::item('search.message_by') . html::profile_anchor($message['poster_id'], $message['poster_name']))));
echo table::tds(array(array('class' => 'tableb', 'colspan' => 2, 'text' => forum::format_message($message['body']))));
echo table::close();
}
// paging
echo table::open();
echo table::tds(array(array('class' => 'tableb', 'text' => Lang::item('board.page') . forum::paging($paging))));
echo table::close();
echo html::spacer();
} else {
if (isset($search)) {
echo table::open();
echo table::td(Lang::item('search.search_result'));
echo table::tds(array(array('class' => 'tableb', 'text' => Lang::item('search.no_result'))));
echo table::close();
echo html::spacer();
}
}
示例9: td
function td($title, $colspan = 1, $class = 'tableh1')
{
$tds = array('class' => $class, 'colspan' => $colspan, 'text' => $title);
return table::tds($tds);
}
示例10: Copyright
<?php
/**************************************************
Coppermine 1.5.x Plugin - forum
*************************************************
Copyright (c) 2010 foulu (Le Hoai Phuong), eenemeenemuu
*************************************************
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
********************************************
$HeadURL$
$Revision$
$LastChangedBy$
$Date$
**************************************************/
echo table::open();
echo table::tds(array(array('class' => 'tableh1', 'width' => '170px', 'text' => html::profile_anchor($message['poster_id'], $message['poster_name'])), array('class' => 'tableh1', 'text' => html::img($message['icon'], '65%') . NBSP . sprintf(Lang::item('topic.topic_title'), html::anchor('forum.php?c=message&m=single&id=' . $message['msg_id'], $message['subject']), time::decode($message['time'])))));
echo table::tds(array(array('class' => 'tablef', 'valign' => 'top', 'align' => 'left', 'text' => html::span(sprintf(Lang::item('topic.user_profile'), html::img($message['avatar'], Config::item('fr_avatar_size')), $message['poster_group'], $message['poster_posts'], $message['poster_registed']))), array('class' => 'tableb', 'valign' => 'top', 'text' => forum::format_message($message['body']) . (trim($message['signature']) != '' ? sprintf(Lang::item('topic.signature'), forum::format_message($message['signature'])) : ''))));
echo table::tds(array(array('class' => 'tablef', 'text' => html::button('profile.php?uid=' . $message['poster_id'], Lang::item('topic.profile')) . NBSP), array('class' => 'tablef', 'text' => ($authorizer->can_edit_msg($message['msg_id']) ? html::button('forum.php?c=message&m=edit&id=' . $message['msg_id'], Lang::item('common.modify')) . NBSP : '') . ($authorizer->can_delete_msg($message['msg_id']) ? html::jsbutton("button_confirm('" . Lang::item('message.confirm_delete') . "','forum.php?c=message&m=delete&id={$message['msg_id']}');", Lang::item('common.delete')) : ''))));
echo table::close();
示例11: array
print table::close();
print "</div>";
print table::open();
print table::td(Lang::item('topic.topic_reply'), 2);
print form::open('forum.php?c=topic&m=reply&id=' . $topic_id, 'reply', 'post');
if (count($errors) > 0) {
print table::td(table::error($errors), 2, 'tableh2');
}
print table::tds(array(array('class' => 'tableb', 'width' => '30%', 'text' => Lang::item('topic.subject')), array('class' => 'tableb', 'width' => '70%', 'text' => form::text('subject', $form['subject']))));
if (Config::item('fr_msg_icons') == 1) {
print table::tds(array(array('class' => 'tableb', 'text' => Lang::item('topic.message_icon')), array('class' => 'tableb', 'text' => forum::generate_message_icons('icon', $icons, $form['icon']))));
}
print table::tds(array(array('class' => 'tableb', 'text' => NBSP), array('class' => 'tableb', 'text' => forum::generate_bbcode_tags('reply', 'body'))));
print table::tds(array(array('class' => 'tableb', 'text' => Lang::item('topic.message')), array('class' => 'tableb', 'text' => form::textarea('body', $form['body']))));
global $CONFIG;
if ($CONFIG['comment_captcha'] == 1 || $CONFIG['comment_captcha'] == 2 && !USER_ID) {
global $lang_common;
print table::tds(array(array('class' => 'tableb', 'text' => $lang_common['confirm']), array('class' => 'tableb', 'text' => '<input type="text" name="confirmCode" size="5" maxlength="5" class="textinput" /><img src="captcha.php" align="middle" border="0" alt="" />')));
}
print table::tds(array(array('class' => 'tableb', 'text' => NBSP), array('class' => 'tableb', 'text' => generate_smilies('reply', 'body'))));
print table::td(Lang::item('topic.addition_options'), 2, 'tablef');
print table::tds(array(array('class' => 'tableb', 'text' => Lang::item('topic.notify_this')), array('class' => 'tableb', 'text' => form::yesno('notify', $authorizer->is_notify_topic($topic_id) ? 1 : 0))));
/*
print table::tds(array(
array('class'=>'tableb', 'text'=>Lang::item('topic.upload')),
array('class'=>'tableb', 'text'=>''),
));
*/
print table::tds(array(array('class' => 'tablef', 'text' => NBSP), array('class' => 'tablef', 'text' => form::submit(Lang::item('common.reply'), 'submit') . html::jsbutton('return false;', Lang::item('common.preview'), array('id' => 'preview')) . NBSP . html::button('forum.php?c=topic&id=' . $topic_id, Lang::item('common.cancel')))));
print form::close();
print table::close();
示例12: Copyright
<?php
/**************************************************
Coppermine 1.5.x Plugin - forum
*************************************************
Copyright (c) 2010 foulu (Le Hoai Phuong), eenemeenemuu
*************************************************
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
********************************************
$HeadURL$
$Revision$
$LastChangedBy$
$Date$
**************************************************/
print table::open();
print form::open('forum.php?c=topic&m=move&id=' . $topic_id);
print table::td(Lang::item('topic.move_topic'), 2);
print table::tds(array(array('class' => 'tableb', 'width' => '30%', 'text' => Lang::item('topic.topic_name')), array('class' => 'tableb', 'width' => '70%', 'text' => $topic['name'])));
print table::tds(array(array('class' => 'tableb', 'width' => '30%', 'text' => Lang::item('topic.move_to')), array('class' => 'tableb', 'text' => forum::topic_move_box($topic_move_data, $topic['board_id']))));
print table::tds(array(array('class' => 'tablef', 'colspan' => 2, 'text' => form::submit(Lang::item('common.move'), 'submit'))));
print form::close();
print table::close();
示例13: Copyright
/**************************************************
Coppermine 1.5.x Plugin - forum
*************************************************
Copyright (c) 2010 foulu (Le Hoai Phuong), eenemeenemuu
*************************************************
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
********************************************
$HeadURL$
$Revision$
$LastChangedBy$
$Date$
**************************************************/
// menu
echo table::open();
echo table::tds(array(array('class' => 'tableb', 'text' => html::button('forum.php?c=admin', Lang::item('admin.home')) . NBSP . html::button('forum.php?c=admin&m=newcat', Lang::item('admin.new_category')) . NBSP . html::button('forum.php?c=admin&m=setting', Lang::item('admin.setting')) . NBSP . html::button('forum.php?c=admin&m=update', Lang::item('admin.update')))));
echo table::close();
// start
echo table::open();
echo table::td(Lang::item('admin.mdf_boards'), 6);
echo table::tds(array(array('class' => 'tableh1', 'width' => '60%', 'text' => Lang::item('admin.name')), array('class' => 'tableh1', 'width' => '20%', 'colspan' => '4', 'align' => 'center', 'text' => Lang::item('admin.operator')), array('class' => 'tableh1', 'width' => '20%', 'align' => 'center', 'text' => Lang::item('admin.move'))));
foreach ($cats as $cat) {
echo table::tds(array(array('class' => 'tableh2', 'text' => html::bold($cat['name'])), array('class' => 'tableh2', 'width' => '5%', 'align' => 'center', 'text' => $cat['up']), array('class' => 'tableh2', 'width' => '5%', 'align' => 'center', 'text' => $cat['down']), array('class' => 'tableh2', 'width' => '5%', 'align' => 'center', 'text' => html::anchor('forum.php?c=admin&m=editcat&id=' . $cat['id'], html::img($img['edit']))), array('class' => 'tableh2', 'width' => '5%', 'align' => 'center', 'text' => html::anchor('forum.php?c=admin&m=delcat&id=' . $cat['id'], html::img($img['delete']), array('onclick' => "return anchor_confirm('" . Lang::item('admin.confirm_del_cat') . "');"))), array('class' => 'tableh2', 'text' => NBSP)));
foreach ($cat['boards'] as $board) {
echo table::tds(array(array('class' => 'tableb', 'text' => forum::indent($board['level'] + 1) . html::bold($board['name'])), array('class' => 'tableb', 'width' => '5%', 'align' => 'center', 'text' => $board['up']), array('class' => 'tableb', 'width' => '5%', 'align' => 'center', 'text' => $board['down']), array('class' => 'tableb', 'width' => '5%', 'align' => 'center', 'text' => html::anchor('forum.php?c=admin&m=editboard&id=' . $board['id'], html::img($img['edit']))), array('class' => 'tableb', 'width' => '5%', 'align' => 'center', 'text' => html::anchor('forum.php?c=admin&m=delboard&id=' . $board['id'], html::img($img['delete']), array('onclick' => "return anchor_confirm('" . Lang::item('admin.confirm_del_board') . "');"))), array('class' => 'tableb', 'text' => forum::board_move_box($board_move_data, $board['id'], $cat['id'], $board['level'], $board['parent']))));
}
echo table::tds(array(array('class' => 'tableb', 'align' => 'right', 'colspan' => '6', 'text' => html::button('forum.php?c=admin&m=newboard&id=' . $cat['id'], Lang::item('admin.new_board')))));
}
echo table::close();
示例14: sprintf
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
********************************************
$HeadURL$
$Revision$
$LastChangedBy$
$Date$
**************************************************/
// topic listing
echo table::open();
echo table::td(Lang::item('search.search_result'), 5);
echo table::tds(array(array('class' => 'tableb', 'colspan' => 5, 'text' => sprintf(Lang::item('search.found'), $paging['total']))));
echo table::td(Lang::item('board.topics'), 5);
echo table::tds(array(array('class' => 'tableh2', 'width' => '60%', 'colspan' => '2', 'text' => html::bold(Lang::item('board.topic_title'))), array('class' => 'tableh2', 'width' => '5%', 'text' => html::bold(Lang::item('board.replies'))), array('class' => 'tableh2', 'width' => '5%', 'text' => html::bold(Lang::item('board.views'))), array('class' => 'tableh2', 'width' => '30%', 'text' => html::bold(Lang::item('board.latest_post_info')))));
foreach ($topics as $topic) {
$buffer = '';
$buffer .= table::open(array());
$buffer .= table::tds(array(array('text' => html::img($topic['icon'])), array('text' => NBSP), array('text' => html::topic_anchor($topic['id'], $topic['name']))));
$buffer .= table::close();
echo table::tds(array(array('class' => 'tableb', 'width' => '0%', 'align' => 'center', 'text' => html::img($topic['status'])), array('class' => 'tableb', 'width' => '60%', 'align' => 'left', 'valign' => 'middle', 'text' => $buffer), array('class' => 'tableb', 'align' => 'center', 'text' => $topic['replies']), array('class' => 'tableb', 'align' => 'center', 'text' => $topic['views']), array('class' => 'tableb', 'valign' => 'top', 'text' => $topic['last_post_id'] ? html::span(sprintf(Lang::item('home.last_post_title'), html::message_anchor($topic['last_post_id'], $topic['last_post_title']), time::decode($topic['last_post_time']), html::profile_anchor($topic['last_post_author_id'], $topic['last_post_author_name']))) : '')));
}
if (count($topics) == 0) {
echo table::td(Lang::item('board.no_topic'), 5, 'tableb');
}
echo table::close();
// paging
echo table::open();
echo table::tds(array(array('class' => 'tableb', 'text' => table::open(2) . table::tds(array(array('align' => 'left', 'text' => Lang::item('board.page') . forum::paging($paging)))) . table::close())));
echo table::close();