echo '<title>Am I in ' . strtoupper(logid_to_call($log_id)) . ' \'s Log</title>'; ?> <meta charset="UTF-8"> </head> <body> <?php if ($pubsearch_enabled) { $pubsearch = true; echo '<h1 align="center">Am I in ' . strtoupper(logid_to_call($log_id)) . '\'s Log?</h1><br /><br />'; include "inc/pubsearch_inputold.php"; echo '<br /><br />' . "\n"; include "inc/search_proc.php"; if (!empty($call)) { if ($enable_searchcount[$log_id]) { echo '<p><center>There have been ' . increment_search_count($log_id) . ' searches from Log</center></p>' . "\n"; } echo '<p><h3 align="center"><font color="red">' . "\n"; $aqsos = count_qsos($log_id); switch ($aqsos) { case 0: echo ' Your call was not found in the Log'; break; case 1: echo $aqsos . ' QSO with you in the log'; break; default: echo $aqsos . ' QSOs with you in the log'; } echo '</font></h3></p>' . "\n"; }
<?php if ($pubsearch_enabled) { $pubsearch = true; echo '<h1 align="center">Am I in ' . strtoupper(logid_to_call($log_id)) . '\'s Log?</h1><br /><br />'; include "inc/pubsearch_input.php"; include "inc/search_proc.php"; if (!empty($call)) { if ($enable_searchcount[$log_id]) { ?> </br> <div class="row"> <div class="col-sm-4"></div> <div class="hidden-xs alert alert-info col-sm-4"> There have been <?php echo increment_search_count($log_id); ?> searches in this log. </div> </div> <?php } echo '<div class="row"><div class="col-sm-4"></div> ' . "\n"; $match_amount = count_qsos($log_id); switch ($match_amount) { case 0: echo '<div class="alert alert-warning col-sm-4">' . "\n" . '<strong>Sorry </strong> no QSO with you found in the log' . "\n" . '</div>'; break; case 1: echo '<div class="alert alert-info col-sm-4">' . "\n" . '<strong>' . $match_amount . '</strong> QSO with you in the log' . "\n" . '</div>'; break;