本文整理匯總了PHP中box::tableBlock方法的典型用法代碼示例。如果您正苦於以下問題:PHP box::tableBlock方法的具體用法?PHP box::tableBlock怎麽用?PHP box::tableBlock使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類box
的用法示例。
在下文中一共展示了box::tableBlock方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: oos_draw_form
$heading = array();
$contents = array();
$heading[] = array('params' => 'class="menuBoxHeading"', 'text' => BOX_TITLE_STATISTICS);
$contents[] = array('params' => 'class="infoBox"', 'text' => BOX_ENTRY_CUSTOMERS . ' ' . $customers['count'] . '<br />' . BOX_ENTRY_PRODUCTS . ' ' . $products['count'] . '<br />' . BOX_ENTRY_REVIEWS . ' ' . $reviews['count']);
$box = new box();
echo $box->menuBox($heading, $contents);
echo '<br />';
$contents = array();
if (oos_server_get_var('HTTPS') == 'on' || oos_server_get_var('HTTPS') == '1') {
$size = oos_server_get_var('SSL_CIPHER_ALGKEYSIZE') ? oos_server_get_var('SSL_CIPHER_ALGKEYSIZE') . '-bit' : '<i>' . BOX_CONNECTION_UNKNOWN . '</i>';
$contents[] = array('params' => 'class="infoBox"', 'text' => oos_image(OOS_IMAGES . 'icons/locked.gif', ICON_LOCKED, '', '', 'align="right"') . sprintf(BOX_CONNECTION_PROTECTED, $size));
} else {
$contents[] = array('params' => 'class="infoBox"', 'text' => oos_image(OOS_IMAGES . 'icons/unlocked.gif', ICON_UNLOCKED, '', '', 'align="right"') . BOX_CONNECTION_UNPROTECTED);
}
$box = new box();
echo $box->tableBlock($contents);
?>
</td>
</tr>
</table></td>
<td width="460" valign="center"><table border="0" width="460" height="375" cellspacing="1" cellpadding="1">
<tr>
<td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr><?php
echo oos_draw_form('languages', 'index.php', '', 'get');
?>
<td class="heading"><?php
echo HEADING_TITLE;
?>
</td>
<td align="right"><?php