<?php $q = ''; if (isset($_POST['q'])) { $q = trim($_POST['q']); } if ($q == '') { $search = view_working(); } else { $search = search_working($q); } ?> <html> <body> <div class="container"> <div class="row col-lg-12"> <h4> Search Working Scholar <div class="pull-right"> <form method="post" class="form-inline"> <div class="input-group"> <input type="text" name="q" value="<?php echo htmlentities($q); ?> " class="form-control input-small" placeholder="Search for working scholar..."> <span class="input-group-btn"> <button class="btn btn-default btn-large" type="submit" name="go">Go</button> </span> </div><!-- /input-group --> </form>
<?php $viewWorking = view_working(); ?> <html> <head> <style type="text/css"> /* @media (max-width: 575px){ .tablebox table{ font-size: 12px; } } @media (max-width: 500px){ .tablebox table{ font-size: 10px; } } @media (max-width: 400px){ .tablebox table{ font-size: 8px; } } */ </style> </head> <body> <div class="container">