Advertisement
Guest User

Untitled

a guest
May 30th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.65 KB | None | 0 0
  1. <?php
  2. include '../_class/cms_class.php';
  3.  
  4. $obj = new modernCMS();
  5.  
  6. // Setup our connection vars
  7. $obj ->host = 'localhost';
  8. $obj ->username = 'root';
  9. $obj ->password = '';
  10. $obj ->db = 'hitmanCMS';
  11.  
  12. // Connect to the DB
  13.  
  14. $obj->connect();
  15. ?>
  16.  
  17. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  18. <HTML>
  19.  <HEAD>
  20.   <TITLE>Home</TITLE>
  21. <link rel="stylesheet" href="../style.css" type="text/css" media="screen" title="no title" charset="utf-8">
  22.  </HEAD>
  23.  
  24.  <BODY>
  25.     <div id="page-wrap">
  26.         <?php include '../nav.php'; ?>
  27.        
  28.         <h2>Update Content</h2>
  29.         <?php echo $obj->update_content_form($_GET['id'])?>
  30.  
  31.  
  32. </div>
  33.  </BODY>
  34. </HTML>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement