Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,953
Naujausias narys: Quwqkibor

Naujausi straipsniai

Paskutiniai nariai

Memento Mori 5 dienos
ozzWANTED 1 savaitė
Quwqkibor 3 savaitės
asirija 6 savaitės
tomeem 8 savaitės
Reikalas 9 savaitės
weberiz12 savaitės
mRokass14 savaitės
kartoonas15 savaitės
iaescortsmap15 savaitės
grunskiz18 savaitės
Bruksnys19 savaitės
illusion19 savaitės
ordo20 savaitės
Jurgaila20 savaitės
originalcs1620 savaitės
Rytis21 savaitės
halis22 savaitės
junkus25 savaitės
morlis25 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.142.119.185
Naujienų: 529
Straipsnių: 235
Temų: 52,585
Postų: 522,523
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.

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Žmogus
2023 Rugs. 7 21:09:14
O gal BloodKiller pasijungs?

Apocal
2023 Rugs. 2 18:09:23
Nu davai nuveikiam kažką akinanti šypsen. Prisijungti kada visi čia akinanti šypsen.

Apocal
2023 Rugs. 2 00:09:18
Šiaip atėjau pažiūrėti ar dar lopas nesby yra ar koks ten buvo.

Š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
Reik pagalbos su failu
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: rokazas001 Peržiūrų: 1561      Spausdinti temą
2007 Rugp. 14 17:08:34          1 žinutė iš 6
Spausdinti pranešimą
kas blogai sitame kode

kad mano saito apacia susitraukia vatai?
http://img158.imageshack.us/img1...ledgp2.png

<?php

if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }

if ($settings['maintenance'] != "1") {
$cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
if (dbrows($result) != 0) {
$result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
} else {
$name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
$result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-60)."");
openside($locale['010']);
$result = dbquery(
"SELECT ton.*, tu.user_id,user_name FROM ".$db_prefix."online ton
LEFT JOIN ".$db_prefix."users tu ON ton.online_user=tu.user_id"
);
$guests = 0; $members = array();
while ($data = dbarray($result)) {
if ($data['online_user'] == "0") {
$guests++;
} else {
array_push($members, array($data['user_id'], $data['user_name']));
}
}
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['011'].$guests."<br>\n";
if (count($members) > 0) {
$i = 1;
echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['012'];
while (list($key, $member) = each($members)) {
echo "<br><a href='".BASEDIR."profile.php?lookup=".$member[0]."' class='side'>".$member[1]."</a>";
if ($i != count($members)) echo ", ";
$i++;
}
echo "<br>\n";
} else {
echo $locale['013'].":<br>\n";
}
$result = dbquery("SELECT * FROM ".$db_prefix."online");
echo "<img src='".THEME."images/bullet.gif' alt=''> Ið viso narðo: ".dbrows($result)."";
echo "<br><img src='".THEME."images/bullet.gif' alt=''> ".$locale['014'].number_format(dbcount("(user_id)",

"users", "user_status<='1'"))."<br>\n";
if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''>

".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."<br><br><br>\n";
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER
BY user_joined DESC LIMIT 0,1"));
echo "<img src='".THEME."images/bullet.gif'>";
echo " NaujĀø nariĀø vakar: ".dbcount("(user_id)", "users", "user_joined >='".$ganfang."' AND user_joined
<='".$gende."'")."<br>";
echo "<img src='".THEME."images/bullet.gif'> NaujĀø nariĀø ðiandien: ".dbcount("(user_id)", "users", "user_joined
>='".$hanfang."' AND user_joined <='".$hende."'")."<br><br>";


echo "<center>Sveikiname naujà nará:<br>
<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>-=".$data['user_name']."=-</a></center>\n";
$tag1= date('d');
$monat1= date('m');
$jahr1= date('Y');
$hanfang = mktime(0,0,0,$monat1,$tag1,$jahr1);
$hende = mktime(23,59,59,$monat1,$tag1,$jahr1);
$ganfang = mktime(0,0,0,$monat1,$tag1-1,$jahr1);
$gende = mktime(23,59,59,$monat1,$tag1-1,$jahr1);

}
?>



Sineik edit: Pamiršai išjunkt smailus ;)

2007 Rugp. 14 19:08:57          2 žinutė iš 6
Spausdinti pranešimą
Nesupratau kas ten tau susitraukia? Viskas lygtais normaliai.. galvoja
2007 Rugp. 14 20:08:50          3 žinutė iš 6
Spausdinti pranešimą
Šiaip tu mum geriau theme.php kodą duok ir dar šiaip manau tu įsidėjęs judančią reklamą ir naršai su opera todėl tau išsikraipo saitas.
2007 Rugp. 14 23:08:45          4 žinutė iš 6
Spausdinti pranešimą
jo judanti reklama bet as jos nepajunges ir su opera einu va theme.php kodas
<?php
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) Ā© 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Fusion3 Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: PHP-Fusion Themes - Shedrock Ā© 2005 |
| web: http://phpfusion.org |
| email: webmaster@phpfusion.org |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

/* Theme Settings */
$body_text = "#000000";
$body_bg = "#577BAB";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";

function render_header($header_content) {

global $theme_width,$settings;

echo "<table align='center' class='bodyline' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
echo "<tr><td width='29' nowrap='nowrap' class='lefttd'></td><td>";
// Start banner code
echo "<table width='100%' border='0' cellspacing='0' cellpadding='4'><tr>";
echo "<td width='60%' style='background-image:url(".THEME."images/logo_bg.gif)' height='80'>$header_content</td>";
echo "</tr></table>";
// End banner code
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td class='sub-header'><table width='100%' border='0' cellpadding='4' cellspacing='0' style='background-color: #6387B7; border-top: solid #3F5A7F; border-top-width: 1px; border-left: solid #3F5A7F; border-left-width: 1px; border-right: solid #CACACA; border-right-width:1px; border-bottom: solid #CACACA; border-bottom-width:1px;'><tr>";
echo "<td height='22' class='sub-header'> ".showsublinks("<img border='0' src='".THEME."images/divider.gif'>","white")."</td>";
echo "<td class='sub-header' width='250' height='22' nowrap><img align='right' border='0' src='".THEME."images/bevel.gif'><div align='right'><font class='date'><b>".showsubdate();
echo " </b></font></div>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr><td></td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr valign='top'>";
echo "<td valign='middle' align='right'>";
echo "<table width='100%' cellpadding='4' bgcolor='#577BAB' cellspacing='0' border='0'><tr>";
}

function render_footer($license=false) {

global $theme_width,$settings,$locale;

echo "</tr>\n</table>\n";
echo "<table cellpadding='2' cellspacing='0' width='$theme_width'><tr>";
echo "<td>".stripslashes($settings['footer'])."<br>";
echo "<table style='background-image:url(".THEME."images/cellpic.gif);border: 1px solid #3F5A7F' cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='35%' height='22' class='footer' align='left'><div align='left'>";
if ($license == false) {
echo "</a> ©";
}
echo "</div></td>";
echo "<td class='footer' width='30%' height='22' align='center'></a></td>";
echo "<td class='footer' width='35%' height='22' align='right'>";
echo "<font class='visits'><b>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td></tr></table></td>";
echo "</tr></table></td></tr></table>";
echo "<td width='29' nowrap='nowrap' class='righttd'></td></table>";
}

function render_news($subject, $news, $info) {

global $locale;

echo "<table class='border2' cellspacing='0' width='100%' cellpadding='3'><tr>";
echo "<td class='panel'><img align='right' border='0' src='".THEME."images/bevel.gif'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'> ".newsposter($info)."</td>";
echo "<td height='24' align='right' class='news-footer'>";
echo openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td></tr></table></td></tr></table>\n";
}

function render_article($subject, $article, $info) {

global $locale;

echo "<table class='border2' cellspacing='0' width='100%' cellpadding='3'><tr>";
echo "<td class='panel'><img align='right' border='0' src='".THEME."images/bevel.gif'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>".articleposter($info)."</td>";
echo "<td height='24' align='right' class='news-footer'>";
echo openform("A",$info['article_id']).articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td></tr></table></td></tr></table>\n";
}

// Open table begins
function opentable($title) {
echo "<table width='100%' cellpadding='2' cellspacing='0' class='border2'>";
echo "<tr><td class='panel'>";
echo "<img align='right' border='0' src='".THEME."images/bevel.gif'>$title</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td class='main-body'>\n";
}

// Close table end
function closetable() {
echo "</td></tr></table>\n";
}

function openside($title) {
echo "<table bgcolor='#8D8D8D' border='0' style='border: 1px solid #3F5A7F' cellspacing='0' width='100%' cellpadding='2'><tr>";
echo "<td width='100%' class='panel'>";
echo "<img align='right' border='0' src='".THEME."images/bevel.gif'>$title</td></tr>";
echo "<tr><td bgcolor='#AAAAAA' class='side-body' width='100%'>";
}

function closeside() {
echo "</td></tr><tr><td class='panel2' width='100%'>";
echo "</td></tr></table>";
tablebreak();
}

function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table bgcolor='#8D8D8D' border='0' style='border: 1px solid #3F5A7F' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td width='100%' class='panel'>";
echo "<img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title";
echo "</td></tr>";
echo "<tr><td bgcolor='#AAAAAA' class='side-body'width='100%'>";
echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}


function closesidex() {
echo "</div></td></tr><tr><td class='panel2' width='100%'>";
echo "</td></tr></table>";
tablebreak();
}

// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>

2007 Rugp. 15 09:08:26          5 žinutė iš 6
Spausdinti pranešimą
Nedėk judančios rklamos ir vsikas bus gerai, arba ją dėk kairėj pusėj.
2007 Rugp. 15 21:08:52          6 žinutė iš 6
Spausdinti pranešimą
nieko gero reklama istriniau vistiek susidarko saitas (unikalus lankytojai kai panele pasidaro)
Peršokti į forumą: