Advertisement
Guest User

Fdaftar.php

a guest
Jan 17th, 2018
2,182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.58 KB | None | 0 0
  1. <html>
  2.     <head>
  3.         <title>Validasi Form dengan JQuery Validation</title>
  4. <link href="<?php echo base_url().'assets//bootstrap/css/bootstrap.min.css'?>" rel="stylesheet">
  5.        
  6.     </head>
  7.     <body>
  8.     <div class="container">
  9. <center>        <h1>daftar</h1></center>
  10. <form action="<?php echo site_url('singup');?>" method="post" class="form-signin">
  11.  
  12. <?php echo validation_errors(); ?>
  13. <?php echo "<p class='text-danger'>".$this->session->flashdata('error')."</p>";?>
  14.  
  15.  
  16.  
  17.  
  18. <div class="form-group  has-feedback">  <label for="email" class="labelfrm ">email</label>
  19. <?php echo"<p class='text-danger'>". $this->session->flashdata('erroremail')."</p>";?>
  20.     <?php echo"<p class='text-danger'>". form_error('email')."</p>"; ?>
  21. <input type="text" name="email" id="email" placeholder="Email" value="<?php echo set_value('email'); ?>" class="form-control required" />  
  22. </div>
  23.  
  24.  
  25. <div class="form-group has-feedback">  
  26. <label for="password" class="labelfrm">password</label>
  27. <?php echo"<p class='text-danger'>".form_error('password')."</p>"; ?>
  28. <input type="password" name="password" id="password" placeholder="Password" value="<?php echo set_value('password'); ?>" class="form-control required"/>
  29. </div>
  30.  
  31.             <div class="checkbox">
  32. <label>
  33.  
  34. </label>
  35. </div>
  36.            
  37. <button class="btn btn-info btn-block" type="submit" name="daftar">daftar</button>
  38.         </form>
  39. <h5><p class="text-center">atau</p></h5>
  40. <p class="text-center"><a href="<?php echo site_url('login');?>" class="btn btn-md btn-success">masuk</a></p><br><br>
  41. <p class="text-center"> dakon &copy; <?php echo  date('Y'); ?></p>     
  42.         </div>
  43.     </body>
  44. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement