Εδω εχω μια εικονα.. και απο κατω το script ... Βοηθηστε με... Τι ειναι λαθος?
<?php include "config/stats.php" ?>
<?php
mysql_connect($db_serv,$db_user,$db_pass) or die (mysql_error());
mysql_select_db($db_name) or die(mysql_error());
//Online Players
$query = ("SELECT * FROM characters WHERE online=1 and accesslevel>=0");
$result = mysql_query($query) or die(mysql_error());
$num2=mysql_numrows($result);
$sum=$num2;
//Total Accounts
$query = ("SELECT * FROM accounts WHERE access_level>=0");
$result = mysql_query($query) or die(mysql_error());
$acc2=mysql_numrows($result);
//Total Characters
$query = ("SELECT * FROM characters WHERE accesslevel>=0");
$result = mysql_query($query) or die(mysql_error());
$char2=mysql_numrows($result);
//Alliance
$query = ("SELECT * FROM clan_data WHERE ally_id!=\"\"");
$result = mysql_query($query) or die(mysql_error());
$alliance2=mysql_numrows($result);
//Clan
$get_config_data="SELECT clan_id FROM clan_data";
$query = ("SELECT clan_id FROM clan_data WHERE clan_id>0");
$result = mysql_query($query) or die(mysql_error());
$clan2=mysql_numrows($result);
mysql_close();
mysql_connect($db_serv,$db_user,$db_pass) or die (mysql_error());
mysql_select_db($db_name) or die(mysql_error());
?>
Online Players: <?php print ("$num"); ?><br>
Total Accounts: <?php print ("$acc2"); ?><br>
Total Characters: <?php print ("$char2"); ?><br>
Total Aliances: <?php print ("$alliance2"); ?><br>
Total Clans: <?php print ("$clan2"); ?><br>
I have a system where Accounts are saved on login screen for fast login. I am playing a server where this feature is not on the logic screen. How I can try to add this feature to the system?
I don't know what files I would have to touch.
Thanks!!
Hello everyone,
Given that he has lots of different projects but no concrete opinions..
I pose my request here.
Which serious Lineage2 HighFive project is the best choice?
For a server that can be custom and which can be suitable for a classic x10 server and an x1000 server for example?
L2J
Or we ideally have the source, in order to be able to add the farming systems, weapons and armor, npc...
Free or paid, it doesn't matter.
THANKS
Hello everyone,
Given that he has lots of different projects
but no concrete opinions..
I pose my request here.
Which serious Lineage2 HighFive project/emulator
is the best choice?
For a server that can be custom and
which can be suitable for a classic x10 server
and an x1000 server for example?
L2Java ideally
Or we ideally have the source,
in order to be able to add the farming systems,
weapons and armor, npc...
Free or paid, it doesn't matter.
THANKS
Question
Spidey*
Γεια σε ολους.. Εχω ενα προβλημα με ενα php αρχειο...
Ενω ολα λειτουργουν το Online Players εχει προβλημα... Κοιταξτε τι βγαζει...
Εδω εχω μια εικονα.. και απο κατω το script ... Βοηθηστε με... Τι ειναι λαθος?
3 answers to this question
Recommended Posts