print '			</div>';
     print "\t\t</div>";
     print "</div>";
     break;
 case '2':
     $db_obj = new NWX_Database($servername, $username, $password, $dbname);
     $tableName = C_TABLELIST["TBS_05"];
     $tabHeader = $db_obj->nwx_dbc_get_table_columns($tableName);
     $tableDef = $db_obj->nwx_dbc_select($tableName);
     $tableAttrib = " id='' class='table table-striped' ";
     // $tableAttrib = " id='transScreenOpener' class='table table-striped' data-toggle='modal' data-target='#myModal' data-backdrop='static' ";
     // $trowAttrib  = ' id="transScreenOpener" data-toggle="modal" data-target="#mdl_headerModal" data-backdrop="static" ';
     // $trowAttrib  = ' id="transScreenOpener" data-toggle="modal" data-target="#mdl_detailModal" data-backdrop="static" ';
     $trowAttrib = ' ';
     // $trowAttrib  = '   ';
     print um_table_creator($tableDef, $tabHeader, $tableAttrib, $trowAttrib);
     break;
 case '3':
     $nav_obj = new NWX_NAVWebX($servername, $username, $password, $dbname);
     $tableID = C_TABLELIST[$nwxTableIndex];
     print $nav_obj->nwx_generate_sequence($tableID);
     break;
 case '4':
     /* Header and detail data entry form */
     $nav_obj = new NWX_NAVWebX($servername, $username, $password, $dbname);
     /* $A_labelList			= C_NWXCOLUMNLABELLIST;
     			$A_inputPattern  		= C_INPUTPATTERN["P002"];
     			$dataTableID			= "tbl_entryHeader";
     			$tableAttrib 			= " id='".$dataTableID."' class='".__TABLECLASS_M1."' ";
     			$tHeadRowDataAttrib 	= " class='text-nowrap'";
     			$updateButton		    = " <div class='col-lg-8'>
Пример #2
0
<?php

require_once "../php/uf_utilities.php";
require_once "../class/NWX_Database.obj";
require_once "../config/db.config";
$db_obj = new NWX_Database($servername, $username, $password, $dbname);
$tableDef = $db_obj->nwx_dbc_select("nwx05_sales_header");
// $tableAttrib = 'id="example" class="table table-hover" cellspacing="0" width="100%" border="1"';
$tableAttrib = "id='example' class='table table-hover' cellspacing='0' width='100%' border='1'";
print um_table_creator($tableDef, $tableAttrib);
print "<br>\n<input type='text' name='numberDocument' id='txt_numberDocument' value=:V class=:C size='20' maxlength=20 placeholder=Document Number>";