Beispiel #1
0
.</td>
                                            <td><?php 
    echo $v->uemail;
    ?>
</td>
                                            <td><?php 
    echo $v->urefcode;
    ?>
</td>
                                            <td>
                                            <?php 
    $res = '';
    $wew = $this->refferal_model->__get_transaction($v->uid);
    foreach ($wew as $k1 => $v1) {
        $res .= 'No: ' . $v1->tno . '<br />';
        $res .= 'Total: ' . __get_rupiah($v1->ttotal) . '<br />';
        $res .= 'Status: ' . __get_status_transaction($v1->tstatus, 1) . '<br /><br />';
    }
    echo $res;
    $wew = array();
    ?>
                                            </td>
                                            <td><?php 
    echo __get_status($v->ustatus, 1);
    ?>
</td>
                                          </tr>
                                          <?php 
    ++$i;
}
?>
Beispiel #2
0
                                        <tbody>
											<?php 
$i = 1;
foreach ($product as $k => $v) {
    ?>
                                          <tr>
                                            <td><?php 
    echo $page * $i;
    ?>
.</td>
                                            <td><?php 
    echo $v->pname;
    ?>
</td>
                                            <td><?php 
    echo __get_rupiah($v->pprice);
    ?>
</td>
                                            <td><?php 
    echo $v->pdesc;
    ?>
</td>
                                            <td><?php 
    echo __get_status($v->pstatus, 1);
    ?>
</td>
                                            <td>
                                            <div class="controls center">
                                                    <a href="<?php 
    echo site_url('panel/product/update/' . $v->pid);
    ?>
Beispiel #3
0
    ?>
</td>
                                            <td>#<?php 
    echo $v->tno;
    ?>
</td>
                                            <td><?php 
    echo __get_date($v->tdate, 3);
    ?>
</td>
                                            <td><?php 
    echo __get_date($v->tfrom, 1) . ' - ' . __get_date($v->tto, 1);
    ?>
</td>
                                            <td><?php 
    echo __get_rupiah($v->ttotal);
    ?>
</td>
                                            <td><?php 
    echo __get_status_transaction($v->tstatus, 1);
    ?>
</td>
                                          </tr>
                                          <?php 
    ++$i;
}
?>
                                        </tbody>
                                    </table>
                                    <div id="pgboth">
                        <div class="col-lg-2">
Beispiel #4
0
echo __get_error_msg();
?>
                                         <div class="form-group">
                                            <label class="col-lg-3 control-label" for="placeholder">Name</label>
                                            <div class="col-lg-9">
                                                <input type="text" class="form-control" placeholder="Product Name" value="<?php 
echo $detail[0]->pname;
?>
" name="name">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label" for="price">Price</label>
                                            <div class="col-lg-9">
                                                <input type="text" class="form-control" onkeyup="formatharga(this.value,this)" placeholder="Product Price" autocomplete="off" name="price" value="<?php 
echo __get_rupiah($detail[0]->pprice, 2);
?>
">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label" for="desc">Description</label>
                                            <div class="col-lg-9">
                                                <textarea id="textarea1" name="desc" rows="3" class="form-control elastic"><?php 
echo $detail[0]->pdesc;
?>
</textarea>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label" for="password">Status</label>