
  <div style=" width:1048px; font-family: sans-serif; background-color:#CC9E26; padding:10px; background-image:url('<?php echo $PGPath; ?>textures/texture1.png');">
    
  <div style="position:relative; width:1000px; margin-left:auto; margin-right:auto; padding:15px; min-height:500px; background-color:#ffffff; border:4px solid #000000; border-radius: 4px;">
  
  
  
   <img src="<?php echo $PGPath; ?>images/logo.jpg" border="0" width="350">
   <br>
   <div style="width:100%; height:20px;">
    <button style="cursor:pointer; float:right; font-weight:900;" onclick="help();">Help</button>&nbsp;&nbsp;
    <button style="cursor:pointer; float:right; font-weight:900;" onclick="window.location='<?php echo admin_url().'admin.php?page=clickbar&p=n'; ?>';">Create New</button>&nbsp;&nbsp;
    <button style="cursor:pointer; float:right; font-weight:900;" onclick="window.location='<?php echo admin_url().'admin.php?page=clickbar&p=d'; ?>';">My Bars</button>
   </div>
   <p>
    <?php
     $p=$_GET['p'];
     
     if ($p==""){include('welcome.php');}
     if ($p=="n"){include('new.php');}
     if ($p=="d"){include('dashboard.php');}
     
    ?>
   </p>
  </div>  
    
    

  
  
  <div id="Blanket" style="position:fixed; left:0px; top:0px; width:100%; height:100%; background-color:#000000; z-index:99998; opacity:0.70; display:none;">
  </div>
  
  
  <div id="ContentPopUpContainer" style="display:none; position:absolute; left:50%; margin-left:-325px; top:50px;   background-color:#ffffff; width:650px; ; z-index: 99999; border:8px solid #000000; border-radius: 8px; box-shadow: 10px 10px 5px #000000;">
   <div style="position:absolute; right:5px; top:5px;"><a href="#" onclick="$('#ContentPopUp').html(''); $('#ContentPopUpContainer').css('display','none'); $('#Blanket').css('display','none');"><img src="<?php echo $PGPath; ?>images/close_2.png" border="0"></a></div>
   <div id="ContentPopUp" style="position:relative; top:10px;">
   </div>
   <br>&nbsp;<br>
  </div>
</div>  
  

<script type="text/javascript">

                    
  
                                                                 
  function help(){
                     $.post('<?php echo $PGPath; ?>gethelp.php',
                                                  function(data) {
                                                                  
                                                                  $('#ContentPopUp').html(data);
                                                                  $('#Blanket').css('display','block');
                                                                  $('#ContentPopUpContainer').css('display','block');
                                                                  window.scrollTo(0,0);
                                                                 });
                   }  
</script>


