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


PHP box::box_body_begin方法代码示例

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


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

示例1: mail

                         mail($db->f("email_usr"), "[{$sys_name}] {$pmesssubject}", "{$pmessmessage}\n---\n \nRead your personal messages at http://devcounter.berlios.de/", "From: noreply@berlios.de\nReply-To: noreply@berlios.de\nX-Mailer: PHP");
                     }
                 } else {
                     $bx->box_full($t->translate("Error"), $t->translate("Message wasn't posted"));
                 }
             } else {
                 $be->box_full($t->translate("Error"), $t->translate("Developer does not allow to contact him"));
             }
         }
         break;
 }
 $db->query("SELECT * FROM pmessages WHERE pmessto='{$username}' ORDER BY pmesstime DESC");
 $number_of_pmessages = $db->num_rows();
 $counter = 0;
 $blist->box_begin();
 $blist->box_body_begin();
 $blist->box_columns_begin(5);
 $blist->box_column("center", "5%", $th_strip_title_bgcolor, "<b>" . $t->translate("Status") . "</b>");
 $blist->box_column("right", "5%", $th_strip_title_bgcolor, "<b>" . $t->translate("No") . "</b>");
 $blist->box_column("center", "20%", $th_strip_title_bgcolor, "<b>" . $t->translate("Subject") . "</b>");
 $blist->box_column("center", "20%", $th_strip_title_bgcolor, "<b>" . $t->translate("Sender") . "</b>");
 $blist->box_column("center", "20%", $th_strip_title_bgcolor, "<b>" . $t->translate("Time") . "</b>");
 $blist->box_column("center", "10%", $th_strip_title_bgcolor, "<b>" . $t->translate("-") . "</b>");
 $blist->box_column("center", "10%", $th_strip_title_bgcolor, "<b>" . $t->translate("-") . "</b>");
 $blist->box_next_row_of_columns();
 $bgcolor = "#FFFFFF";
 while ($counter != $number_of_pmessages) {
     $db->next_record();
     $counter++;
     $pmessstatus = $db->f("pmessstatus");
     switch ($pmessstatus) {
开发者ID:BackupTheBerlios,项目名称:devcounter-svn,代码行数:31,代码来源:pmess_manage.php

示例2: array

<?php 
if ($config_perm_watch != "all" && (!isset($perm) || !$perm->have_perm($config_perm_watch))) {
    $be->box_full($t->translate("Error"), $t->translate("Access denied"));
} else {
    $username = $auth->auth["uname"];
    htmlp_form_action("watchset.php", array(), "POST");
    echo "\n";
    $db3->query("SELECT * FROM prog_ability_watch WHERE username='{$username}'");
    if ($db3->next_record()) {
        $exists = 1;
    } else {
        $exists = 0;
    }
    $bx->box_begin();
    $bx->box_title($t->translate("Set your Developers Watch"));
    $bx->box_body_begin();
    echo "<table border=0 width=100% align=center cellspacing=0 cellpadding=3>\n";
    echo "<tr><td align=center><B>" . $t->translate("Which programming experiences you like to watch?") . "</B></td></tr><tr><td>\n";
    echo "<center><table border=0>\n";
    $db->query("SELECT * from prog_abilities WHERE translation='{$la}'");
    $count = 0;
    while ($db->next_record()) {
        $count++;
        $ability_code = $db->f("code");
        $colname = $db->f("colname");
        if ($count == 1) {
            echo "<tr>\n";
        }
        echo "<td align=right>" . $db->f("ability") . "</td><td>\n";
        htmlp_select("ability[" . $ability_code . "]");
        $db2->query("SELECT * FROM weightings");
开发者ID:BackupTheBerlios,项目名称:devcounter-svn,代码行数:31,代码来源:watch.php

示例3: array

            $bgcolor = "gold";
            $bx->box_column("center", "", $bgcolor, html_form_submit($t->translate("Delete"), ""));
            htmlp_form_end();
            $bx->box_next_row_of_columns();
            $bgcolor = "#FFFFFF";
        }
        $bgcolor = "gold";
        htmlp_form_action("projects.php", array(), "POST");
        htmlp_form_hidden("option", "add");
        $bx->box_column("right", "", $bgcolor, "--");
        $bx->box_column("center", "", $bgcolor, html_input_text("projectname", 25, 64, ""));
        $bx->box_column("center", "", $bgcolor, html_input_text("projecturl", 35, 255, ""));
        $bx->box_column("center", "", $bgcolor, html_input_text("pcomment", 35, 400, ""));
        $bx->box_colspan(2, "center", $bgcolor, html_form_submit($t->translate("Add Project"), ""));
        $bx->box_columns_end();
        htmlp_form_end();
    } else {
        $be->box_begin();
        $be->box_title($t->translate("Error"));
        $be->box_body_begin();
        htmlp_link("addproj.php", "", $t->translate("Enter your projects here"));
        $be->box_body_end();
        $be->box_end();
    }
}
?>
<!-- end content -->

<?php 
require "./include/footer.inc";
@page_close();
开发者ID:BackupTheBerlios,项目名称:devcounter-svn,代码行数:31,代码来源:projects.php


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