1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-10 04:02:28 +01:00

Fixes big bug that shows polr.cf in stat pages

This commit is contained in:
Chaoyi Zha 2014-12-16 19:47:42 -05:00
parent 168583c652
commit f93a06f7ca

View File

@ -1,5 +1,4 @@
<?php
require_once 'header.php';
if (is_string($_GET['bv']) && ctype_alnum($_GET['bv'])) {
$bv = $mysqli->real_escape_string($_GET['bv']);
@ -24,7 +23,7 @@ if(!$row['country']) {
}
echo "<h2 style='display:inline'>Link Stats for </h2><h2 style='color:green'>polr.cf/".$bv.'</h2><p class="text-muted">'.$row['rurl'].'</p><br>';
echo "<h2 style='display:inline'>Link Stats for </h2><h2 style='color:green'>$wsa/".$bv.'</h2><p class="text-muted">'.$row['rurl'].'</p><br>';
echo "<div class='col-md-4'><h2>Clicks</h2><span style='color:blue'>{$row['clicks']}</span></div>";
echo "<div class='col-md-4'><h2>Created by</h2><span style='color:red'>{$row['user']}</span></div>";
echo "<div class='col-md-4'><h2>Country</h2><span style='color:grey'>{$row['country']}</span></div>";