Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(E_ALL);
- ini_set('display_errors', 1);
- 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=".//marketplace.php" role="button">Marketplace »</a>
- <?php }else{?>
- <a class="btn btn-default" href="../marketplace.php" role="button">Marketplace »</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);
- ?>
- </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