Advertisement
Clarkie

New Usercake User.php (Profile)

Jul 22nd, 2011
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.25 KB | None | 0 0
  1. <?php
  2.     /*
  3.         UserCake Version: 1.4
  4.         http://usercake.com
  5.        
  6.         Developed by: Adam Davis
  7.     */
  8.     require_once("models/config.php");
  9.  
  10.     $UID = $_GET["ID"];
  11.    
  12. ?>
  13. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  14. <html xmlns="http://www.w3.org/1999/xhtml">
  15. <head>
  16. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  17. <?php include("headerinclude.php"); ?>
  18. <title>Profile</title>
  19. </head>
  20. <body>
  21. <div id="wrapper">
  22.  
  23.     <div id="content">
  24.    
  25.         <div id="left-nav">
  26.         <?php include("layout_inc/left-nav.php"); ?>
  27.             <div class="clear"></div>
  28.         </div>
  29.        
  30.        
  31.         <div id="main">
  32.             <h1>User Profile</h1>
  33.        
  34.             <p>Welcome to <strong><?php echo $UID->display_username; ?></strong>'s profile.</p>
  35.  
  36.             <p>Your account type is: <strong><?php  $group = $UID->groupID(); echo $group['Group_Name']; ?></strong></p>
  37.          
  38.             <p>Your current balance is <strong><?php echo $UID->balance(); ?></strong>&#924;</p>
  39.            
  40.             <p>You joined on <?php echo date("l \\t\h\e jS Y",$UID->signupTimeStamp()); ?> </p>
  41.         </div>
  42.  
  43.     </div>
  44. </div>
  45. <?php include("footer.php"); ?>
  46. </body>
  47. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement