Esempio n. 1
0
* Email: vivek0739@users.noreply.github.com
* Date: 2 july 2015
*/
$ui = new UI();
$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();
<div id="stu_details_hidden"><?php 
$student_details_row = $ui->row()->open();
$student_details_box = $ui->box()->uiType('primary')->solid()->title('Personal Details')->open();
$student_name = $ui->row()->open();
/*                        $salutation_column = $ui->col()
                                                ->width(3)
                                                ->open();
*/
$ui->select()->name('salutation')->width(3)->options(array($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"), $ui->option()->value('dr')->text('Dr')->selected($user_details->salutation == "dr")))->show();
/*$salutation_column->close();

                        $firstname_column = $ui->col()
                                               ->width(3)
                                               ->open();
*/
$ui->input()->placeholder('First Name')->id('firstname')->required()->value($user_details->first_name)->width(3)->name('firstname')->show();
/*                        $firstname_column->close();

                        $middlename_column = $ui->col()
                                                ->width(3)
                                                ->open();

*/
$ui->input()->placeholder('Middle Name')->id('middlename')->width(3)->value($user_details->middle_name)->name('middlename')->show();
/*                        $middlename_column->close();

                        $lastname_column = $ui->col()
                                              ->width(3)
                                              ->open();
*/
$ui->input()->placeholder('Last Name')->width(3)->id('lastname')->name('lastname')->value($user_details->last_name)->show();
Esempio n. 3
0
            }
        }
    }
}
echo ' (' . date('d M Y g:i a', strtotime($action_recent->timestamp) + 19800) . ') </span>';
$col1->close();
$column1 = $ui->col()->width(0)->open();
$column1->close();
$column2 = $ui->col()->width(12)->open();
$box = $ui->box()->solid()->uiType('primary')->open();
$form = $ui->form()->action('consultant/project_account/confirmation/' . $sr_no)->extras('enctype="multipart/form-data"')->open();
$inputRow2 = $ui->row()->open();
$col1 = $ui->col()->width(6)->open();
$col1->close();
$col2 = $ui->col()->width(6)->open();
$ui->input()->type('text')->label('Consultancy No')->name('consultancy_no')->id('consultancy_no')->value($consultancy_no)->disabled()->show();
$col1 = $ui->col()->width(6)->open();
$ui->input()->type('hidden')->name('sr_no')->id('sr_no')->width(12)->value($sr_no)->show();
$col1->close();
$col2->close();
$col2 = $ui->col()->width(12)->open();
// $ui->callout()
// 		->uiType("info")
// 		->desc('Enlc : Photocopies of money receipts. Disbursement sheet, Statement of expenditure, Distribution list of Honoraria to faculty and supporting staff of ISM.
// 				')
// 	->show();
$col2->close();
$inputRow2->close();
$tabRow1 = $ui->row()->open();
$innercol2 = $ui->col()->width(12)->open();
$tabBox1 = $ui->tabBox()->tab("t1", "Details of Receipt / Payment", true)->tab("t2", "Credits & Disbursement")->tab("t3", "Net Amount Paylable")->tab("t4", "Calculation Sheet For Course Consultancy/Testing Disbursement")->open();
Esempio n. 4
0
$myTabBox = $ui->tabBox()
               ->tab("someId1", "String title")
               ->tab("someId2", $ui->icon("some-icon"))
               ->tab("someId3", $ui->icon("some-icon") . " string and icon")
               ...
               
               ->open();
</pre>


            <?php 
$aboutTitleTab->close();
$tab1 = $ui->tabPane()->id("settings")->open();
?>
<p>This tab just has an <code>Icon</code> as its title. You can also have <code>Input</code>s in the content.</p><?php 
$ui->input()->type('text')->label("A text field")->show();
$tab1->close();
$tabBox1->close();
$col->close();
$col = $ui->col()->width(4)->open();
$tabBox2 = $ui->tabBox()->tab("t1", "Tab 1")->tab("t2", "Tab 2")->tab("t3", "Tab 3", true)->tab("t4", "Tab 4")->open();
$t1 = $ui->tabPane()->id("t1")->active()->open();
?>
                <p>This <code>TabBox</code> does not have a title. Also, the <strong>Tab 3</strong> is active by default. This is done by setting the third argument to <code>true</code> while adding the tab.</p>
<pre>
$myTabBox = $ui->tabBox()
               ...
               ->tab("t3", "Tab 3", true)
               ->open();
</pre>
Esempio n. 5
0
<?php

$ui = new UI();
$outer_row = $ui->row()->id('or')->open();
$column1 = $ui->col()->width(12)->t_width(6)->m_width(12)->open();
$formbox = $ui->box()->id('box_form')->open();
$form = $ui->form()->id("form_file_upload")->action("course_structure/upload_syllabus/upload")->multipart()->open();
$array_options = array();
$array_options[0] = $ui->option()->value("")->text("Select Department")->disabled();
foreach ($result_dept as $row) {
    array_push($array_options, $ui->option()->value($row->id)->text($row->name));
}
$ui->select()->label('Select Department')->name('dept')->id("dept_selection")->required()->options($array_options)->show();
$ui->select()->label('Select Course')->name('course')->id("course_selection")->required()->containerId('cont_course_selection')->show();
$ui->select()->label('Select Branch')->name('branch')->id("branch_selection")->required()->containerId('cont_branch_selection')->show();
$ui->select()->label('Valid From')->name('session')->id("session_selection")->required()->containerId('cont_session_selection')->show();
$ui->input()->label("Upload Syllabus")->type("file")->id("file_upload")->name("file_upload")->containerId("cont_file_upload")->show();
$ui->button()->value('Upload Syllabus')->uiType('primary')->submit()->name('submit')->show();
$form->close();
$formbox->close();
$column1->close();
$outer_row->close();
?>
		 
Esempio n. 6
0
$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(9)->open();
$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;
Esempio n. 7
0
$ui = new UI();
$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(9)->open();
$box = $ui->box()->title('Notice Details')->solid()->uiType('primary')->open();
$form = $ui->form()->extras('enctype="multipart/form-data"')->action('information/edit_notice/edit/' . $notice_row->notice_id)->open();
$star_notice = $ui->row()->open();
//echo" Fields marked with <span style= 'color:red;'>*</span> are mandatory.";
$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();
Esempio n. 8
0
<?php

$ui = new UI();
$headingBox = $ui->box()->uiType('info')->title('Edit the Details of Post')->solid()->open();
$form = $ui->form()->multipart()->action('guard/manage_post/edit')->open();
$postidRow = $ui->row()->id('postidRow')->open();
$guardlabel = $ui->col()->width(4)->t_width(8)->m_width(12)->open();
echo 'Post ID';
$guardlabel->close();
$guardinput = $ui->col()->width(8)->t_width(4)->m_width(12)->open();
$ui->input()->value($details_of_a_postname['post_id'])->disabled()->show();
$guardinput->close();
$postidRow->close();
$postRow = $ui->row()->id('postRow')->open();
$postlabel = $ui->col()->width(4)->t_width(8)->m_width(12)->open();
echo 'Post Name';
$postlabel->close();
$postinput = $ui->col()->width(8)->t_width(4)->m_width(12)->open();
$ui->input()->id('postname')->name('postname')->required()->placeholder('Enter Post Name')->value($details_of_a_postname['postname'])->show();
$postinput->close();
$postRow->close();
$ipRow = $ui->row()->id('ipRow')->open();
$guardlabel = $ui->col()->width(4)->t_width(8)->m_width(12)->open();
echo 'IP Address of Post';
$guardlabel->close();
$guardinput = $ui->col()->width(8)->t_width(4)->m_width(12)->open();
$ui->input()->id('ipaddress')->name('ipaddress')->placeholder('Enter IP Address')->value($details_of_a_postname['ipaddress'])->show();
$guardinput->close();
$ipRow->close();
$shiftRow = $ui->row()->id('shiftRowA')->open();
$shiftlabel = $ui->col()->width(4)->t_width(8)->m_width(12)->open();
Esempio n. 9
0
					  <th>Practical</th>
					  <th>Credit Hours</th>
					  <th>Contact Hours</th>
					  <th>Elective</th>
					  <th>Type</th>
					  <th>Edit</th>
					</tr>';
        for ($i = 1; $i <= $subjects["count"][$semester]; $i++) {
            echo '
					<tr>
						<td>';
            echo $subjects["sequence_no"][$semester][$i];
            echo '
						</td>
						<td>';
            $ui->input()->name("subjectid_" . $semester . "_" . $i)->id($subjects["subject_details"][$semester][$i]->id)->value($subjects["subject_details"][$semester][$i]->subject_id)->disabled()->show();
            echo '
						</td>
						<td>';
            $ui->input()->name("subjectname_" . $semester . "_" . $i)->value($subjects["subject_details"][$semester][$i]->name)->disabled()->show();
            echo '
						</td>
						<td>';
            $ui->input()->name("subjectL_" . $semester . "_" . $i)->value($subjects["subject_details"][$semester][$i]->lecture)->disabled()->show();
            echo '
						</td>
						<td>';
            $ui->input()->name("subjectT_" . $semester . "_" . $i)->value($subjects["subject_details"][$semester][$i]->tutorial)->disabled()->show();
            echo '
						</td>
						<td>';
    $innercol1 = $ui->col()->width(12)->open();
    $ui->select()->name('emp_dept' . $i)->id('emp_dept' . $i)->options(array($ui->option()->value('0')->text('Select Employee Department')->disabled()->selected()))->show();
    $innercol1->close();
    ?>
</td>
					                  <td>
					                    <?php 
    $r3col1 = $ui->col()->id('employee')->open();
    $ui->select()->name('employee_select' . $i)->id('employee_select' . $i)->options(array($ui->option()->value('0')->text('Select Employee')->disabled()->selected()))->show();
    $r3col1->close();
    ?>
</td>
					                  <td>
					                    <?php 
    $innercol1 = $ui->col()->width(12)->open();
    $ui->input()->type('text')->name('emp_no' . $i)->id('emp_no' . $i)->value('')->width(12)->show();
    $innercol1->close();
    ?>
</td>
					                   
					                  <td>
					                    <?php 
    $innercol1 = $ui->col()->width(12)->open();
    $ui->select()->name('position_select' . $i)->id("position_select" . $i)->options(array($ui->option()->value('coci')->text('Co-consultant-in-charge'), $ui->option()->value('ftm')->text('Faculty Member')->selected()))->show();
    $innercol1->close();
    ?>
</td>
					                  
					                  <td>
					                    <?php 
    $innercol1 = $ui->col()->width(12)->open();
Esempio n. 11
0
$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();
$box = $ui->box()->solid()->uiType('primary')->open();
$form = $ui->form()->extras('enctype="multipart/form-data"')->action('information/edit_circular/edit/' . $circular_row->circular_id . '/' . $auth_id)->open();
$star_circular = $ui->row()->open();
//echo" Fields marked with <span style= 'color:red;'>*</span> are mandatory.";
$star_circular->close();
$compose_box = $ui->box()->icon($ui->icon('edit'))->title('Circular Details')->solid()->uiType('primary')->open();
$inputRow1 = $ui->row()->open();
$ui->input()->type('text')->label('Circular ID<span style= "color:red;"> *</span>')->name('circular_ids')->required()->width(6)->value($circular_row->circular_id)->disabled()->show();
$ui->input()->type('text')->label('Circular Number<span style= "color:red;"> *</span>')->name('circular_no')->value($circular_row->circular_no)->required()->width(6)->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->textarea()->label('Circular Subject<span style= "color:red;"> *</span>')->placeholder('Enter the circular Subject in not more than 200 characters')->name('circular_sub')->value($circular_row->circular_sub)->required()->width(12)->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->datePicker()->name('valid_upto')->label('Last Date<span style= "color:red;"> *</span> (Atleast today)')->value($circular_row->valid_upto)->dateFormat('yyyy-mm-dd')->width(6)->show();
//$inputRow3->close();
$inputRow3 = $ui->col()->width(6)->open();
$coll = $ui->col()->width(6)->open();
echo '<br/><a href="' . base_url() . 'assets/files/information/circular/' . $circular_row->circular_path . '" title="download file" download="' . $circular_row->circular_path . '">' . $circular_row->circular_path . '</a>';
$coll->close();
$colll = $ui->col()->width(6)->open();
$js = 'onclick="javascript:document.getElementById(\'filebox\').style.display=\'block\';"';
echo "<br/>&nbsp;<div  align='right'>";
Esempio n. 12
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();
$ui = new UI();
$errors = validation_errors();
if ($errors != '') {
    $this->notification->drawNotification('Validation Errors', validation_errors(), 'error');
}
$row = $ui->row()->open();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
$form = $ui->form()->action('consultant/edit_consultancy_form/submit_edited_consult_form/' . $cons_row->sr_no)->extras('enctype="multipart/form-data"')->id('form_submit')->open();
$row1 = $ui->row()->open();
$ui->callout()->uiType("info")->desc("No deduction will be made from the budget head except applicable income tax.")->show();
$box = $ui->box()->title('ESTIMATE FORM ')->solid()->uiType('primary')->open();
$row1 = $ui->row()->open();
$innercol1 = $ui->col()->width(12)->open();
$ui->input()->label('Title<span style= "color:red;"> *</span>')->type('text')->name('consultant_title')->required()->value($cons_row->consultancy_title)->show();
$innercol1->close();
/*scope file*/
$innercol3 = $ui->col()->width(6)->open();
$coll = $ui->col()->width(8)->open();
echo '<br>&nbsp;&nbsp;<a href="' . base_url() . 'assets/files/consultant/SCOPE_WORK/' . $cons_row->scope_work . '" title=
            "download file" download="' . $cons_row->scope_work . '">' . $cons_row->scope_work . '</a>';
$coll->close();
$colll = $ui->col()->width(4)->open();
$js = 'onclick="javascript:document.getElementById(\'filebox1\').style.display=\'block\';"';
echo "&nbsp;<div  align='right'>";
$ui->button()->icon($ui->icon('refresh'))->value('Scope Of Work')->uiType('primary')->extras($js)->show();
echo "</div><br/>";
$colll->close();
$innercol2 = $ui->col()->id('filebox1')->extras('style="display:none"')->width(12)->open();
$ui->input()->label('Scope of work<span style= "color:red;"> *</span>')->type('file')->id('work_scope')->name('work_scope')->width(12)->show();
Esempio n. 14
0
						</tr>
<?php 
        $sno++;
    }
    $table->close();
} else {
    $ui->callout()->uiType("info")->title("No File sent by You.")->desc("You have not sent any file, track file by track number.")->show();
}
?>
<br/>
<div id="move_details_of_sent_files">
</div>
<?php 
$tab1->close();
$tab2 = $ui->tabPane()->id("track_num_tab")->open();
$ui->input()->placeholder('Enter track number')->type('text')->label('Track Number')->id('track_num')->name('track_num')->show();
?>
<center>
<?php 
$ui->button()->value('Track File')->id('submit')->uiType('primary')->submit()->name('submit')->show();
?>
</center>
<br>
<div id="move_details_by_track_num">
</div>
<?php 
//	$box2 = $ui->box()
//				->id('move_details_by_track_num')
//				->open();
$tab2->close();
$tabBox1->close();
Esempio n. 15
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();
if ($errors != '') {
    $this->notification->drawNotification('Validation Errors', validation_errors(), 'error');
}
foreach ($details as $detail) {
    $row1 = $ui->row()->open();
}
$row1->close();
$row = $ui->row()->open();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
$box = $ui->box()->title('<u>Title</u> - ' . $cons_row->consultancy_title)->uiType('primary')->open();
$column1 = $ui->col()->width(6)->open();
$column1->close();
$column2 = $ui->col()->width(6)->open();
$ui->input()->type('text')->label('Linkup No')->name('link')->value($result->link_up_no)->disabled()->width(6)->show();
$ui->input()->type('text')->label('Page No')->name('page')->value($result->page_no)->width(6)->disabled()->show();
if ($payment_no->payment_no) {
    $ui->input()->type('text')->label('CONS/')->name('cons')->value($id->consultancy_no)->disabled()->width(10)->show();
}
$column2->close();
$ui->callout()->uiType("info")->desc('AGREEMENT BETWEEN CLIENT AND CONSULTANT:(To be filled in only on the request of client):This agreement is subject to the Standard Term and Conditions for undertaking/Testing/Project at ISM Dhanbad unless specially agreed to otherwise, the details mentioned above have been read and are acceptable.')->show();
$form = $ui->form()->action('consultant/consultancy_proposal_form/index/' . $cons_row->sr_no)->extras('enctype="multipart/form-data"')->id('form_submit')->open();
$CI_box = $ui->box()->title('Consultancy Incharge')->solid()->uiType('primary')->open();
$inputRow1 = $ui->row()->open();
$ui->input()->type('text')->label('Name<span style= "color:red;"> *</span>')->name('name')->disabled()->value($detail->salutation . ' ' . $detail->first_name . ' ' . $detail->middle_name . ' ' . $detail->last_name)->width(12)->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->input()->type('text')->label('Designation<span style= "color:red;"> *</span>')->name('designation')->value($detail->designation)->disabled()->width(6)->show();
$ui->input()->type('text')->label('Department/Centre<span style= "color:red;"> *</span>')->name('department/centre')->disabled()->value($detail->dept_name)->width(6)->show();
$inputRow2->close();
        }
    }
}
echo ' (' . date('d M Y g:i a', strtotime($action_recent->timestamp) + 19800) . ') </span>';
$col1->close();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
foreach ($details as $disbursement) {
}
$box = $ui->box()->solid()->uiType('primary')->open();
$inputRow2 = $ui->row()->open();
$col1 = $ui->col()->width(6)->open();
$col1->close();
$col2 = $ui->col()->width(6)->open();
$ui->input()->type('text')->label('CONS')->name('consultancy_no')->id('consultancy_no')->disabled()->value($disbursement->consultancy_no)->width(12)->show();
$col2->close();
$consultancy_no = $disbursement->consultancy_no;
$inputRow2->close();
$tabRow1 = $ui->row()->open();
$tabBox1 = $ui->tabBox()->tab("t1", "Disbursement Sheet", true)->tab("t2", "Consultants")->tab("t3", "Supporting Staffs")->open();
$t1 = $ui->tabPane()->id("t1")->active()->open();
$A_box = $ui->box()->title('A. Details of Receipt/Payment:')->solid()->uiType('primary')->open();
$table_A = $ui->table()->id('table_a')->bordered()->striped()->sortable()->open();
?>
								<tr>
						<td width=70%>Total Charges</td>
						<td><?php 
echo $disbursement->a_total_charge;
?>
</td>
Esempio n. 18
0
    }
}
//gradepay options
$grade_options = array();
$gradepay = $this->pay_scales_model->get_grade_pay($emp_pay_details->pay_band);
foreach ($gradepay as $row) {
    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();
Esempio n. 19
0
                  <th>Designation</th>
                  <th>Position</th>
                  <th>Tentative Share</th>
                  <th></th>

                </thead>
               
                <?php 
foreach ($members as $key => $member) {
    ?>
<tr>
                  <td>

                    <?php 
    $innercol1 = $ui->col()->width(12)->open();
    $ui->input()->type('text')->name('emp_dept')->id('emp_dept')->value($member->dept)->disabled()->show();
    $innercol1->close();
    ?>
</td>
                  <td>
                    <?php 
    $r3col1 = $ui->col()->id('employee')->open();
    $ui->input()->type('text')->name('employee_select')->id('employee_select')->value($member->salutation . " " . $member->first_name . " " . $member->middle_name . " " . $member->last_name)->disabled()->show();
    $r3col1->close();
    ?>
</td>
                  <td>
                    <?php 
    $innercol1 = $ui->col()->width(12)->open();
    $ui->input()->type('text')->name('emp_no')->id('emp_no')->value($member->emp_no)->disabled()->width(12)->show();
    $innercol1->close();
Esempio n. 20
0
<?php

$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();
?>
Esempio n. 21
0
<?php

$ui = new UI();
$row = $ui->row()->open();
$column1 = $ui->col()->open();
$table = $ui->table()->bordered()->hover()->responsive()->open();
$i = 1;
foreach ($individuals as $row1) {
    ?>
<tr>
			
				<td><?php 
    $ui->input()->id("individual_name" . $i)->name('individual_name' . $i)->required()->placeholder($row1->user_id)->value($row1->user_id)->show();
    ?>
</td>
			</tr><?php 
    $i++;
}
$table->close();
$column1->close();
$row->close();
Esempio n. 22
0
$form = $ui->form()->action('student/student_edit/update_all_details/' . $stu_id . '/' . $coress_recv)->multipart()->id('form_submit')->open();
$student_details_row = $ui->row()->open();
$student_details_box = $ui->box()->uiType('primary')->solid()->title('Personal Details')->open();
$student_name = $ui->row()->open();
/*                        $salutation_column = $ui->col()
                                                ->width(3)
                                                ->open();
*/
$ui->select()->name('salutation')->width(3)->options(array($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"), $ui->option()->value('dr')->text('Dr')->selected($user_details->salutation == "dr")))->show();
/*$salutation_column->close();

                        $firstname_column = $ui->col()
                                               ->width(3)
                                               ->open();
*/
$ui->input()->placeholder('First Name')->id('firstname')->required()->value($user_details->first_name)->width(3)->name('firstname')->show();
/*                        $firstname_column->close();

                        $middlename_column = $ui->col()
                                                ->width(3)
                                                ->open();

*/
$ui->input()->placeholder('Middle Name')->id('middlename')->width(3)->value($user_details->middle_name)->name('middlename')->show();
/*                        $middlename_column->close();

                        $lastname_column = $ui->col()
                                              ->width(3)
                                              ->open();
*/
$ui->input()->placeholder('Last Name')->width(3)->id('lastname')->name('lastname')->value($user_details->last_name)->show();
        }
    }
}
echo ' (' . date('d M Y g:i a', strtotime($action_recent->timestamp) + 19800) . ') </span>';
$col1->close();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
foreach ($details as $disbursement) {
}
$box = $ui->box()->solid()->uiType('primary')->open();
$inputRow2 = $ui->row()->open();
$col1 = $ui->col()->width(6)->open();
$col1->close();
$col2 = $ui->col()->width(6)->open();
$ui->input()->type('text')->label('CONS')->name('consultancy_no')->id('consultancy_no')->disabled()->value($disbursement->consultancy_no)->width(12)->show();
$col2->close();
$consultancy_no = $disbursement->consultancy_no;
$inputRow2->close();
$ui->callout()->uiType("info")->desc('Enlc : Photocopies of money receipts. Disbursement sheet, Statement of expenditure, Distribution list of Honoraria to faculty and supporting staff of ISM.
				   	')->show();
$A_box = $ui->box()->title('A. Details of Receipt/Payment:')->solid()->uiType('primary')->open();
$table_A = $ui->table()->id('table_a')->bordered()->striped()->sortable()->open();
?>
				<tr>
		<td width=70%>
		Total Charges
		</td>
		<td><?php 
$ui->input()->type('text')->name('a_total_charges')->id('a_total_charges')->value($disbursement->a_total_charge)->width(12)->disabled()->show();
?>
<?php

$ui = new UI();
$form = $ui->form()->action('student/student_editable_by_student/update_my_details')->multipart()->id('form_submit')->open();
$studenteditable_details = $ui->row()->open();
$student_editable_details_box = $ui->box()->uiType('primary')->solid()->title('Editable Details')->open();
$editable_details_row_1 = $ui->row()->open();
$ui->input()->label('Email')->name('email')->type('email')->required()->value($user_detail->email)->required()->width(3)->show();
$ui->input()->label('Alternate Email')->name('alternate_email_id')->id('alternate_email_id')->type('email')->value($stu_detail->alternate_email_id)->width(3)->show();
$ui->input()->label('Mobile No.')->name('mobile')->id('mobile')->required()->value($user_other_detail->mobile_no)->required()->width(3)->show();
$ui->input()->label('Alternate Mobile No.')->name('alternate_mobile')->id('alternate_mobile')->value($stu_detail->alternate_mobile_no)->width(3)->show();
$editable_details_row_1->close();
$editable_details_row_2 = $ui->row()->open();
$ui->input()->label('Hobbies')->name('hobbies')->width(3)->id('hobbies')->value($user_other_detail->hobbies)->show();
$ui->input()->label('Favourite Pass Time')->name('favpast')->id('favpast')->value($user_other_detail->fav_past_time)->width(3)->show();
$ui->input()->label('Extra-Curricular Activities ( if any):')->name('extra_activity')->id('extra_activity')->value($stu_other_detail->extra_curricular_activity)->width(3)->show();
$ui->input()->label('Any other relevant information')->name('any_other_information')->id('any_other_information')->value($stu_other_detail->other_relevant_info)->width(3)->show();
$editable_details_row_2->close();
$editable_details_row_3 = $ui->row()->open();
$editable_col_3_1 = $ui->col()->width(5)->open();
$editable_col_3_1->close();
$ui->button()->submit(true)->value('Update')->uiType('primary')->width(2)->show();
$editable_details_row_3->close();
$editable_details_row_4 = $ui->row()->open();
$editable_col_4_1 = $ui->col()->width(11)->open();
$editable_col_4_1->close();
?>

                        <a href= <?php 
echo site_url();
?>
Esempio n. 25
0
<?php

$ui = new UI();
$form = $ui->form()->action('student/student_validate/fetch_stu_details')->multipart()->id('form_submit')->open();
$select_details_to_edit_box = $ui->box()->uiType('primary')->solid()->title('Enter the Student Id')->open();
$student_admn_no = $ui->row()->open();
$student_details_1_1 = $ui->col()->width(3)->open();
$student_details_1_1->close();
$ui->input()->label('Admission No.')->uiType('primary')->id('stu_id')->width(6)->name('stu_id')->show();
/*$ui->select()
  ->label('Select Form')
  ->name('select_form')
  ->options(array($ui->option()->value('0')->text('Change Profile Picture'),
                  $ui->option()->value('1')->text('Edit Basic Details'),
                  $ui->option()->value('2')->text('Edit Education Details')))
  ->width(6)
  ->show();*/
$student_admn_no->close();
$student_details_row_2 = $ui->row()->open();
$student_details_2_1 = $ui->col()->width(6)->open();
$student_details_2_1->close();
$ui->button()->submit(true)->value('Submit')->uiType('primary')->id('submit_button_id')->width(2)->show();
$student_details_row_2->close();
$select_details_to_edit_box->close();
$form->close();
$rejected_students_list_box = $ui->box()->uiType('primary')->id('UsersToValidateBox')->solid()->title('List of Rejected Students')->open();
$table = $ui->table()->hover()->id('UsersToValidate')->bordered()->striped()->responsive()->paginated()->searchable()->sortable()->condensed()->open();
?>
				    <thead>
			            <tr>
			                <th>User ID</th>
*/
$ui = new UI();
$errors = validation_errors();
if ($errors != '') {
    $this->notification->drawNotification('Validation Errors', validation_errors(), 'error');
}
$row = $ui->row()->open();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$string = '<i class="fa fa-search"  style="cursor:pointer; color:#fff; align:right;"' . " onclick='myFunction(" . $cons_row->sr_no . ',' . $cons_row->modification_value . ")'" . '></i>';
$column2 = $ui->col()->width(10)->open();
$form = $ui->form()->action('consultant/consultant/approve_consult_form/' . $cons_row->sr_no . '/' . $auth_id)->extras('enctype="multipart/form-data"')->open();
$row1 = $ui->row()->open();
$box = $ui->box()->title($string . " " . 'ESTIMATE FORM ')->solid()->uiType('primary')->open();
$row1 = $ui->row()->open();
$ui->input()->label('Title<span style= "color:red;"> *</span>')->type('text')->name('consultant_title')->value($cons_row->consultancy_title)->width(12)->disabled()->show();
$row1->close();
$row1 = $ui->row()->open();
$innercol2 = $ui->col()->width(6)->open();
echo '<b> Scope of Work </b><br/>';
echo '<a href="' . base_url() . 'assets/files/consultant/SCOPE_WORK/' . $cons_row->scope_work . '" title=
            "download file" download="' . $cons_row->scope_work . '">' . $cons_row->scope_work . '</a>';
$innercol2->close();
$innercol2 = $ui->col()->width(6)->open();
echo '<b> Request_file from client / Approval letter from director</b><br/>';
echo '<a href="' . base_url() . 'assets/files/consultant/form/' . $cons_row->file_path . '" title=
            "download file" download="' . $cons_row->file_path . '">' . $cons_row->file_path . '</a>';
echo '<br/><br/>';
$innercol2->close();
$ui->input()->type('hidden')->name('sr_no')->required()->value($cons_row->sr_no)->show();
$box->close();
        }
        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();
Esempio n. 28
0
<?php

$ui = new UI();
$outRow = $ui->row()->open();
$column = $ui->col()->width(2)->open();
$column->close();
$column1 = $ui->col()->width(8)->open();
$row = $ui->row()->open();
$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();
Esempio n. 29
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();
Esempio n. 30
0
    }
}
//states options
$state_options = array($ui->option()->value("")->text("Choose One")->disabled()->selected());
foreach ($states as $row) {
    array_push($state_options, $ui->option()->value($row->state_name)->text(ucwords($row->state_name)));
}
if ($error != "") {
    $ui->alert()->uiType('danger')->title('ERROR')->desc($error)->show();
}
$form = $ui->form()->id('basic_details')->multipart()->action('employee/add/insert_basic_details')->open();
echo '<h2 class="page-header" id="emp_id_display"></h2>';
$row = $ui->row()->open();
$col = $ui->col()->id('hide_emp')->width(4)->open();
$emp_sel_box = $ui->box()->uiType('primary')->title('Select Employee ID')->open();
$ui->input()->name('emp_id')->id('emp_id')->required()->addonRight($ui->button()->value('Go')->id('fetch_id_btn')->uiType('primary'))->label('Employee Id<span style= "color:red;"> *</span>')->show();
$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();