?> " ><?php echo $results; ?> </td> </tr> <tr> <td ><label class="control-label" for="selectError">Access Type</label> </td> <td> <div class="input-group" style="width: 50%"> <span class="input-group-addon"></span> <select required="" name="access_type" class="form-control"> <option value="">--Select Access Type--</option> <?php $menuObj = new AccessType(); $rows = $menuObj->getAll(); foreach ($rows as $row) { $selected = ""; if ($row['id'] == $access_type) { $selected = 'selected="selected"'; } ?> <option value="<?php echo $row['id']; ?> " <?php echo $selected; ?> ><?php echo $row['type'];
<script> CKEDITOR.replace('pagedescription'); </script> </div> </td> </tr> <tr> <td ><label class="control-label" for="selectError">Access Type</label> </td> <td> <div class="input-group" style="width: 50%"> <span class="input-group-addon"></span> <select required="" name="access_type" class="form-control"> <option value="">--Select Access Type--</option> <?php $accessObj = new AccessType(); $rows = $accessObj->getAll(); foreach ($rows as $row) { $selected = ""; if ($row['id'] == $access_type) { $selected = 'selected="selected"'; } ?> <option value="<?php echo $row['id']; ?> " <?php echo $selected; ?> ><?php echo $row['type'];
<div class="col-sm-12"> <ul class="nav nav-tabs"> <li ><a href="#for-user" data-toggle="tab">For User</a></li> <li><a href="#for-lawyer" data-toggle="tab">For Lawyer</a></li> <li><a href="#top-lawyers" data-toggle="tab">Top Lawyers</a></li> </ul> </div> <div class="tab-content"> <div class="tab-pane fade active in" id="for-user" > <?php $userMenus = Menu::getMenus(Validation::getAccessType(0), "Top User"); $prefixurl = ""; if (count($userMenus)) { foreach ($userMenus as $key => $data) { if (strlen($prefixurl) == 0) { $accessObj = new AccessType(); $accessObj->set("access_id", $data['access_type']); $access_url = $accessObj->getName(); $prefixurl = SERVER_URL . "/"; } ?> <div class="col-sm-3"> <div class="lawyer-image-wrapper"> <div class="single-lawyer"> <div class="lawyerinfo text-center"> <img alt="<?php echo $data["name"]; ?> " rel="<?php echo $data["name"]; ?>