View Single Post
  #1  
Old 26th July 2013, 08:22
xd-host.eu xd-host.eu is offline
Senior Member
 
Join Date: Feb 2013
P2P
Posts: 21
Default error nginx for tbdev engine!
Hi, please help, error tbdev nginx server.
PHP error

Code:
=UC_MODERATOR){  mysql_query("DELETE FROM vezetosegeifal") or sqlerr(__FILE__, __LINE__);  mysql_query("INSERT INTO vezetosegeifal (userid, username, date, text)  VALUES(0, 'RENDSZER', UNIX_TIMESTAMP(NOW() ), 'Az üzifalat üritette  $CURUSER[username]')");  echo "Üzenőfal üritve!";  } if($_GET['uzifal'] == "vezer"){?> 

 
Üzenet:
Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size. Ürités
Üzenet:
Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size. = UC_MODERATOR) { ?> Semmi Kvíz Kérdés Kvíz nyertes Rendszer üzenet Ürités " . $a["username"] . ""; else $latestuser = $a['username']; { $totalonline = $row["totalol"]; } /* $a = @mysql_fetch_assoc(@mysql_query("SELECT id,username FROM users WHERE status='confirmed' ORDER BY id DESC LIMIT 1")) or die(mysql_error()); if ($CURUSER) $latestuser = "" . $a["username"] . ""; else $latestuser = $a['username']; */ $registered = number_format(get_row_count("users")); //$unverified = number_format(get_row_count("users", "WHERE status='pending'")); $torrents = number_format(get_row_count("torrents")); $dead = number_format(get_row_count("torrents", "WHERE visible='no'")); $adatf = mysql_query("SELECT SUM(downloaded) as osszletoltes, SUM(uploaded) as osszfeltoltes FROM `users` WHERE `enabled`='yes'") or sqlerr(__FILE__,__LINE__); $adatforgalom = mysql_fetch_array($adatf); $totaldownloaded = $adatforgalom['osszletoltes']; $totaluploaded = $adatforgalom['osszfeltoltes']; $r = mysql_query("SELECT SUM(seeders) FROM torrents") or sqlerr(__FILE__, __LINE__); $a = mysql_fetch_row($r); $seeders = 0 + $a[0]; $r = mysql_query("SELECT SUM(leechers) FROM torrents") or sqlerr(__FILE__, __LINE__); $a = mysql_fetch_row($r); $leechers = 0 + $a[0]; if ($leechers == 0) $ratio = 0; else $ratio = round($seeders / $leechers * 100); $warnedu = number_format(get_row_count("users", "WHERE warned='yes'")); $disabled = number_format(get_row_count("users", "WHERE enabled='no'")); $VIP = number_format(get_row_count("users", "WHERE donor='yes'")); $peers = number_format($seeders + $leechers); $seeders = number_format($seeders); $leechers = number_format($leechers); $dt = gmtime() - 180; $dt = sqlesc(get_date_time($dt)); $result = mysql_query("SELECT SUM(last_access >= $dt and jelenlet_elrejtese='nem') AS totalol FROM users") or sqlerr(__FILE__, __LINE__); while ($row = mysql_fetch_array ($result)) { $totalonline = $row["totalol"]; } $dt = gmtime() - 180; $dt = sqlesc(get_date_time($dt)); $result = mysql_query("SELECT SUM(last_access >= $dt and jelenlet_elrejtese='igen') AS totalol FROM users") or sqlerr(__FILE__, __LINE__); while ($row = mysql_fetch_array ($result)) { $rejtettek = $row["totalol"]; } $dt = gmtime() - 180; $dt = sqlesc(get_date_time($dt)); $res = mysql_query("SELECT id, username, class, donor, warned FROM users WHERE last_access >= $dt and jelenlet_elrejtese='nem' ORDER BY username") or print(mysql_error()); while ($arr = mysql_fetch_assoc($res)) { if ($activeusers) $activeusers .= ",\n"; switch ($arr["class"]) { case UC_SYSOP: $arr["username"] = "" . $arr["username"] . ""; break; case UC_ADMINISTRATOR: $arr["username"] = "" . $arr["username"] . ""; break; case UC_MODERATOR: $arr["username"] = "" . $arr["username"] . ""; break; case UC_UPLOADER: $arr["username"] = "" . $arr["username"] . ""; break; case UC_VIP: $arr["username"] = "" . $arr["username"] . ""; break; case UC_POWER_USER: $arr["username"] = "" . $arr["username"] . ""; break; case UC_USER: $arr["username"] = "" . $arr["username"] . ""; break; } $donator = $arr["donor"] === "yes"; if ($donator) $activeusers .= ""; $warned = $arr["warned"] === "yes"; if ($warned) $activeusers .= ""; if ($warned) $activeusers .= "Click the image to open in full size."; } if (!$activeusers) $activeusers = "Nincs egy felhasználó sem az oldalon"; $dt = gmtime() - 180; $dt = sqlesc(get_date_time($dt)); $res = mysql_query("SELECT id, username, class, donor, warned FROM users WHERE last_access >= $dt and jelenlet_elrejtese='igen' ORDER BY username") or print(mysql_error()); while ($arr = mysql_fetch_assoc($res)) { if ($rejtuser) $rejtuser .= ",\n"; switch ($arr["class"]) { case UC_SYSOP: $arr["username"] = "" . $arr["username"] . ""; break; case UC_ADMINISTRATOR: $arr["username"] = "" . $arr["username"] . ""; break; case UC_MODERATOR: $arr["username"] = "" . $arr["username"] . ""; break; case UC_UPLOADER: $arr["username"] = "" . $arr["username"] . ""; break; case UC_VIP: $arr["username"] = "" . $arr["username"] . ""; break; case UC_POWER_USER: $arr["username"] = "" . $arr["username"] . ""; break; case UC_USER: $arr["username"] = "" . $arr["username"] . ""; break; } $donator = $arr["donor"] === "yes"; if ($donator) $rejtuser .= ""; if ($warned) $rejtuser .= "Click the image to open in full size."; } if (!$rejtuser) $rejtuser = "Nincs egy felhasználó sem az oldalon"; stdhead(); echo "\n"; $megjelenesig = "A TBDev-hun tracker v3.0 megjelenéséig még " . ennyinap(strtotime("2008-12-25") - gmtime()) . "van hátra! "; //print $megjelenesig; print("Köszöntjük legújabb tagunkat, $latestuser! "); ?> Figyelem! Ez az oldal mozilla firefoxra van optimalizálva. Kérlek ezt használd! Születésnap<----------// $b = 0; //print(" "); print("\n"); print("Szülinaposak"); print("\n"); $currentdate = date("m-d"); $res2 = mysql_query("SELECT szulinap2, id, username FROM users WHERE szulinap2 LIKE '%$currentdate' Order by szulinap2 DESC") or sqlerr(); $db = 0; if(mysql_num_rows($res2)>0){ print("Ma ünnepli szülinapját :"); while ($arr2 = mysql_fetch_assoc($res2)) { $db++; $ebben_az_evbe_szuletett = substr($arr2["szulinap2"],0,4); $idei_ev = date('Y'); $kor = $idei_ev-$ebben_az_evbe_szuletett; $username = $arr2["username"]; $id = $arr2["id"]; if($db==1) print("$username ($kor) "); else print(", $username ($kor) "); }} if (mysql_num_rows($res2)==0) print(" Ma egy felhasználó sem ünnepli szülinapját!"); else print(" Sok Boldogságott kiván az oldal vezetősége"); print ""; ?> Születésnap vége<----------// print("\n"); $res = mysql_query("SELECT * FROM news WHERE ADDDATE(added, INTERVAL 61 DAY) > NOW() ORDER BY added DESC LIMIT 10") or sqlerr(__FILE__, __LINE__); if (mysql_num_rows($res) > 0) { print("Hírek"); if (get_user_class() >= UC_ADMINISTRATOR) print(" - [Új hír]"); print("\n
  • "); while($array = mysql_fetch_array($res)) { $fn = mysql_query("SELECT `username` FROM `users` WHERE `id`=$array[userid]") or sqlerr(__FILE__,__LINE__); $fhn = mysql_fetch_array($fn); print("
  • " . $array['cim'] . " Kiírta: $fhn[username], ekkor: $array[added] " . format_comment($array['body']) . " "); if (get_user_class() >= UC_ADMINISTRATOR) { print(" [SIZE=\&quot;-2\&quot;][Szerkeszt][/SIZE]"); print(" [SIZE=\&quot;-2\&quot;][Töröl][/SIZE]"); } print(""); } print("
\n"); } ?> = UC_MODERATOR) { ?>Üzenőfal = UC_MODERATOR) { ?>/VezetőségiÜzenőfal
Üzenet:
Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size. = UC_MODERATOR) { ?> Semmi Kvíz Kérdés Kvíz nyertes Rendszer üzenet Ürités Szavazás \n"); ?> "; if ($CURUSER) $activeusers .= "{$arr["username"]}"; else $activeusers .= "{$arr["username"]}"; if ($donator) $activeusers .= "Click the image to open in full size."; $warned = $arr["warned"] === "yes"; if ($warned) $rejtuser .= ""; if ($CURUSER) $rejtuser .= "{$arr["username"]}"; else $rejtuser .= "{$arr["username"]}"; if ($donator) $rejtuser .= "Click the image to open in full size.

index.php

please how to configure server nginx ?
Attached Files
File Type: rar index.rar (6.4 KB, 3 views)
Reply With Quote