本文整理汇总了PHP中btn_view函数的典型用法代码示例。如果您正苦于以下问题:PHP btn_view函数的具体用法?PHP btn_view怎么用?PHP btn_view使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了btn_view函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: btn_view
<td data-title="<?php
echo $this->lang->line('invoice_due');
?>
">
<?php
echo $siteinfos->currency_symbol . ($invoice->amount - $invoice->paidamount);
?>
</td>
<td data-title="<?php
echo $this->lang->line('action');
?>
">
<?php
echo btn_view('invoice/view/' . $invoice->invoiceID, $this->lang->line('view'));
?>
<?php
if ($usertype == "Admin" || $usertype == "Accountant") {
?>
<?php
echo btn_edit('invoice/edit/' . $invoice->invoiceID, $this->lang->line('edit'));
?>
<?php
echo btn_delete('invoice/delete/' . $invoice->invoiceID, $this->lang->line('delete'));
?>
<?php
}
?>
</td>
</tr>
示例2: btn_view
</td>
<td data-title="<?php
echo $this->lang->line('mark_phone');
?>
">
<?php
echo $student->phone;
?>
</td>
<td data-title="<?php
echo $this->lang->line('action');
?>
">
<?php
if ($usertype == "Admin" || $usertype == "Teacher") {
echo btn_view('mark/view/' . $student->studentID . "/" . $set, $this->lang->line('view'));
echo btn_marksheet('mark/marksheet/' . $student->studentID . "/" . $set, $this->lang->line('mark_sheet'));
}
?>
</td>
</tr>
<?php
$i++;
}
}
?>
</tbody>
</table>
</div>
示例3: btn_add
?>
">
<?php
echo $student->phone;
?>
</td>
<td data-title="<?php
echo $this->lang->line('action');
?>
">
<?php
if ($student->library == 0) {
echo btn_add('lmember/add/' . $student->studentID . "/" . $set, $this->lang->line('lmember'));
} else {
echo btn_view('lmember/view/' . $student->studentID . "/" . $set, $this->lang->line('view')) . " ";
echo btn_edit('lmember/edit/' . $student->studentID . "/" . $set, $this->lang->line('edit')) . " ";
echo btn_delete('lmember/delete/' . $student->studentID . "/" . $set, $this->lang->line('delete'));
}
?>
</td>
</tr>
<?php
$i++;
}
}
?>
</tbody>
</table>
</section>
示例4: substr
?>
</td>
<td data-title="<?php
echo $this->lang->line('mailandsms_message');
?>
">
<?php
echo substr($mailandsms->message, 0, 40) . "..";
?>
</td>
<td data-title="<?php
echo $this->lang->line('action');
?>
">
<?php
echo btn_view('mailandsms/view/' . $mailandsms->mailandsmsID, $this->lang->line('view'));
?>
</td>
</tr>
<?php
$i++;
}
}
?>
</tbody>
</table>
</div>
</div> <!-- col-sm-12 -->
示例5: btn_view
?>
</td>
<td><?php
echo $v_award->award_name;
?>
</td>
<td><?php
echo $v_award->gift_item;
?>
</td>
<td><?php
echo $v_award->award_amount;
?>
</td>
<td><?php
echo btn_view('employee/dashboard/award_detail/' . $v_award->employee_award_id);
?>
</td>
</tr>
<?php
}
?>
<?php
} else {
?>
<td colspan="3">
<strong>There is no data to display</strong>
</td>
<?php
}
?>
示例6: btn_view
?>
</td>
<td><?php
echo $v_employee->mobile;
?>
</td>
<td><?php
if ($v_employee->status == 1) {
echo '<span class="label label-success">Active</span>';
} else {
echo '<span class="label label-danger">Deactive</span>';
}
?>
</td>
<td class="hidden-print"><?php
echo btn_view('admin/employee/view_employee/' . $v_employee->employee_id);
?>
</td>
<td class="hidden-print">
<?php
echo btn_edit('admin/employee/add_employee/' . $v_employee->employee_id);
?>
<?php
echo btn_delete('admin/employee/delete_employee/' . $v_employee->employee_id . '/' . $v_employee->employee_bank_id . '/' . $v_employee->document_id);
?>
</td>
</tr>
<?php
}
?>
<?php
示例7: btn_view
?>
</td>
<td><?php
echo $gross - $deduction;
?>
</td>
<td><?php
if ($v_emp_salary->employment_type == 1) {
echo 'Provision';
} else {
echo 'Permanent';
}
?>
</td>
<td><?php
echo btn_view('admin/payroll/view_salary_details/' . $v_emp_salary->employee_id);
?>
</td>
<td>
<?php
echo btn_edit('admin/payroll/manage_salary_details/' . $v_emp_salary->employee_id . '/' . $v_emp_salary->designations_id);
?>
</td>
</tr>
<?php
}
?>
<?php
}
?>
示例8: date
<td><?php
echo date('d M,y', strtotime($v_application->application_date));
?>
</td>
<td><?php
if ($v_application->application_status == '1') {
echo '<span class="label label-warning"> Pending </span>';
} elseif ($v_application->application_status == '2') {
echo '<span class="label label-danger"> Accpeted </span>';
} else {
echo '<span class="label label-success"> Rejected </span>';
}
?>
</td>
<td><?php
echo btn_view('admin/application_list/view_application/' . $v_application->application_list_id);
?>
</td>
</tr>
<?php
}
?>
<?php
}
?>
</tbody>
</table>
</div>
</div>
</div>
示例9: btn_view_disabled
echo $this->lang->line('teacher_email');
?>
">
<?php
echo $teacher->email;
?>
</td>
<td data-title="<?php
echo $this->lang->line('action');
?>
">
<?php
if ($perm == 1) {
echo btn_view_disabled('teacher/view/' . $teacher->teacherID, $this->lang->line('view'));
} else {
echo btn_view('teacher/view/' . $teacher->teacherID, $this->lang->line('view'));
}
if ($usertype == "Admin") {
echo btn_edit('teacher/edit/' . $teacher->teacherID, $this->lang->line('edit'));
echo btn_delete('teacher/delete/' . $teacher->teacherID, $this->lang->line('delete'));
}
?>
</td>
</tr>
<?php
$i++;
}
}
?>
</tbody>
</table>
示例10: substr
</td>
<td data-title="<?php
echo $this->lang->line('notice_notice');
?>
">
<?php
if (strlen($notice->notice) > 60) {
echo substr($notice->notice, 0, 60) . "...";
} else {
echo substr($notice->notice, 0, 60);
}
?>
</td>
<td data-title='Action'>
<?php
echo btn_view('notice/view/' . $notice->noticeID, $this->lang->line('view'));
?>
</td>
</tr>
<?php
$i++;
}
}
?>
</tbody>
</table>
</div>
<?php
}
?>
示例11: date
echo $this->lang->line('issue_fine');
?>
">
<?php
$date = date("Y-m-d");
if (strtotime($date) > strtotime($issue->due_date)) {
echo $issue->fine;
}
?>
</td>
<td data-title="<?php
echo $this->lang->line('action');
?>
">
<?php
echo btn_view('issue/view/' . $issue->issueID, $this->lang->line('view'));
?>
</td>
<?php
}
?>
</tr>
<?php
$i++;
}
}
}
?>
</tbody>
</table>
示例12: strlen
</td>
<td class="text-justify"><?php
echo $v_notice->short_description;
?>
<?php
$str = strlen($v_notice->short_description);
if ($str > 80) {
$ss = '<strong> ......</strong>';
} else {
$ss = ' ';
}
echo substr($v_notice->short_description, 0, 80) . $ss;
?>
</td>
<td><?php
echo btn_view('employee/dashboard/notice_detail/' . $v_notice->notice_id);
?>
</td>
</tr>
<?php
}
?>
<?php
} else {
?>
<td colspan="3">
<strong>There is no data to display</strong>
</td>
<?php
}
?>
示例13: btn_view
if ($v_notice->flag == 0) {
?>
<span class="label label-danger">Unpublished</span>
<?php
} else {
?>
<span class="label label-success">Published</span>
<?php
}
?>
</td>
<td>
<?php
echo btn_view('admin/notice/notice_details/' . $v_notice->notice_id);
?>
<?php
echo btn_edit('admin/notice/add_notice/' . $v_notice->notice_id);
?>
<?php
echo btn_delete('admin/notice/delete_notice/' . $v_notice->notice_id);
?>
</td>
</tr>
<?php
$key++;
}
示例14: btn_view
?>
</td>
<td data-title="<?php
echo $this->lang->line('parentes_email');
?>
">
<?php
echo $parent->email;
?>
</td>
<td data-title="<?php
echo $this->lang->line('action');
?>
">
<?php
echo btn_view('parentes/view/' . $parent->parentID, $this->lang->line('view'));
?>
<?php
echo btn_edit('parentes/edit/' . $parent->parentID, $this->lang->line('edit'));
?>
<?php
echo btn_delete('parentes/delete/' . $parent->parentID, $this->lang->line('delete'));
?>
</td>
</tr>
<?php
$i++;
}
}
?>
</tbody>
示例15: btn_add
echo $this->lang->line('hmember_phone');
?>
">
<?php
echo $student->phone;
?>
</td>
<td data-title="<?php
echo $this->lang->line('action');
?>
">
<?php
if ($student->hostel == 0) {
echo btn_add('hmember/add/' . $student->studentID . "/" . $set, $this->lang->line('hmember'));
} else {
echo btn_view('hmember/view/' . $student->studentID . "/" . $set, $this->lang->line("view")) . " ";
echo btn_edit('hmember/edit/' . $student->studentID . "/" . $set, $this->lang->line('edit')) . " ";
echo btn_delete('hmember/delete/' . $student->studentID . "/" . $set, $this->lang->line('delete'));
}
?>
</td>
</tr>
<?php
$i++;
}
}
?>
</tbody>
</table>
</div>