Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,963
Naujausias narys: WolfHammer

Naujausi straipsniai

Paskutiniai nariai

Rytis 2 dienos
DjArtas 1 savaitė
WolfHammer 1 savaitė
Nostesi11 savaitės
Wisedocs12 savaitės
asdasdddz15 savaitės
Paslapties K...16 savaitės
Audrius_1719 savaitės
Reikalas24 savaitės
Simbijanas31 savaitės
Karinacraft32 savaitės
Žmogus35 savaitės
Bruksnys39 savaitės
Darexs42 savaitės
Nepas43 savaitės
keistuole45 savaitės
Gizmis46 savaitės
MaFetas60 savaitės
ozzWANTED61 savaitės
saulyzas63 savaitės

Informacija:


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

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

Nepas
2025 Bal. 9 17:04:08
drovus

Gizmis
2025 Kov. 15 14:03:50
OMG, smagu matyt sita puslapi veikianti

Š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
download.php pataisymas. 5LT už pagalbą!
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Mods, Panels & Infusions

Autorius: altenis Peržiūrų: 1753      Spausdinti temą
2010 Lap. 16 17:11:27          1 žinutė iš 6
Spausdinti pranešimą
Sveiki,

Gal žinote, kur galėčiau rasti tokį mod/infusion, kad įėjus į siuntinių puslapį rodytų tik dainų pavadinimus ir "ATSISIŲSTI"??

Vat kaip ČIA

Ieškau mažų darbų internete.
Redagavo altenis 2010 Lap. 16 22:11:57

5 atsakymai:
bruzgis
Narys
Ekspertas

Nario avataras

Pranešimai: 3368
Įstojęs: 2006 Geg. 9 18:05:02
2010 Lap. 16 22:11:58          2 žinutė iš 6
Spausdinti pranešimą

<?php
require_once "maincore.php";
 
require_once THEMES."templates/header.php";
 
include LOCALE.LOCALESET."downloads.php";
add_to_title($locale['global_200'].$locale['400']);
 
 
if (isset($_GET['download_id']) && isnum($_GET['download_id'])) {
 
$res = 0;
 
if ($data = dbarray(dbquery("SELECT download_url, download_file, download_cat FROM ".DB_DOWNLOADS." WHERE download_id='".$_GET['download_id']."'"))) {
 
$cdata = dbarray(dbquery("SELECT download_cat_access FROM ".DB_DOWNLOAD_CATS." WHERE download_cat_id='".$data['download_cat']."'"));
 
if (checkgroup($cdata['download_cat_access'])) {
 
$result = dbquery("UPDATE ".DB_DOWNLOADS." SET download_count=download_count+1 WHERE download_id='".$_GET['download_id']."'");
 
if (!empty($data['download_file']) && file_exists(DOWNLOADS.$data['download_file'])) {
 
$res = 1;
 
require_once INCLUDES."class.httpdownload.php";
 
ob_end_clean();
 
$object = new httpdownload;
 
$object->set_byfile(DOWNLOADS.$data['download_file']);
 
$object->use_resume = true;
 
$object->download();
 
exit;
 
} elseif (!empty($data['download_url'])) {
 
$res = 1;
 
redirect($data['download_url']);
 
}
 
}
 
}
 
if ($res == 0) { redirect("downloads.php"); }
 
}
 
 
 
if (!isset($_GET['cat_id']) || !isnum($_GET['cat_id'])) {
 
opentable($locale['400']);
 
echo "<!--pre_download_idx-->\n";
 
$result = dbquery("SELECT download_cat_id, download_cat_name, download_cat_description FROM ".DB_DOWNLOAD_CATS." WHERE ".groupaccess('download_cat_access')." ORDER BY download_cat_name");
 
$rows = dbrows($result);
 
if ($rows) {
 
$counter = 0; $columns = 2;
 
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
 
while ($data = dbarray($result)) {
 
if ($counter != 0 && ($counter % $columns == 0)) { echo "</tr>\n<tr>\n"; }
 
$num = dbcount("(download_cat)", DB_DOWNLOADS, "download_cat='".$data['download_cat_id']."'");
 
echo "<td valign='top' width='50%' class='tbl download_idx_cat_name'><!--download_idx_cat_name--><a href='".FUSION_SELF."?cat_id=".$data['download_cat_id']."'>".$data['download_cat_name']."</a> <span class='small2'>($num)</span>";
 
if ($data['download_cat_description'] != "") { echo "<br />\n<span class='small'>".$data['download_cat_description']."</span>"; }
 
echo "</td>\n" ;
 
$counter++;
 
}
 
echo "</tr>\n</table>\n";
 
} else {
 
echo "<div style='text-align:center'><br />\n".$locale['430']."<br /><br />\n</div>\n";
 
}
 
echo "<!--sub_download_idx-->";
 
closetable();
 
} else {
 
$res = 0;
 
$result = dbquery("SELECT download_cat_name, download_cat_sorting, download_cat_access FROM ".DB_DOWNLOAD_CATS." WHERE download_cat_id='".$_GET['cat_id']."'");
 
if (dbrows($result) != 0) {
 
$cdata = dbarray($result);
 
if (checkgroup($cdata['download_cat_access'])) {
 
$res = 1;
 
add_to_title($locale['global_201'].$cdata['download_cat_name']);
 
opentable($locale['400'].": ".$cdata['download_cat_name']);
 
echo "<!--pre_download_cat-->";
 
$rows = dbcount("(download_id)", DB_DOWNLOADS, "download_cat='".$_GET['cat_id']."'");
 
if (!isset($_GET['rowstart']) || !isnum($_GET['rowstart'])) { $_GET['rowstart'] = 0; }
 
if ($rows != 0) {
 
$result = dbquery("SELECT download_id, download_title, download_description, download_license, download_os, download_version, download_filesize, download_datestamp, download_count FROM ".DB_DOWNLOADS." WHERE download_cat='".$_GET['cat_id']."' ORDER BY ".$cdata['download_cat_sorting']." LIMIT ".$_GET['rowstart'].",".$settings['downloads_per_page']);
 
$numrows = dbrows($result); $i = 1;
echo "<table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'>\n";
 
while ($data = dbarray($result)) {
 
if ($data['download_datestamp'] + 604800 > time() + ($settings['timeoffset'] * 3600)) {
 
$new = " <span class='small'>".$locale['410']."</span>";
 
} else {
 
$new = "";
 
}
echo "<tr>\n<td class='forum-caption'><strong>".$data['download_title']."</strong> $new</td><td width='30%' class='tbl1'><strong>".$locale['415']."</strong></td>\n<td width='40%' class='tbl2'><a href='".FUSION_SELF."?cat_id=".$_GET['cat_id']."&amp;download_id=".$data['download_id']."' target='_blank'>".$locale['416']."</a></td>\n</tr>\n";
}
echo "</table>\n";
 
closetable();
 
if ($rows > $settings['downloads_per_page']) { echo "<div align='center' style=';margin-top:5px;'>\n".makepagenav($_GET['rowstart'], $settings['downloads_per_page'], $rows, 3, FUSION_SELF."?cat_id=".$_GET['cat_id']."&amp;")."\n</div>\n"; }
 
} else {
 
echo "<div style='text-align:center'>".$locale['431']."</div>\n";
 
echo "<!--sub_download_cat-->";
 
closetable();
 
}
 
}
 
}
 
if ($res == 0) { redirect(FUSION_SELF); }
 
}
 
 
 
require_once THEMES."templates/footer.php";
 
?>
+1Geriausias atsakymas

2010 Lap. 16 20:11:17          3 žinutė iš 6
Spausdinti pranešimą
atsidaryti downloads.php ir persidaryti.
0


Dj zDon @ FACEBOOK
2010 Lap. 16 21:11:22          4 žinutė iš 6
Spausdinti pranešimą
o gal kas galėtų padėti pakoreguoti downloads.php failą? reiktų, kad būtų viena juotelė, atlikėjas, pavadinimas dainos ir stilius... nežino
0


Ieškau mažų darbų internete.
2010 Lap. 16 22:11:59          5 žinutė iš 6
Spausdinti pranešimą
Na štai pasidariau truputi:






1. Kaip pašalinti skliaustelius prie "SIŲSTIS"?
2. Kaip viską sudėti į vieną eilutę?

štai kodas:


<?php
/*-------------------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
+--------------------------------------------------------+
| Filename: downloads.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at <a href='http://www.gnu.org/licenses/agpl.html.' target='_blank'><span style='color:005C5B'>www.gnu.org/licenses/agpl.html.</span></a> Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/

require_once "maincore.php";
require_once THEMES."templates/header.php";
include LOCALE.LOCALESET."downloads.php";
 
add_to_title($locale['global_200'].$locale['400']);
 
if (isset($_GET['download_id']) && isnum($_GET['download_id'])) {
$res = 0;
if ($data = dbarray(dbquery("SELECT download_url, download_file, download_cat FROM ".DB_DOWNLOADS." WHERE download_id='".$_GET['download_id']."'"))) {
$cdata = dbarray(dbquery("SELECT download_cat_access FROM ".DB_DOWNLOAD_CATS." WHERE download_cat_id='".$data['download_cat']."'"));
if (checkgroup($cdata['download_cat_access'])) {
$result = dbquery("UPDATE ".DB_DOWNLOADS." SET download_count=download_count+1 WHERE download_id='".$_GET['download_id']."'");
if (!empty($data['download_file']) && file_exists(DOWNLOADS.$data['download_file'])) {
$res = 1;
require_once INCLUDES."class.httpdownload.php";
ob_end_clean();
$object = new httpdownload;
$object->set_byfile(DOWNLOADS.$data['download_file']);
$object->use_resume = true;
$object->download();
exit;
} elseif (!empty($data['download_url'])) {
$res = 1;
redirect($data['download_url']);
}
}
}
if ($res == 0) { redirect("downloads.php"); }
}
 
if (!isset($_GET['cat_id']) || !isnum($_GET['cat_id'])) {
opentable($locale['400']);
echo "<!--pre_download_idx-->\n";
$result = dbquery("SELECT download_cat_id, download_cat_name, download_cat_description FROM ".DB_DOWNLOAD_CATS." WHERE ".groupaccess('download_cat_access')." ORDER BY download_cat_name");
$rows = dbrows($result);
if ($rows) {
$counter = 0; $columns = 2;
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
while ($data = dbarray($result)) {
if ($counter != 0 && ($counter % $columns == 0)) { echo "</tr>\n<tr>\n"; }
$num = dbcount("(download_cat)", DB_DOWNLOADS, "download_cat='".$data['download_cat_id']."'");
echo "<td valign='top' width='50%' class='tbl download_idx_cat_name'><!--download_idx_cat_name--><a href='".FUSION_SELF."?cat_id=".$data['download_cat_id']."'>".$data['download_cat_name']."</a> <span class='small2'>($num)</span>";
if ($data['download_cat_description'] != "") { echo "<br />\n<span class='small'>".$data['download_cat_description']."</span>"; }
echo "</td>\n" ;
$counter++;
}
echo "</tr>\n</table>\n";
} else {
echo "<div style='text-align:center'><br />\n".$locale['430']."<br /><br />\n</div>\n";
}
echo "<!--sub_download_idx-->";
closetable();
} else {
$res = 0;
$result = dbquery("SELECT download_cat_name, download_cat_sorting, download_cat_access FROM ".DB_DOWNLOAD_CATS." WHERE download_cat_id='".$_GET['cat_id']."'");
if (dbrows($result) != 0) {
$cdata = dbarray($result);
if (checkgroup($cdata['download_cat_access'])) {
$res = 1;
add_to_title($locale['global_201'].$cdata['download_cat_name']);
opentable($locale['400'].": ".$cdata['download_cat_name']);
echo "<!--pre_download_cat-->";
$rows = dbcount("(download_id)", DB_DOWNLOADS, "download_cat='".$_GET['cat_id']."'");
if (!isset($_GET['rowstart']) || !isnum($_GET['rowstart'])) { $_GET['rowstart'] = 0; }
if ($rows != 0) {
$result = dbquery("SELECT download_id, download_title, download_description, download_license, download_os, download_version, download_filesize, download_datestamp, download_count FROM ".DB_DOWNLOADS." WHERE download_cat='".$_GET['cat_id']."' ORDER BY ".$cdata['download_cat_sorting']." LIMIT ".$_GET['rowstart'].",".$settings['downloads_per_page']);
$numrows = dbrows($result); $i = 1;
while ($data = dbarray($result)) {
if ($data['download_datestamp'] + 604800 > time() + ($settings['timeoffset'] * 3600)) {
$new = " <span class='small'>".$locale['410']."</span>";
} else {
$new = "";
}
echo "<table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'>\n";
echo "<tr>\n<td colspan='3' class='forum-caption'><strong>".$data['download_title']."</strong> $new</td>\n</tr>\n";
 
 
 
echo "<td width='30%' class='tbl1'><strong>".$locale['415']."</strong> ".$data['download_count']."</td>\n<td width='40%' class='tbl2'><a href='".FUSION_SELF."?cat_id=".$_GET['cat_id']."&amp;download_id=".$data['download_id']."' target='_blank'>".$locale['416']."</a> (".$data['download_filesize'].")</td>\n</tr>\n";
echo "</table>\n";
if ($i != $numrows) { echo "<div style='text-align:center'><img src='".get_image("blank")."' alt='' height='15' width='1' /></div>\n"; $i++; }
}
closetable();
if ($rows > $settings['downloads_per_page']) { echo "<div align='center' style=';margin-top:5px;'>\n".makepagenav($_GET['rowstart'], $settings['downloads_per_page'], $rows, 3, FUSION_SELF."?cat_id=".$_GET['cat_id']."&amp;")."\n</div>\n"; }
} else {
echo "<div style='text-align:center'>".$locale['431']."</div>\n";
echo "<!--sub_download_cat-->";
closetable();
}
}
}
if ($res == 0) { redirect(FUSION_SELF); }
}
 
require_once THEMES."templates/footer.php";
?>




Užpagalbą siūlau 5 LT per SMS!
0


Ieškau mažų darbų internete.
2010 Lap. 17 15:11:18          6 žinutė iš 6
Spausdinti pranešimą
Na taip, bet reiktų, kad rodytu, kiek siuntėsi... be žado, nes dabar nerodo...
0


Ieškau mažų darbų internete.
Peršokti į forumą: