本文整理汇总了PHP中table::table_row_end方法的典型用法代码示例。如果您正苦于以下问题:PHP table::table_row_end方法的具体用法?PHP table::table_row_end怎么用?PHP table::table_row_end使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类table
的用法示例。
在下文中一共展示了table::table_row_end方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: while
$sort = $t->translate("sorted by") . ": " . "<a href=\"" . $sess->url(basename($PHP_SELF)) . $sess->add_query(array("search" => $search, "by" => "Date")) . "\">" . $t->translate("Date") . "</a>" . " | <a href=\"" . $sess->url(basename($PHP_SELF)) . $sess->add_query(array("search" => $search, "by" => "Name")) . "\">" . $t->translate("Name") . "</a>" . " | <a href=\"" . $sess->url(basename($PHP_SELF)) . $sess->add_query(array("search" => $search, "by" => "Contact")) . "\">" . $t->translate("Contact") . "</a>" . " | <a href=\"" . $sess->url(basename($PHP_SELF)) . $sess->add_query(array("search" => $search, "by" => "Supplier")) . "\">" . $t->translate("Supplier") . "</a>\n";
$bs->box_strip($sort);
if ($cnt > 0) {
$nav = "< <a href=\"" . $sess->url(basename($PHP_SELF)) . $sess->add_query(array("search" => $search, "cnt" => $next_cnt, "by" => $by)) . "\">" . $t->translate("previous") . " {$config_show_solsperpage} " . $t->translate("Solutions") . "</a>";
} else {
$nav = "< " . $t->translate("previous") . " {$config_show_solsperpage} " . $t->translate("Solutions");
}
$nav .= " | <a href=\"" . $sess->url(basename($PHP_SELF)) . $sess->add_query(array("search" => $search, "by" => $by)) . "\">" . $t->translate("Top") . "</a>";
if ($db->num_rows() >= $config_show_solsperpage) {
$nav .= " | <a href=\"" . $sess->url(basename($PHP_SELF)) . $sess->add_query(array("search" => $search, "cnt" => $prev_cnt, "by" => $by)) . "\">" . $t->translate("next") . " {$config_show_solsperpage} " . $t->translate("Solutions") . "</a> >";
} else {
$nav .= " | " . $t->translate("next") . " {$config_show_solsperpage} " . $t->translate("Solutions") . " >";
}
$bs->box_strip($nav);
while ($db->next_record()) {
solshow($db);
}
$bs->box_strip($nav);
$bs->box_strip($sort);
} else {
$be->box_full($t->translate("Attention"), $t->translate("No more Solutions exist"));
}
$tbf->table_body_column_end();
$tbf->table_row_end();
$tbf->table_end();
?>
<!-- end content -->
<?php
require "footer.inc";
page_close();
示例2:
}
if ($db->f("license_url") == "" || $db->f("license_url") == null) {
$tby->table_body_column(" ");
} else {
$tby->table_body_column_begin($db->f("license_url"));
echo "<a href=\"" . $db->f("license_url") . "\" target=\"_blank\">" . $db->f("license_url") . "</a>\n";
$tby->table_body_column_end();
}
/*----------*/
$tby->table_body_column_begin();
echo "<b><a href='" . $sess->url(basename($PHP_SELF)) . $sess->add_query(array("action" => "change", "id" => $db->f("license_id"), "name" => $db->f("license_name"), "ourl" => $db->f("license_url"))) . "'>" . $t->translate("Change") . "</a></b>";
/*----------*/
$tby->table_body_column_next();
echo "<b><a href='" . $sess->url(basename($PHP_SELF)) . $sess->add_query(array("action" => "delete", "id" => $db->f("license_id"), "name" => $db->f("license_name"), "ourl" => $db->f("license_url"))) . "'>" . $t->translate("Delete") . "</a></b>";
$tby->table_body_column_end();
$tby->table_row_end();
/*----------*/
}
if ($db->num_rows() > 0) {
$db->seek(0);
}
$tby->table_end();
/*----------*/
// Tabelle genommen wegen Style
$tbw->table_begin();
$tbw->table_row_begin();
$tbw->table_body_column_begin();
echo "<b><a href='" . $sess->url(basename($PHP_SELF)) . $sess->add_query(array("action" => "add")) . "'>" . $t->translate("Add") . "</a></b> " . $t->translate("new license");
$tbw->table_body_column_end();
$tbw->table_row_end();
$tbw->table_end();
示例3: rawurldecode
$tbw->table_row_next();
$tbw->table_body_column("");
$tbw->table_body_column_begin();
echo "<input type='hidden' name='action' value='db_add'>";
echo "<input type='hidden' name='bran_id' value='{$bran_id}'>";
echo "<input type='hidden' name='leaves' value='{$leaves}'>";
echo "<input type='submit' value='" . $t->translate("Add") . "'>";
$tbw->table_body_column_end();
echo "</form>";
/*==========*/
echo "<form action='" . $sess->url(basename($PHP_SELF)) . "' method='POST'>";
$tbw->table_body_column_begin();
echo "<input type='hidden' name='action' value=''>";
echo "<input type='submit' value='" . $t->translate("Back") . "'>";
$tbw->table_body_column_end();
$tbw->table_row_end();
echo "</form>";
/*----------*/
$tbw->table_end();
/*-----------------------------------------------------------------------*/
$bx->box_body_end();
$bx->box_end();
} else {
if ($action == "delete") {
// DELETE
$bran_id = rawurldecode($bran_id);
/*-----------------------------------------------------------------------*/
$bx->box_begin();
$bx->box_title($t->translate("Delete Branch"));
$bx->box_body_begin();
/*-----------------------------------------------------------------------*/