當前位置: 首頁>>代碼示例>>PHP>>正文


PHP box::box_column_finish方法代碼示例

本文整理匯總了PHP中box::box_column_finish方法的典型用法代碼示例。如果您正苦於以下問題:PHP box::box_column_finish方法的具體用法?PHP box::box_column_finish怎麽用?PHP box::box_column_finish使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在box的用法示例。


在下文中一共展示了box::box_column_finish方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: box

require "include/header.inc";
require "include/personallib.inc";
$bx = new box("100%", $th_box_frame_color, $th_box_frame_width, $th_box_title_bgcolor, $th_box_title_font_color, $th_box_title_align, $th_box_body_bgcolor, $th_box_body_font_color, $th_box_body_align);
start_content();
$page = "personal";
if ($perm->have_perm("devel_pending") || $perm->have_perm("sponsor_pending")) {
    $be = new box("80%", $th_box_frame_color, $th_box_frame_width, $th_box_title_bgcolor, $th_box_title_font_color, $th_box_title_align, $th_box_body_bgcolor, $th_box_error_font_color, $th_box_body_align);
    $be->box_full($t->translate("Error"), $t->translate("Access denied"));
} else {
    $bx->box_begin();
    $bx->box_body_begin();
    $bx->box_columns_begin(2);
    $bx->box_column("left", "60%", "", $t->translate('Hi') . ', <b>' . $auth->auth["uname"] . '</b>.<br>' . $t->translate('This is your personal page') . '.<br>' . $t->translate("Here you will find all the " . 'information related to you') . '.');
    $bx->box_column_start("right", "40%", "");
    personal_ratings_short($auth->auth["uname"]);
    $bx->box_column_finish();
    $bx->box_columns_end();
    $bx->box_body_end();
    $bx->box_end();
    $bx->box_begin();
    $bx->box_body_begin();
    $bx->box_columns_begin(3, 'top');
    $bx->box_column_start("center", "34%", "");
    personal_my_projects($auth->auth["uname"]);
    $bx->box_column_finish();
    $bx->box_column_start("center", "33%", "");
    personal_monitored_projects($auth->auth["uname"]);
    $bx->box_column_finish();
    $bx->box_column_start("center", "33%", "");
    # WISH: It would be nice to have here a list of actions that may
    # WISH: interest the user
開發者ID:BackupTheBerlios,項目名稱:sourceagency,代碼行數:31,代碼來源:personal.php


注:本文中的box::box_column_finish方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。