PHP-Fusion Mods
Navigacija
Apsauga
Apsauga Neleista registracija: 38936
Šiandien: 13
Prisijungę nariai
» Svečių: 20
» Narių: 0

» Viso narių: 10,235
» Naujausias: ruslanas tuk

Prisijungimų istorija:
tabux11:25:17
sanpernepamenu
Zbigniew@nepamenu
CepelinasXnepamenu
VV91DDnepamenu
Minusnepamenu
priezilviciunepamenu
EdvinasG1337nepamenu
rolandas94nepamenu
Edis2nepamenu
klubogerbejasnepamenu
Miskinisnepamenu
Pask. modai
Prisijungti
Vardas

Slaptažodis



Dar ne narys?
Registruotis.

Pamiršai slaptažodį?
Prašyk naujo!.

Naujausi prašymai
[L] testas
Narių apklausa
Ar dar kuriate tinklalapius?

Ne
Ne
0% [0 Balsai]

Taip
Taip
88% [7 Balsai]

Naudojuosi socialiniais tinklais
Naudojuosi socialiniais tinklais
13% [1 Balsas]

Balsai: 8
Kad galėtum balsuoti, turi prisijungti.
Pradėta: 2022-05-29 19:54
Shoutbox
You must login to post a message.

2026-03-21 19:07

2025-07-13 17:07
svx, smagu kad dar atsiranda naujų narių Šypsosi2

2024-03-07 22:13
Oj Tabux… apkabinčiau už tą moderatorių 😁

2024-02-22 17:40
Šypsosi2 jo buvo laikai.. Senukai jau mes. Bega laikas greiciau nei noretusi. Smagu matyti kad uzsuka seni nariai, ne as vienas Šypsosi

2024-02-20 22:18
Zodziu.. Nostalgija. Sorry Tabux uz spam’a, netelpa viskas i viena shout’a. 😁

Shoutbox Archive
Peržiūrėti temą
PHP-Fusion Mods :: PHP-Fusion modifikacijų forumas :: Taisymas
 Spausdinti temą
v7 Panele
eSerf
#1 Spausdinti pranešimą
parašyta 2009-07-15 14:41
Vartotojo avataras

Apšylantis



Reputacija: 0

Pranešimai: 50
Įstojo: 2008-08-06

tai va pasidariau panele bet noriu kad netodytu populiariausiu temu... ir vietoj forumo pranesimai rodytu naujausi forumo pranesimai
Stai kodas:
Download source  Code
echo \"



\";
openside(\"Naujausia siuntiniai\");
echo \"
Nauji siuntiniai
\n\";
$result = dbquery(\"SELECT * FROM \".$db_prefix.\"downloads ORDER BY download_datestamp DESC LIMIT 0,5\");
if (dbrows($result) != 0) {
echo \"\";
while ($data = dbarray($result)) {
echo \"


\";
}
echo \"


\".trimlink($data['download_title'], 23).\"
\".$data['download_count'].\"
\";
} else {
echo \"
\".$locale['004'].\"
\n\";
}
echo \"\";
closeside();
echo \"
\";
openside(\"Top 5 Siuntiniai\");
echo \"
Top 5 siuntiniai
\n\";
$result = dbquery(\"SELECT * FROM \".$db_prefix.\"downloads ORDER BY download_count DESC LIMIT 0,5\");
if (dbrows($result) != 0) {
echo \"\";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo \"\n\n
\n\n\";
}
echo \"
$itemsubject \".$data['download_count'].\"
\";
} else {
echo \"
\".$locale['004'].\"
\n\";
}
closeside();
echo \"
\";
openside($locale['global_020']);
echo \"
\".$locale['global_021'].\"
\n\";
$result = dbquery(\"
   SELECT tt.forum_id, tt.thread_id, tt.thread_subject, tt.thread_lastpost FROM \".DB_THREADS.\" tt
   INNER JOIN \".DB_FORUMS.\" tf ON tt.forum_id=tf.forum_id
   WHERE \".groupaccess('forum_access').\" ORDER BY thread_lastpost DESC LIMIT 5
\");
if (dbrows($result)) {
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['thread_subject'], 23);
      echo THEME_BULLET.\" $itemsubject
\n\";
   }
} else {
   echo \"
\".$locale['global_023'].\"
\n\";
}
echo \"
\".$locale['global_022'].\"
\n\";

list($min_posts) = dbarraynum(dbquery(\"SELECT thread_postcount FROM \".DB_THREADS.\" ORDER BY thread_postcount DESC LIMIT 4,5\"));

$result = dbquery(\"
   SELECT tf.forum_id, tt.thread_id, tt.thread_subject, tt.thread_postcount
   FROM \".DB_FORUMS.\" tf
   INNER JOIN \".DB_THREADS.\" tt USING(forum_id)
   WHERE \".groupaccess('forum_access').\" AND tt.thread_postcount >= '$min_posts'
   ORDER BY thread_postcount DESC, thread_lastpost DESC LIMIT 5
\");
if (dbrows($result) != 0) {
   echo \"\n\";
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['thread_subject'], 20);
      echo \"\n\n\";
      echo \"\n\n\";
   }
   echo \"
\".THEME_BULLET.\" $itemsubject[\".($data['thread_postcount'] - 1).\"]
\n\";
} else {
   echo \"
\".$locale['global_023'].\"
\n\";
}
closeside();


 
PM
tabux
#2 Spausdinti pranešimą
parašyta 2009-07-15 15:27
Vartotojo avataras

S.Administratorius



Reputacija: 0

Pranešimai: 1009
Įstojo: 2008-10-16

Kam klausineji visuose www?

Download source  Code
echo \"
\";
//////////////////////////////////////////////////////////////////////////
echo \"\";
////////////////////////////////////////////////////////////////////////////////

echo \"
\";
////////////////////////////////////////////////
openside(\"Naujausia siuntiniai\");
echo \"
Nauji siuntiniai
\n\";
$result = dbquery(\"SELECT * FROM \".$db_prefix.\"downloads ORDER BY download_datestamp DESC LIMIT 0,5\");
if (dbrows($result) != 0) {
echo \"\";
while ($data = dbarray($result)) {
echo \"
\";
}
echo \"

\".trimlink($data['download_title'], 23).\"
\".$data['download_count'].\"
\";
} else {
echo \"
\".$locale['004'].\"
\n\";
}
echo \"\";
closeside();
echo \"
\";
openside(\"Top 5 Siuntiniai\");
echo \"
Top 5 siuntiniai
\n\";
$result = dbquery(\"SELECT * FROM \".$db_prefix.\"downloads ORDER BY download_count DESC LIMIT 0,5\");
if (dbrows($result) != 0) {
echo \"\";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo \"\n\n
\n\n\";
}
echo \"
$itemsubject \".$data['download_count'].\"
\";
} else {
echo \"
\".$locale['004'].\"
\n\";
}
closeside();
echo \"
\";
openside($locale['global_020']);
echo \"
\".$locale['global_021'].\"
\n\";
$result = dbquery(\"SELECT tt.forum_id, tt.thread_id, tt.thread_subject, tt.thread_lastpost
FROM \".DB_THREADS.\" tt
   INNER JOIN \".DB_FORUMS.\" tf ON tt.forum_id=tf.forum_id
   WHERE \".groupaccess('forum_access').\" ORDER BY thread_lastpost DESC LIMIT 5\");
if (dbrows($result)) {
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['thread_subject'], 23);
echo THEME_BULLET.\" $itemsubject
\n\";
   }
} else {
   echo \"
\".$locale['global_023'].\"
\n\";
   echo \"
\n\";
}
closeside();
echo \"
\";





Redagavo tabux 2009-07-15 16:01
 
PM
Peršokti į forumą: