Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,964
Naujausias narys: laleceylan50

Naujausi straipsniai

Paskutiniai nariai

laleceylan50 3 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
Nostesi16 savaitės
Wisedocs16 savaitės
asdasdddz19 savaitės
Paslapties K...21 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
Siuntiniu kategorijos
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Žaliems

Autorius: Zenka Peržiūrų: 513      Spausdinti temą
2010 Sau. 30 15:01:40          1 žinutė iš 2
Spausdinti pranešimą
Sveiki,gal galite padeti ?

yra kodas :

opentable("Kategorijos");
/* Nustatymai
0 isjungta
1 ijungta */
$siuntiniu = 1;
$nuorodu = 1;
$straipsniu = 1;
$naujienu = 1;

if ($siuntiniu == 1) {
$result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE ".groupaccess('download_cat_access')." ORDER BY download_cat_name");
echo "<table width='400' cellpadding='0' cellspacing='0' align='center'><center><b>Siuntiniu kategorijos</b></center><br>\n<tr>\n<td valign='top'>\n";
$rows = dbrows($result);
if ($rows != 0) {
$counter = 1; $columns = 2;
while ($data = dbarray($result)) {
if ($counter != 0 && ($counter % $columns == 0)) echo "";
$num = dbcount("(download_cat)", "downloads", "download_cat='".$data['download_cat_id']."'");
echo "<table cellpadding='0' cellspacing='0' width='180'>";
echo "<tr>\n<td class='small' align='left'><a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat_id']."'>".$data['download_cat_name']."</a></td>\n";
echo "<td align='right' class='small2'>($num)</td>\n</tr>\n";
echo "</table>\n";
if($counter == 5) { echo "</td><td valign='top'>\n"; }

$counter++;
}
echo "</td>
</tr>
<tr>
<td colspan='2' style='padding-top: 15px;' align='center'>";

$result = dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads");
echo "<span class='small2'><b>Siuntiniu tinklalapyje: ".dbresult($result, 0)." </b></span>";
$result = dbquery("SELECT SUM(download_count) FROM ".$db_prefix."downloads");
echo "<span class='small2'><b>Iš viso atsisiusta: ".dbresult($result, 0)." </b></span>";

echo "</td>
</tr>";

} else {
echo "<center>&#352;iai panelei n&#279;ra turinio</center>\n";
}
echo "</table><hr>";
} else {
echo "";
}

if ($nuorodu == 1) {
$result = dbquery("SELECT * FROM ".$db_prefix."weblink_cats WHERE ".groupaccess('weblink_cat_access')." ORDER BY weblink_cat_name");
echo "<table width='400' cellpadding='0' cellspacing='0' align='center'><center><b>Nuorodu kategorijos</b></center><br>\n<tr>\n<td valign='top'>\n";
$rows = dbrows($result);
if ($rows != 0) {
$counter = 1; $columns = 2;
while ($data = dbarray($result)) {
if ($counter != 0 && ($counter % $columns == 0)) echo "";
$num = dbcount("(weblink_cat)", "weblinks", "weblink_cat='".$data['weblink_cat_id']."'");
echo "<table cellpadding='0' cellspacing='0' width='180'>";
echo "<tr>\n<td class='small' align='left'><a href='".BASEDIR."weblinks.php?cat_id=".$data['weblink_cat_id']."'>".$data['weblink_cat_name']."</a></td>\n";
echo "<td align='right' class='small2'>($num)</td>\n</tr>\n";
echo "</table>\n";
if($counter == 7) { echo "</td><td valign='top'>\n"; }

$counter++;
}
echo "</td>
</tr>
<tr>
<td colspan='2' style='padding-top: 15px;' align='center'>";

$result = dbquery("SELECT count(weblink_id) FROM ".$db_prefix."weblinks");
echo "<span class='small2'><b>Nuorodu tinklalapyje: ".dbresult($result, 0)." </b></span>";
$result = dbquery("SELECT SUM(weblink_count) FROM ".$db_prefix."weblinks");
echo "<span class='small2'><b>Iš viso peržiureta: ".dbresult($result, 0)." </b></span>";

echo "</td>
</tr>";

} else {
echo "<center>&#352;iai panelei n&#279;ra turinio</center>\n";
}
echo "</table><hr>";
} else {
echo "";
}

if ($straipsniu == 1) {
$result = dbquery("SELECT * FROM ".$db_prefix."article_cats WHERE ".groupaccess('article_cat_access')." ORDER BY article_cat_name");
echo "<table width='400' cellpadding='0' cellspacing='0' align='center'><center><b>Straipsniu kategorijos</b></center><br>\n<tr>\n<td valign='top'>\n";
$rows = dbrows($result);
if ($rows != 0) {
$counter = 1; $columns = 2;
while ($data = dbarray($result)) {
if ($counter != 0 && ($counter % $columns == 0)) echo "";
$num = dbcount("(article_cat)", "articles", "article_cat='".$data['article_cat_id']."'");
echo "<table cellpadding='0' cellspacing='0' width='180'>";
echo "<tr>\n<td class='small' align='left'><a href='".BASEDIR."articles.php?cat_id=".$data['article_cat_id']."'>".$data['article_cat_name']."</a></td>\n";
echo "<td align='right' class='small2'>($num)</td>\n</tr>\n";
echo "</table>\n";
if($counter == 13) { echo "</td><td valign='top'>\n"; }

$counter++;
}
echo "</td>
</tr>
<tr>
<td colspan='2' style='padding-top: 15px;' align='center'>";

$result = dbquery("SELECT count(article_id) FROM ".$db_prefix."articles");
echo "<span class='small2'><b>Straipsniu tinklalapyje: ".dbresult($result, 0)." </b></span>";
$result = dbquery("SELECT SUM(article_reads) FROM ".$db_prefix."articles");
echo "<span class='small2'><b>Iš viso skaityta: ".dbresult($result, 0)." </b></span>";

echo "</td>
</tr>";

} else {
echo "<center>&#352;iai panelei n&#279;ra turinio</center>\n";
}
echo "</table><hr>";
} else {
echo "";
}

if ($naujienu == 1) {
$result = dbquery("SELECT * FROM ".$db_prefix."news_cats ORDER BY news_cat_name");
echo "<table width='400' cellpadding='0' cellspacing='0' align='center'><center><b>Naujienu kategorijos</b></center><br>\n<tr>\n<td valign='top'>\n";
$rows = dbrows($result);
if ($rows != 0) {
$counter = 1; $columns = 2;
while ($data = dbarray($result)) {
if ($counter != 0 && ($counter % $columns == 0)) echo "";
$num = dbcount("(news_cat)", "news", "news_cat='".$data['news_cat_id']."'");
echo "<table cellpadding='0' cellspacing='0' width='180'>";
echo "<tr>\n<td class='small' align='left'><a href='".BASEDIR."news_cats.php?cat_id=".$data['news_cat_id']."'>".$data['news_cat_name']."</a></td>\n";
echo "<td align='right' class='small2'>($num)</td>\n</tr>\n";
echo "</table>\n";
if($counter == 2) { echo "</td><td valign='top'>\n"; }

$counter++;
}
echo "</td>
</tr>
<tr>
<td colspan='2' style='padding-top: 15px;' align='center'>";

$result = dbquery("SELECT count(news_id) FROM ".$db_prefix."news");
echo "<span class='small2'><b>Naujienu tinklalapyje: ".dbresult($result, 0)." </b></span>";
$result = dbquery("SELECT SUM(news_reads) FROM ".$db_prefix."news");
echo "<span class='small2'><b>Iš viso skaityta: ".dbresult($result, 0)." </b></span>";

echo "</td>
</tr>";

} else {
echo "<center>&#352;iai panelei n&#279;ra turinio</center>\n";
}
echo "</table>";
} else {
echo "";
}
if (($siuntiniu && $nuorodu && $straipsniu && $naujienu) == 0) {
echo "<center>J&#363;s i&#353;jung&#279;te vis&#261; &#353;ios panel&#279;s turin&#303;!</center>\n";
}

closetable();






ar imanoma padaryti kad rodytu tik
Siuntiniu kategorijos

aciu :) +10

Peršokti į forumą: