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


PHP table::table_body_column_next方法代码示例

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


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

示例1: rawurldecode

}
if ($action == "add") {
    // ADD
    $bran_id = rawurldecode($bran_id);
    /*-----------------------------------------------------------------------*/
    $bx->box_begin();
    $bx->box_title($t->translate("Add Branch"));
    $bx->box_body_begin();
    /*-----------------------------------------------------------------------*/
    echo "<form action='" . $sess->url(basename($PHP_SELF)) . "' method='POST'>";
    $tbw->table_begin();
    $tbw->table_row_begin();
    $tbw->table_body_column_begin();
    /*----------*/
    echo "<b>" . $t->translate("Branch") . ":</b>";
    $tbw->table_body_column_next(2);
    echo "<input type='text' size='40' maxlength='255' name='name' value=''>";
    $tbw->table_body_column_end();
    /*----------*/
    $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();
开发者ID:BackupTheBerlios,项目名称:sourcelines,代码行数:31,代码来源:admbranch.php

示例2:

         $tby->table_body_column("&nbsp;");
     } else {
         $tby->table_body_column($db->f("license_name"));
     }
     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");
开发者ID:BackupTheBerlios,项目名称:sourcelines,代码行数:31,代码来源:admlicense.php

示例3: while

        $nav = "&lt;&nbsp;<a href=\"" . $sess->url(basename($PHP_SELF)) . $sess->add_query(array("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("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("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_next(1, "20%");
// Recent solutions of each type
solrecent();
$tbf->table_body_column_end();
$tbf->table_row_end();
$tbf->table_end();
?>
<!-- end content -->

<?php 
require "footer.inc";
@page_close();
开发者ID:BackupTheBerlios,项目名称:sourcelines,代码行数:31,代码来源:index.php


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