break; } ?> <div class="thumbnail"> <div class="row"> <?php if ($value == "rentals") { ?> <?php $item_url = Data::urlRentals($_SESSION['site_lang']) . "/" . $row->rental_id . "/" . Data::makeAlphaUrl($row->name . "-" . $row->location); ?> <?php } elseif ($value == "sales") { ?> <?php $item_url = Data::urlSales($_SESSION['site_lang']) . "/" . $row->sale_id . "/" . Data::makeAlphaUrl($row->name . "-" . $row->location); ?> <?php } ?> <a href="<?php echo Data::makeUrl($item_url, $_SESSION['site_lang']); ?> "> <div class="col-md-4"> <center> <?php if ($value == "rentals") { ?> <img class="img-responsive img2" src="<?php echo FILES_WEB_PATH . FILES_RENTALS_MEDIUM . $row->image;
?> <?php } ?> </button> <?php if ($value == "rentals") { ?> <?php $item_url = Data::urlRentals($_SESSION['site_lang']) . "/print/" . $data['item_id'] . "/" . Data::makeAlphaUrl($data['item_result'][0]->name . "-" . $data['item_result'][0]->location); ?> <?php } elseif ($value == "sales") { ?> <?php $item_url = Data::urlSales($_SESSION['site_lang']) . "/print/" . $data['item_id'] . "/" . Data::makeAlphaUrl($data['item_result'][0]->name . "-" . $data['item_result'][0]->location); ?> <?php } ?> <a class="btn btn-link hover-color" target="_blank" href="<?php echo Data::makeUrl($item_url, $_SESSION['site_lang']); ?> " role="button"> <span class="glyphicon glyphicon-print"></span> <?php echo Language::show('print', 'view_detail', $site_lang); ?> </a> </div> <!-- Modal for reserve --> <?php