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


PHP table::table_row_end方法代碼示例

本文整理匯總了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 = "&lt;&nbsp;<a href=\"" . $sess->url(basename($PHP_SELF)) . $sess->add_query(array("search" => $search, "cnt" => $next_cnt, "by" => $by)) . "\">" . $t->translate("previous") . " {$config_show_solsperpage}&nbsp;" . $t->translate("Solutions") . "</a>";
    } else {
        $nav = "&lt;&nbsp;" . $t->translate("previous") . " {$config_show_solsperpage}&nbsp;" . $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>&nbsp;&gt;";
    } else {
        $nav .= " | " . $t->translate("next") . " {$config_show_solsperpage} " . $t->translate("Solutions") . "&nbsp;&gt;";
    }
    $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();
開發者ID:BackupTheBerlios,項目名稱:sourcelines,代碼行數:31,代碼來源:solsearch.php

示例2:

     }
     if ($db->f("license_url") == "" || $db->f("license_url") == null) {
         $tby->table_body_column("&nbsp;");
     } 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();
開發者ID:BackupTheBerlios,項目名稱:sourcelines,代碼行數:31,代碼來源:admlicense.php

示例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();
        /*-----------------------------------------------------------------------*/
開發者ID:BackupTheBerlios,項目名稱:sourcelines,代碼行數:31,代碼來源:admbranch.php


注:本文中的table::table_row_end方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。