H69UNtblNBNpha2dtB1Odn8qYp1Qk5NK2gi7yfceofo9N
/
home
/
ymswebso
/
public_html
/
boostguru
/
app
/
View
/
Managespecailizations
/
Nama File / Folder
Size
Action
admin_index.ctp
4.491KB
Hapus
Edit
Rename
<div class="content"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="portlet"> <h2 class="portlet-title"> <u>Manage Specializations</u> <u class="pull-right margin-top-mobile-15-pc-minus-7" style="border-bottom:none;"> <a data-toggle="modal" href="/admin/managespecailizations/add" class="btn btn-green"><span class="fa fa-plus-square" style="font-size:14px;"></span> Add New Specialization</a> </u> </h2> <div class="portlet-body"> <table cellpadding="0" cellspacing="0" border="0" width="100%" class="custom-table"> <thead> <tr> <th class="padding-left-10" width="15%">Specialization ID</th> <th class="padding-left-10" width="10%" style="text-align:center;">Image</th> <th class="padding-left-10" width="30%" style="text-align:center;">Name</th> <th style="text-align:center;" width="15%">Status</th> <th style="text-align:center;" width="20%">Action</th> </tr> </thead> <thead> <?php //print_r($mobilemodels); foreach($specializations as $specialization){?> <tr> <td colspan="4" height="5"></td> </tr> <tr> <td bgcolor="#F2F2F2" class="padding-left-25 padding-top-11 padding-bottom-11">#<?php echo $specialization['Specialization']['id']; ?></td> <td bgcolor="#F2F2F2" class="padding-left-25 padding-top-11 padding-bottom-11"><img class="img-responsive center-block" src="/specializations/<?php echo $specialization['Specialization']['image']; ?>"></td> <td bgcolor="#F2F2F2" style="text-align:center;"><?php echo $specialization['Specialization']['name']; ?></td> <td bgcolor="#F2F2F2" style="text-align:center;"> <?php if($specialization['Specialization']['status'] == 'Yes'){?> <span class="whitetext completed"><strong>Active</strong></span> <?php }else{?> <span class="whitetext cancelled"><strong>Inactive</strong></span> <?php }?> </td> <td bgcolor="#F2F2F2" style="text-align:center;"> <a href="/admin/managespecailizations/updatestatus/yes/<?php echo $specialization['Specialization']['id']; ?>"><img src="/backend/img/active.png"></a> <img src="/backend/img/backslash.png"><a href="/admin/managespecailizations/updatestatus/no/<?php echo $specialization['Specialization']['id']; ?>"><img src="/backend/img/inactive.png"></a><img src="/backend/img/backslash.png"><a href="/admin/managespecailizations/edit/<?php echo $specialization['Specialization']['id']; ?>"><img src="/backend/img/edit.png"></a><img src="/backend/img/backslash.png"> <?php echo $this->Form->postLink( $this->Html->image('../backend/img/delete.png', array("alt" => __('Delete'), "title" => __('Delete'))), array('action' => 'delete', $specialization['Specialization']['id']), array('escape' => false, 'confirm' => __('Delete Opration will remove the data permanently form database. Are sure to delete this record.')) ); ?> </td> </tr> <?php }?> <tr> <td colspan="4" height="20"></td> </tr> <tr> <td colspan="4" class="text-center"> <ul class="pagination"> <?php echo $this->Paginator->prev(__('prev'), array('tag' => 'li'), null, array('tag' => 'li','class' => 'disabled','disabledTag' => 'a')); echo $this->Paginator->numbers(array('separator' => '','currentTag' => 'a', 'currentClass' => 'active','tag' => 'li','first' => 1)); echo $this->Paginator->next(__('next'), array('tag' => 'li','currentClass' => 'disabled'), null, array('tag' => 'li','class' => 'disabled','disabledTag' => 'a')); ?> </ul> </td> </tr> </thead> </table> </div> <!-- /.portlet-body --> </div> <!-- /.portlet --> </div> <!-- /.col --> </div> <!-- /.row --> </div> <!-- /.container --> </div> <!-- .content -->