本文整理汇总了PHP中UI::table方法的典型用法代码示例。如果您正苦于以下问题:PHP UI::table方法的具体用法?PHP UI::table怎么用?PHP UI::table使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UI
的用法示例。
在下文中一共展示了UI::table方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Tax
$col2->close();
$col2 = $ui->col()->width(12)->open();
// $ui->callout()
// ->uiType("info")
// ->desc('Enlc : Photocopies of money receipts. Disbursement sheet, Statement of expenditure, Distribution list of Honoraria to faculty and supporting staff of ISM.
// ')
// ->show();
$col2->close();
$inputRow2->close();
$tabRow1 = $ui->row()->open();
$innercol2 = $ui->col()->width(12)->open();
$tabBox1 = $ui->tabBox()->tab("t1", "Details of Receipt / Payment", true)->tab("t2", "Credits & Disbursement")->tab("t3", "Net Amount Paylable")->tab("t4", "Calculation Sheet For Course Consultancy/Testing Disbursement")->open();
$t1 = $ui->tabPane()->id("t1")->active()->open();
/*****************************TAB 1 OPEN*************************************************/
$A_box = $ui->box()->solid()->uiType('primary')->open();
$table_A = $ui->table()->id('table_a')->bordered()->open();
?>
<tr>
<td width=70%>Total Amount received</td>
<td><?php
$ui->input()->type('text')->name('a_total_amount')->id('a_total_amount')->value($disbursement->a_total_amt)->width(12)->show();
?>
</td>
</tr>
<tr>
<td width=70%>Services Tax (Including CESS) Cess</td>
<td><?php
$ui->input()->type('text')->name('a_services_tax')->id('a_services_tax')->value($disbursement->a_services_tax)->width(12)->required()->show();
?>
</td>
</tr>
示例2: UI
<?php
echo "<h4>" . $CS_session['course_name'] . " (" . $CS_session['branch'] . ") for Session " . $CS_session['session'] . "</h4>";
$ui = new UI();
$outer_row = $ui->row()->id('or')->open();
$column1 = $ui->col()->width(12)->t_width(6)->m_width(12)->open();
$formbox = $ui->box()->id('box_form')->open();
$form = $ui->form()->id("add_course_form")->action("course_structure/add/AddCoreSubjects")->multipart()->open();
if ($CS_session['count_core'] > 0) {
echo "Enter subjects for semester " . $CS_session['sem'];
$table = $ui->table()->responsive()->hover()->bordered()->open();
echo '
<tr>
<th>Order</th>
<th>Subject ID</th>
<th>Subject Name</th>
<th>Lecture</th>
<th>Tutorial</th>
<th>Practical</th>
<th>Credit Hours</th>
<th>Type</th>
</tr>';
for ($counter = 1; $counter <= $CS_session['count_core']; $counter++) {
echo '
<tr>
<td>';
$array_option = array();
for ($i = 1; $i <= $CS_session['count_core'] + $CS_session['count_elective']; $i++) {
array_push($array_option, $ui->option()->value($i)->text($i));
//echo '<option value="'.$i.'">'.$i.'</option>';
}
示例3: count
<?php
$ui = new UI();
$myTable = $ui->table()->id('usersTable')->bordered()->hover()->striped()->open();
?>
<thead>
<tr>
<th>Total Users</th><td><?php
echo count($users);
?>
</td>
</tr>
</thead>
<tbody>
<?php
if (count($users)) {
?>
<tr>
<th>Id</th>
<th>Name</th>
<th>Department</th>
<th>Operation</th>
</tr>
<?php
foreach ($users as $user) {
echo '<td>' . $user->id . '</td>';
echo '<td>' . $user->salutation . '. ' . ucwords(trim($user->first_name)) . ($user->middle_name != '' ? ' ' . ucwords(trim($user->middle_name)) : '') . ($user->last_name != '' ? ' ' . ucwords(trim($user->last_name)) : '') . '</td>';
echo '<td>' . $user->dept_name . '</td>';
echo '<td><input type="button" value="Deny" name="deny" onclick="delete_auth(' . $user->id . ');"/></td>';
}
}
示例4:
->name('select_form')
->options(array($ui->option()->value('0')->text('Change Profile Picture'),
$ui->option()->value('1')->text('Edit Basic Details'),
$ui->option()->value('2')->text('Edit Education Details')))
->width(6)
->show();*/
$student_admn_no->close();
$student_details_row_2 = $ui->row()->open();
$student_details_2_1 = $ui->col()->width(6)->open();
$student_details_2_1->close();
$ui->button()->submit(true)->value('Submit')->uiType('primary')->id('submit_button_id')->width(2)->show();
$student_details_row_2->close();
$select_details_to_edit_box->close();
$form->close();
$rejected_students_list_box = $ui->box()->uiType('primary')->id('UsersToValidateBox')->solid()->title('List of Rejected Students')->open();
$table = $ui->table()->hover()->id('UsersToValidate')->bordered()->striped()->responsive()->paginated()->searchable()->sortable()->condensed()->open();
?>
<thead>
<tr>
<th>User ID</th>
<th>Details to Validate</th>
</tr>
</thead>
<tfoot>
<tr>
<th>User ID</th>
<th>Details to Validate</th>
</tr>
</tfoot>
<?php
示例5: UI
<?php
$ui = new UI();
$head = $ui->row()->open();
$h_col = $ui->col()->width(12)->open();
$box = $ui->box()->title('Validation Requests')->uiType('primary')->open();
if (!$emp_validation_details) {
$this->callout()->title("No Pending Requests")->desc("There are no pending requests.")->show();
} else {
$table = $ui->table()->bordered()->condensed()->responsive()->open();
echo "<thead><tr align='center'>\n\t\t\t\t\t<td rowspan='2' style='vertical-align:middle' ><b>Employee Id</b></td>\n\t\t\t\t\t<td rowspan='2' style='vertical-align:middle' ><b>Employee Name</b></td>\n\t\t\t\t\t<td colspan='6' style='vertical-align:middle' ><b>Status</b></td>\n\t\t\t\t</tr>\n\t\t\t\t<tr align='center'>\n\t\t\t\t\t<td style='vertical-align:middle'><b>Profile Pic</b></td>\n\t\t\t\t\t<td style='vertical-align:middle'><b>Basic Details</b></td>\n\t\t\t\t\t<td style='vertical-align:middle'><b>Previous Employment Details</b></td>\n\t\t\t\t\t<td style='vertical-align:middle'><b>Dependent Family Member Details</b></td>\n\t\t\t\t\t<td style='vertical-align:middle'><b>Educational Qualifications</b></td>\n\t\t\t\t\t<td style='vertical-align:middle'><b>Last 5 Year Stay Details</b></td>\n\t\t\t\t</tr></thead><tbody>";
$i = 0;
foreach ($emp_validation_details as $v_row) {
$i++;
$user = $this->user_details_model->getUserById($v_row->id);
$emp_name = ucwords($user->salutation . '. ' . $user->first_name . ($user->middle_name != '' ? ' ' . $user->middle_name : '') . ($user->last_name != '' ? ' ' . $user->last_name : ''));
echo "<tr>\n\t\t\t\t\t<td align=\"center\" >" . $v_row->id . "</td>\n\t\t\t\t\t<td align=\"center\">" . $emp_name . "</td>";
//profile picture step
$label = $ui->label()->text(ucwords($v_row->profile_pic_status));
if ($v_row->profile_pic_status == 'pending') {
echo "<td align=\"center\" >";
if ($this->authorization->is_auth('est_ar')) {
echo "<a href='" . site_url("employee/validation/validate_step/" . $v_row->id . "/0") . "'>";
}
$label->uiType('info')->show();
if ($this->authorization->is_auth('est_ar')) {
echo '</a>';
}
echo '</td>';
} else {
if ($v_row->profile_pic_status == 'rejected') {
示例6: UI
<?php
$ui = new UI();
$row = $ui->row()->open();
$column1 = $ui->col()->open();
$table = $ui->table()->bordered()->hover()->responsive()->open();
$i = 1;
foreach ($individuals as $row1) {
?>
<tr>
<td><?php
$ui->input()->id("individual_name" . $i)->name('individual_name' . $i)->required()->placeholder($row1->user_id)->value($row1->user_id)->show();
?>
</td>
</tr><?php
$i++;
}
$table->close();
$column1->close();
$row->close();
示例7:
$error_str .= $str . '<br>';
}
$ui->alert()->uiType('danger')->desc($error_str)->show();
}
}
$ref_self = $_SERVER['PHP_SELF'];
$row = $ui->row()->open();
$column1 = $ui->col()->width(3)->open();
$column1->close();
$column = $ui->col()->width(6)->open();
$box = $ui->box()->title('Select Leave Type')->solid()->uiType('primary')->open();
$ui->select()->id('leave_type_cancel')->label('Type Of Leave')->options(array($ui->option()->value('$')->text('Select'), $ui->option()->value('Casual Leave')->text('Casual Leave'), $ui->option()->value('Restricted Leave')->text('Restricted Leave')))->show();
$box->close();
$column->close();
$row->close();
$row1 = $ui->row()->id('leave_table_container')->open();
$column3 = $ui->col()->width(1)->open();
$column3->close();
$column4 = $ui->col()->width(10)->open();
$box = $ui->box()->title('Cancellable Leave')->solid()->uiType('primary')->open();
$form = $ui->form()->action('leave/leave_cancel')->open();
$table_cancel = $ui->table()->id('leave_to_cancel_table')->hover()->responsive()->sortable()->searchable()->paginated()->bordered()->open();
$table_cancel->close();
$ui->button()->type('submit')->value('Cancel')->submit(true)->name('cancel')->uiType('primary')->show();
$form->close();
$box->close();
$column4->close();
$row1->close();
?>
示例8: UI
<?php
$ui = new UI();
$outer_row = $ui->row()->id('or')->open();
$column1 = $ui->col()->width(12)->t_width(6)->m_width(12)->open();
$box_basic_details = $ui->box()->id('box_form')->title("Basic Information")->open();
$table = $ui->table()->responsive()->hover()->bordered()->open();
//var_dump( $auth_type);
foreach ($company_basic_info as $row) {
echo '
<thead>
<tr>
<th>Company Name</th>
<td>' . $row->company_name . '</td>
</tr>';
if (!in_array('stu', $auth_type)) {
echo '
<tr>
<th>Contact Person</th>
<td>' . $row->name . '</td>
</tr>
<tr>
<th>Designation</th>
<td>' . $row->designation . '</td>
</tr>
<tr>
<th>Email ID</th>
<td>' . $row->user_id . '</td>
</tr>
<tr>
<th>Address</th>
示例9:
->name('select_form')
->options(array($ui->option()->value('0')->text('Change Profile Picture'),
$ui->option()->value('1')->text('Edit Basic Details'),
$ui->option()->value('2')->text('Edit Education Details')))
->width(6)
->show();*/
$student_admn_no->close();
$student_details_row_2 = $ui->row()->open();
$student_details_2_1 = $ui->col()->width(6)->open();
$student_details_2_1->close();
$ui->button()->submit(true)->value('Submit')->uiType('primary')->id('submit_button_id')->width(2)->show();
$student_details_row_2->close();
$select_details_to_edit_box->close();
$form->close();
$rejected_students_list_box = $ui->box()->uiType('primary')->id('rejectedUsersBox')->solid()->title('List of Rejected Students')->open();
$table = $ui->table()->hover()->id('rejectedUsers')->bordered()->striped()->responsive()->paginated()->searchable()->sortable()->condensed()->open();
?>
<thead>
<tr>
<th>User ID</th>
<th>Reason For Rejection</th>
</tr>
</thead>
<tfoot>
<tr>
<th>User ID</th>
<th>Reason For Rejection</th>
</tr>
</tfoot>
<?php
示例10:
$col1->close();
$col2 = $ui->col()->width(6)->open();
$ui->input()->type('text')->label('CONS')->name('consultancy_no')->id('consultancy_no')->width(12)->value($consultancy_no)->disabled()->show();
$col2->close();
$ui->callout()->uiType("info")->desc('Enlc : Photocopies of money receipts.
Disbursement sheet,
Statement of expenditure,
Distribution list of Honoraria
to faculty and supporting staff of ISM.')->show();
$inputRow2->close();
$form = $ui->form()->action('consultant/consultant_disbursement_sheet/reconfirmation/' . $consultancy_no . '/' . $sr_no)->extras('enctype="multipart/form-data"')->open();
$tabRow1 = $ui->row()->open();
$tabBox1 = $ui->tabBox()->tab("t1", "Details of Receipt", true)->tab("t2", "Credits and Disbursement")->tab("t3", "Net Amount")->tab("t4", "Consultants")->tab("t5", "Supporting Staffs")->open();
$t1 = $ui->tabPane()->id("t1")->active()->open();
$A_box = $ui->box()->title('Details of Receipt/Payment:')->solid()->uiType('primary')->open();
$table_A = $ui->table()->id('table_a')->open();
?>
<tr>
<td width=70%>Total Charges</td>
<td><?php
$ui->input()->type('text')->name('a_total_charges')->id('a_total_charges')->value($disbursement->a_total_charge)->width(12)->required()->show();
?>
</td>
</tr>
<tr>
<td width=70%>Services Tax + Educational Cess</td>
<td><?php
$ui->input()->type('text')->name('a_services_tax')->id('a_services_tax')->value($disbursement->a_services_tax)->width(12)->required()->show();
?>
</td>
</tr>
示例11: UI
<div id="print">
<?php
$ui = new UI();
$tabsRow = $ui->row()->open();
$tabBox = $ui->tabBox()->icon($ui->icon("th"))->title("Duty Chart")->tab("today", $ui->icon("bars") . "Today Chart", true)->tab("tomorrow", $ui->icon("bars") . "Tomorrow Chart")->tab("complete", $ui->icon("bars") . "Complete Chart")->open();
$tab1 = $ui->tabPane()->id("today")->active()->open();
if (count($details_of_guards_at_a_date_today) == 0) {
$box = $ui->callout()->title("Empty List")->desc("There is no duty for any guard today.")->uiType("info")->show();
} else {
$table = $ui->table()->id('dateDutyChartTable')->responsive()->hover()->bordered()->striped()->sortable()->paginated()->searchable()->open();
?>
<thead>
<tr>
<th class="print-no-display" width="30px">Photo</th>
<th><center>Guard Name</center></th>
<th><center>Post Name</center></th>
<th><center>Shift</center></th>
<th><center>Replace</center></th>
<th><center>Remove</center></th>
</tr>
</thead>
<tfoot>
<tr>
<th class="print-no-display" width="30px">Photo</th>
<th><center>Guard Name</center></th>
<th><center>Post Name</center></th>
<th><center>Shift</center></th>
<th><center>Replace</center></th>
<th><center>Remove</center></th>
</tr>
示例12:
$selectqueryRow->close();
echo '</div>';
$headingBox->close();
?>
<?php
$headingBox = $ui->box()->id('postDutyChartBox')->uiType('info')->title('Details of Guards at post <div style="float:right; margin-left:10px;" id="post-div"></div>')->solid()->open();
$tabsRow = $ui->row()->open();
$tabsCol = $ui->col()->open();
$tabBox = $ui->tabBox()->icon($ui->icon("th"))->title("Duty Chart")->tab("regularp", $ui->icon("bars") . "Regular List", true)->tab("overtimep", $ui->icon("bars") . "Overtime List")->open();
$tab1 = $ui->tabPane()->id("regularp")->active()->open();
echo '<div id="postmessage-div" style="display:none;">';
$box = $ui->callout()->title("Empty List")->desc("List is empty for the given post.")->uiType("info")->show();
echo '</div>';
$tableRow = $ui->row()->id('postDutyChartTableRow')->open();
$table = $ui->table()->id('postDutyChartTable')->responsive()->hover()->bordered()->striped()->sortable()->paginated()->searchable()->open();
?>
<thead>
<tr>
<th class="print-no-display" width="30px">Photo</th>
<th><center>Guard Name</center></th>
<th><center>Shift</center></th>
<th><center>Duty Date</center></th>
</tr>
</thead>
<tfoot>
<tr>
<th class="print-no-display" width="30px">Photo</th>
<th><center>Guard Name</center></th>
<th><center>Shift</center></th>
示例13:
$col1 = $ui->col()->width(5)->open();
$ui->datePicker()->extras("required")->dateformat("yyyy-mm-dd")->id("date_from")->name("date_from")->label("Allot Date From ")->placeholder("Select Date")->show();
$col1->close();
$col1 = $ui->col()->width(5)->open();
$ui->datePicker()->extras("required")->dateformat("yyyy-mm-dd")->id("date_to")->name("date_to")->label("Allot Date To ")->placeholder("Select Date")->show();
$col1->close();
$col1 = $ui->col()->width(2)->extras("style='padding-top:24px;'")->open();
$ui->button()->value('Check Slot')->uiType('primary')->extras("valign='middle' style = 'vertical-align:middle;'")->id("btn_checkslot")->name('button')->show();
$col1->close();
$row_upper->close();
$ui->button()->value('Allot Date')->width(3)->uiType('primary')->submit()->name('submit')->show();
echo "<br><br>";
$form->close();
$box_makeschedule->close();
$box_alreadychedule = $ui->box()->id('box_makeschedule_bottom')->title("Companies In the above slot")->open();
$table = $ui->table()->id("table_makeschedule_bottom")->hover()->bordered()->searchable()->sortable()->paginated(true)->open();
echo '
<thead>
<tr>
<th>S.No</th>
<th>Company Name</th>
<th>Date</th>
<th>Status</th>
</tr>
</thead>
';
$table->close();
$box_alreadychedule->close();
$tab1->close();
$tab2 = $ui->tabPane()->id("tabPaneschedule")->open();
$box_schedule = $ui->box()->id('box_schedule')->title("Existing Schedule")->open();
示例14: foreach
$ui->input()->label('Contact No.')->name('contact3')->id('contact3')->show();
}
$correspondence_address_details_box->close();
$corr_address_col_2->close();
$address_details_row_3->close();
?>
</div><?php
$student_address_details_box->close();
$student_details_row->close();
$student_educational_details_row = $ui->row()->open();
$student_educational_details_box = $ui->box()->uiType('primary')->solid()->title('Educational Details')->open();
$ui->input()->type('hidden')->value($stu_basic_details->type)->id('student_type')->show();
$educational_details_row = $ui->row()->open();
$educational_details_row_1 = $ui->row()->open();
if ($stu_education_details != FALSE) {
$table = $ui->table()->responsive()->id('tableid')->hover()->width(12)->bordered()->open();
echo '
<tr>
<th>S no.</th>
<th>Examination</th>
<th>Branch/Specialization</th>
<th>School/College/University/Institute</th>
<th>Year</th>
<th>Percentage/Grade</th>
<th>Class/Division</th>
</tr>';
$i = 1;
foreach ($stu_education_details as $row) {
$year_array = array();
$year = 1926;
$present_year = date('Y');
示例15: UI
<?php
$ui = new UI();
if ($error != "") {
$ui->alert()->uiType('danger')->title('ERROR')->desc($error)->show();
}
if ($emp_prev_exp_details != FALSE) {
$upRow = $ui->row()->open();
$col = $ui->col()->open();
$box = $ui->box()->title('Previous Employment Details')->uiType('primary')->open();
$table = $ui->table()->id('tbl2')->responsive()->bordered()->paginated()->striped()->open();
echo '<thead valign="middle" ><tr align="center">
<th rowspan="2" >S no.</th>
<th rowspan="2">Full address of Employer</th>
<th rowspan="2">Position held</th>
<th colspan="2">Organization</th>
<th rowspan="2">Pay Scale</th>
<th rowspan="2">Remarks</th>
</tr>
<tr align="center">
<th>From</th>
<th>To</th>
</tr></thead><tbody>';
$i = 1;
foreach ($emp_prev_exp_details as $row) {
if ($row->remarks == "") {
$remarks = 'NA';
} else {
$remarks = $row->remarks;
}
echo '<tr name="row[]" align="center">