本文整理汇总了PHP中box::box_end方法的典型用法代码示例。如果您正苦于以下问题:PHP box::box_end方法的具体用法?PHP box::box_end怎么用?PHP box::box_end使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类box
的用法示例。
在下文中一共展示了box::box_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();
示例2: mktimestamp
$bx->box_title($title);
break;
case "insert":
$db3 = new DB_SourceWell();
$db_user = $db->f("user");
$db_version = $db->f("version");
$db3->query("INSERT history SET appid='{$db_appid}', user_his='{$db_user}', creation_his='{$db_modification}', version_his='{$db_version}'");
// echo "<p>INSERT history SET appid='$db_appid', user_his='$db_user', creation_his='$db_modification', version_his='$db_version'\n";
$timestamp = mktimestamp($db_modification);
$title = "History date is updated to " . timestr($timestamp) . "\n";
$bx->box_title($title);
break;
default:
$be->box_full($t->translate("Error"), $t->translate("Invalid action"));
break;
}
$bx->box_end();
$i++;
}
}
if ($i < 1) {
$msg = $t->translate("All dates are consistent");
$bi->box_full($t->translate("Check Date"), $msg);
}
}
?>
<!-- end content -->
<?php
require "./include/footer.inc";
@page_close();
示例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();