?> Number </div> <?php } ?> <legend>Send Broadcast</legend> <div class="balloon"><div class='padding20'> <form method='POST' action='' charset='UTF-8'> <label>Hilangkan centang untuk nomor yang tidak ingin dikirim</label> <hr> <?php $query = core::get_all('pbk', 'gammu', 'Name'); ?> Total Phone Number : <?php echo $query->num_rows(); ?> <div style='width:100%;height:300px;overflow:auto;border:1px solid #CCC;padding:10px 0px 10px 10px ;'> <?php foreach ($query->result() as $row) { ?> <?php $group = core::get_where('pbk_groups', 'gammu', array('ID' => $row->GroupID)); ?> <?php $groups = $group->row(); ?>
if ($this->uri->segment(3) == 'rows') { $per_page = $this->uri->segment(4); $segment = 5; $url = 'sending/index/rows/' . $this->uri->segment(4) . '/'; } else { $per_page = 25; $segment = 3; $url = 'sending/index'; } ?> <div class='table-responsive margin-table'> <table class='table'> <caption class='text-right'> <?php $num_rows = core::get_all('sentitems', 'gammu')->num_rows(); ?> <small>Total data : <u class='text-error'><?php echo $num_rows; ?> </u></small> </caption><thead> <tr> <th style='width:20px;'>#</th> <th>To</th> <th>Message</th> <th>Date</th> <th>Status</th> <th style='text-align:center;width:100px;'>Aksi</th> </tr></thead> <tbody>
if ($this->uri->segment(3) == 'rows') { $per_page = $this->uri->segment(4); $segment = 5; $url = 'pbk/index/rows/' . $this->uri->segment(4) . '/'; } else { $per_page = 25; $segment = 3; $url = 'pbk/index'; } ?> <div class='table-responsive margin-table'> <table class='table'> <caption class='text-right'> <?php $num_rows = core::get_all('pbk', 'gammu')->num_rows(); ?> <small>Total data : <u class='text-error'><?php echo $num_rows; ?> </u></small> </caption><thead> <tr> <th style='width:20px;'>No</th> <th>Name</th> <th>Number</th> <th>Group</th> <th style='text-align:center;width:100px;'>Aksi</th> </tr></thead> <tbody> <?php
<?php include 'layout.php'; ?> <form method='POST' action='<?php echo base_url('send_message/send_by_group'); ?> ' charset='UTF-8'> <label>Group</label> <?php $query = core::get_all('pbk_groups', 'gammu'); ?> <select name='group' class="span3"> <option value='0'>No Group</option> <?php foreach ($query->result() as $row) { ?> <option value='<?php echo $row->ID; ?> '><?php echo $row->Name; ?> </option> <?php }
if ($this->uri->segment(3) == 'rows') { $per_page = $this->uri->segment(4); $segment = 5; $url = 'outbox/index/rows/' . $this->uri->segment(4) . '/'; } else { $per_page = 25; $segment = 3; $url = 'outbox/index'; } ?> <div class='table-responsive margin-table'> <table class='table table-condensed'> <caption class='text-right'> <?php $num_rows = core::get_all('outbox', 'gammu')->num_rows(); ?> <small>Total data : <u class='text-error'><?php echo $num_rows; ?> </u></small> </caption><thead> <tr> <th style='width:20px;'>No</th> <th>To</th> <th>Message</th> <th>Date</th> <th style='text-align:center;width:100px;'>Aksi</th> </tr></thead> <tbody> <?php
$query = core::get_where('pbk', 'gammu', array('ID' => $this->uri->segment(3)), 1); $row = $query->row_array(); ?> <input type='hidden' name='id' value='<?php echo $row['ID']; ?> ' > <!-- start GroupID --> <div class='control-group <?php echo form_error('GroupID') ? 'error' : ''; ?> '> <label class='control-label' ><strong>Group</strong></label> <div class='controls'> <?php $group = core::get_all('pbk_groups', 'gammu'); ?> <select name='GroupID' class='span5'> <option value='0'>No Group</option> <?php foreach ($group->result() as $rows) { ?> <option value='<?php echo $rows->ID; ?> ' <?php echo $row['GroupID'] == $rows->ID ? "selected" : ""; ?> ><?php echo $rows->Name; ?>
if ($this->uri->segment(3) == 'rows') { $per_page = $this->uri->segment(4); $segment = 5; $url = 'admin/index/rows/' . $this->uri->segment(4) . '/'; } else { $per_page = 25; $segment = 3; $url = 'admin/index'; } ?> <div class='table-responsive margin-table'> <table class='table table-condensed'> <caption class='text-right'> <?php $num_rows = core::get_all('admin', 'gammu')->num_rows(); ?> <small>Total data : <u class='text-error'><?php echo $num_rows; ?> </u></small> </caption><thead> <tr> <th style='width:20px;'>No</th> <th>Username</th> <th style='width:150px;'>Created</th> <th style='text-align:center;width:100px;'>Aksi</th> </tr></thead> <tbody> <?php $i = $this->uri->segment($segment) + 1;
if ($this->uri->segment(3) == 'rows') { $per_page = $this->uri->segment(4); $segment = 5; $url = 'pbk_group/index/rows/' . $this->uri->segment(4) . '/'; } else { $per_page = 25; $segment = 3; $url = 'pbk_group/index'; } ?> <div class='table-responsive margin-table'> <table class='table'> <caption class='text-right'> <?php $num_rows = core::get_all('pbk_groups', 'gammu')->num_rows(); ?> <small>Total data : <u class='text-error'><?php echo $num_rows; ?> </u></small> </caption><thead> <tr> <th style='width:20px;'>#</th> <th>Name</th> <th style='text-align:center;width:100px;'>Aksi</th> </tr></thead> <tbody> <?php $i = $this->uri->segment($segment) + 1; foreach (core::get_all_pagination('pbk_groups', 'gammu', $per_page, $segment, $url)->result() as $row) {