</div> <div class="row"> <div class="col-md-12"> <ul class="nav nav-pills nav-justified" style="width:100%;height:60px;"> <li class="active"><a href="fontend/home.php">Home</a></li> <li class="active"><a href="fontend/aboutus.php">About us</a></li> <li class="active"><a href="#">Help</a></li> </ul> </div> </div> <div class="row"> <div class="col-md-3"> </div> <div class="col-md-6"> <div class="well"><h2 align="center"> <?php echo toUpperCase($fontend_object->authorName($user_id)); ?> </h2></div> <?php $posts = $fontend_object->authorPosts($user_id); if ($posts->num_rows > 0) { while ($row = $posts->fetch_assoc()) { ?> <div class="well"> <h2 style="" class="form-control">Title:<b><?php echo $row['post_title']; ?> </b> Written on <?php echo $row['posting_time']; ?> </h2>
public function setParaula($paraula) { $this->paraula = toUpperCase($paraula); }
<li role="presentation" align="center"><a href="registration.php" aria-controls="registration" align="center" role="tab" data-toggle="tab"><b align="center">    Create new account</b></b></a></li> </ul> </div> </div> <div class="col-md-6 col-sm-6"> <div class="well"> <h2 align="center"> All public posts</h2> </div> <?php $posts = $fontend_object->publicPosts(); if ($posts->num_rows > 0) { while ($row = $posts->fetch_assoc()) { ?> <div class="well"> <h2 style="" class="form-control">Category:<b><?php echo toUpperCase($row['category_name']); ?> </b></h2> <h2 style="" class="form-control">Author:<b><?php echo $row['name']; ?> </b></h2> <h2 style="" class="form-control">Title:<b><?php echo $row['post_title']; ?> </b> Written on <?php echo $row['posting_time']; ?> </h2> <h3>Description</h3> <div class="well show-read-more"><?php