当前位置: 首页>>代码示例>>PHP>>正文


PHP box::box_column_start方法代码示例

本文整理汇总了PHP中box::box_column_start方法的典型用法代码示例。如果您正苦于以下问题:PHP box::box_column_start方法的具体用法?PHP box::box_column_start怎么用?PHP box::box_column_start使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在box的用法示例。


在下文中一共展示了box::box_column_start方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: box

require "include/prepend.php3";
page_open(array("sess" => "SourceAgency_Session", "auth" => "SourceAgency_Auth", "perm" => "SourceAgency_Perm"));
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%", "");
开发者ID:BackupTheBerlios,项目名称:sourceagency,代码行数:31,代码来源:personal.php

示例2: box

    page_open(array("sess" => "SourceAgency_Session", "auth" => "SourceAgency_Auth", "perm" => "SourceAgency_Perm"));
}
require "include/header.inc";
require "include/ratingslib.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 = "rating";
if (check_permission($proid, $page)) {
    top_bar($proid, $page);
    print $t->translate("The sponsor rates the developers and the " . "developers rates the sponsors. Sponsors and " . "developers can rate also sponsor and developers " . "that have taken part in the project. Everybody " . "is able to make his rating private") . ".\n";
    print "<p align=right>[ <b>" . html_link("step6_edit.php", array("proid" => $proid), "<b>" . $t->translate("Rate") . "!</b>") . "</b> ]";
    $bx->box_begin();
    $bx->box_title($t->translate("Project Participants"));
    $bx->box_body_begin();
    $bx->box_columns_begin(3);
    $bx->box_column_start("right", "33%", "");
    show_participants_rating($proid, "sponsor");
    $bx->box_column_finish();
    $bx->box_column_start("right", "33%", "");
    show_participants_rating($proid, "developer");
    $bx->box_column_finish();
    $bx->box_column_start("right", "34%", "");
    show_participants_rating($proid, "referee");
    $bx->box_column_finish();
    $bx->box_columns_end();
    $bx->box_body_end();
    $bx->box_end();
}
end_content();
require "include/footer.inc";
@page_close();
开发者ID:BackupTheBerlios,项目名称:sourceagency,代码行数:31,代码来源:step6.php

示例3: html_link

######################################################################
require 'include/prepend.php3';
page_open(array('sess' => 'SourceAgency_Session'));
if (isset($auth) && !empty($auth->auth['perm'])) {
    page_close();
    page_open(array('sess' => 'SourceAgency_Session', 'auth' => 'SourceAgency_Auth', 'perm' => 'SourceAgency_Perm'));
}
require 'include/header.inc';
require 'include/browselib.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 = 'browse';
$bx->box_begin();
$bx->box_body_begin();
$bx->box_columns_begin(2, 'top');
$bx->box_column_start('', '50%', '');
$bx->box_begin();
$bx->box_title($t->translate('Categories'));
$bx->box_body_begin();
echo html_link('browse.php', array('through' => 'license'), $t->translate('License'));
echo '<br>' . html_link('browse.php', array('through' => 'type'), $t->translate('Type'));
echo '<br>' . html_link('browse.php', array('through' => 'steps'), $t->translate('Steps'));
echo '<br>' . html_link('browse.php', array('through' => 'volume'), $t->translate('Volume'));
echo '<br>' . html_link('browse.php', array('through' => 'platform'), $t->translate('Platform'));
echo '<br>' . html_link('browse.php', array('through' => 'architecture'), $t->translate('Architecture'));
echo '<br>' . html_link('browse.php', array('through' => 'environment'), $t->translate('Environment'));
echo '<br>' . html_link('browse.php', array('through' => 'project_name'), $t->translate('Project Name'));
$bx->box_body_end();
$bx->box_end();
$bx->box_column_finish();
if (isset($through)) {
开发者ID:BackupTheBerlios,项目名称:sourceagency,代码行数:31,代码来源:browse.php

示例4: box

# the Free Software Foundation; either version 2 or later of the GPL.
######################################################################
require "include/prepend.php3";
page_open(array('sess' => 'SourceAgency_Session'));
if (isset($auth) && !empty($auth->auth['perm'])) {
    page_close();
    page_open(array('sess' => 'SourceAgency_Session', 'auth' => 'SourceAgency_Auth', 'perm' => 'SourceAgency_Perm'));
}
require 'include/header.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();
$db_summary = new DB_SourceAgency();
$bx->box_begin();
$bx->box_body_begin();
$bx->box_columns_begin(2, 'top');
$bx->box_column_start('left', '65%', '');
$bx->box_begin();
$bx->box_title($t->translate('SourceAgency'));
$bx->box_body_begin();
$db->query("SELECT * FROM doco WHERE page='index' AND language='{$la}'");
if ($db->num_rows() == 0) {
    /* grab the english doco */
    $db->query("SELECT * FROM doco WHERE page='index' AND language='English'");
}
$db->next_record();
echo $db->f('doco');
$bx->box_body_end();
$bx->box_end();
//  $bx->box_begin();
//  $bx->box_title($t->translate('New Projects'));
//  $bx->box_body_begin();
开发者ID:BackupTheBerlios,项目名称:sourceagency,代码行数:31,代码来源:index.php


注:本文中的box::box_column_start方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。