Advertisement
Guest User

Untitled

a guest
Feb 21st, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. <?php
  2. /*
  3. UserSpice 4
  4. An Open Source PHP User Management System
  5. by the UserSpice Team at http://UserSpice.com
  6.  
  7. This program is free software: you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation, either version 3 of the License, or
  10. (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. ?>
  21. <?php
  22. require_once 'init.php';
  23. require_once $abs_us_root.$us_url_root.'users/includes/header.php';
  24. require_once $abs_us_root.$us_url_root.'users/includes/navigation.php';
  25. ?>
  26.  
  27. <?php if (!securePage($_SERVER['PHP_SELF'])){die();} ?>
  28. <?php
  29. //PHP Goes Here!
  30. if(!empty($_POST)){
  31. processForm();
  32. }
  33. ?>
  34. <div id="page-wrapper">
  35. <div class="container-fluid">
  36. <div class="row">
  37. <div class="col-sm-12">
  38. <h1>This is the main content section</h1>
  39. <?php
  40. // $options = array(
  41. // 'submit'=>'submit', //If you want a custom submit button you must do 'submit'=>something. This doubles as the field name
  42. // 'class'=>'btn btn-success',
  43. // 'value'=>'This is the submit button',
  44. // );
  45. displayForm('marketing2');
  46. displayTable('marketing2');
  47. ?>
  48. <hr>
  49.  
  50. <!-- End of main content section -->
  51. </div> <!-- /.col -->
  52. </div> <!-- /.row -->
  53. </div> <!-- /.container -->
  54. </div> <!-- /.wrapper -->
  55.  
  56.  
  57. <!-- footers -->
  58. <?php require_once $abs_us_root.$us_url_root.'users/includes/page_footer.php'; // the final html footer copyright row + the external js calls ?>
  59.  
  60. <!-- Place any per-page javascript here -->
  61.  
  62. <?php require_once $abs_us_root.$us_url_root.'users/includes/html_footer.php'; // currently just the closing /body and /html ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement