Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- if (isset($_SESSION['connect'])) {
- ?>
- <html><head><title>G-Bot</title></head><body style="color:#80FF00; background-color:#333333">
- </body></html><link rel="stylesheet" type="text/css" href="style.css">
- <CENTER><table class=panel><tr><td>
- <a class=btn href='./index.php'>
- <font color="#80FF00">Commands</font></a>
- <a class=btn href='./country.php'>
- <font color="#80FF00">Country</font></a>
- <a class=btn href='./index.php?con=1'>
- <font color="#80FF00">ClearDeathBots</font></a>
- <a class=btn href='./logout.php'>
- <font color="#80FF00">Exit</font></a></td></tr></CENTER></table>
- </CENTER>
- <?php
- $sql_host = 'localhost';
- $sql_username = 'test';
- $sql_password = 'test';
- $sql_db = 'My';
- include('./geoip.php');
- include('./titles.php');
- $hConnect = mysql_connect($sql_host, "test", "test");
- mysql_select_db("My");
- for($i=0; $i<>251; $i++)
- {
- $code=$COUNTRY_CODE[$i];
- $country=$COUNTRY_NAME[$i];
- $result = mysql_query("SELECT * FROM bots WHERE country='$code'");
- $num_rows = mysql_num_rows($result);
- echo "<center>".$country.": ".$num_rows."\n"."</center>";
- }
- mysql_close($hConnect);
- }
- else
- {
- print "Fuck you man";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement