Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <title>FAC Logs</title>
- <body style="background-color:#000000">
- <center>
- <B><FONT COLOR="FFFFFF">All players that have used FAC v2.1 today.</FONT></B><center><br />
- </center>
- </body>
- <?php
- $host = 'localhost';
- $dbuser = 'carlos2_Michal';
- $dbpass = '~#BI&$i(T*k3';
- $dbname = 'carlos2_FAC';
- $db = @mysql_connect($host,$dbuser,$dbpass) or die("result=error");
- $db = mysql_select_db($dbname);
- mysql_query("DELETE FROM fac_scores WHERE Date < CURR_DATE()");
- $query = mysql_query("SELECT * FROM fac_scores group by USERname ORDER by USERname ASC");
- while ($row = mysql_fetch_array($query, MYSQL_BOTH)) {
- $user = $row['USERname'];
- $map = $row['Map'];
- $kills = $row['Kills'];
- $deaths = $row['Deaths'];
- $date = $row['Date'];
- echo "<tr>";
- echo "<center><td><a TARGET='_BLANK' href='record.php?user=$user'>" . $row['USERname'] . "</a></td>";
- echo "</tr></center>";
- if($user === prestige) {
- echo "<FONT COLOR='FF0000'>Chorea have messed with scores before so he's detected as hacker. Keep an eye on him if you still want to play with him.</FONT>";
- } else if($user === info) {
- echo "<FONT COLOR='FF0000'>Info/Jordan have messed with scores before so he's detected as hacker. Keep an eye on him if you still want to play with him.</FONT>";
- } else if($user === elvis) {
- echo "<FONT COLOR='FF0000'>Info/Jordan have messed with scores before so he's detected as hacker. Keep an eye on him if you still want to play with him.</FONT>";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement