|
Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/indolok.id/application/views/account/ |
Upload File : |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<!--make some space gap on top with menu-->
<div class="banner" style="padding-top: 10px;"></div>
<div class="container">
<div class="row" style="padding-bottom:50px;">
<div class="col-sm-2 order-sm-1 order-2" style="border-right:1px solid #ccc;">
<?= Modules::run('myaccount_menu'); ?>
</div><!-- end col-sm-2-->
<div class="col-sm-10 order-sm-2 order-1">
<?= $this->session->flashdata('success'); //to display success message ?>
<br>
<!-- upload prescription -->
<?php echo form_open_multipart('account/invite_friend_add'); ?>
<div class="row form-group">
<div class="col-sm-3">
<label>Add Friend's E-mail</label>
</div><!--end class="col-sm-4" -->
<div class="col-sm-9">
<p>
<?php
$data = array(
'type' => 'email',
'name' => 'email',
'required' => 'required',
'class' => 'form-control'
);
echo form_input($data); ?>
<?= form_error('email'); ?>
</p>
</div><!-- end class="col-sm-9" -->
</div><!-- end class="row"-->
<div class="row form-group">
<div class="col-sm-3">
</div><!--end class="col-sm-4" -->
<div class="col-sm-9">
<input type="submit" value="Add Email" style="background:<?= $primary_colortheme; ?>; color:white;" class="form-control" />
</div><!--end class="col-sm-9" -->
</div><!-- end class="row"-->
<?php echo form_close(); ?>
<!-- upload prescription -->
<!-- my prescription -->
<h4>My Friend's Email</h4>
<div class="table-responsive orderHistory">
<table class="table table-striped">
<thead>
<tr>
<th style="width: 50px;">No.</th>
<th>Email</th>
<th style="text-align: center;">Action</th>
</tr>
</thead>
<tbody>
<?php if ($friends_email != null): ?>
<?php $a=1; foreach ($friends_email as $item): ?>
<tr>
<td style="padding: 3px 13px;"><?= $a; ?></td>
<td style="padding: 3px 13px;"><?= $item->email; ?></td>
<td style="text-align: center;padding: 3px 0px;">
<a href="<?= base_url().'account/invite_friend_delete/'.$item->id_invite_friend; ?>">delete</a>
-
<a href="<?= base_url().'account/invite_friend_send_email/'.$item->id_invite_friend; ?>">send email</a>
</td>
</tr>
<?php $a++; endforeach ?>
<?php else: ?>
<tr>
<td colspan="3" style="text-align: center;"><p>Friend's Email Empty</p></td>
</tr>
<?php endif ?>
</tbody>
</table>
</div><!-- end class="table-responsive"> -->
<!-- my prescription -->
</div><!-- end col-sm-10-->
</div><!-- end row-->
</div><!-- end container -->