H69UNtblNBNpha2dtB1Odn8qYp1Qk5NK2gi7yfceofo9N
/
home
/
ymswebso
/
public_html
/
buydotcom
/
app
/
View
/
Managedomains
/
Nama File / Folder
Size
Action
admin_index.ctp
5.331KB
Hapus
Edit
Rename
<=Back
<div class="content"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="portlet"> <h2 class="portlet-title"> <u>Manage Domains(<?php echo $TotalDomains; ?>)</u> <u class="pull-right margin-top-mobile-15-pc-minus-7" style="border-bottom:none;"> <a href="/admin/managedomains/add" class="btn btn-green"><span class="fa fa-plus-square" style="font-size:14px;"></span> Add New Domain</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="14%">Domain ID</th> <th class="padding-left-10" width="15%">Category</th> <th width="30%">Domain Info</th> <th width="10%" style="text-align:center;">Is Sold</th> <th style="text-align:center;" width="13%">Status</th> <th style="text-align:center;">Action</th> </tr> </thead> <thead> <?php if(!empty($domains)){ foreach($domains as $domain){?> <tr> <td colspan="6" height="5"></td> </tr> <tr> <td bgcolor="#F2F2F2" class="padding-left-25 padding-top-11 padding-bottom-11">#<?php echo $domain['id']; ?></td> <td bgcolor="#F2F2F2" class="padding-left-25 padding-top-11 padding-bottom-11"><?php echo $domain['category']; ?></td> <td bgcolor="#F2F2F2" class="padding-top-11 padding-bottom-11"> <strong>name :</strong> <?php echo $domain['name']; ?><br> <strong>Extension :</strong> <?php echo $domain['extension']; ?><br> <strong>name :</strong> <?php echo $domain['name']; ?><br> <strong>Price :</strong> $<?php echo $domain['price']; ?><br> <strong>Is Featured :</strong> <?php echo $domain['is_featured']; ?><br> <strong>Age :</strong> <?php echo $domain['age']; ?><br> <strong>Expiry Date :</strong> <?php echo $domain['expiry_date']; ?><br> </td> <td bgcolor="#F2F2F2" style="text-align:center;" class="padding-top-11 padding-bottom-11"> <?php if($domain['is_sold'] == 'Yes'){ $span_cls = 'greentext'; $text_disp = 'Yes'; }else{ $span_cls = 'redtext'; $text_disp = 'No'; } ?> <span class="<?php echo $span_cls; ?>"><strong><?php echo $text_disp; ?></strong></span> </td> <td bgcolor="#F2F2F2" style="text-align:center;" class="padding-top-11 padding-bottom-11"> <?php if($domain['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;" class="padding-top-11 padding-bottom-11"> <a href="/admin/managedomains/updatestatus/yes/<?php echo $domain['id']; ?>"><img src="/backend/img/active.png"></a> <img src="/backend/img/backslash.png"><a href="/admin/managedomains/updatestatus/no/<?php echo $domain['id']; ?>"><img src="/backend/img/inactive.png"></a><img src="/backend/img/backslash.png"><a href="/admin/managedomains/edit/<?php echo $domain['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', $domain['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="6" height="20"></td> </tr> <tr> <td colspan="6" 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> <?php }else{?> <tr><td colspan="6" height="5" class="text-center redtext text-19 padding-top-15"><strong>No Domains has been posted.</strong></td></tr> <?php }?> </thead> </table> </div> <!-- /.portlet-body --> </div> <!-- /.portlet --> </div> <!-- /.col --> </div> <!-- /.row --> </div> <!-- /.container --> </div> <!-- .content -->
Liking