Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.38 KB | None | 0 0
  1. <?php
  2.  
  3. global $wo;
  4.  
  5. ?>
  6. <div class="page-margin">
  7.     <div class="row">
  8.         <div class="col-md-2"><?php echo Wo_LoadPage("sidebar/left-sidebar"); ?></div>
  9.         <div class="col-md-10">
  10.             <?php if(empty($wo['user']['drive_match_signed_up'])){ ?>
  11.             <div class="drive_match_header">
  12.                 <p class="drive_match_header_not_signed_up"><?php echo $wo['lang']['drive_match_not_signed_up']; ?></p>
  13.                 <form>
  14.                     <button type="button" id="btn_sign_up_for_drive_match" onclick="sign_up_Drive_Match()"><?php echo $wo['lang']['sign_up_for_drive_match']; ?></button>
  15.                     <button type="button" id="btn_info_drive_match" onclick="info_drive_match()"><?php echo $wo['lang']['info_drive_match']; ?></button>
  16.                 </form>
  17.             </div>
  18.             <?php }else{?>
  19.             Test
  20.             <?php } ?>
  21.         </div>
  22.     </div>
  23.     <!-- .row -->
  24. </div>
  25.  
  26.  
  27. <script>
  28.     function sign_up_Drive_Match () {
  29.  
  30.         var signedUp = '<?php echo Yb_SignUp_Drive_Match(); ?>';
  31.  
  32.         if (signedUp == false){
  33.             window.alert('<?php echo $wo['lang']['drive_match:signup_nosuccess']; ?>');
  34.         }else{
  35.             window.alert('<?php echo $wo['lang']['drive_match_signup_success']; ?>');
  36.             location.reload();
  37.         }
  38.  
  39.     }
  40.     function info_drive_match(){
  41.  
  42.     }
  43. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement