Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="login-area" style="width:320px;padding-top:20px;margin-top:0">
- <?php echo $this->Form->create('Order'); ?>
- <div class="form-group">
- <?php echo $this->Form->input('service_id',array('class'=>'form-control','type'=>'select','label'=>'Layanan')); ?>
- </div>
- <div class="form-group">
- <?php echo $this->Form->input('link',array('class'=>'form-control','type'=>'text','required'=>'required','label'=>'Target')); ?>
- </div>
- <div class="form-group">
- <?php echo $this->Form->input('quantity',array('class'=>'form-control','type'=>'number','label'=>'Jumlah')); ?>
- </div>
- <div class="form-group">
- <?php echo $this->Form->submit('Submit',array('class'=>'btn btn-default large','enabled')); ?>
- </div>
- <?php echo $this->Form->end(); ?>
- </div>
- <div class="tg-wrap"><table class="tg">
- <tr>
- <th class="tg-ul8i">Tipe Layanan<br></th>
- <th class="tg-af8v">Harga Per <b>1000<b></th>
- <th class="tg-af8v">Minimum <b>Order<b></th>
- </tr>
- <?php
- $server = "localhost" ;
- $username = "puriz_smm" ;
- $password = "rk7MRQ%X?*]L" ;
- $database = "puriz_smm";
- //Koneksi dan memilih database di server
- mysql_connect($server,$username,$password) or die ("Koneksi database gagal");
- mysql_select_db($database) or die ("Database tidak tersedia");
- $tampil="select * from services";
- $qryTampil=mysql_query($tampil);
- while ($data=mysql_fetch_array($qryTampil)) {
- ?>
- <tr>
- <td class="tg-2gmd"><?php echo $data['name']; ?><br></td>
- <td class="tg-1cy3"><?php echo $data['rate'] *10; ?></td>
- <td class="tg-1cy3"><?php echo $data['min_order']; ?></td>
- </tr>
- <?php } ?>
- </table></div>
- <div class="text-center">
- <?php echo nl2br($page['Page']['content']);?>
- </div>
- <?php $this->start('script'); ?>
- <?php //echo $this->Html->script('wysi/bootstrap3-wysihtml5.min');?>
- <script type="text/javascript">
- $(function(){
- $('#wisy').wysihtml5();
- });
- </script>
- <?php $this->end();
Add Comment
Please, Sign In to add comment