Navigacija

Vartotojų tinkle

Prisijungusių svečių: 79
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,964
Naujausias narys: laleceylan50

Naujausi straipsniai

Paskutiniai nariai

laleceylan50 2 dienos
minimukas 1 savaitė
N-20 3 savaitės
Reikalas 3 savaitės
Rytis 4 savaitės
DjArtas 5 savaitės
WolfHammer 5 savaitės
Nostesi15 savaitės
Wisedocs16 savaitės
asdasdddz19 savaitės
Paslapties K...20 savaitės
Audrius_1723 savaitės
Simbijanas35 savaitės
Karinacraft36 savaitės
Žmogus39 savaitės
Bruksnys43 savaitės
Darexs46 savaitės
Nepas47 savaitės
keistuole49 savaitės
Gizmis50 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 216.73.216.15
Naujienų: 529
Straipsnių: 235
Temų: 52,590
Postų: 522,550
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

minimukas
2026 Vas. 21 08:02:25
oi oi akinanti šypsen yra dar cia gyvu? akinanti šypsen

N-20
2026 Vas. 6 21:02:05
O mes dar gyvi šypsosi)

WolfHammer
2026 Sau. 25 01:01:35
drovus

Žmogus
2025 Geg. 31 10:05:18
Kas geresnio? šypsosi

Nepas
2025 Bal. 9 17:04:13
drovus

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
Scriptu irasymas
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Žaliems

Autorius: yeag Peržiūrų: 5414      Spausdinti temą
2008 Lie. 7 22:07:14          1 žinutė iš 17
Spausdinti pranešimą
as dar visai zalias ir nemoku irasyt php-fusion saitui koki nors scripta o kaip rasau tai man eroras ir nk nerodo nu zodziu pasakykit kaip ideti scriptus kad veiktu
2008 Lie. 7 22:07:50          2 žinutė iš 17
Spausdinti pranešimą
i paneles?

MMOG.lt - atrask naują pasaulį
2008 Lie. 7 23:07:30          3 žinutė iš 17
Spausdinti pranešimą
nu teisiog scriptai kad veiktu kaip irasyt tesiog pasakyk i panele bandiziau neveikia raso Parse error: syntax error, unexpected '<' in /usr/home/www1/ftp/nf/side_left.php(25) : eval()'d code on line 2\

parasykit geriau kaip irasyt nes pats nemoku gal netaip kaska darau nu ir panashei
2008 Lie. 7 23:07:43          4 žinutė iš 17
Spausdinti pranešimą
dek cia skripta

MMOG.lt - atrask naują pasaulį
2008 Lie. 8 00:07:38          5 žinutė iš 17
Spausdinti pranešimą
turi gal skype ? jaigu turi tai parasyk tada paiskinsiu tau
2008 Lie. 8 00:07:17          6 žinutė iš 17
Spausdinti pranešimą
Nieks tau to sumauto skype neduos, sakyk čia bėdas ir viskas
2008 Lie. 8 00:07:33          7 žinutė iš 17
Spausdinti pranešimą
nu zodziu parasykit kaip irasyt koki scripta nes as nemoku ir viskas be žado
2008 Lie. 8 00:07:00          8 žinutė iš 17
Spausdinti pranešimą
openside("namas");
?>

scriptas tavo

<?
closeside();



2008 Lie. 8 00:07:25          9 žinutė iš 17
Spausdinti pranešimą
tai vat man is iir neveikia kaip sukuriu panele dedu tarp situ scripta ir raso tipo Parse error: syntax error, unexpected '<' in /usr/home/www1/ftp/nf/side_left.php(25) : eval()'d code on line 2


O gal reik i ftp kaska det?

2008 Lie. 8 00:07:34          10 žinutė iš 17
Spausdinti pranešimą
tai dek cia skripta

MMOG.lt - atrask naują pasaulį
2008 Lie. 8 00:07:23          11 žinutė iš 17
Spausdinti pranešimą
nu pvz as noriu va sita idet bet nzn kaip nu zodziu kaip sakau nejna

SERVER STATUS
<?php
print'<table width="150">';
$server = "127.0.0.1";
$portg = "7777";
$portl = "9014";
$timeout = "5";

if ($server and $port and $timeout) {
$game = @fsockopen("$server", $portg, $errno, $errstr, $timeout);
$login = @fsockopen("$server", $portl, $errno, $errstr, $timeout);
}
print'<tr><td align="center"><strong>Server Status</strong></td></tr>';
if($login) { print'<tr><td>Login:</td><td><font color="#00FF00"><strong> Online</strong></font><br><br></td></tr>'; }
else { print'<tr><td>Login:</td><td><font color="#FF0000"><strong> Offline</strong></font><br><br></td></tr>'; }
if($game) { print'<tr><td>Game:</td><td><font color="#00FF00"><strong> Online</strong></font></td></tr>'; }
else { print'<tr><td>Game:</td><td"><font color="#FF0000"><strong> Offline</strong></td></tr>'; }
print'</table>';
?>

ONLINE PLAYERS

<?php
//first you need to define db info
define('mySQL_hostname', '127.0.0.1'); //database IP
define('mySQL_database', 'Database'); //database name
define('mySQL_username', 'User'); //database user
define('mySQL_password', 'Pass'); //database password

//connects to mysql
$db_link = mysql_pconnect( mySQL_hostname, mySQL_username, mySQL_password )
or die( 'Error connecting to mysql<br><br>'.mysql_error() );

//connects to Database
$db_select = mysql_select_db( mySQL_database, $db_link )
or die( 'Error connecting to Database<br><br>'.mysql_error() );

//selects desired table
$chars=mysql_query("SELECT * FROM characters");

//tells how much rows are there (will come helpfull with while loops)
$rows =mysql_numrows($characters);

$i=0;
$x=0;

//while $i is smaller than number of rows repeat the code
while ($i < $rows) {
$online=mysql_result($chars,$i,"online"); //looks into characters table, under column online(if player is online its "0" else "1"), at row $i
if ($online == 1) { $x++; } // if column online at row $i is "1", increase $x
$i++; //increase $i
}
print 'Online players:<em>'.$x.'<em>'; //prints out the $x number of players online
?>
2008 Lie. 8 08:07:52          12 žinutė iš 17
Spausdinti pranešimą
Prašom,

Server status:
openside("name");
print'<table width="150">';
$server = "127.0.0.1";
$portg = "7777";
$portl = "9014";
$timeout = "5";

if ($server and $port and $timeout) {
$game = @fsockopen("$server", $portg, $errno, $errstr, $timeout);
$login = @fsockopen("$server", $portl, $errno, $errstr, $timeout);
}
print'<tr><td align="center"><strong>Server Status</strong></td></tr>';
if($login) { print'<tr><td>Login:</td><td><font color="#00FF00"><strong> Online</strong></font><br><br></td></tr>'; }
else { print'<tr><td>Login:</td><td><font color="#FF0000"><strong> Offline</strong></font><br><br></td></tr>'; }
if($game) { print'<tr><td>Game:</td><td><font color="#00FF00"><strong> Online</strong></font></td></tr>'; }
else { print'<tr><td>Game:</td><td"><font color="#FF0000"><strong> Offline</strong></td></tr>'; }
print'</table>';
closeside();




ONLINE PLAYERS:
openside("name");
   //first you need to define db info
  define('mySQL_hostname', '127.0.0.1');  //database IP
  define('mySQL_database', 'Database');  //database name
  define('mySQL_username', 'User');  //database user
  define('mySQL_password', 'Pass');  //database password

//connects to mysql
  $db_link = mysql_pconnect( mySQL_hostname, mySQL_username, mySQL_password )
    or die( 'Error connecting to mysql<br><br>'.mysql_error() );

//connects to Database
  $db_select = mysql_select_db( mySQL_database, $db_link )
    or die( 'Error connecting to Database<br><br>'.mysql_error() );

//selects desired table
   $chars=mysql_query("SELECT * FROM characters");

//tells how much rows are there (will come helpfull with while loops)
   $rows =mysql_numrows($characters);

   $i=0;
   $x=0;

//while $i is smaller than number of rows repeat the code
   while ($i < $rows) {
    $online=mysql_result($chars,$i,"online"); //looks into characters table, under column online(if player is online its "0" else "1"), at row $i
    if ($online == 1) { $x++; } // if column online at row $i is "1", increase $x
    $i++; //increase $i
    }
   print 'Online players:<em>'.$x.'<em>'; //prints out the $x number of players online
closeside();




MMOG.lt - atrask naują pasaulį
Redagavo Gugiss 2008 Lie. 9 08:07:56
2008 Lie. 9 00:07:54          13 žinutė iš 17
Spausdinti pranešimą
man nejna uzdet ta scripta kur online players
2008 Lie. 9 08:07:19          14 žinutė iš 17
Spausdinti pranešimą
Jeigu neveikia, tai dėl to, kad nėra characters lentelės.
2008 Lie. 9 08:07:29          15 žinutė iš 17
Spausdinti pranešimą
Neina nes tikriausia neteisingai nurodyti mysql duomenys... nustatyk pagal save...

MMOG.lt - atrask naują pasaulį
2008 Lie. 9 16:07:08          16 žinutė iš 17
Spausdinti pranešimą
o kas per characters lentele ? o gal jus turite ji?
2008 Lie. 9 18:07:18          17 žinutė iš 17
Spausdinti pranešimą
Nežaidžiam mes tokių žaidimų. Tavė scriptą, o apie lentelę niko nežino be žado
Peršokti į forumą: