File indexing completed on 2024-11-24 05:19:14

0001 <?php
0002 if(isset($data[0]["ocs"]["data"])){
0003   foreach($data[0]["ocs"]["data"]["content"] as $content){
0004     echo "
0005     <div class=\"row\">
0006       <div class=\"col-md-7\">
0007         <a href=\"#\">
0008           <img class=\"img-responsive\" src=\"".$content["preview1"]."\" alt=\"\">
0009         </a>
0010       </div>
0011       <div class=\"col-md-5\">
0012         <h3>".$content["name"]."</h3>";
0013         if(OCSUser::is_logged()) {
0014           echo "<a href=/plasmastore/publicprofile/".$content["personid"]."><h4>".$content["personid"]."</h4></a>";
0015         }
0016         else{
0017           echo "<h4>".$content["personid"]."</h4>";
0018         }
0019 
0020         echo "
0021         <p>".$content["summary"]."</p>
0022         <a class=\"btn btn-primary\" href=\"/plasmastore/app_description/show/".$content["id"]."/".ERewriter::prettify($content["name"])."\">View Project <span class=\"glyphicon glyphicon-chevron-right\"></span></a>
0023         ";
0024         if(OCSUser::is_logged() && $_COOKIE["login"]==$content["personid"]){
0025           echo "<a class=\"btn btn-danger\" href=\"/plasmastore/home/delData/".$content["id"]."\">Delete <span class=\"glyphicon glyphicon-trash\"></span></a>";
0026         }
0027         echo "
0028       </div>
0029     </div> <hr>";
0030 
0031   }
0032 } ?>