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


PHP box::box_body_end方法代碼示例

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


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

示例1: mktimestamp

        $pquery["pmessid"] = $db->f("pmessid");
        $blist->box_column("center", "", $bgcolor, html_link("pmess_show.php", $pquery, $db->f("pmesssubject")));
        $pmessfrom = $db->f("pmessfrom");
        $pmessfrom = ereg_replace("mailto:", "", $pmessfrom);
        $blist->box_column("center", "", $bgcolor, $pmessfrom);
        $timestamp = mktimestamp($db->f("pmesstime"));
        $blist->box_column("center", "", $bgcolor, timestr_short($timestamp));
        htmlp_form_action("pmess_edit.php", array(), "POST");
        htmlp_form_hidden("pmessid", $db->f("pmessid"));
        $blist->box_column("center", "", $bgcolor, html_form_submit($t->translate("Reply"), ""));
        $bgcolor = "gold";
        htmlp_form_end();
        htmlp_form_action("pmess_manage.php", array(), "POST");
        htmlp_form_hidden("pmessid", $db->f("pmessid"));
        htmlp_form_hidden("option", "delete");
        $blist->box_column("center", "", $bgcolor, html_form_submit($t->translate("Delete"), ""));
        htmlp_form_end();
        $blist->box_next_row_of_columns();
        $bgcolor = "gold";
    }
    $blist->box_columns_end();
    $blist->box_body_end();
    $blist->box_end();
    $db->query("UPDATE pmessages SET pmessstatus='unread' WHERE pmessstatus='new' AND pmessto='{$username}'");
}
?>
<!-- end content -->

<?php 
require "./include/footer.inc";
@page_close();
開發者ID:BackupTheBerlios,項目名稱:devcounter-svn,代碼行數:31,代碼來源:pmess_manage.php

示例2: while

             if ($exist_weighting == $weightid) {
                 $select = 1;
             }
         }
         htmlp_select_option("{$weightid}", $select, $t->translate($weighting));
     }
     htmlp_select_end();
     echo "</td>\n";
     if ($count >= 2) {
         echo "</tr>\n";
         $count = 0;
     }
 }
 echo "</table></center>\n";
 echo "</table>";
 $bx->box_body_end();
 $db3->query("SELECT * FROM prog_language_watch WHERE username='" . $auth->auth["uname"] . "'");
 if ($db3->next_record()) {
     $exists = 1;
 } else {
     $exists = 0;
 }
 $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 languages/tools you like to watch?") . "</B></td></tr><tr><td>\n";
 echo "<center><table border=0>\n";
 $db->query("SELECT * from prog_languages");
 $count = 0;
 while ($db->next_record()) {
     $count++;
     $language_code = $db->f("code");
開發者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_end方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。