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


PHP HtmlInput::print_window方法代码示例

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


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

示例1: IHidden

    require_once NOALYSS_INCLUDE . '/template/result_cat_card_summary.php';
    $hid = new IHidden();
    echo '<form method="GET" ACTION="export.php">' . dossier::hidden() . HtmlInput::submit('bt_csv', "Export CSV") . HtmlInput::hidden('act', "CSV:fiche") . $hid->input("type", "fiche") . $hid->input("ac", $_REQUEST['ac']) . $hid->input("fd_id", $_REQUEST['cat']);
    echo "</form>";
    return;
}
$export_pdf = '<FORM METHOD="get" ACTION="export.php" style="display:inline">';
$export_pdf .= HtmlInput::hidden('cat', $_GET['cat']);
$export_pdf .= HtmlInput::hidden('act', "PDF:fiche_balance") . ($export_pdf .= HtmlInput::hidden('start', $_GET['start']));
$export_pdf .= HtmlInput::hidden('end', $_GET['end']);
$export_pdf .= HtmlInput::hidden('histo', $_GET['histo']);
$export_pdf .= HtmlInput::request_to_hidden(array('allcard'));
$export_pdf .= dossier::hidden();
$export_pdf .= HtmlInput::submit('pdf', 'Export en PDF');
$export_pdf .= '</FORM>';
$export_print = HtmlInput::print_window();
$export_csv = '<FORM METHOD="get" ACTION="export.php" style="display:inline">';
$export_csv .= HtmlInput::hidden('cat', $_GET['cat']);
$export_csv .= HtmlInput::hidden('act', 'CSV:fiche_balance');
$export_csv .= HtmlInput::hidden('start', $_GET['start']);
$export_csv .= HtmlInput::hidden('end', $_GET['end']);
$export_csv .= HtmlInput::hidden('histo', $_GET['histo']);
$export_csv .= HtmlInput::request_to_hidden(array('allcard'));
$export_csv .= dossier::hidden();
$export_csv .= HtmlInput::submit('CSV', 'Export en CSV');
$export_csv .= '</FORM>';
/*
 * Date is important is requested balance
 */
if (isDate($_REQUEST['start']) == null || isDate($_REQUEST['end']) == null) {
    echo h2('Date invalide !', 'class="error"');
开发者ID:Kloadut,项目名称:noalyss_ynh,代码行数:31,代码来源:fiche.inc.php

示例2: summary

 function summary($p_array)
 {
     global $cn, $g_user;
     $tmp_id = $this->build_tmp_table($p_array);
     // Build condition
     $a_repository = $g_user->get_available_repository('R');
     $a_code = $cn->get_array("select distinct sg_code from tmp_stockgood_detail where s_id=\$1", array($tmp_id));
     if (isset($p_array['present'])) {
         $present = $p_array['present'];
     } else {
         $present = 'T';
     }
     if ($present == 'T') {
         require_once NOALYSS_INCLUDE . '/template/stock_summary_table.php';
     }
     if ($present == 'L') {
         require_once NOALYSS_INCLUDE . '/template/stock_summary_list.php';
         $this->export_stock_summary_list_form();
     }
     echo HtmlInput::print_window();
 }
开发者ID:Kloadut,项目名称:noalyss_ynh,代码行数:21,代码来源:class_stock.php

示例3: HtmlTableHeader

 function HtmlTableHeader($p_array = null)
 {
     if ($p_array == null) {
         $p_array = $_REQUEST;
     }
     $hid = new IHidden();
     echo '<div class="noprint">';
     echo "<table >";
     echo '<TR>';
     echo '<TD><form method="GET" ACTION="">' . HtmlInput::submit('bt_other', "Autre poste") . HtmlInput::array_to_hidden(array('gDossier', 'ac'), $_REQUEST) . dossier::hidden() . $hid->input("type", "poste") . $hid->input('p_action', 'impress') . "</form></TD>";
     $str_ople = isset($_REQUEST['ople']) ? HtmlInput::hidden('ople', $_REQUEST['ople']) : '';
     echo '<TD><form method="GET" ACTION="export.php">' . HtmlInput::submit('bt_pdf', _("Export PDF")) . dossier::hidden() . $str_ople . HtmlInput::hidden('act', 'PDF:fichedetail') . $hid->input("type", "poste") . $hid->input('p_action', 'impress') . $hid->input("f_id", $this->id) . dossier::hidden() . $hid->input("from_periode", $p_array['from_periode']) . $hid->input("to_periode", $p_array['to_periode']);
     if (isset($p_array['oper_detail'])) {
         echo $hid->input('oper_detail', 'on');
     }
     echo "</form></TD>";
     echo '<TD><form method="GET" ACTION="export.php">' . HtmlInput::submit('bt_csv', _("Export CSV")) . HtmlInput::hidden('act', 'CSV:fichedetail') . dossier::hidden() . $str_ople . $hid->input("type", "poste") . $hid->input('p_action', 'impress') . $hid->input("f_id", $this->id) . $hid->input("from_periode", $p_array['from_periode']) . $hid->input("to_periode", $p_array['to_periode']);
     if (isset($p_array['oper_detail'])) {
         echo $hid->input('oper_detail', 'on');
     }
     echo "</form></TD>";
     echo "</form></TD>";
     echo '<td style="vertical-align:top">';
     echo HtmlInput::print_window();
     echo '</td>';
     echo "</table>";
     echo '</div>';
 }
开发者ID:Kloadut,项目名称:noalyss_ynh,代码行数:28,代码来源:class_fiche.php

示例4:

    echo HtmlInput::hidden('p_filter', $_GET['p_filter']);
    for ($e = 0; $e < count($selected); $e++) {
        if (isset($selected[$e]) && in_array($selected[$e], $array)) {
            echo HtmlInput::hidden("r_jrn[{$e}]", $selected[$e]);
        }
    }
    for ($e = 0; $e < count($array_cat); $e++) {
        if (isset($select_cat[$e])) {
            echo HtmlInput::hidden("r_cat[{$e}]", $e);
        }
    }
    echo HtmlInput::hidden("from_poste", $_GET['from_poste']) . HtmlInput::hidden("to_poste", $_GET['to_poste']);
    echo HtmlInput::get_to_hidden(array('unsold', 'previous_exc'));
    echo "</form></TD>";
    echo '<td style="vertical-align:top">';
    echo HtmlInput::print_window();
    echo '</td>';
    echo "</TR>";
    echo "</table>";
}
//-----------------------------------------------------
// Display result
//-----------------------------------------------------
if (isset($_GET['view'])) {
    $bal = new Acc_Balance($cn);
    if ($_GET['p_filter'] == 1) {
        for ($e = 0; $e < count($selected); $e++) {
            if (isset($selected[$e]) && in_array($selected[$e], $array)) {
                $bal->jrn[] = $selected[$e];
            }
        }
开发者ID:Kloadut,项目名称:noalyss_ynh,代码行数:31,代码来源:balance.inc.php

示例5: HtmlTableHeader

 static function HtmlTableHeader($actiontarget = "poste")
 {
     switch ($actiontarget) {
         case 'poste':
             $action_csv = 'CSV:postedetail';
             $action_pdf = 'PDF:postedetail';
             break;
         case 'gl_comptes':
             $action_csv = 'CSV:glcompte';
             $action_pdf = 'PDF:glcompte';
             break;
         default:
             throw new Exception(" Fonction HtmlTableHeader argument actiontarget invalid");
     }
     $hid = new IHidden();
     echo "<table  >";
     echo '<TR>';
     $str_ople = isset($_REQUEST['ople']) ? HtmlInput::hidden('ople', $_REQUEST['ople']) : '';
     if ($actiontarget == 'poste') {
         echo '<TD><form method="GET" ACTION="">' . dossier::hidden() . HtmlInput::submit('bt_other', "Autre poste") . $hid->input("type", "poste") . $hid->input('ac', $_REQUEST['ac']) . "</form></TD>";
     }
     echo '<TD><form method="GET" ACTION="export.php">' . dossier::hidden() . HtmlInput::submit('bt_pdf', "Export PDF") . HtmlInput::hidden('act', $action_pdf) . $hid->input("type", "poste") . $str_ople . $hid->input('p_action', 'impress') . $hid->input("from_periode", $_REQUEST['from_periode']) . $hid->input("to_periode", $_REQUEST['to_periode']);
     if (isset($_REQUEST['letter'])) {
         echo HtmlInput::hidden('letter', '2');
     }
     if (isset($_REQUEST['solded'])) {
         echo HtmlInput::hidden('solded', '1');
     }
     if (isset($_REQUEST['from_poste'])) {
         echo HtmlInput::hidden('from_poste', $_REQUEST['from_poste']);
     }
     if (isset($_REQUEST['to_poste'])) {
         echo HtmlInput::hidden('to_poste', $_REQUEST['to_poste']);
     }
     if (isset($_REQUEST['poste_id'])) {
         echo HtmlInput::hidden("poste_id", $_REQUEST['poste_id']);
     }
     if (isset($_REQUEST['poste_fille'])) {
         echo $hid->input('poste_fille', 'on');
     }
     if (isset($_REQUEST['oper_detail'])) {
         echo $hid->input('oper_detail', 'on');
     }
     echo "</form></TD>";
     echo '<TD><form method="GET" ACTION="export.php">' . dossier::hidden() . HtmlInput::submit('bt_csv', "Export CSV") . HtmlInput::hidden('act', $action_csv) . $hid->input("type", "poste") . $str_ople . $hid->input('p_action', 'impress') . $hid->input("from_periode", $_REQUEST['from_periode']) . $hid->input("to_periode", $_REQUEST['to_periode']);
     if (isset($_REQUEST['from_poste'])) {
         echo HtmlInput::hidden('from_poste', $_REQUEST['from_poste']);
     }
     if (isset($_REQUEST['to_poste'])) {
         echo HtmlInput::hidden('to_poste', $_REQUEST['to_poste']);
     }
     if (isset($_REQUEST['poste_id'])) {
         echo HtmlInput::hidden("poste_id", $_REQUEST['poste_id']);
     }
     if (isset($_REQUEST['letter'])) {
         echo HtmlInput::hidden('letter', '2');
     }
     if (isset($_REQUEST['solded'])) {
         echo HtmlInput::hidden('solded', '1');
     }
     if (isset($_REQUEST['poste_fille'])) {
         echo $hid->input('poste_fille', 'on');
     }
     if (isset($_REQUEST['oper_detail'])) {
         echo $hid->input('oper_detail', 'on');
     }
     if (isset($_REQUEST['poste_id'])) {
         echo $hid->input("poste_id", $_REQUEST['poste_id']);
     }
     echo "</form></TD>";
     echo "</form></TD>";
     echo '<td style="vertical-align:top">';
     echo HtmlInput::print_window();
     echo '</td>';
     echo '</tr>';
     echo "</table>";
 }
开发者ID:Kloadut,项目名称:noalyss_ynh,代码行数:77,代码来源:class_acc_account_ledger.php


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