本文整理汇总了PHP中UI::form方法的典型用法代码示例。如果您正苦于以下问题:PHP UI::form方法的具体用法?PHP UI::form怎么用?PHP UI::form使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UI
的用法示例。
在下文中一共展示了UI::form方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: UI
<?php
$ui = new UI();
$outer_row = $ui->row()->id('or')->open();
$column1 = $ui->col()->width(12)->t_width(6)->m_width(12)->open();
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>';
示例2: date
<td>' . date('d M Y', strtotime($row->to)) . '</td>
<td>' . $row->res_addr . '</td>
<td>' . ucwords($row->dist_hq_name) . '</td>
</tr>';
$i++;
}
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();
示例3: function
</td>
</tr>
<?php
$sno++;
}
$table->close();
}
$box->close();
$innercol2->close();
$column2->close();
$outer_row->close();
$end_row = $ui->row()->open();
$column2 = $ui->col()->width(12)->open();
$form = $ui->form()->action('information/information_ajax/create_complete/' . $id_user . '/' . $auth_id)->extras('enctype="multipart/form-data"')->open();
$ui->button()->icon($ui->icon("check"))->value('Done')->uiType('success')->submit()->name('mysubmit')->show();
$form->close();
$column2->close();
$end_row->close();
?>
<script charset="utf-8">
$(window).load(function(){
$("#groups_name_id2").hide();
});
$("#groups_name_id2").hide();
$("#groups_name_id").on('change', function()
{
add_member_all(this.value,'<?php
echo $id_user;
示例4: myFunction2
<td><?php
echo $row->fy_gas_previous;
?>
</td>
<td><?php
echo $row->total_current_fy;
?>
</td>
</tr>
<?php
$i++;
}
$table->close();
$E_box->close();
$form = $ui->form()->action('consultant/consultant_disbursement_sheet/disbursement_cancel/' . $disbursement->sr_no)->open();
?>
<center>
<?php
$ui->button()->value('Cancel')->uiType('danger')->submit()->name('mysubmit')->show();
?>
</center><?php
$form->close();
$box->close();
$column2->close();
$column3 = $ui->col()->width(1)->open();
$column3->close();
$inputRow1->close();
?>
<script>
function myFunction2(sr_no,auth_id) {
示例5: UI
<?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>
示例6: UI
<?php
$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('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();
示例7:
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
$box = $ui->box()->solid()->uiType('primary')->open();
foreach ($details as $disbursement) {
}
$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')->width(12)->value($consultancy_no)->disabled()->show();
$col2->close();
$ui->callout()->uiType("info")->desc('Enlc : Photocopies of money receipts. Disbursement sheet, Statement of expenditure, Distribution list of Honoraria to faculty and supporting staff of ISM.
')->show();
$inputRow2->close();
$form = $ui->form()->action('consultant/consultant_disbursement_sheet/resubmit/' . $consultancy_no . '/' . $sr_no)->extras('enctype="multipart/form-data"')->open();
$tabRow1 = $ui->row()->open();
$tabBox1 = $ui->tabBox()->tab("t1", "Details of Receipt", true)->tab("t2", "Credits and Disbursement")->tab("t3", "Net Amount")->tab("t4", "Consultants")->tab("t5", "Supporting Staffs")->open();
$t1 = $ui->tabPane()->id("t1")->active()->open();
$A_box = $ui->box()->title('Details of Receipt/Payment:')->solid()->uiType('primary')->open();
$table_A = $ui->table()->id('table_a')->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)->required()->show();
?>
</td>
</tr>
<tr>
<td width=70%>Services Tax + Educational Cess</td>
示例8: array
//pay_options
$pay_options = array($ui->option()->value("")->text("Choose One")->disabled());
if ($pay_bands === FALSE) {
array_push($pay_options, $ui->option()->value("")->text("No pay band found")->disabled());
} else {
foreach ($pay_bands as $row) {
array_push($pay_options, $ui->option()->value($row->pay_band)->text(strtoupper($row->pay_band) . ' (' . $row->pay_band_description . ')')->selected($row->pay_band == $emp_pay_details->pay_band));
}
}
//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();
示例9: UI
<?php
$ui = new UI();
$form = $ui->form()->multipart()->action('employee/edit/update_profile_pic/' . $emp_id)->open();
$row = $ui->row()->open();
$col = $ui->col()->width(6)->open();
$profile_box = $ui->box()->uiType('primary')->solid()->title('Change Profile Picture')->open();
$row1 = $ui->row()->open();
echo '<center><div class="form-group" >';
if ($pending_photopath) {
$col1 = $ui->col()->width(6)->open();
} else {
$col1 = $ui->col()->open();
}
if ($photopath == FALSE || $photopath == "") {
echo '<img src="' . base_url() . 'assets/images/employee/noProfileImage.png" id="view_photo" width="145" height="150"/>';
} else {
echo '<img id="view_photo" src="' . base_url() . 'assets/images/' . $photopath . '" height="150" />';
}
$col1->close();
if ($pending_photopath) {
$col2 = $ui->col()->width(6)->open();
if ($pending_photopath == FALSE || $pending_photopath == "") {
echo '<img src="' . base_url() . 'assets/images/employee/noProfileImage.png" id="pending_photo" width="145" height="150"/>';
} else {
echo '<img id="pending_photo" src="' . base_url() . 'assets/images/' . $pending_photopath . '" height="150" />';
}
if ($status == 'pending') {
echo '<br>' . $ui->label()->uiType('info')->text('Pending');
} else {
if ($status == 'rejected') {
示例10:
$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();
$inputRow3 = $ui->row()->open();
$ui->input()->type('text')->label('Telephone: Direct<span style= "color:red;"> *</span>')->name('telephone')->disabled()->value($detail->contact_no)->width(6)->show();
$ui->input()->type('text')->label('E-mail<span style= "color:red;"> *</span>')->name('email')->disabled()->value($detail->email)->width(6)->show();
$inputRow3->close();
$CI_box->close();
$ETS_box = $ui->box()->title('Expected Time Schedule')->solid()->uiType('primary')->open();
$inputRow3 = $ui->row()->open();
示例11: UI
<?php
$ui = new UI();
//echo form_open('complaint/register_complaint/insert');
$row = $ui->row()->open();
$column1 = $ui->col()->width(2)->open();
$column1->close();
$column2 = $ui->col()->width(8)->open();
$box = $ui->box()->solid()->title("Complaint ID: " . $complaint_id)->uiType('primary')->open();
$form = $ui->form()->action('complaint/supervisor/update_complaint_details/' . $complaint_id . '/' . $type)->open();
$inputRow1 = $ui->row()->open();
$c1 = $ui->col()->width(4)->open();
?>
<p><strong><?php
$ui->icon("user")->show();
?>
Complaint By</strong><br/>
<sapn><?php
echo $complaint_by;
?>
</span></p><?php
$c1->close();
$c2 = $ui->col()->width(4)->open();
?>
<p><strong><?php
$ui->icon("mobile")->show();
?>
Mobile No</strong><br/>
<span><?php
echo $mobile;
?>
示例12: UI
<?php
$ui = new UI();
$form = $ui->form()->action('student/student_edit/edit_all_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();
示例13: UI
<?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();
示例14: UI
<?php
$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();
$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();
示例15: UI
<?php
$ui = new UI();
$outer_row = $ui->row()->id('or')->open();
$column1 = $ui->col()->width(12)->t_width(6)->m_width(12)->open();
echo '<h3><b><center>Add details to your CV</b></center>';
echo '1. Project/Internship/Excursion/Training</h3>';
$formbox = $ui->box()->id('box_form')->open();
$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> ';