Advertisement
Guest User

Untitled

a guest
Mar 7th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.75 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 '/home/dave/public_html/users/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. <div id="page-wrapper">
  28.     <div class="container-fluid">
  29.         <div class="row">
  30.             <div class="col-xs-3">
  31.                     <h1>Organizeer een event</h1>
  32.                     <?php
  33.                     //Laat het formulier zien
  34.                     displayForm('event');
  35.                     ?>
  36.          <input type='text' name='csrf' value='<?php echo Token::generate();?>'>
  37.             </div> <!-- /.col -->
  38.         </div> <!-- /.row -->
  39.     </div> <!-- /.container -->
  40. </div> <!-- /.wrapper -->
  41.  
  42. <?php
  43. //Zet de ingevoerde data in de database
  44. processForm(['debug'=>1]);
  45. ?>
  46.     <!-- footers -->
  47. <?php require_once $abs_us_root.$us_url_root.'users/includes/page_footer.php'; // the final html footer copyright row + the external js calls ?>
  48.  
  49. <!-- Place any per-page javascript here -->
  50.  
  51. <?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