File indexing completed on 2024-04-28 17:10:20

0001 <?php   
0002 include "../gfx3/lib.php"; //including gfx3 library
0003 $client = new OCSClient();
0004 $categories = $client->get("/gamingfreedom.org/v1/content/categories");
0005 $data = $client->get("/gamingfreedom.org/v1/content/data");
0006 ?>
0007 
0008 <!DOCTYPE html>
0009 <html lang="en"><head>
0010 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
0011     <meta charset="utf-8">
0012     <meta http-equiv="X-UA-Compatible" content="IE=edge">
0013     <meta name="viewport" content="width=device-width, initial-scale=1">
0014     <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
0015     <meta name="description" content="ocs-server webclient">
0016     <meta name="author" content="woffy">
0017     <title>PlasmaStore</title>
0018     <link rel="stylesheet" href="css/bootstrap.css">
0019     <link rel="stylesheet" href="css/dashboard.css">
0020     <link rel="stylesheet" href="css/logo.css">
0021     <link rel="stylesheet" href="css/app.css">
0022     <!--<link rel="stylesheet" href="css/responsive_preview.css">-->
0023   </head>
0024 
0025 <body>
0026  <nav class="navbar navbar-default navbar-fixed-top">
0027   <div class="container-fluid">
0028     <!-- Brand and toggle get grouped for better mobile display -->
0029     <div class="navbar-header">
0030       <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
0031         <span class="sr-only">Toggle navigation</span>
0032         <span class="icon-bar"></span>
0033         <span class="icon-bar"></span>
0034         <span class="icon-bar"></span>
0035       </button>
0036       <a class="navbar-brand" href="#"><span><img class="logo" src="img/plasma.png"/></span> PlasmaStore</a>
0037     </div>
0038 
0039     <!-- Collect the nav links, forms, and other content for toggling -->
0040     <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
0041       <ul class="nav navbar-nav">
0042         <li><a href="#">Link <span class="sr-only">(current)</span></a></li>
0043         <li><a href="#">Link</a></li>
0044         </ul>
0045 
0046 
0047 
0048         <div class="col-md-3 col-md-offset-2 col-sm-2">
0049           <form class="navbar-form navbar-left" role="search">
0050             <div class="form-group">
0051               <input type="text" class="form-control" placeholder="Search">
0052             </div>
0053             <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span>  Go!</button>
0054           </form>
0055         </div>
0056     
0057 
0058       <ul class="nav navbar-nav navbar-right">
0059         <li><a href="http://www.google.com">Link</a></li>
0060         <li class="dropdown">
0061           <!-- USER -->
0062           <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><span class="glyphicon glyphicon-user"></span> Guest_User <span class="caret"></span></a>
0063           <ul class="dropdown-menu" role="menu">
0064             <li><a href="login/login.html"><span class="glyphicon glyphicon-log-out"></span> Logout</a></li>
0065             <li><a href="#"><span class="glyphicon glyphicon-send"></span>  My Messages</a></li>
0066             <li class="divider"></li>
0067             <li><a href="#">  My Account</a></li>
0068           </ul>
0069         </li>
0070       </ul>
0071     </div><!-- /.navbar-collapse -->
0072   </div><!-- /.container-fluid -->
0073 </nav>
0074 
0075 <div class="container-fluid">
0076       <div class="row">
0077         <div class="col-sm-3 col-md-2 sidebar">
0078           <ul class="nav nav-sidebar sidebuttons">
0079             <?php
0080                 foreach($categories["ocs"]["data"]["category"] as $category){
0081                     echo "<li><a href=\"\">".$category["name"]."</a></li>";
0082                 }
0083             ?>
0084           </ul>
0085         </div>
0086       </div>
0087   </div>
0088 <div class="col-md-7 col-md-offset-2 col-sm-offset-3">
0089     <ol class="breadcrumb">
0090   <li><a href="#">Category 1</a></li>
0091 </ol>
0092 
0093 </div>
0094  <div class="col-md-7 col-md-offset-2 col-sm-offset-3">
0095 
0096         <!-- Page Heading -->
0097         <div class="row">
0098             <div class="col-lg-12">
0099                 <h1 class="page-header">Page Heading
0100                     <small>Secondary Text</small>
0101                 </h1>
0102             </div>
0103         </div>
0104         <!-- /.row -->
0105 
0106         <!-- Project One -->
0107         <?php
0108                 foreach($data["ocs"]["data"]["content"] as $content){
0109                     echo "
0110                     <div class=\"row\">
0111                         <div class=\"col-md-7\">
0112                             <a href=\"#\">
0113                                 <img class=\"img-responsive\" src=\"".$content["preview1"]."\" alt=\"\">
0114                             </a>
0115                         </div>
0116                         <div class=\"col-md-5\">
0117                             <h3>".$content["name"]."</h3>
0118                             <h4>".$content["personid"]."</h4>
0119                             <p>".$content["summary"]."</p>
0120                             <a class=\"btn btn-primary\" href=\"#\">View Project <span class=\"glyphicon glyphicon-chevron-right\"></span></a>
0121                         </div>
0122                     </div> <hr>";
0123 
0124                 } ?>
0125         <div class="row">
0126             <div class="col-md-7">
0127                 <a href="#">
0128                     <img class="img-responsive" src="http://placehold.it/700x300" alt="">
0129                 </a>
0130             </div>
0131             <div class="col-md-5">
0132                 <h3>Project One</h3>
0133                 <h4>Subheading</h4>
0134                 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium veniam exercitationem expedita laborum at voluptate. Labore, voluptates totam at aut nemo deserunt rem magni pariatur quos perspiciatis atque eveniet unde.</p>
0135                 <a class="btn btn-primary" href="#">View Project <span class="glyphicon glyphicon-chevron-right"></span></a>
0136             </div>
0137         </div>
0138         <!-- /.row -->
0139 
0140         <hr>
0141 
0142         <!-- Project Two -->
0143         <div class="row">
0144             <div class="col-md-7">
0145                 <a href="#">
0146                     <img class="img-responsive" src="http://placehold.it/700x300" alt="">
0147                 </a>
0148             </div>
0149             <div class="col-md-5">
0150                 <h3>Project Two</h3>
0151                 <h4>Subheading</h4>
0152                 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ut, odit velit cumque vero doloremque repellendus distinctio maiores rem expedita a nam vitae modi quidem similique ducimus! Velit, esse totam tempore.</p>
0153                 <a class="btn btn-primary" href="#">View Project <span class="glyphicon glyphicon-chevron-right"></span></a>
0154             </div>
0155         </div>
0156         <!-- /.row -->
0157 
0158         <hr>
0159 
0160         <!-- Project Three -->
0161         <div class="row">
0162             <div class="col-md-7">
0163                 <a href="#">
0164                     <img class="img-responsive" src="http://placehold.it/700x300" alt="">
0165                 </a>
0166             </div>
0167             <div class="col-md-5">
0168                 <h3>Project Three</h3>
0169                 <h4>Subheading</h4>
0170                 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis, temporibus, dolores, at, praesentium ut unde repudiandae voluptatum sit ab debitis suscipit fugiat natus velit excepturi amet commodi deleniti alias possimus!</p>
0171                 <a class="btn btn-primary" href="#">View Project <span class="glyphicon glyphicon-chevron-right"></span></a>
0172             </div>
0173         </div>
0174         <!-- /.row -->
0175 
0176         <hr>
0177 
0178         <!-- Project Four -->
0179         <div class="row">
0180 
0181             <div class="col-md-7">
0182                 <a href="#">
0183                     <img class="img-responsive" src="http://placehold.it/700x300" alt="">
0184                 </a>
0185             </div>
0186             <div class="col-md-5">
0187                 <h3>Project Four</h3>
0188                 <h4>Subheading</h4>
0189                 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Explicabo, quidem, consectetur, officia rem officiis illum aliquam perspiciatis aspernatur quod modi hic nemo qui soluta aut eius fugit quam in suscipit?</p>
0190                 <a class="btn btn-primary" href="#">View Project <span class="glyphicon glyphicon-chevron-right"></span></a>
0191             </div>
0192         </div>
0193         <!-- /.row -->
0194 
0195         <hr>
0196 
0197         <!-- Project Five -->
0198         <div class="row">
0199             <div class="col-md-7">
0200                 <a href="#">
0201                     <img class="img-responsive" src="http://placehold.it/700x300" alt="">
0202                 </a>
0203             </div>
0204             <div class="col-md-5">
0205                 <h3>Project Five</h3>
0206                 <h4>Subheading</h4>
0207                 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid, quo, minima, inventore voluptatum saepe quos nostrum provident ex quisquam hic odio repellendus atque porro distinctio quae id laboriosam facilis dolorum.</p>
0208                 <a class="btn btn-primary" href="#">View Project <span class="glyphicon glyphicon-chevron-right"></span></a>
0209             </div>
0210         </div>
0211         <!-- /.row -->
0212 
0213         <hr>
0214 
0215         <!-- Pagination -->
0216         <div class="row text-center">
0217             <div class="col-lg-12">
0218                 <ul class="pagination">
0219                     <li>
0220                         <a href="#">&laquo;</a>
0221                     </li>
0222                     <li class="active">
0223                         <a href="#">1</a>
0224                     </li>
0225                     <li>
0226                         <a href="#">2</a>
0227                     </li>
0228                     <li>
0229                         <a href="#">3</a>
0230                     </li>
0231                     <li>
0232                         <a href="#">4</a>
0233                     </li>
0234                     <li>
0235                         <a href="#">5</a>
0236                     </li>
0237                     <li>
0238                         <a href="#">&raquo;</a>
0239                     </li>
0240                 </ul>
0241             </div>
0242         </div>
0243 
0244         <hr>
0245  </div> <!-- .col-md-7 col-md-offset-2 col-sm-offset-3-->
0246   
0247 
0248     <!-- Bootstrap core JavaScript
0249     ================================================== -->
0250     <!-- Placed at the end of the document so the pages load faster -->
0251     <script src="js/jquery.js"></script>
0252     <script src="js/bootstrap.js"></script>
0253     <script src="js/bootstrap.min.js"></script>
0254     <script src="js/sidebuttons.js"></script>
0255     <script src="js/reviewbox.js"></script>
0256     <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
0257     <script src="js/ie10-viewport-bug-workaround.js"></script>
0258 </body>
0259 </html>
0260