Пример #1
0
$ui = new UI();
$row = $ui->row()->open();
$column1 = $ui->col()->width(2)->open();
$column1->close();
$column2 = $ui->col()->width(8)->open();
$box = $ui->box()->title('File Details')->solid()->uiType('primary')->open();
$form = $ui->form()->action('file_tracking/send_new_file/insert_file_details')->open();
$inputRow1 = $ui->row()->open();
$ui->input()->placeholder('Enter file number')->type('text')->label('File Number')->name('file_no')->width(6)->show();
$ui->input()->placeholder('Enter file subject')->type('text')->label('File Subject')->name('file_sub')->required()->width(6)->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->select()->label('Department Type')->name('type')->id('type')->required()->options(array($ui->option()->value('""')->text('Select')->selected(), $ui->option()->value('academic')->text('Academic'), $ui->option()->value('nonacademic')->text('Non Academic')))->width(6)->show();
$ui->select()->label('Select Department')->name('department_name')->id('department_name')->required()->options(array($ui->option()->value('""')->text('Select')))->width(6)->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->select()->label('Designation')->name('designation')->id('designation')->required()->options(array($ui->option()->value('""')->text('Select')))->width(6)->show();
$ui->select()->label('Employee Name')->name('emp_name')->id('emp_name')->required()->options(array($ui->option()->value('""')->text('Select')->selected()))->width(6)->show();
$inputRow3->close();
$ui->textarea()->label('Remarks')->name('remarks')->placeholder('Remarks')->show();
?>
<center>
<?php 
$ui->button()->value('Send File')->submit(true)->uiType('primary')->show();
$form->close();
$box->close();
$column2->close();
$row->close();
?>
</center>
Пример #2
0
?>
</span></p><?php 
$c2->close();
$c3 = $ui->col()->width(4)->open();
//				$ui->textarea()->label('Action Taken')->name("action_taken")->value($remarks)->disabled()->show();
?>
<p><strong> Action Taken </strong><br/>
			  <sapn><?php 
echo $remarks;
?>
</span></p><?php 
$c3->close();
$inputRow3->close();
$inputRow4 = $ui->row()->open();
$c1 = $ui->col()->width(6)->open();
$ui->textarea()->label('Fresh Action')->name("fresh_action")->placeholder('Fresh Action')->required()->show();
$c1->close();
$c2 = $ui->col()->width(4)->open();
$ui->select()->label('Status')->name('status')->required()->options(array($ui->option()->value("Under Processing")->text('Under Processing'), $ui->option()->value("Rejected")->text('Rejected'), $ui->option()->value("Closed")->text('Closed')))->show();
$c2->close();
$inputRow4->close();
?>
<center>
<?php 
$ui->button()->value('Submit')->submit(true)->id('complaint')->uiType('primary')->show();
$form->close();
$box->close();
$column2->close();
$row->close();
?>
</center>
Пример #3
0
$ui->select()->name('empnature')->disabled()->label('Nature of Employment<span style= "color:red;"> *</span>')->options(array($ui->option()->value('permanent')->text('Permanent')->selected($emp->employment_nature == 'permanent'), $ui->option()->value('temporary')->text('Temporary')->selected($emp->employment_nature == 'temporary'), $ui->option()->value('probation')->text('Probation')->selected($emp->employment_nature == 'probation'), $ui->option()->value('contract')->text('Contract')->selected($emp->employment_nature == 'contract'), $ui->option()->value('others')->text('Others')->selected($emp->employment_nature == 'others')))->show();
$dt = DateTime::createFromFormat("Y-m-d", $emp->retirement_date);
$ui->datePicker()->label('Date of Retirement<span style= "color:red;"> *</span>')->id('retire')->disabled()->name('retire')->value($dt->format('d-m-Y'))->required()->dateFormat('dd-mm-yyyy')->addonRight($ui->icon("calendar"))->show();
$emp_box->close();
$pay_box = $ui->box()->uiType('primary')->solid()->title('Payment Details')->open();
$ui->select()->name('payscale')->id('payscale')->label('Pay Band<span style= "color:red;"> *</span>')->options($pay_options)->required()->disabled()->show();
$ui->select()->name("gradepay")->id("gradepay")->label('Grade Pay<span style= "color:red;"> *</span>')->addonLeft($ui->icon('rupee'))->addonRight('.00')->disabled()->options($grade_options)->disabled()->required()->show();
$ui->input()->name("basicpay")->id("basicpay")->label('Basic Pay<span style= "color:red;"> *</span>')->value($emp_pay_details->basic_pay)->disabled()->addonLeft($ui->icon('rupee'))->addonRight('.00')->required()->show();
$pay_box->close();
$col->close();
$col = $ui->col()->width(8)->open();
$addr_box = $ui->box()->uiType('primary')->solid()->title('Address Details')->open();
$row1 = $ui->row()->open();
$col1 = $ui->col()->width(6)->t_width(6)->open();
echo '<h3 class="page-header">Present Address</h3>';
$ui->textarea()->name('line11')->required()->label('Address Line 1<span style= "color:red;"> *</span>')->value($present_address->line1)->show();
$ui->input()->name('line21')->label('Address Line 2')->value($present_address->line2)->show();
$ui->input()->name('city1')->label('City<span style= "color:red;"> *</span>')->value($present_address->city)->required()->show();
$ui->select()->name('state1')->label('State<span style= "color:red;"> *</span>')->required()->options($present_state_options)->show();
$ui->input()->name('pincode1')->label('Pin Code<span style= "color:red;"> *</span>')->type('tel')->value($present_address->pincode)->required()->show();
$ui->input()->name('country1')->label('Country<span style= "color:red;"> *</span>')->value($present_address->country)->required()->show();
$ui->input()->name('contact11')->label('Contact No<span style= "color:red;"> *</span>')->type('tel')->value($present_address->contact_no)->required()->show();
$col1->close();
$col2 = $ui->col()->width(6)->t_width(6)->open();
echo '<h3 class="page-header">Permanent Address</h3>';
$ui->textarea()->name('line12')->disabled()->label('Address Line 1<span style= "color:red;"> *</span>')->value($permanent_address->line1)->show();
$ui->input()->name('line22')->disabled()->value($permanent_address->line2)->label('Address Line 2')->show();
$ui->input()->name('city2')->label('City<span style= "color:red;"> *</span>')->disabled()->value($permanent_address->city)->show();
$ui->select()->name('state2')->label('State<span style= "color:red;"> *</span>')->disabled()->options($permanent_state_options)->show();
$ui->input()->name('pincode2')->label('Pin Code<span style= "color:red;"> *</span>')->type('tel')->disabled()->value($permanent_address->pincode)->show();
$ui->input()->name('country2')->label('Country<span style= "color:red;"> *</span>')->disabled()->value($permanent_address->country)->show();
Пример #4
0
        </tfoot>
<?php 
$myDataTable->close();
$box1->close();
$col->close();
$dataTablesRow->close();
?>
<h2 class="page-header">Form Elements</h2><?php 
$formRow = $ui->row()->open();
$col = $ui->col()->width(8)->open();
$box = $ui->box()->title("General Elements")->open();
$ui->callout()->uiType("info")->desc("See wiki for a detailed explanation of creating each type of element.")->show();
$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();
$ui->input()->type('text')->label('Days')->name('days')->value($details->days)->width(3)->disabled()->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->input()->type('text')->label('Starting Date')->value(date('d M Y ', strtotime($details->timestamp) + 19800))->width(6)->disabled()->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();
$ui->input()->type('text')->label('Firm Name')->name('firm_name')->value($details->firm_name)->width(12)->disabled()->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->input()->type('text')->label('Contact Person Name')->name('contact_person_name')->value($details->person_name)->width(6)->disabled()->show();
$ui->input()->type('text')->label('Designation')->name('client_designation')->value($details->designation)->width(6)->disabled()->show();
$inputRow2->close();
$inputRow2_1 = $ui->row()->open();
$ui->textarea()->label('Address')->name('client_address')->value($details->address)->width(12)->disabled()->show();
$inputRow2_1->close();
$inputRow3 = $ui->row()->open();
$ui->input()->type('text')->label('City')->name('client_city')->value($details->city)->width(6)->disabled()->show();
$ui->input()->type('text')->label('PIN')->name('client_pin')->value($details->pincode)->width(6)->disabled()->show();
$inputRow3->close();
$inputRow4 = $ui->row()->open();
$ui->input()->type('text')->label('Phone No')->name('client_phone_no')->value($details->contact_no)->width(6)->disabled()->show();
$ui->input()->type('text')->label('EXTN')->name('client_extn')->value($details->extn)->width(6)->disabled()->show();
$inputRow4->close();
$inputRow5 = $ui->row()->open();
$ui->input()->type('text')->label('Fax')->name('client_fax')->value($details->fax)->width(6)->disabled()->show();
$ui->input()->type('text')->label('E-mail')->name('client_email')->value($details->email)->width(6)->disabled()->show();
$inputRow5->close();
$Client_box->close();
/*****************************************************************************/
<br/><center>
          <?php 
$ui->button()->icon($ui->icon('check'))->name('action_taken')->id('action_taken')->value('Approve')->uiType('success')->show();
?>
          </center>
          <center>
          <?php 
$ui->button()->icon($ui->icon('check'))->name('action_taken')->id('action_taken6')->value($button_msg)->uiType('success')->show();
?>
          </center><br/><?php 
$col1->close();
$col1 = $ui->col()->id('approve_col')->width(12)->open();
?>
<center>
          <?php 
$ui->textarea()->label('Remark')->id('remark_text1')->name('remark_text1')->placeholder('Not more than 200 character')->value('')->show();
$ui->button()->icon($ui->icon('check'))->type('submit')->name('action_taken')->id('action_taken3')->value('Are You Sure To Approve')->uiType('success')->show();
?>
          </center><?php 
$col1->close();
$col1 = $ui->col()->id('forward_col')->width(12)->open();
?>
<center>
          <?php 
$ui->button()->icon($ui->icon('check'))->type('submit')->name('action_taken')->id('action_taken3')->value('Are You Sure To Forward')->uiType('success')->show();
?>
          </center><?php 
$col1->close();
$col1 = $ui->col()->width(12)->open();
$col1->close();
$innerrow1->close();
Пример #7
0
$box = $ui->box()->title('Circular Details')->solid()->uiType('primary')->open();
$form = $ui->form()->action('information/post_circular/index/' . $auth_id)->extras('enctype="multipart/form-data"')->open();
$star_circular = $ui->row()->open();
//echo" Fields marked with <span style= 'color:red;'>*</span> are mandatory.";
$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();
Пример #8
0
if ($type == 1 || $type == 2) {
    $row = $ui->row()->open();
    $row1 = $ui->row()->open();
    $innerColumn4 = $ui->col()->width(6)->open();
    $ui->input()->label('Issue No.')->name('issue_no')->required()->show();
    $innerColumn4->close();
    $innerCol2 = $ui->col()->width(6)->open();
    $ui->input()->label('Volume No.')->name('vol_no')->required()->show();
    $innerCol2->close();
    $row1->close();
    $row3 = $ui->row()->open();
    $innerColumn5 = $ui->col()->width(6)->open();
    $ui->input()->label('Page Range')->name('page_no')->required()->show();
    $innerColumn5->close();
    $innerColumn6 = $ui->col()->width(6)->open();
    $ui->textarea()->label('Any other informations')->name("other_info")->placeholder("Any other details")->required()->show();
    $innerColumn6->close();
    $row3->close();
    $Col = $ui->col()->width(4)->open();
    $Col->close();
    $Col1 = $ui->col()->width(4)->open();
    $row5 = $ui->row()->open();
    $ui->input()->id('num_of_authors')->label('No. of Authors')->name('no_of_authors')->required()->placeholder('No. of Authors')->extras(' onkeyup="get_authors(this.value)" ')->show();
    $row5->close();
    $Col1->close();
    $row->close();
    $row2 = $ui->col()->id('num_author')->width(12)->open();
    $row2->close();
}
if ($type == 3 || $type == 4) {
    $row = $ui->row()->open();
Пример #9
0
$dt = DateTime::createFromFormat("Y-m-d", $pending_emp->retirement_date);
$emp_dt = DateTime::createFromFormat("Y-m-d", $emp->retirement_date);
$ui->datePicker()->label('Date of Retirement<span style= "color:red;"> *</span>')->id('retire')->name('retire')->help($pending_emp->retirement_date == $emp->retirement_date ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $emp_dt->format('d-m-Y'))->uiType($pending_emp->retirement_date == $emp->retirement_date ? '' : $type)->value($dt->format('d-m-Y'))->required()->dateFormat('dd-mm-yyyy')->addonRight($ui->icon("calendar"))->show();
$emp_box->close();
$pay_box = $ui->box()->uiType('primary')->solid()->title('Salary Details')->open();
$ui->select()->name('payscale')->id('payscale')->label('Pay Band<span style= "color:red;"> *</span>')->help($pending_emp_pay_details->pay_band == $emp_pay_details->pay_band ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $emp_payband)->uiType($pending_emp_pay_details->pay_band == $emp_pay_details->pay_band ? '' : $type)->options($pay_options)->required()->show();
$ui->select()->name("gradepay")->id("gradepay")->label('Grade Pay<span style= "color:red;"> *</span>')->addonLeft($ui->icon('rupee'))->addonRight('.00')->help($pending_emp_pay_details->grade_pay == $emp_pay_details->grade_pay ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $emp_gradepay)->uiType($pending_emp_pay_details->grade_pay == $emp_pay_details->grade_pay ? '' : $type)->options($grade_options)->required()->show();
$ui->input()->name("basicpay")->id("basicpay")->label('Basic Pay<span style= "color:red;"> *</span>')->help($pending_emp_pay_details->basic_pay == $emp_pay_details->basic_pay ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $emp_pay_details->basic_pay)->uiType($pending_emp_pay_details->basic_pay == $emp_pay_details->basic_pay ? '' : $type)->value($pending_emp_pay_details->basic_pay)->addonLeft($ui->icon('rupee'))->addonRight('.00')->required()->show();
$pay_box->close();
$col->close();
$col = $ui->col()->width(8)->open();
$addr_box = $ui->box()->uiType('primary')->solid()->title('Address Details')->open();
$row1 = $ui->row()->open();
$col1 = $ui->col()->width(6)->t_width(6)->open();
echo '<h3 class="page-header">Present Address</h3>';
$ui->textarea()->name('line11')->required()->help($pending_present_address->line1 == $present_address->line1 ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $present_address->line1)->uiType($pending_present_address->line1 == $present_address->line1 ? '' : $type)->label('Address Line 1<span style= "color:red;"> *</span>')->value($pending_present_address->line1)->show();
$ui->input()->name('line21')->label('Address Line 2')->help($pending_present_address->line2 == $present_address->line2 ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $present_address->line2)->uiType($pending_present_address->line2 == $present_address->line2 ? '' : $type)->value($pending_present_address->line2)->show();
$ui->input()->name('city1')->label('City<span style= "color:red;"> *</span>')->help($pending_present_address->city == $present_address->city ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $present_address->city)->uiType($pending_present_address->city == $present_address->city ? '' : $type)->value($pending_present_address->city)->required()->show();
$ui->select()->name('state1')->label('State<span style= "color:red;"> *</span>')->help($pending_present_address->state == $present_address->state ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . ucwords($present_address->state))->uiType($pending_present_address->state == $present_address->state ? '' : $type)->options($present_state_options)->required()->show();
$ui->input()->name('pincode1')->label('Pin Code<span style= "color:red;"> *</span>')->type('tel')->help($pending_present_address->pincode == $present_address->pincode ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $present_address->pincode)->uiType($pending_present_address->pincode == $present_address->pincode ? '' : $type)->value($pending_present_address->pincode)->required()->show();
$ui->input()->name('country1')->label('Country<span style= "color:red;"> *</span>')->help($pending_present_address->country == $present_address->country ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $present_address->country)->uiType($pending_present_address->country == $present_address->country ? '' : $type)->value($pending_present_address->country)->required()->show();
$ui->input()->name('contact11')->label('Contact No<span style= "color:red;"> *</span>')->type('tel')->help($pending_present_address->contact_no == $present_address->contact_no ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $present_address->contact_no)->uiType($pending_present_address->contact_no == $present_address->contact_no ? '' : $type)->value($pending_present_address->contact_no)->required()->show();
$col1->close();
$col2 = $ui->col()->width(6)->t_width(6)->open();
echo '<h3 class="page-header">Permanent Address</h3>';
$ui->textarea()->name('line12')->required()->label('Address Line 1<span style= "color:red;"> *</span>')->help($pending_permanent_address->line1 == $permanent_address->line1 ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $permanent_address->line1)->uiType($pending_permanent_address->line1 == $permanent_address->line1 ? '' : $type)->value($pending_permanent_address->line1)->show();
$ui->input()->name('line22')->help($pending_permanent_address->line2 == $permanent_address->line2 ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $permanent_address->line2)->uiType($pending_permanent_address->line2 == $permanent_address->line2 ? '' : $type)->value($pending_permanent_address->line2)->label('Address Line 2')->show();
$ui->input()->name('city2')->label('City<span style= "color:red;"> *</span>')->required()->help($pending_permanent_address->city == $permanent_address->city ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $permanent_address->city)->uiType($pending_permanent_address->city == $permanent_address->city ? '' : $type)->value($pending_permanent_address->city)->show();
$ui->select()->name('state2')->label('State<span style= "color:red;"> *</span>')->required()->help($pending_permanent_address->state == $permanent_address->state ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . ucwords($permanent_address->state))->uiType($pending_permanent_address->state == $permanent_address->state ? '' : $type)->options($permanent_state_options)->show();
$ui->input()->name('pincode2')->label('Pin Code<span style= "color:red;"> *</span>')->type('tel')->required()->help($pending_permanent_address->pincode == $permanent_address->pincode ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $permanent_address->pincode)->uiType($pending_permanent_address->pincode == $permanent_address->pincode ? '' : $type)->value($pending_permanent_address->pincode)->show();
$ui->input()->name('country2')->label('Country<span style= "color:red;"> *</span>')->required()->help($pending_permanent_address->country == $permanent_address->country ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $permanent_address->country)->uiType($pending_permanent_address->country == $permanent_address->country ? '' : $type)->value($pending_permanent_address->country)->show();
Пример #10
0
if ($file_no) {
    $ui->input()->placeholder('Enter file number')->type('text')->label('File Number')->name('file_no')->value($file_no)->disabled()->width(6)->show();
} else {
    $ui->input()->placeholder('File No. not yet generated')->type('text')->label('File Number')->name('file_no')->width(6)->show();
}
$ui->input()->placeholder('Enter file subject')->type('text')->label('File Subject')->name('file_sub')->value($file_sub)->disabled()->width(6)->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->select()->label('Department Type')->name('type')->id('type')->required()->options(array($ui->option()->value('""')->text('Select')->selected(), $ui->option()->value('academic')->text('Academic'), $ui->option()->value('nonacademic')->text('Non Academic')))->width(6)->show();
$ui->select()->label('Select Department')->name('department_name')->id('department_name')->required()->options(array($ui->option()->value('""')->text('Select')->selected()))->width(6)->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->select()->label('Designation')->name('designation')->id('designation')->required()->options(array($ui->option()->value('""')->text('Select')->selected()))->width(6)->show();
$ui->select()->label('Employee Name')->name('emp_name')->id('emp_name')->options(array($ui->option()->value('""')->text('Select')->selected()))->width(6)->show();
$inputRow3->close();
$ui->textarea()->label('Remarks')->name('remarks')->placeholder('Remarks')->show();
?>
<center>
<?php 
$ui->button()->value('Send File')->uiType('primary')->submit(true)->show();
$form->close();
?>
</center>
<h2 align="center">OR</h2>
<?php 
$form2 = $ui->form()->action('file_tracking/send_new_file/insert_move_details/' . $file_id . '/' . $sent_by_emp_id)->open();
$ui->input()->type('hidden')->name('file_no')->value($file_no)->show();
$ui->textarea()->label('Enter Remarks and Send Back')->name('remarks')->placeholder('Remarks')->show();
?>
<center>
<?php 
Пример #11
0
// $descp2 = "<h4 class='page-head' align='center'>$descp</align></h4>";
// echo $descp2;
// echo "<br>";
$row = $ui->row()->open();
$column1 = $ui->col()->width(2)->open();
$column1->close();
$column2 = $ui->col()->width(8)->open();
$box = $ui->box()->title('Leave Details')->solid()->uiType('primary')->open();
$form = $ui->form()->action("/leave/leave_application")->open();
//action of the form
$inputRow1 = $ui->row()->open();
$auth_id = $this->session->userdata('auth');
$ui->select()->label('Leave Type: ')->name('leave_type')->options(array($ui->option()->value('$')->text('Select'), $ui->option()->value('Casual Leave')->text('Casual Leave'), $ui->option()->value('Restricted Leave')->text('Restricted Leave')))->width(10)->show();
$inputRow1->close();
$inputRowBy1 = $ui->row()->id('purpose_reason')->open();
$ui->textarea()->placeholder('Purpose Of Leave')->type('text')->value("")->label('Purpose Of Leave')->name('leave_purpose')->width(12)->show();
$inputRowBy1->close();
$inputRow2 = $ui->row()->open();
$ui->datePicker()->label('Starting Date')->name('leave_start_date')->id('starting_period')->dateFormat('dd-mm-yyyy')->width(6)->value("")->show();
$ui->datePicker()->label('Ending Date')->name('leave_end_date')->id('ending_period')->value("")->width(6)->show();
$inputRow2->close();
$inputRowBy22 = $ui->row()->id('half_full_leave')->open();
$ui->select()->label('Leave Half Or Full ')->name('leave_casual_period')->options(array($ui->option()->value('$')->text('Select'), $ui->option()->value('Half Leave')->text('Half Leave'), $ui->option()->value('Full Leave')->text('Full Leave')))->width(5)->show();
$inputRowBy22->close();
$inputRowBy32 = $ui->row()->id('before_after_noon')->open();
$ui->select()->label('Leave Before Noon Or After Noon')->name('leave_j_noon')->options(array($ui->option()->value('$')->text('Select'), $ui->option()->value('Before Noon')->text('Before Noon'), $ui->option()->value('After Noon')->text('After Noon')))->width(5)->show();
$inputRowBy32->close();
// vacation form
$inputRow3 = $ui->row()->open();
$ui->select()->label('Request For Permission To Leave Station')->name('avail_leave_station')->options(array($ui->option()->value('$')->text('Select'), $ui->option()->value('Yes')->text('Yes'), $ui->option()->value('No')->text('No')))->width(10)->show();
$inputRow3->close();
    $value = $id->consultancy_no + 1;
}
$ui->input()->type('hidden')->name('cons')->value($value)->required()->show();
$value = $payment_no + 1;
$ui->input()->type('hidden')->name('payment_no')->value($value)->required()->show();
$ui->input()->type('hidden')->name('modification_value')->value($client->modification_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();
$ui->input()->type('text')->label('Firm Name<span style= "color:red;"> *</span>')->name('firm_name')->value($client->firm_name)->required()->width(6)->show();
$ui->input()->type('text')->label('Contact Person Name<span style= "color:red;"> *</span>')->name('contact_person_name')->value($client->person_name)->required()->width(6)->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->input()->type('text')->label('Designation<span style= "color:red;"> *</span>')->name('client_designation')->value($client->designation)->required()->width(6)->show();
$ui->textarea()->label('Address<span style= "color:red;"> *</span>')->name('client_address')->id('address')->value($client->address)->required()->width(6)->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->input()->type('text')->label('City<span style= "color:red;"> *</span>')->name('client_city')->id('city')->value($client->city)->required()->width(6)->show();
$ui->input()->type('text')->label('PIN<span style= "color:red;"> *</span>')->name('client_pin')->id('pincode')->value($client->pincode)->required()->width(6)->show();
$inputRow3->close();
$inputRow4 = $ui->row()->open();
$ui->input()->type('text')->label('Phone No<span style= "color:red;"> *</span>')->name('client_phone_no')->id('client_phone_no')->value($client->contact_no)->required()->width(6)->show();
$ui->input()->type('text')->label('EXTN<span style= "color:red;"> *</span>')->name('client_extn')->id('client_extn')->value($client->extn)->required()->width(6)->show();
$inputRow4->close();
$inputRow5 = $ui->row()->open();
$ui->input()->type('text')->label('Fax<span style= "color:red;"> *</span>')->name('client_fax')->id('client_fax')->value($client->fax)->required()->width(6)->show();
$ui->input()->type('text')->label('E-mail<span style= "color:red;"> *</span>')->name('client_email')->id('client_email')->value($client->email)->required()->width(6)->show();
$inputRow5->close();
$Client_box->close();
$TCAPD_box = $ui->box()->title('Total Charges And Payment Details')->solid()->uiType('primary')->open();
Пример #13
0
<?php

$ui = new UI();
$col = $ui->col()->width(2)->open();
$col->close();
$col1 = $ui->col()->width(8)->open();
$form = $ui->form()->action('publication/publication/decline_action')->open();
$ui->input()->type('hidden')->value($rec_id)->name('rec_id')->show();
$box = $ui->box()->uiType('primary')->solid()->title('Decline Publications')->open();
$table = $ui->table()->hover()->bordered()->open();
?>
<tr><?php 
$ui->textarea()->label('Reason for declining')->name("reason")->placeholder("Any other details")->required()->show();
?>
</tr><tr><?php 
$ui->button()->name('Submit')->value('Submit')->submit(true)->uiType('primary')->show();
?>
</tr><?php 
$table->close();
$box->close();
$form->close();
$col1->close();
Пример #14
0
<?php

$ui = new UI();
//echo form_open('complaint/register_complaint/insert');
$row = $ui->row()->open();
$column1 = $ui->col()->width(2)->open();
$column1->close();
$column2 = $ui->col()->width(8)->open();
$box = $ui->box()->title('On Line Complaint Form')->solid()->uiType('primary')->open();
$form = $ui->form()->action('complaint/register_complaint/insert')->open();
$inputRow1 = $ui->row()->open();
$ui->select()->label('Type of Complaint')->name('type')->required()->options(array($ui->option()->value('""')->text('Select'), $ui->option()->value("Civil")->text('Civil'), $ui->option()->value("Electrical")->text('Electrical'), $ui->option()->value("Internet")->text('Internet'), $ui->option()->value("Mess")->text('Mess'), $ui->option()->value("Sanitary")->text('Sanitary')))->width(6)->show();
$ui->select()->label('Location')->name('location')->id('location')->required()->options(array($ui->option()->value('""')->text('Select'), $ui->option()->value("Department")->text('Department'), $ui->option()->value("Office")->text('Office'), $ui->option()->value("Residence")->text('Residence'), $ui->option()->value("Amber Hostel")->text('Amber Hostel'), $ui->option()->value("Diamond Hostel")->text('Diamond Hostel'), $ui->option()->value("Emerald Hostel")->text('Emerald Hostel'), $ui->option()->value("International Hostel")->text('International Hostel'), $ui->option()->value("Jasper Hostel")->text('Jasper Hostel'), $ui->option()->value("JRF Hostel")->text('JRF Hostel'), $ui->option()->value("Opal Hostel")->text('Opal Hostel'), $ui->option()->value("Ruby")->text('Ruby'), $ui->option()->value("Ruby Annex")->text('Ruby Annex'), $ui->option()->value("Shanti Bhawan")->text('Shanti Bhawan'), $ui->option()->value("Sapphire Hostel")->text('Sapphire Hostel'), $ui->option()->value("Topaz Hostel")->text('Topaz Hostel'), $ui->option()->value("Others")->text('Others')))->width(6)->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->textarea()->placeholder('Location Details')->label('Location Details')->name('locationDetails')->id('locationDetails')->required()->width(6)->show();
$ui->textarea()->label('Problem Details')->name("problemDetails")->placeholder("Problem Details")->required()->width(6)->show();
$inputRow2->close();
$ui->input()->type('text')->placeholder('Time of Availability')->label('Time of Availability')->name('time')->required()->show();
?>
<center>
<?php 
$ui->button()->value('Submit')->submit(true)->id('complaint')->uiType('primary')->show();
//echo form_close();
$form->close();
$box->close();
$column2->close();
$row->close();
?>
</center>
?>
          </center><br/><?php 
$col2->close();
$innerRow1->close();
$innerRow2 = $ui->row()->open();
$col1 = $ui->col()->width(6)->open();
?>
<center><br/>
          
          </center><br/><?php 
$col1->close();
$col2 = $ui->col()->width(6)->open();
?>
<center><br/>
          <?php 
$ui->textarea()->type('text')->placeholder('remark not more than 200 character')->name('remark_reject')->id('remark_reject')->classes('reject_remark')->width(12)->show();
?>
          </center><br/><?php 
$col2->close();
$innerRow2->close();
$innerRow3 = $ui->row()->open();
$col1 = $ui->col()->width(6)->open();
?>
<center><br/>
          <?php 
$ui->button()->icon($ui->icon('check'))->name('action_taken')->id('action_taken3')->value('Are You Sure To Forward')->uiType('success')->classes('approve_submit')->submit()->show();
?>
          </center><br/><?php 
$col1->close();
$col2 = $ui->col()->width(6)->open();
?>
Пример #16
0
$ui->input()->name('research_int')->id('res_int_id')->label('Research Interest')->show();
$ui->select()->name('empnature')->label('Nature of Employment<span style= "color:red;"> *</span>')->options(array($ui->option()->value('permanent')->text('Permanent'), $ui->option()->value('temporary')->text('Temporary'), $ui->option()->value('probation')->text('Probation'), $ui->option()->value('contract')->text('Contract'), $ui->option()->value('others')->text('Others')))->show();
$ui->datePicker()->label('Date of Retirement<span style= "color:red;"> *</span>')->id('retire')->name('retire')->required()->dateFormat('dd-mm-yyyy')->addonRight($ui->icon("calendar"))->show();
$emp_box->close();
$pay_box = $ui->box()->uiType('primary')->solid()->title('Salary Details')->open();
$ui->select()->name('payscale')->id('payscale')->label('Pay Band<span style= "color:red;"> *</span>')->options($pay_options)->required()->show();
$ui->select()->name("gradepay")->id("gradepay")->label('Grade Pay<span style= "color:red;"> *</span>')->addonLeft($ui->icon('rupee'))->addonRight('.00')->options(array($ui->option()->value("")->text("Choose One")->disabled()->selected()))->disabled()->required()->show();
$ui->input()->name("basicpay")->id("basicpay")->label('Basic Pay<span style= "color:red;"> *</span>')->disabled()->addonLeft($ui->icon('rupee'))->addonRight('.00')->required()->show();
$pay_box->close();
$col->close();
$col = $ui->col()->width(8)->open();
$addr_box = $ui->box()->uiType('primary')->solid()->title('Address Details')->open();
$row1 = $ui->row()->open();
$col1 = $ui->col()->width(6)->t_width(6)->open();
echo '<h3 class="page-header">Present Address</h3>';
$ui->textarea()->name('line11')->required()->label('Address Line 1<span style= "color:red;"> *</span>')->show();
$ui->input()->name('line21')->label('Address Line 2')->show();
$ui->input()->name('city1')->label('City<span style= "color:red;"> *</span>')->required()->show();
$ui->select()->name('state1')->label('State<span style= "color:red;"> *</span>')->options($state_options)->required()->show();
$ui->input()->name('pincode1')->label('Pin Code<span style= "color:red;"> *</span>')->type('tel')->required()->show();
$ui->input()->name('country1')->label('Country<span style= "color:red;"> *</span>')->value('India')->required()->show();
$ui->input()->name('contact11')->label('Contact No<span style= "color:red;"> *</span>')->type('tel')->required()->show();
$col1->close();
$col2 = $ui->col()->width(6)->t_width(6)->open();
echo '<h3 class="page-header">Permanent Address</h3>';
$ui->textarea()->name('line12')->required()->label('Address Line 1<span style= "color:red;"> *</span>')->show();
$ui->input()->name('line22')->label('Address Line 2')->show();
$ui->input()->name('city2')->label('City<span style= "color:red;"> *</span>')->required()->show();
$ui->select()->name('state2')->label('State<span style= "color:red;"> *</span>')->options($state_options)->required()->show();
$ui->input()->name('pincode2')->label('Pin Code<span style= "color:red;"> *</span>')->type('tel')->required()->show();
$ui->input()->name('country2')->label('Country<span style= "color:red;"> *</span>')->value('India')->required()->show();
Пример #17
0
$alertRow->close();
$margin = $ui->col()->width(2)->open();
$margin->close();
$column = $ui->col()->width(8)->open();
$box = $ui->box()->title('Station Leave Details')->solid()->uiType('primary')->open();
$form = $ui->form()->action('leave/leave_station/applyStationLeave')->open();
$inputRow1 = $ui->row()->open();
$ui->datePicker()->required()->label('Proposed Date Of Leaving Station ')->name('leave_st_date')->id('leave_st_date')->placeholder("Enter the date")->dateFormat('dd-mm-yyyy')->value("")->width(6)->show();
$ui->datePicker()->required()->id('return_st_date')->label('Proposed Date Of Reurning Station')->name('return_st_date')->placeholder(" Select Returning Date")->dateFormat('dd-mm-yyyy')->width(6)->value("")->show();
$inputRow1->close();
$inputRow2 = $ui->row()->id('st_time')->open();
$ui->timePicker()->label('Leaving Time')->name('st_leaving_time')->addonLeft($ui->icon("clock-o"))->uiType('primary')->id('st_leaving_time')->showMeridian('false')->required()->showSeconds('true')->width(6)->show();
$ui->timePicker()->label('Arrival Time')->name('st_arrival_time')->addonLeft($ui->icon("clock-o"))->uiType('primary')->id('st_arrival_time')->showMeridian('false')->required()->showSeconds('true')->width(6)->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->textarea()->required()->placeholder('Purpose Of Leaving station')->type('text')->value("")->label('Purpose Of Leaving station')->name('purpose')->width(6)->show();
$ui->textarea()->required()->placeholder(' Address During Absence From Station')->type('text')->value("")->label('Address During Absence From Station')->id('st_address')->name('address')->width(6)->show();
$inputRow3->close();
$box1 = $ui->box()->title('Please Select Approving Employee')->solid()->id('approving_emp')->uiType('primary')->open();
$inputRow4 = $ui->row()->open();
$ui->select()->label('Department Type')->name('type')->id('type')->required()->options(array($ui->option()->value('""')->text('Select')->selected(), $ui->option()->value('academic')->text('Academic'), $ui->option()->value('nonacademic')->text('Non Academic')))->width(6)->show();
$ui->select()->label('Select Department')->name('department_name')->id('department_name')->required()->options(array($ui->option()->value('""')->text('Select')))->width(6)->show();
$inputRow4->close();
$inputRow5 = $ui->row()->open();
$ui->select()->label('Designation')->name('designation')->id('designation')->required()->options(array($ui->option()->value('""')->text('Select')))->width(6)->show();
$ui->select()->label('Employee Name')->name('emp_name')->id('emp_name')->required()->options(array($ui->option()->value('""')->text('Select')->selected()))->width(6)->show();
$inputRow5->close();
$box1->close();
?>
<center>
    <?php 
     	    				<td>GROSS AMOUNT </td>
     	    				<td>
     	    					<?php 
$innercol1 = $ui->col()->width(12)->open();
$ui->input()->type('text')->name('gross_amount')->id('gross_amount')->value($cons_row->gross_amount)->width(12)->show();
$innercol1->close();
?>
     	    				</td>	
     	    			</tr>
     	    		
     	    		<?php 
$table->close();
$innerrow1 = $ui->row()->open();
$col1 = $ui->col()->width(12)->open();
echo '<br/>';
$ui->textarea()->label('Reason For Edition')->id('remark')->name('remark')->placeholder('reason for change')->show();
$col1->close();
$innerrow1->close();
$col1->close();
$innerrow1 = $ui->row()->open();
$col1 = $ui->col()->width(12)->open();
?>
<center><br/>
          <?php 
$ui->button()->icon($ui->icon('th'))->type('submit')->value('Submit')->uiType('success')->show();
?>
          </center><?php 
$col1->close();
$innerrow1->close();
$row1->close();
$charge_box->close();
Пример #19
0
$form = $ui->form()->id("add_course_form")->action("tnpcell/cv/save_projects")->open();
$table = $ui->table()->responsive()->hover()->bordered()->open();
echo '
								  <tr>
									<th>Sl.No</th>
                  <th>Details</th>
								  </tr>';
for ($counter = 1; $counter <= 5; $counter++) {
    echo '
								  <tr> 
									<td>';
    echo $counter;
    echo '
									</td>
									<td>';
    $ui->input()->placeholder('Place')->id('place' . $counter)->name('place' . $counter)->show();
    $ui->input()->placeholder('Title')->id('title' . $counter)->name('title' . $counter)->show();
    $ui->input()->placeholder('Duration (in weeks)')->id('duration' . $counter)->name('duration' . $counter)->show();
    $ui->input()->placeholder('Role')->id('role' . $counter)->name('role' . $counter)->show();
    $ui->textarea()->placeholder('Description')->id('description' . $counter)->name('description' . $counter)->show();
    echo '
									</td>
									</tr>  ';
}
$table->close();
echo '<br><center>';
$ui->button()->value('Next')->uiType('primary')->submit()->name('Submit')->show();
$form->close();
$formbox->close();
$column1->close();
$outer_row->close();
Пример #20
0
echo '<h3><b><center>Add details to your CV</b></center>';
echo '2. Awards & Achievements</h3>';
$formbox = $ui->box()->id('box_form')->open();
$form = $ui->form()->id("add_course_form")->action("tnpcell/cv/save_achievements")->open();
$table = $ui->table()->responsive()->hover()->bordered()->open();
$category = array("Research Papers Published", "Academic Achievements", "Co-curricular Achievements", "Position of Responsibility", "Skill-Set");
echo '
								  <tr>
									<th>Title</th>
                  <th>Details</th>
								  </tr>';
for ($i = 1; $i <= 5; $i++) {
    echo '
								  <tr> 
									<td width="30%">';
    $ui->input()->placeholder($category[$i - 1])->value($category[$i - 1])->id('category' . $i)->name('category' . $i)->show();
    echo '
									</td>
									<td>';
    $ui->textarea()->rows(7)->cols(60)->placeholder('Max 2000 characters')->id('information' . $i)->name('information' . $i)->show();
    echo '
									</td>
									</tr>  ';
}
$table->close();
echo '<br><center>';
$ui->button()->value('Save')->uiType('primary')->submit()->name('Submit')->show();
$form->close();
$formbox->close();
$column1->close();
$outer_row->close();
Пример #21
0
$ui->input()->type('text')->label('Notice Number<span style= "color:red;"> *</span>')->name('notice_no')->value($notice_row->notice_no)->required()->width(6)->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
if ($notice_row->notice_cat == 'emp') {
    $ui->select()->label('Viewed By<span style= "color:red;"> *</span>')->name('notice_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();
} else {
    if ($notice_row->notice_cat == 'stu') {
        $ui->select()->label('Viewed By<span style= "color:red;"> *</span>')->name('notice_cat')->options(array($ui->option()->value('emp')->text('Employee'), $ui->option()->value('stu')->text('Student')->selected(), $ui->option()->value('all')->text('All')))->width(6)->show();
    } else {
        $ui->select()->label('Viewed By<span style= "color:red;"> *</span>')->name('notice_cat')->options(array($ui->option()->value('emp')->text('Employee'), $ui->option()->value('stu')->text('Student'), $ui->option()->value('all')->text('All')->selected()))->width(6)->show();
    }
}
$ui->datePicker()->name('last_date')->label('Last Date<span style= "color:red;"> *</span> (Atleast today)')->dateFormat('yyyy-mm-dd')->value($notice_row->last_date)->width(6)->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->textarea()->label('Notice Subject<span style= "color:red;"> *</span>')->placeholder('Enter the notice Subject in not more than 200 characters')->name('notice_sub')->value($notice_row->notice_sub)->required()->width(8)->show();
$inputRow3->close();
$inputRow4 = $ui->row()->open();
$coll = $ui->col()->width(3)->open();
echo '<a href="' . base_url() . 'assets/files/information/notice/' . $notice_row->notice_path . '" title="download file" download="' . $notice_row->notice_path . '">' . $notice_row->notice_path . '</a>';
$js = 'onclick="javascript:document.getElementById(\'filebox\').style.display=\'block\';"';
$coll->close();
$colll = $ui->col()->width(4)->open();
$ui->button()->value('Change File')->uiType('primary')->extras($js)->show();
$colll->close();
$inputRow4->close();
$inputRow5 = $ui->row()->id('filebox')->extras('style="display:none"')->open();
$ui->input()->label('Notice File<span style= "color:red;"> *</span>')->type('file')->id('notice_path')->name('notice_path')->width(6)->show();
echo "<br/>(Allowed Types: pdf, doc, docx, jpg, jpeg, png and Max Size: 1.0 MB)";
$inputRow5->close();
$ui->input()->type('hidden')->name('notice_id')->value($notice_row->notice_id)->show();
if ($payment_no->payment_no) {
    $value = $client->person_name;
}
$ui->input()->type('text')->label('Contact Person Name<span style= "color:red;"> *</span>')->name('contact_person_name')->id('person_name')->value($value)->required()->width(6)->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$value = '';
if ($payment_no->payment_no) {
    $value = $client->designation;
}
$ui->input()->type('text')->label('Designation<span style= "color:red;"> *</span>')->name('client_designation')->value($value)->required()->width(6)->show();
$value = '';
if ($payment_no->payment_no) {
    $value = $client->address;
}
$ui->textarea()->label('Address<span style= "color:red;"> *</span>')->name('client_address')->id('address')->value($value)->required()->width(6)->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$value = '';
if ($payment_no->payment_no) {
    $value = $client->city;
}
$ui->input()->type('text')->label('City<span style= "color:red;"> *</span>')->name('client_city')->id('city')->value($value)->required()->width(6)->show();
$value = '';
if ($payment_no->payment_no) {
    $value = $client->pincode;
}
$ui->input()->type('text')->label('PIN<span style= "color:red;"> *</span>')->name('client_pin')->id('pincode')->value($value)->required()->width(6)->show();
$inputRow3->close();
$inputRow4 = $ui->row()->open();
$value = '';
Пример #23
0
<?php

$ui = new UI();
switch ($form) {
    case 2:
        if ($emp_prev_exp_details) {
            $form = $ui->form()->id('edit_prev_emp_details')->action('employee/edit/update_old_prev_emp_details/' . $sno)->extras('onSubmit="return onclick_save(' . $sno . ');"')->open();
            $row = $ui->row()->open();
            $col = $ui->col()->open();
            $box = $ui->box()->uiType('primary')->style('margin-bottom:0')->open();
            $ui->textarea()->label('Full address of Employer')->name('edit_addr' . $sno)->id('edit_addr' . $sno)->value($emp_prev_exp_details->address)->show();
            $ui->input()->label('Position Held')->name('edit_designation' . $sno)->id('edit_designation' . $sno)->value($emp_prev_exp_details->designation)->show();
            $ui->datePicker()->name('edit_from' . $sno)->id('edit_from' . $sno)->dateFormat('dd-mm-yyyy')->addonRight($ui->icon("calendar"))->label('From')->extras('max="' . date('d-m-Y', strtotime($joining_date)) . '"')->value(date('d-m-Y', strtotime($emp_prev_exp_details->from)))->show();
            $ui->datePicker()->name('edit_to' . $sno)->id('edit_to' . $sno)->dateFormat('dd-mm-yyyy')->addonRight($ui->icon("calendar"))->label('To')->extras('max="' . date('d-m-Y', strtotime($joining_date)) . '"')->value(date('d-m-Y', strtotime($emp_prev_exp_details->to)))->show();
            $ui->input()->name("edit_payscale" . $sno)->id("edit_payscale" . $sno)->label('Pay Scale')->value($emp_prev_exp_details->pay_scale)->show();
            $ui->input()->name('edit_reason' . $sno)->id('edit_reason' . $sno)->value($emp_prev_exp_details->remarks)->label('Remarks')->show();
            echo '<center>';
            $ui->button()->uiType('primary')->flat()->submit()->name('save')->value('Save')->icon($ui->icon('floppy-o'))->show();
            $ui->button()->uiType('danger')->flat()->name('cancel')->value('Cancel')->extras('onClick="closeframe();"')->icon($ui->icon('times'))->show();
            echo '</center>';
            $box->close();
            $col->close();
            $row->close();
            $form->close();
        }
        break;
    case 3:
        if ($emp_family_details) {
            $form = $ui->form()->id('edit_emp_family_details')->multipart()->action('employee/edit/update_old_fam_details/' . $sno)->extras('onSubmit="return onclick_save(' . $sno . ');"')->open();
            $row = $ui->row()->open();
            $col = $ui->col()->open();
Пример #24
0
$headingBox = $ui->box()->uiType('info')->title('Room Booking Application Form')->solid()->open();
$form = $ui->form()->multipart()->action('sah/booking/form')->open();
$purposeRow = $ui->row()->id('purposeRow')->open();
$purposelabel = $ui->col()->width(4)->t_width(4)->m_width(12)->open();
echo 'Purpose';
$purposelabel->close();
$purposeinput = $ui->col()->width(8)->t_width(8)->m_width(12)->open();
$ui->select()->name('purpose')->addonLeft($ui->icon("bars"))->options(array($ui->option()->value('official')->text('Official'), $ui->option()->value('personal')->text('Personal')))->required()->show();
$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();