本文整理汇总了PHP中UI::datePicker方法的典型用法代码示例。如果您正苦于以下问题:PHP UI::datePicker方法的具体用法?PHP UI::datePicker怎么用?PHP UI::datePicker使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UI
的用法示例。
在下文中一共展示了UI::datePicker方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: AR
}
$table->close();
$E_box->close();
$t5->close();
/********************************************************************************************/
$t6 = $ui->tabPane()->id("t6")->open();
?>
<h4 align='center'>INDIAN SCHOOL OF MINES, DHANBAD</h4>
<table width=100%>
<tr>
<td width=70%></td>
<td>
CONSULTANCY / BILL<br>
<?php
$ui->input()->type('text')->name('memo_si_no')->id('memo_si_no')->label('SI.No')->value($sr_no)->show();
$ui->datePicker()->name('memo_dated')->id('memo_dated')->label('Dated')->value(date("yy-mm-dd"))->dateFormat('yy-mm-dd')->show();
?>
<br>
<P>While processing the bill AR (B&P) to check the SI.No. and ensure that earlier consultancy bills have already been processed for payment.</p>
</td>
</tr>
</table>
<h4 align='center'>OFFICE OF THE PROFESSOR OF CONTINUING EDUCATION<br>
INDIAN SCHOOL OF MINES, DHANBAD - 826004<br>
BILL FORWARDING MEMO FOR CONSULTANCY / COURSE ETC.</h4>
<table width=100%>
<tr>
<td width=60%>1. Consultancy No.</td>
<td><?php
$ui->input()->type('text')->name('memo_consultancy_no')->id('memo_consultancy_no')->value($consultancy_no)->show();
?>
示例2: array
$ui->input()->type("text")->label("Text")->placeholder("Text")->show();
$ui->input()->type("text")->label("A textbox with help")->placeholder("Text")->help("Some help text goes here")->show();
$ui->input()->type("text")->label("Text Disabled")->placeholder("Text Disabled")->disabled()->show();
$ui->textarea()->label("Textarea")->placeholder("Textarea")->show();
$ui->input()->type("text")->label("Input with success")->placeholder("Enter text")->uiType("success")->show();
$ui->input()->type("text")->label("Input with warning")->placeholder("Enter text")->uiType("warning")->show();
$ui->input()->type("text")->label("Input with error")->placeholder("Enter text")->uiType("error")->show();
$ui->checkbox()->label("Checkbox")->show();
$ui->checkbox()->label("Disabled Checkbox")->disabled()->show();
$ui->radio()->label("Radio button")->name("sampleRadio")->checked()->show();
$ui->radio()->label("Another Radio Button")->name("sampleRadio")->show();
$ui->select()->label('Select Box')->name('select_box')->options(array($ui->option()->value('0')->text('Select')->disabled(), $ui->option()->value('1')->text('One'), $ui->option()->value('2')->text('Two'), $ui->option()->value('3')->text('Three'), $ui->option()->value('4')->text('Four')->selected(), $ui->option()->value('5')->text('Five')))->show();
$sampleOptions = array($ui->option()->value('0')->text('Select')->disabled(), $ui->option()->value('1')->text('One'), $ui->option()->value('2')->text('Two'), $ui->option()->value('3')->text('Three'), $ui->option()->value('4')->text('Four')->selected(), $ui->option()->value('5')->text('Five'));
$ui->select()->label('Multiple Select Box')->name('multiple_select_box')->multiple()->options($sampleOptions)->show();
$ui->imagePicker()->label("An image picker")->show();
$ui->datePicker()->label("A date picker")->show();
$ui->timePicker()->label("A time picker")->show();
$ui->slider()->id('slider2')->min('0')->label('A slider')->max('100')->step('1')->grid()->value("15")->show();
$ui->slider()->id('slider1')->label('A ranged slider')->min('0')->max('50000')->step('100')->rangeType()->dataFrom('9000')->dataTo('20000')->prefix('$')->show();
?>
<p>To create input elements with smaller widths, create a <code>Row</code> and place the inputs inside it with their <code>width()</code> property:</p>
<pre>
$inputsRow = $ui->row()->open();
$ui->input()->type("text")->...->width(2)->show();
$ui->select()->...->width(4)->show();
$ui->input()->...->width(6)->show();
$inputsRow->close();
</pre>
<?php
$textRow = $ui->row()->open();
$ui->input()->type("text")->label("Small")->placeholder("Enter text")->width(2)->show();
示例3: date
}
echo '</tbody>';
$table->close();
} else {
$ui->callout()->title('Empty')->desc('No Stay Details Found.')->uiType('danger')->show();
}
$box->close();
}
$col->close();
$upRow->close();
$form = $ui->form()->id('stay_details')->action('employee/edit/update_last_5yr_stay_details/' . $emp_id)->open();
$row = $ui->row()->open();
$col = $ui->col()->width(12)->open();
$box = $ui->box()->uiType('primary')->title('Add Last 5 Year Stay Details')->tooltip("Click Add after entering following details")->open();
$row11 = $ui->row()->open();
$ui->input()->name("addr5")->label('Residential Address')->width(12)->t_width(12)->show();
$row11->close();
$row12 = $ui->row()->open();
$date = date("Y-m-d", time());
$newdate = strtotime('-5 year', strtotime($date));
$ui->datePicker()->name('from5')->id('from51')->dateFormat('dd-mm-yyyy')->addonRight($ui->icon("calendar"))->placeholder("dd-mm-yyyy")->label('From')->width(3)->t_width(3)->extras('max="' . date('d-m-Y') . '" min="' . date('d-m-Y', $newdate) . '"')->show();
$ui->datePicker()->name('to5')->id('to51')->dateFormat('dd-mm-yyyy')->addonRight($ui->icon("calendar"))->placeholder("dd-mm-yyyy")->label('To')->width(3)->t_width(3)->extras('max="' . date('d-m-Y') . '" min="' . date('d-m-Y', $newdate) . '"')->show();
$ui->input()->name("dist5")->label('Name of District Headquarters')->width(6)->t_width(6)->show();
$row12->close();
$box->close();
$col->close();
$row->close();
$ui->button()->classes('pull-right')->submit()->id('add_btn')->name('submit')->value("Add")->large()->uiType('primary')->icon($ui->icon("plus"))->show();
$ui->button()->value('Back')->id('back_btn')->name('back')->large()->uiType('primary')->icon($ui->icon("arrow-left"))->show();
echo "<br />";
$form->close();
示例4: foreach
} else {
$postname_array[] = $ui->option()->value('')->text('Select Postname')->disabled();
foreach ($posts as $row) {
$postname_array = array_values($postname_array);
$postname_array[] = $ui->option()->value($row['post_id'])->text($row['postname']);
}
}
$ui->select()->name('post_id')->id('post_id')->addonLeft($ui->icon("building"))->options($postname_array)->required()->show();
$postinput->close();
$postRow->close();
$dateRow = $ui->row()->id('dateRow')->open();
$datelabel = $ui->col()->width(4)->t_width(8)->m_width(12)->open();
echo 'Select a date';
$datelabel->close();
$dateinput = $ui->col()->width(4)->t_width(4)->m_width(12)->open();
$ui->datePicker()->name('date')->id('date')->placeholder("Enter the date")->addonLeft($ui->icon("calendar"))->dateFormat('yyyy-mm-dd')->required()->extras("min='date('yyyy-mm-dd')'")->show();
$dateinput->close();
$dateRow->close();
$fromRow = $ui->row()->id('fromRow')->open();
$fromlabel = $ui->col()->width(4)->t_width(8)->m_width(12)->open();
echo 'From Time';
$fromlabel->close();
$frominput = $ui->col()->width(2)->t_width(4)->m_width(6)->open();
$ui->select()->name('hours_from')->id('hours_from')->addonLeft($ui->icon("clock-o"))->options(array($ui->option()->value('')->text('Hours')->disabled()->selected(), $ui->option()->value(0)->text(0), $ui->option()->value(1)->text(1), $ui->option()->value(2)->text(2), $ui->option()->value(3)->text(3), $ui->option()->value(4)->text(4), $ui->option()->value(5)->text(5), $ui->option()->value(6)->text(6), $ui->option()->value(7)->text(7), $ui->option()->value(8)->text(8), $ui->option()->value(9)->text(9), $ui->option()->value(10)->text(10), $ui->option()->value(11)->text(11), $ui->option()->value(12)->text(12), $ui->option()->value(13)->text(13), $ui->option()->value(14)->text(14), $ui->option()->value(15)->text(15), $ui->option()->value(16)->text(16), $ui->option()->value(17)->text(17), $ui->option()->value(18)->text(18), $ui->option()->value(19)->text(19), $ui->option()->value(20)->text(20), $ui->option()->value(21)->text(21), $ui->option()->value(22)->text(22), $ui->option()->value(23)->text(23)))->required()->show();
$frominput->close();
$fromMinCol = $ui->col()->width(2)->t_width(4)->m_width(6)->open();
$ui->select()->name('minutes_from')->id('minutes_from')->options(array($ui->option()->value('')->text('Minutes')->disabled()->selected(), $ui->option()->value(0.0)->text(00), $ui->option()->value(0.5)->text(30)))->required()->show();
$fromMinCol->close();
$freeCol = $ui->col()->width(4)->t_width(8)->m_width(12)->open();
$freeCol->close();
$fromRow->close();
示例5: Number
$star_circular->close();
$inputRow1 = $ui->row()->open();
if ($id->circular_id == NULL) {
$ui->input()->label('Circular ID<span style= "color:red;"> *</span>')->type('text')->name('circular_ids')->required()->value('1')->disabled()->width(6)->show();
} else {
$ui->input()->type('text')->label('Circular ID<span style= "color:red;"> *</span>')->name('circular_ids')->required()->width(6)->value($id->circular_id + 1)->disabled()->show();
}
$ui->input()->type('text')->label('Circular Number<span style= "color:red;"> *</span>')->name('circular_no')->required()->width(6)->placeholder('Enter Circular Number (Ex: CSE_CIRC_10185)')->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->select()->label('Viewed By<span style= "color:red;"> *</span>')->name('circular_cat')->options(array($ui->option()->value('emp')->text('Employee')->selected(), $ui->option()->value('stu')->text('Student'), $ui->option()->value('all')->text('All')))->width(6)->show();
$ui->textarea()->label('Circular Subject<span style= "color:red;"> *</span>')->placeholder('Enter the circular Subject in not more than 200 characters')->name('circular_sub')->required()->width(8)->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->input()->label('Circular File<span style= "color:red;"> *</span>')->type('file')->name('circular_path')->required()->width(6)->show();
$ui->datePicker()->name('valid_upto')->label('Last Date<span style= "color:red;"> *</span> (Atleast today)')->value(date("yy-mm-dd"))->dateFormat('yy-mm-dd')->width(6)->show();
$inputRow3->close();
echo "(Allowed Types: pdf, doc, docx, jpg, jpeg, png and Max Size: 1.0 MB)";
$value = 1;
if ($id->circular_id != NULL) {
$value = $id->circular_id + 1;
}
$ui->input()->type('hidden')->name('circular_id')->required()->value($value)->show();
?>
<center>
<?php
$ui->button()->value('Post Circular')->uiType('primary')->submit()->name('mysubmit')->show();
$form->close();
$box->close();
$column2->close();
$row->close();
示例6:
?>
</th>
</tr>
<tr>
<th>Type of Publication</th>
<th>
<?php
$ui->select()->name('type_of_pub')->id('type_of_pub')->options(array($ui->option()->value("all")->text("All"), $ui->option()->value(1)->text("National Journal"), $ui->option()->value(2)->text("International Journal"), $ui->option()->value(3)->text("National Conference"), $ui->option()->value(4)->text("International Conference"), $ui->option()->value(5)->text("Others")))->show();
?>
</th>
</tr>
<tr>
<th>Start Date</th>
<th>
<?php
$ui->datePicker()->label('Date')->name('start_date')->placeholder("Enter the date")->dateFormat('dd-mm-yyyy')->show();
?>
</th>
</tr>
<tr>
<th>End Date</th>
<th>
<?php
$ui->datePicker()->label('Date')->name('end_date')->placeholder("Enter the date")->dateFormat('dd-mm-yyyy')->show();
?>
</th>
</tr>
<?php
$table->close();
$row = $ui->row()->open();
?>
示例7: strtotime
array_push($grade_options, $ui->option()->value($row->pay_code)->text($row->grade_pay)->selected($row->grade_pay == $emp_pay_details->grade_pay));
}
$form = $ui->form()->id('basic_details')->action('employee/edit/update_own_basic_details/' . $emp_id)->open();
$row = $ui->row()->open();
$col = $ui->col()->width(12)->open();
$basic_box = $ui->box()->uiType('primary')->solid()->title('Personal Details')->open();
echo 'Fields marked with <span style= "color:red;">*</span> are mandatory.<br><br> ';
$row3 = $ui->row()->open();
$ui->select()->width(2)->name('salutation')->label('Salutation<span style= "color:red;"> *</span>')->options(array($ui->option()->value('Dr')->text('Dr')->selected($user_details->salutation == 'Dr'), $ui->option()->value('Prof')->text('Prof')->selected($user_details->salutation == 'Prof'), $ui->option()->value('Mr')->text('Mr')->selected($user_details->salutation == 'Mr'), $ui->option()->value('Mrs')->text('Mrs')->selected($user_details->salutation == 'Mrs'), $ui->option()->value('Ms')->text('Ms')->selected($user_details->salutation == 'Ms')))->show();
$ui->input()->width(3)->name('firstname')->required()->disabled()->placeholder("First Name")->value($user_details->first_name)->label('First Name<span style= "color:red;"> *</span>')->show();
$ui->input()->width(3)->name('middlename')->disabled()->label('Middle Name')->value($user_details->middle_name)->placeholder("Middle Name")->show();
$ui->input()->width(3)->name('lastname')->disabled()->value($user_details->last_name)->placeholder("Last Name")->label('Last Name')->show();
$row3->close();
$row4 = $ui->row()->open();
$ui->select()->width(3)->name('mstatus')->label('Marital Status<span style= "color:red;"> *</span>')->options(array($ui->option()->value('married')->text('Married')->selected($user_details->marital_status == 'married'), $ui->option()->value('unmarried')->text('Unmarried')->selected($user_details->marital_status == 'unmarried'), $ui->option()->value('widow')->text('Widow')->selected($user_details->marital_status == 'widow'), $ui->option()->value('widower')->text('Widower')->selected($user_details->marital_status == 'widower'), $ui->option()->value('separated')->text('Separated')->selected($user_details->marital_status == 'separated'), $ui->option()->value('divorced')->text('Divorced')->selected($user_details->marital_status == 'divorced')))->show();
$ui->datePicker()->label('DOB<span style= "color:red;"> *</span>')->id('dob')->disabled()->name('dob')->required()->dateFormat('dd-mm-yyyy')->width(3)->addonRight($ui->icon("calendar"))->value(date("d-m-Y", strtotime($user_details->dob)))->extras('max="' . date("d-m-Y") . '"')->show();
$ui->input()->width(3)->name('pob')->required()->disabled()->value($user_other_details->birth_place)->label('Place of Birth<span style= "color:red;"> *</span>')->show();
$row4->close();
$row2 = $ui->row()->open();
$col1 = $ui->col()->width(3)->open();
echo '<label>Gender<span style= "color:red;"> *</span></label>';
$ui->radio()->name('sex')->value('m')->label('Male')->disabled()->checked($user_details->sex == 'm')->show();
$ui->radio()->name('sex')->value('f')->label('Female')->disabled()->checked($user_details->sex == 'f')->show();
$ui->radio()->name('sex')->value('k')->label('Others')->disabled()->checked($user_details->sex == 'k')->show();
$col1->close();
$col2 = $ui->col()->width(3)->open();
echo '<label>Physically Challenged<span style= "color:red;"> *</span></label>';
$ui->radio()->name('pd')->value('yes')->label('Yes')->checked($user_details->physically_challenged == "yes")->show();
$ui->radio()->name('pd')->value('no')->label('No')->checked($user_details->physically_challenged == "no")->show();
$col2->close();
$col3 = $ui->col()->width(3)->open();
示例8: if
$ui->select()->label('Meeting Type<span style= "color:red;"> *</span>')->name('meeting_type')->options(array($ui->option()->value('Dean\'s Meeting')->text('Dean\'s Meeting'), $ui->option()->value('HOD\'s Meeting')->text('HOD\'s Meeting'), $ui->option()->value('GC Meeting')->text('GC Meeting')->selected(), $ui->option()->value('DAC Meeting')->text('DAC Meeting'), $ui->option()->value('others')->text('others')))->extras('onchange="javascript: if(this.value ' . "== 'others') document.getElementById('others').removeAttribute('disabled'); else document.getElementById('others').setAttribute('disabled','disabled');" . '" "')->width(6)->show();
$ui->input()->type('text')->name('meeting_others')->disabled()->id('others')->label('Other Type')->width(6)->placeholder('Only if Meeting Type other is selected')->show();
} else {
if ($minute_row->meeting_type == 'DAC Meeting') {
$ui->select()->label('Meeting Type<span style= "color:red;"> *</span>')->name('meeting_type')->options(array($ui->option()->value('Dean\'s Meeting')->text('Dean\'s Meeting'), $ui->option()->value('HOD\'s Meeting')->text('HOD\'s Meeting'), $ui->option()->value('GC Meeting')->text('GC Meeting'), $ui->option()->value('DAC Meeting')->text('DAC Meeting')->selected(), $ui->option()->value('others')->text('others')))->extras('onchange="javascript: if(this.value ' . "== 'others') document.getElementById('others').removeAttribute('disabled'); else document.getElementById('others').setAttribute('disabled','disabled');" . '" "')->width(6)->show();
$ui->input()->type('text')->name('meeting_others')->disabled()->id('others')->label('Other Type')->width(6)->placeholder('Only if Meeting Type other is selected')->show();
} else {
$ui->select()->label('Meeting Type<span style= "color:red;"> *</span>')->name('meeting_type')->options(array($ui->option()->value('Dean\'s Meeting')->text('Dean\'s Meeting'), $ui->option()->value('HOD\'s Meeting')->text('HOD\'s Meeting'), $ui->option()->value('GC Meeting')->text('GC Meeting'), $ui->option()->value('DAC Meeting')->text('DAC Meeting'), $ui->option()->value('others')->text('others')->selected()))->extras('onchange="javascript: if(this.value ' . "== 'others') document.getElementById('others').removeAttribute('disabled'); else document.getElementById('others').setAttribute('disabled','disabled');" . '" "')->width(6)->show();
$ui->input()->type('text')->name('meeting_others')->id('others')->label('Other Type')->value($minute_row->meeting_type)->width(6)->placeholder('Only if Meeting Type other is selected')->show();
}
}
}
}
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->datePicker()->name('date_of_meeting')->label('Date of Meeting<span style= "color:red;"> *</span>')->value($minute_row->date_of_meeting)->width(6)->dateFormat('yyyy-mm-dd')->show();
$ui->datePicker()->name('valid_upto')->label('Last Date<span style= "color:red;"> *</span> (Atleast today)')->value($minute_row->valid_upto)->dateFormat('yyyy-mm-dd')->width(6)->show();
$inputRow3->close();
$inputRow4 = $ui->row()->open();
$ui->input()->type('text')->name('place_of_meeting')->value($minute_row->place_of_meeting)->width(6)->required()->placeholder('CSE Department')->label('Place of Meeting<span style= "color:red;"> *</span>')->show();
$coll = $ui->col()->width(6)->open();
echo '<br/><a href="' . base_url() . 'assets/files/information/minute/' . $minute_row->minutes_path . '" title="download file" download="' . $minute_row->minutes_path . '">' . $minute_row->minutes_path . '</a>';
$js = 'onclick="javascript:document.getElementById(\'filebox\').style.display=\'block\';"';
$coll->close();
echo "<div align='right'>";
$colll = $ui->col()->width(6)->open();
$ui->button()->icon($ui->icon('refresh'))->value('Change File')->uiType('primary')->extras($js)->show();
$colll->close();
echo "</div>";
$inputRow4->close();
$inputRow6 = $ui->row()->id('filebox')->extras('style="display:none"')->open();
示例9: array
$array_days = array();
$array_days[0] = $ui->option()->value(0)->text(0)->selected();
for ($i = 1; $i < 32; $i++) {
array_push($array_days, $ui->option()->value($i)->text($i));
}
$ui->select()->label('Days<span style= "color:red;"> *</span>')->name('days')->id('days')->options($array_days)->width(3)->show();
$inputRow1->close();
$inputRow3 = $ui->row()->open();
$value = '';
//print_r($payment_no);
if ($payment_no->payment_no) {
$value = $client->timestamp;
} else {
$value = date("Y-mm-dd");
}
$ui->datePicker()->name('starting_date')->label('Starting Date<span style= "color:red;"> *</span>')->value(date("Y-mm-dd"))->dateFormat('yyyy-mm-dd')->value($value)->width(6)->show();
$ui->input()->type('hidden')->name('sr_no')->value($cons_row->sr_no)->required()->show();
$value = 1;
if (!empty($id)) {
$value = $id->consultancy_no;
}
$ui->input()->type('hidden')->name('cons')->value($value)->required()->show();
$value = $payment_no->payment_no + 1;
$ui->input()->type('hidden')->name('payment_no')->value($value)->required()->show();
$inputRow3->close();
$ETS_box->close();
$Client_box = $ui->box()->title('Client Details(Fill in Block Letters)')->solid()->uiType('primary')->open();
$inputRow1 = $ui->row()->open();
$value = '';
if ($payment_no->payment_no) {
$value = $client->firm_name;
示例10:
$i++;
}
echo '</tbody>';
$table->close();
$box->close();
$col->close();
$upRow->close();
}
$form = $ui->form()->id('emp_fam_details')->multipart()->action('employee/add/insert_family_details/' . $add_emp_id)->open();
$row = $ui->row()->open();
$col = $ui->col()->width(12)->open();
$box = $ui->box()->uiType('primary')->title('Add Dependent Family Members Details')->tooltip("Click Add after entering following details")->open();
$row11 = $ui->row()->open();
$ui->input()->name('name3')->label('Name')->placeholder('Enter Full Name')->width(6)->show();
$ui->select()->name('relationship3')->label('Relationship')->width(3)->options(array($ui->option()->value("")->text("Choose One")->disabled()->selected(), $ui->option()->value("Father")->text("Father"), $ui->option()->value("Mother")->text("Mother"), $ui->option()->value("Spouse")->text("Spouse"), $ui->option()->value("Son")->text("Son"), $ui->option()->value("Daughter")->text("Daughter")))->show();
$ui->datePicker()->name('dob3')->dateFormat('dd-mm-yyyy')->addonRight($ui->icon("calendar"))->placeholder("dd-mm-yyyy")->label('DOB')->width(3)->show();
$row11->close();
$row12 = $ui->row()->open();
$ui->input()->name("profession3")->placeholder("Enter Profession")->label('Profession')->width(4)->t_width(5)->show();
$ui->input()->name('active3')->label('Active/Inactive')->value('Active')->addonRight($ui->button()->icon($ui->icon('check')->id('icon'))->id('status_toggle')->uiType('success'))->extras('readonly')->width(3)->t_width(3)->show();
$row12->close();
$row13 = $ui->row()->open();
$ui->input()->name("addr3")->placeholder('Enter Present Postal Address')->label('Present Postal Address')->width(12)->t_width(12)->show();
$row13->close();
$row14 = $ui->row()->open();
$ui->imagePicker()->width(12)->label("Photograph")->id('photo3')->name('photo3')->show();
$row14->close();
$box->close();
$col->close();
$row->close();
$ui->button()->submit()->id('add_btn')->name('submit')->value("Add")->large()->uiType('primary')->icon($ui->icon("plus"))->show();
示例11: Type
$inputRow2 = $ui->row()->open();
$ui->input()->type('text')->label('Foreign Currency Type(if any)')->name('currency_type')->id("currency_type")->value($details->currency_type)->width(6)->disabled()->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$inputRow3->close();
$inputRow4 = $ui->row()->open();
$ui->input()->type('text')->label('Total Value(in figure)')->name('total_value_fig')->value($details->value_fig)->width(6)->disabled()->show();
$ui->input()->type('text')->label('Total Value(in words)')->name('total_value_words')->value($details->value_word)->width(6)->disabled()->show();
$inputRow4->close();
$inputRow5 = $ui->row()->open();
$ui->input()->type('text')->label('Bank Name and Branch')->name('bank_name')->value($details->bank_name)->width(6)->disabled()->show();
$ui->input()->type('text')->label('DD/Cheque/Transection No.')->name('dd_cheque_no')->value($details->dd_cheque_no)->width(6)->disabled()->show();
$inputRow5->close();
$inputRow6 = $ui->row()->open();
$ui->input()->type('text')->label('DD/Cheque/Transection Amount')->name('dd_cheque_amount')->value($details->dd_cheque_amt)->width(6)->disabled()->show();
$ui->datePicker()->name('dd_cheque_date')->label('DD/Cheque/Transection Date.')->dateFormat('yyyy-mm-dd')->value($details->dd_cheque_date)->width(6)->disabled()->show();
$inputRow6->close();
$inputRow6 = $ui->row()->open();
$innercol2 = $ui->col()->width(12)->open();
echo '<b>scan copy of DD/Cheque/Transection</b> ';
echo '<a href="' . base_url() . 'assets/files/consultant/DD/' . $details->file_path . '" title=
"download file" download="' . $details->file_path . '">' . $details->file_path . '</a><br/>';
$innercol2->close();
$inputRow6->close();
$TCAPD_box->close();
$OAT_box = $ui->box()->title('Objective And Type')->solid()->uiType('primary')->open();
$tabBox1 = $ui->tabBox()->tab("scope", "Scope of consultancy", true)->tab("testing", "Testing Type")->tab("client", "Client Type")->open();
$tab1 = $ui->tabPane()->id("scope")->active()->open();
$flag = 1;
/**scope of consultancy*/
$inputRow1 = $ui->row()->open();
示例12: array
$col = $ui->col()->width(12)->t_width(12)->m_width(12)->open();
$tabbox = $ui->tabBox()->tab("tabPanemakeschedule", "Make Schedule", true)->tab("tabPaneschedule", "Existing Schedule")->tab("tabPanesreschedule", "Reschedule Companies")->open();
$tab1 = $ui->tabPane()->id("tabPanemakeschedule")->active()->open();
$box_makeschedule = $ui->box()->id('box_makeschedule_top')->title("Create Schedule")->open();
$form = $ui->form()->id("add_course_form")->action("tnpcell/allot_date/AllotDatesToCompany")->multipart()->open();
$row_lower = $ui->row()->open();
$array_options = array();
array_push($array_options, $ui->option()->extras("value=''")->text("Select Company")->disabled()->selected());
foreach ($company_basic_info as $row) {
array_push($array_options, $ui->option()->value($row->company_id)->text($row->company_name . " (" . $row->session . ")"));
}
$ui->select()->label("Select Company")->id("ddl_company")->name("ddl_company")->width(12)->options($array_options)->required()->show();
$row_lower->close();
$row_upper = $ui->row()->open();
$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 '
示例13:
$purposeinput->close();
$purposeRow->close();
$reasonRow = $ui->row()->id('reasonRow')->open();
$reasonlabel = $ui->col()->width(4)->t_width(4)->m_width(12)->open();
echo 'If others Please Specify';
$reasonlabel->close();
$reasoninput = $ui->col()->width(8)->t_width(8)->m_width(12)->open();
$ui->textarea()->name('reason')->placeholder("Enter the purpose")->show();
$reasoninput->close();
$reasonRow->close();
$checkinRow = $ui->row()->id('checkinRow')->open();
$checkinlabel = $ui->col()->width(4)->t_width(4)->m_width(12)->open();
echo 'Check-In-Date-Time';
$checkinlabel->close();
$checkininput = $ui->col()->width(8)->t_width(8)->m_width(12)->open();
$ui->datePicker()->name('checkin')->placeholder("Select Check-In-Date-Time")->addonLeft($ui->icon("calendar"))->dateFormat('yyyy-mm-dd')->required()->show();
$checkininput->close();
$checkinRow->close();
$checkoutRow = $ui->row()->id('checkoutRow')->open();
$checkoutlabel = $ui->col()->width(4)->t_width(4)->m_width(12)->open();
echo 'Check-Out-Date-Time';
$checkoutlabel->close();
$checkoutinput = $ui->col()->width(8)->t_width(8)->m_width(12)->open();
$ui->datePicker()->name('checkout')->placeholder("Select Check-Out-Date-Time")->addonLeft($ui->icon("calendar"))->dateFormat('yyyy-mm-dd')->required()->show();
$checkoutinput->close();
$checkoutRow->close();
$guestRow = $ui->row()->id('guestRow')->open();
$guestlabel = $ui->col()->width(4)->t_width(4)->m_width(12)->open();
echo 'Whether School Guest?';
$guestlabel->close();
$guestinput = $ui->col()->width(8)->t_width(8)->m_width(12)->open();
示例14: date
}
}
}
echo ' (' . date('d M Y g:i a', strtotime($action_recent->timestamp) + 19800) . ') </span>';
$col1->close();
$column1 = $ui->col()->width(2)->open();
$column1->close();
$column2 = $ui->col()->width(8)->open();
$form = $ui->form()->action('consultant/consultancy_proposal_approve/form3_submit/' . $form2->sr_no . '/' . $form2->payment_no)->extras('enctype="multipart/form-data"')->id('form_submit')->open();
$box = $ui->box()->title('Generate Receipt')->solid()->uiType('primary')->open();
$row1 = $ui->row()->open();
$ui->input()->type('text')->label('Consultancy / Assignment No.')->name('cons')->id('cons')->value($form2->consultancy_no)->width(6)->disabled()->show();
$ui->input()->type('text')->label('ISM Cash Receipt No.')->name('receipt_no')->id('receipt_no')->value()->width(6)->show();
$row1->close();
$row1 = $ui->row()->open();
$ui->datePicker()->name('dated')->label('Dated<span style= "color:red;"> *</span>')->value(date("Y-mm-dd"))->dateFormat('yyyy-mm-dd')->width(6)->show();
$ui->input()->type('text')->label('RS.')->name('amount')->id('amount')->value($form2->dd_cheque_amt)->width(6)->show();
$row1->close();
$inputRow6 = $ui->row()->open();
$innercol2 = $ui->col()->width(12)->open();
$ui->input()->label('Scan Copy Of Receipt')->type('file')->name('scope_path')->required()->show();
echo "(Allowed Types: pdf, doc, docx, jpg, jpeg, png, xls, xlsx, csv and Max Size: 1.0 MB)";
$innercol2->close();
$inputRow6->close();
?>
<center><br/>
<?php
$ui->button()->value('submit')->uiType('primary')->submit()->name('mysubmit')->show();
$box->close();
$form->close();
$column2->close();
示例15: date
$emp_sel_box->close();
$col->close();
echo '<div class="hideit">';
$col = $ui->col()->width(12)->open();
echo '<i class="loading" id="empIdIcon" ></i>';
$basic_box = $ui->box()->uiType('primary')->solid()->title('Personal Details')->open();
echo 'Fields marked with <span style= "color:red;">*</span> are mandatory.<br><br> ';
$row3 = $ui->row()->open();
$ui->select()->width(2)->name('salutation')->label('Salutation<span style= "color:red;"> *</span>')->options(array($ui->option()->value('Dr')->text('Dr'), $ui->option()->value('Prof')->text('Prof'), $ui->option()->value('Mr')->text('Mr'), $ui->option()->value('Mrs')->text('Mrs'), $ui->option()->value('Ms')->text('Ms')))->show();
$ui->input()->width(3)->name('firstname')->required()->placeholder("First Name")->label('First Name<span style= "color:red;"> *</span>')->show();
$ui->input()->width(3)->name('middlename')->label('Middle Name')->placeholder("Middle Name")->show();
$ui->input()->width(3)->name('lastname')->placeholder("Last Name")->label('Last Name')->show();
$row3->close();
$row4 = $ui->row()->open();
$ui->select()->width(3)->name('mstatus')->label('Marital Status<span style= "color:red;"> *</span>')->options(array($ui->option()->value('married')->text('Married'), $ui->option()->value('unmarried')->text('Unmarried'), $ui->option()->value('widow')->text('Widow'), $ui->option()->value('widower')->text('Widower'), $ui->option()->value('separated')->text('Separated'), $ui->option()->value('divorced')->text('Divorced')))->show();
$ui->datePicker()->label('DOB<span style= "color:red;"> *</span>')->id('dob')->name('dob')->required()->dateFormat('dd-mm-yyyy')->width(3)->addonRight($ui->icon("calendar"))->value(date("d-m-Y"))->extras('max="' . date("d-m-Y") . '"')->show();
$ui->input()->width(3)->name('pob')->required()->label('Place of Birth<span style= "color:red;"> *</span>')->show();
$row4->close();
$row2 = $ui->row()->open();
$col1 = $ui->col()->width(3)->open();
echo '<label>Gender<span style= "color:red;"> *</span></label>';
$ui->radio()->name('sex')->value('m')->label('Male')->checked()->show();
$ui->radio()->name('sex')->value('f')->label('Female')->show();
$ui->radio()->name('sex')->value('o')->label('Others')->show();
$col1->close();
$col2 = $ui->col()->width(3)->open();
echo '<label>Physically Challenged<span style= "color:red;"> *</span></label>';
$ui->radio()->name('pd')->value('yes')->label('Yes')->show();
$ui->radio()->name('pd')->value('no')->label('No')->checked()->show();
$col2->close();
$col3 = $ui->col()->width(3)->open();