Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(file_exists("install/index.php")){
- //perform redirect if installer files exist
- //this if{} block may be deleted once installed
- header("Location: install/index.php");
- }
- require_once '../../../users/init.php';
- require_once $abs_us_root.$us_url_root.'users/includes/header.php';
- require_once $abs_us_root.$us_url_root.'users/includes/navigation.php';
- if(isset($user) && $user->isLoggedIn()){
- }
- ?>
- <div id="page-wrapper">
- <div class="container">
- <div class="row">
- <div class="col-xs-12">
- <div class="jumbotron">
- <h1>Welcome to <?php echo $settings->site_name;?></h1>
- <p class="text-muted">An Safe Place For Developers to Sell</p>
- <p>
- <?php if($user->isLoggedIn()){$uid = $user->data()->id;?>
- <a class="btn btn-default" href="users/account.php" role="button">User Account »</a>
- <?php }else{?>
- <a class="btn btn-warning" href="users/login.php" role="button">Log In »</a>
- <a class="btn btn-info" href="users/join.php" role="button">Sign Up »</a>
- <?php } ?>
- </p>
- </div>
- </div>
- </div>
- <div class="row">
- <?php
- // To generate a sample notification, uncomment the code below.
- // It will do a notification everytime you refresh index.php.
- // $msg = 'This is a sample notification! <a href="'.$us_url_root.'users/logout.php">Go to Logout Page</a>';
- // $notifications->addNotification($msg, $user->data()->id);
- ?>
- <style>
- .button1 {
- background-color: white;
- color: black;
- border: 2px solid #4CAF50;
- }
- .test {
- width:60%;
- display:inline;
- overflow: auto;
- white-space: nowrap;
- margin:0px auto;
- }
- </style>
- <link href="css/bootstrap.min.css" rel="stylesheet">
- <!-- Custom CSS -->
- <link href="css/shop-homepage.css" rel="stylesheet">
- <style>
- #rcorners2 {
- border-radius: 25px;
- border: 2px solid #73AD21;
- padding: 20px;
- width: 200px;
- height: 150px;
- }
- </style>
- </div> <!-- /container -->
- </div> <!-- /#page-wrapper -->
- <!-- footers -->
- <?php require_once $abs_us_root.$us_url_root.'users/includes/page_footer.php'; // the final html footer copyright row + the external js calls ?>
- <!-- Place any per-page javascript here -->
- <?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