PHP Classes

File: upload/plugins/bulletinboard/admin/install.php

Recommend this page to a friend!
  Classes of James Brows   PHP Bulletin Board   upload/plugins/bulletinboard/admin/install.php   Download  
File: upload/plugins/bulletinboard/admin/install.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Bulletin Board
Manage and post messages in multi-user forums
Author: By
Last change:
Date: 3 years ago
Size: 3,596 bytes
 

Contents

Class file image Download
<?php
    $db
=new Database();


   
$loadData=$db->query("SHOW TABLES LIKE 'bb_poll_data'");

   
?>


  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
  
    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <!-- Info boxes -->
        <div class="row justify-content-center">
                    <div class="col-lg-10 col-md-10 col-sm-10 ">
                    <form action="" method="post" enctype="multipart/form-data">

                    <div class="card" style='margin-top:20px;'>
                        <div class="card-header border-0">
                            <h3 class="card-title">Install BulletinBoard</h3>
                           
                        </div>
                        <div class="card-body table-responsive p-10">
                            <table class='table'>
                                <tbody>
                                    <?php if(count($loadData)>0){ ?>
<tr>
                                        <td class='text-danger'>Install can not continue because you have been install Bulletin Board</td>
                                    </tr>
                                    <?php }else{ ?>
<!-- <tr>
                                        <td class='text-success'>Ok,your system can be install bulletinboard. Click 'Next step' button to continue install...</td>
                                    </tr> -->
                                    <tr>
                                        <td>
                                            <p>
                                               <span>Click Next step to continue install</span>
                                            </p>
                                          
                                        </td>
                                    </tr>
                              

                                    <?php } ?>
</tbody>
                            </table>

                            <!-- row -->
                            <div class='row' style='margin-top:20px;'>
                                <div class='col-lg-12'>
                                    <a href="<?php echo SITE_URL;?>admin/plugins" class='btn btn-info' style=''><i class='fa fa-angle-left'></i> Prev</a>

                                    <?php if(count($loadData) == 0){ ?>
<button type='button' href="<?php echo SITE_URL;?>admin/plugin_page_url?plugin=bulletinboard&page=install_step2" class='btn btn-success gotoStep2' style='float:right;'>Next step <i class='fa fa-angle-right'></i></a>
                                    <?php } ?>
</div>
                            </div>
                            <!-- row -->
                        </div>
                    </div>
                    <!-- /.card -->
               
                    </form>
                    </div>
 
                         
                   
                </div>
        <!-- /.row -->


        <!-- /.row -->
      </div><!--/. container-fluid -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->


<script>

   

</script>

<script type="text/javascript">


$(document).on('click','.gotoStep2',function(){

    var url=SITE_URL+'admin/plugin_page_url?plugin=bulletinboard&page=install_step2&key=FREE';
    location.href=url;
});
  

      
</script>