} $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(); ?>
$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();
} 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();
} 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();
$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();
?> </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(); ?>
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();
$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();
$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;
$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();
$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();
$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 '
$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();
} } } 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();
$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();
$table->close(); } else { $ui->callout()->title('Empty')->desc('No Employment Details Found.')->uiType('danger')->show(); } $box->close(); } $col->close(); $upRow->close(); $form = $ui->form()->id('prev_emp_details')->action('employee/edit/update_prev_emp_details/' . $emp_id)->open(); $row = $ui->row()->open(); $col = $ui->col()->width(12)->open(); $box = $ui->box()->uiType('primary')->title('Add Previous Employment Details')->tooltip("Click Add after entering following details")->open(); $row11 = $ui->row()->open(); $ui->input()->name('addr2')->label('Full address of Employer')->width(12)->show(); $row11->close(); $row12 = $ui->row()->open(); $ui->datePicker()->name('from2')->id('from21')->dateFormat('dd-mm-yyyy')->addonRight($ui->icon("calendar"))->placeholder("dd-mm-yyyy")->label('From')->width(3)->t_width(4)->extras('max="' . date('d-m-Y', strtotime($joining_date)) . '"')->show(); $ui->datePicker()->name('to2')->id('to21')->dateFormat('dd-mm-yyyy')->addonRight($ui->icon("calendar"))->placeholder("dd-mm-yyyy")->label('To')->width(3)->t_width(4)->extras('max="' . date('d-m-Y', strtotime($joining_date)) . '"')->show(); $row12->close(); $row13 = $ui->row()->open(); $ui->input()->name("designation2")->label('Position Held')->width(3)->t_width(12)->show(); $ui->input()->name("payscale2")->label('Pay Scale')->width(3)->t_width(12)->show(); $ui->input()->name('reason2')->label('Remarks')->width(6)->t_width(12)->show(); $row13->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();
$errors = validation_errors(); if ($errors != '') { $this->notification->drawNotification('Validation Errors', validation_errors(), 'error'); } $row = $ui->row()->open(); $column1 = $ui->col()->width(2)->open(); $column1->close(); $column2 = $ui->col()->width(8)->open(); $form = $ui->form()->action('consultant/consultancy_proposal_approve/edit_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($data2->receipt_no)->width(6)->show(); $row1->close(); $row1 = $ui->row()->open(); $ui->datePicker()->name('dated')->label('Dated<span style= "color:red;"> *</span>')->value($data2->timestamp)->dateFormat('yyyy-mm-dd')->width(6)->show(); $ui->input()->type('text')->label('RS.')->name('amount')->id('amount')->value($data2->amount)->width(6)->show(); $row1->close(); $row1 = $ui->row()->open(); $coll = $ui->col()->width(4)->open(); echo '<a href="' . base_url() . 'assets/files/consultant/RECEIPT/' . $data2->filepath . '" title= "download file" download="' . $data2->filepath . '">' . $data2->filepath . '</a>'; $coll->close(); $colll = $ui->col()->width(2)->open(); $js = 'onclick="javascript:document.getElementById(\'filebox\').style.display=\'block\';"'; $ui->button()->icon($ui->icon('refresh'))->value('Change')->uiType('primary')->extras($js)->mini()->show(); $colll->close(); $innercol2 = $ui->col()->id('filebox')->extras('style="display:none"')->width(6)->open(); $ui->input()->label('Scan Copy of Receipt<span style= "color:red;"> *</span>')->type('file')->id('scope_path')->name('scope_path')->show(); echo "(Allowed Types: pdf, doc, docx, jpg, jpeg, png, xls, xlsx, csv and Max Size: 1.0 MB)"; $innercol2->close();
$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('file_tracking/send_new_file/insert_file_details')->open(); $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(); $inputRow3 = $ui->row()->id('leave_date_picker')->open(); $ui->datePicker()->label('Starting Date')->name('leave_start_date')->id('leave_start_date')->dateFormat('dd-mm-yyyy')->width(6)->value("")->show(); $ui->datePicker()->label('Ending Date')->name('leave_end_date')->id('leave_end_date')->value("")->width(6)->show(); $inputRow3->close(); ?> <center> <?php $box->close(); $column2->close(); $row->close(); $column5 = $ui->col()->id('leave_details')->width(12)->open(); $column5->close(); ?> </center> <script charset="utf-8"> $("#emp_name").on('change', function() { if (this.value != "")
$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; //print_r($id); 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) {
$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(); $inputRow4 = $ui->row()->classes('permission_request')->open(); $ui->datePicker()->label('Proposed Date Of Leaving Station ')->name('leave_st_date')->placeholder("Enter the date")->dateFormat('dd-mm-yyyy')->value("")->width(6)->show(); $ui->datePicker()->label('Proposed Date Of Reurning Station')->name('return_st_date')->placeholder("Enter the date")->dateFormat('dd-mm-yyyy')->width(6)->value("")->show();
$ui = new UI(); if ($notification == true) { $ui->alert()->uiType($type)->desc($string)->show(); } $row = $ui->row()->open(); $alertRow = $ui->row()->open(); $marginCol = $ui->col()->width(3)->open(); $marginCol->close(); $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();
$ui->select()->name('postname')->addonLeft($ui->icon("building"))->options($postname_array)->required()->show(); $postnameinput->close(); $buttoncol = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); $ui->button()->value('Submit')->uiType('primary')->submit()->name('postsubmit')->show(); $buttoncol->close(); $form->close(); $selectqueryRow->close(); echo '</div>'; echo '<div id="date" style="display: none;">'; $selectqueryRow = $ui->row()->id('selectqueryRow')->open(); $form = $ui->form()->multipart()->action('guard/over_time/view')->open(); $datelabel = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); echo 'Select a date to get guards list'; $datelabel->close(); $dateinput = $ui->col()->width(4)->t_width(4)->m_width(12)->open(); $ui->datePicker()->name('selectdate')->addonLeft($ui->icon("calendar"))->placeholder("Enter the date")->dateFormat('yyyy-mm-dd')->required()->show(); $dateinput->close(); $buttoncol = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); $ui->button()->value('Submit')->uiType('primary')->submit()->name('datesubmit')->show(); $buttoncol->close(); $form->close(); $selectqueryRow->close(); echo '</div>'; echo '<div id="rangeofdates" style="display: none;">'; $selectqueryRow = $ui->row()->id('selectqueryRow')->open(); $form = $ui->form()->multipart()->action('guard/over_time/view')->open(); $rangelabel = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); echo 'Select Range to get Guard\'s Duty'; $rangelabel->close(); $rangefrominput = $ui->col()->width(2)->t_width(2)->m_width(6)->open(); $ui->datePicker()->name('fromdate')->placeholder("From Date")->addonLeft($ui->icon("calendar"))->dateFormat('yyyy-mm-dd')->required()->show();
$leftMargin = $ui->col()->width(1)->open(); $leftMargin->close(); $box = $ui->box()->id('publication_wrapper')->title('Add new Publication')->solid()->uiType('primary')->open(); $form = $ui->form()->action('publication/publication/addPublication')->open(); $inputRow1 = $ui->row()->open(); $Col1 = $ui->col()->width(6)->open(); $ui->input()->label('Title')->name('title')->required()->show(); $Col1->close(); $Col2 = $ui->col()->width(6)->open(); $ui->select()->label('Type of Publcation')->id('publication_type')->name('publication_type')->required()->options(array($ui->option()->value()->text("Select"), $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("Book"), $ui->option()->value(6)->text("Book Chapter")))->show(); $Col2->close(); $innerCol1 = $ui->col()->id("publication_name_one")->width(6)->open(); $ui->input()->label('Name of Jorunal<sub>*</sub>')->name('publication_name')->show(); $innerCol1->close(); $innerColumn3 = $ui->col()->id("date_picker_one")->width(6)->open(); $ui->datePicker()->label('Date')->id('date')->name('begin_date')->placeholder("dd-mm-yyyy")->dateFormat('dd-mm-yyyy')->show(); $innerColumn3->close(); $innerColumn4 = $ui->col()->id("isbn_first")->width(6)->open(); $ui->input()->label('ISBN No.')->name('isbn_no')->show(); $innerColumn4->close(); $innerColumn3 = $ui->col()->id("date_picker_the")->width(6)->open(); $ui->datePicker()->label('Begin date')->name('begin_date')->placeholder("dd-mm-yyyy")->dateFormat('dd-mm-yyyy')->show(); $innerColumn3->close(); $innerColumn4 = $ui->col()->id("date_picker_two")->width(6)->open(); $ui->datePicker()->label('End date')->name('end_date')->placeholder("dd-mm-yyyy")->dateFormat('dd-mm-yyyy')->show(); $innerColumn4->close(); $inputRow1->close(); $row2 = $ui->col()->id('pub_type')->width(12)->open(); $row2->close(); $row3 = $ui->row()->open(); ?>
$student_details_box = $ui->box()->uiType('primary')->solid()->title('Personal Details')->open(); $student_name = $ui->row()->open(); $ui->select()->name('salutation')->width(3)->options(array($ui->option()->value('mr')->text('Mr'), $ui->option()->value('mrs')->text('Mrs'), $ui->option()->value('ms')->text('Ms'), $ui->option()->value('dr')->text('Dr')))->show(); $ui->input()->placeholder('First Name')->id('firstname')->required()->width(3)->name('firstname')->show(); $ui->input()->placeholder('Middle Name')->id('middlename')->width(3)->name('middlename')->show(); $ui->input()->placeholder('Last Name')->width(3)->id('lastname')->name('lastname')->show(); $student_name->close(); $student_personal_details_row_1 = $ui->row()->open(); $ui->input()->label('पूरा नाम हिन्दी में')->id('stud_name_hindi')->name('stud_name_hindi')->width(3)->show(); $column_gender = $ui->col()->width(3)->open(); echo '<label>Gender</label>'; $ui->radio()->name('sex')->label('Male')->value('male')->checked()->show(); $ui->radio()->name('sex')->label('Female')->value('female')->show(); $ui->radio()->name('sex')->label('Others')->value('others')->show(); $column_gender->close(); $ui->datePicker()->label('Date of Birth')->width(3)->name('dob')->value(date("d-m-Y", time() + 19800))->dateFormat('dd-mm-yyyy')->show(); $ui->input()->label('Place of Birth')->name('pob')->required()->width(3)->show(); $student_personal_details_row_1->close(); $student_personal_details_row_2 = $ui->row()->open(); $column_pd = $ui->col()->width(3)->open(); echo '<label>Physically Challenged</label>'; $ui->radio()->name('pd')->label('Yes')->value('yes')->show(); $ui->radio()->name('pd')->label('No')->value('no')->checked()->show(); $column_pd->close(); $ui->select()->name('blood_group')->width(3)->label('Blood Group')->options(array($ui->option()->value('A+')->text('A+'), $ui->option()->value('A-')->text('A-'), $ui->option()->value('B+')->text('B+'), $ui->option()->value('B-')->text('B-'), $ui->option()->value('O+')->text('O+'), $ui->option()->value('O-')->text('O-'), $ui->option()->value('AB+')->text('AB+'), $ui->option()->value('AB-')->text('AB-')))->show(); $column_ki = $ui->col()->width(3)->open(); echo '<label>Kashmiri Immigrant</label>'; $ui->radio()->name('kashmiri')->label('Yes')->value('yes')->show(); $ui->radio()->name('kashmiri')->label('No')->value('no')->checked()->show(); $column_ki->close(); $ui->select()->name('mstatus')->width(3)->label('Marital Status')->options(array($ui->option()->value('unmarried')->text('Unmarried'), $ui->option()->value('married')->text('Married'), $ui->option()->value('widow')->text('Widow'), $ui->option()->value('Widower')->text('Widower'), $ui->option()->value('divorcee')->text('Divorcee'), $ui->option()->value('separated')->text('Separated')))->show();
$star_notice->close(); $inputRow1 = $ui->row()->open(); $ui->input()->type('text')->label('Notice ID<span style= "color:red;"> *</span>')->name('notice_ids')->required()->width(6)->value($notice_row->notice_id)->disabled()->show(); $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();
if ($status == 'rejected') { $type = 'error'; } else { $status = ''; } } echo 'Fields marked with <span style= "color:red;">*</span> are mandatory.<br><br> '; $row3 = $ui->row()->open(); $ui->select()->width(2)->name('salutation')->help($pending_user_details->salutation == $user_details->salutation ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $user_details->salutation)->uiType($pending_user_details->salutation == $user_details->salutation ? '' : $type)->label('Salutation<span style= "color:red;"> *</span> ')->options(array($ui->option()->value('Dr')->text('Dr')->selected($pending_user_details->salutation == 'Dr'), $ui->option()->value('Prof')->text('Prof')->selected($pending_user_details->salutation == 'Prof'), $ui->option()->value('Mr')->text('Mr')->selected($pending_user_details->salutation == 'Mr'), $ui->option()->value('Mrs')->text('Mrs')->selected($pending_user_details->salutation == 'Mrs'), $ui->option()->value('Ms')->text('Ms')->selected($pending_user_details->salutation == 'Ms')))->show(); $ui->input()->width(3)->name('firstname')->required()->help($pending_user_details->first_name == $user_details->first_name ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $user_details->first_name)->uiType($pending_user_details->first_name == $user_details->first_name ? '' : $type)->placeholder("First Name")->value($pending_user_details->first_name)->label('First Name<span style= "color:red;"> *</span>')->show(); $ui->input()->width(3)->name('middlename')->label('Middle Name')->help($pending_user_details->middle_name == $user_details->middle_name ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $user_details->middle_name)->uiType($pending_user_details->middle_name == $user_details->middle_name ? '' : $type)->value($pending_user_details->middle_name)->placeholder("Middle Name")->show(); $ui->input()->width(3)->name('lastname')->value($pending_user_details->last_name)->help($pending_user_details->last_name == $user_details->last_name ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $user_details->last_name)->uiType($pending_user_details->last_name == $user_details->last_name ? '' : $type)->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>')->help($pending_user_details->marital_status == $user_details->marital_status ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . ucwords($user_details->marital_status))->uiType($pending_user_details->marital_status == $user_details->marital_status ? '' : $type)->options(array($ui->option()->value('married')->text('Married')->selected($pending_user_details->marital_status == 'married'), $ui->option()->value('unmarried')->text('Unmarried')->selected($pending_user_details->marital_status == 'unmarried'), $ui->option()->value('widow')->text('Widow')->selected($pending_user_details->marital_status == 'widow'), $ui->option()->value('widower')->text('Widower')->selected($pending_user_details->marital_status == 'widower'), $ui->option()->value('separated')->text('Separated')->selected($pending_user_details->marital_status == 'separated'), $ui->option()->value('divorced')->text('Divorced')->selected($pending_user_details->marital_status == 'divorced')))->show(); $ui->datePicker()->label('DOB<span style= "color:red;"> *</span>')->id('dob')->name('dob')->required()->help($pending_user_details->dob == $user_details->dob ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . date("d-m-Y", strtotime($user_details->dob)))->uiType($pending_user_details->dob == $user_details->dob ? '' : $type)->dateFormat('dd-mm-yyyy')->width(3)->addonRight($ui->icon("calendar"))->value(date("d-m-Y", strtotime($pending_user_details->dob)))->extras('max="' . date("d-m-Y") . '"')->show(); $ui->input()->width(3)->name('pob')->required()->help($pending_user_other_details->birth_place == $user_other_details->birth_place ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . ucwords($user_other_details->birth_place))->uiType($pending_user_other_details->birth_place == $user_other_details->birth_place ? '' : $type)->value($pending_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(); if ($pending_user_details->sex != $user_details->sex) { echo '<div class = "form-group has-' . $type . '"><label>'; if ($type == 'warning') { echo '<i class = "fa fa-warning"></i>'; } else { if ($type == 'error') { echo '<i class = "fa fa-times-circle-o"></i>'; } } echo 'Gender<span style= "color:red;"> *</span></label></div>'; } else {
$student_personal_details_row_1 = $ui->row()->open(); /*$column3 = $ui->col() ->width(3) ->open();*/ $ui->input()->label('पूरा नाम हिन्दी में')->id('stud_name_hindi')->name('stud_name_hindi')->value($stu_basic_details->name_in_hindi)->width(3)->show(); // $column3->close(); $column_gender = $ui->col()->width(3)->open(); echo '<label>Gender</label>'; $ui->radio()->name('sex')->label('Male')->value('m')->checked($user_details->sex == "m")->show(); $ui->radio()->name('sex')->label('Female')->value('f')->checked($user_details->sex == "f")->show(); $ui->radio()->name('sex')->label('Others')->value('o')->checked($user_details->sex == "o")->show(); $column_gender->close(); /*$column5 = $ui->col() ->width(3) ->open();*/ $ui->datePicker()->label('Date of Birth')->width(3)->name('dob')->value(date('d-m-Y', strtotime($user_details->dob)))->dateFormat('dd-mm-yyyy')->show(); /*$column5->close(); $column6 = $ui->col() ->width(3) ->open(); $column6->close();*/ $ui->input()->label('Place of Birth')->name('pob')->required()->value($user_other_details->birth_place)->width(3)->show(); $student_personal_details_row_1->close(); $student_personal_details_row_2 = $ui->row()->open(); $column_pd = $ui->col()->width(3)->open(); echo '<label>Physically Challenged</label>'; $ui->radio()->name('pd')->label('Yes')->value('yes')->checked($user_details->physically_challenged == "yes")->show(); $ui->radio()->name('pd')->label('No')->value('no')->checked($user_details->physically_challenged == "no")->show(); $column_pd->close();
$guardinput = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); $ui->input()->id('fathersname')->name('fathersname')->placeholder('Enter Father\'s Name')->value($details_of_a_guard['fathersname'])->required()->show(); $guardinput->close(); $guardlabel = $ui->col()->width(2)->t_width(4)->m_width(12)->open(); echo 'Mobile Number'; $guardlabel->close(); $guardinput = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); $ui->input()->id('mobilenumber')->name('mobilenumber')->type('tel')->addonLeft($ui->icon("mobile"))->placeholder('Enter Mobile Number')->value($details_of_a_guard['mobilenumber'])->required()->show(); $guardinput->close(); $fatherRow->close(); $dateRow = $ui->row()->id('dateRow')->open(); $guardlabel = $ui->col()->width(2)->t_width(4)->m_width(12)->open(); echo 'Date of Birth'; $guardlabel->close(); $guardinput = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); $ui->datePicker()->name('dateofbirth')->placeholder('Enter Date of Birth')->value($details_of_a_guard['dateofbirth'])->addonLeft($ui->icon("calendar"))->dateFormat('yyyy-mm-dd')->required()->show(); $guardinput->close(); $guardlabel = $ui->col()->width(2)->t_width(4)->m_width(12)->open(); echo 'Date of Joining'; $guardlabel->close(); $guardinput = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); $ui->datePicker()->name('dateofjoining')->placeholder('Enter Date of Joining')->value($details_of_a_guard['dateofjoining'])->addonLeft($ui->icon("calendar"))->dateFormat('yyyy-mm-dd')->required()->show(); $guardinput->close(); $dateRow->close(); $addressRow = $ui->row()->id('addressRow')->open(); $guardlabel = $ui->col()->width(2)->t_width(4)->m_width(12)->open(); echo 'Local Address'; $guardlabel->close(); $guardinput = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); $ui->input()->id('localaddress')->name('localaddress')->placeholder('Enter Local Address')->addonLeft($ui->icon("building"))->value($details_of_a_guard['localaddress'])->required()->show(); $guardinput->close();
<?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();
$guardinput = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); $ui->input()->id('fathersname')->name('fathersname')->placeholder('Enter Father\'s Name')->required()->show(); $guardinput->close(); $guardlabel = $ui->col()->width(2)->t_width(4)->m_width(12)->open(); echo 'Mobile Number'; $guardlabel->close(); $guardinput = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); $ui->input()->id('mobilenumber')->name('mobilenumber')->type('tel')->addonLeft($ui->icon("mobile"))->placeholder('Enter Mobile Number')->required()->show(); $guardinput->close(); $fatherRow->close(); $dateRow = $ui->row()->id('dateRow')->open(); $guardlabel = $ui->col()->width(2)->t_width(4)->m_width(12)->open(); echo 'Date of Birth'; $guardlabel->close(); $guardinput = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); $ui->datePicker()->name('dateofbirth')->placeholder("Enter Date of Birth")->addonLeft($ui->icon("calendar"))->dateFormat('yyyy-mm-dd')->required()->show(); $guardinput->close(); $guardlabel = $ui->col()->width(2)->t_width(4)->m_width(12)->open(); echo 'Date of Joining'; $guardlabel->close(); $guardinput = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); $ui->datePicker()->name('dateofjoining')->placeholder("Enter Date of Joining")->addonLeft($ui->icon("calendar"))->dateFormat('yyyy-mm-dd')->required()->show(); $guardinput->close(); $dateRow->close(); $addressRow = $ui->row()->id('addressRow')->open(); $guardlabel = $ui->col()->width(2)->t_width(4)->m_width(12)->open(); echo 'Local Address'; $guardlabel->close(); $guardinput = $ui->col()->width(4)->t_width(8)->m_width(12)->open(); $ui->input()->id('localaddress')->name('localaddress')->addonLeft($ui->icon("building"))->placeholder('Enter Local Address')->required()->show(); $guardinput->close();