<?php require_once '../bootstrap.php'; $id = Input::get('id'); $ads = Ad::idSearch($id); ?> <!DOCTYPE html> <html> <head> <title>Single Ad</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css"> <link rel="stylesheet" href="/css/sidebar.css"> <link rel="stylesheet" href="/css/custom.css"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> </head> <body> <h1><?php echo $ads->attributes['0']['title']; ?> </h1> <hr> <div class="row"> <div class="col-md-3"> <?php echo require_once '../views/partials/sidebar.php'; ?> </div>