Peržiūrėti temą
PHP-Fusion Mods :: ARCHYVAS :: 2008 metų archyvas
v6 download
|
||||
lodan |
parašyta 2008-12-14 09:47
|
|||
Naujokas![]() Reputacija: 0 Pranešimai: 20 Įstojo: 2008-08-28 |
sveiki, gal galetumet padeti, as noreciau downloads, kad nebutu jokiu ten : kiek uzema, versi , idejimo data, jokiu lenteliu, noreciau kad tik butu dainos pavadainimas ir kiek kartu donload, ir dar butu neblogai , jai desinej pusei butu paveiksliukas NEW, jai nauja daina, ka reiktu redaguot aciu is anksto B) | |||
snapsas |
parašyta 2008-12-14 10:53
|
|||
![]() Geradarys ![]() Reputacija: 0 Pranešimai: 534 Įstojo: 2007-04-09 |
downloads.php fail. | |||
lodan |
parašyta 2008-12-14 12:16
|
|||
Naujokas![]() Reputacija: 0 Pranešimai: 20 Įstojo: 2008-08-28 |
o gal kas turit jau perdaryta toki download.php , nes as ten nelabai suprantu ka reikia istrinti :hm: | |||
Mange |
parašyta 2008-12-14 16:06
|
|||
![]() Savekas ![]() Reputacija: 0 Pranešimai: 106 Įstojo: 2008-05-31 |
xD reikia mokintis php fusion kalba :D | |||
snapsas |
parašyta 2008-12-15 14:34
|
|||
![]() Geradarys ![]() Reputacija: 0 Pranešimai: 534 Įstojo: 2007-04-09 |
Mange, joks tu php moktojas. Duok dieve 0.5%. Nra tokio dalyko kaip php-fusion kalba. Yra tik PHP programavimo kalba. Ir labai abejoju ar mokjimas naudotis PHP-Fusion TVS yra tas pats, kas ir PHP programavimo kalbos mokjimas. | |||
lodan |
parašyta 2008-12-15 21:43
|
|||
Naujokas![]() Reputacija: 0 Pranešimai: 20 Įstojo: 2008-08-28 |
as nemoku padaryti kad nebutu to pasisiusti, o padaryti kaip ta linka, man isimeto visas puslapis ;( tokio reiktu, ar panasaus gal kas galit padet man ? ![]()
/*---------------------------------------------------+ | PHP-Fusion 6 Content Management System +----------------------------------------------------+ | Copyright 2002 - 2006 Nick Jones | http://www.php-fusion.co.uk/ +----------------------------------------------------+ | Released under the terms & conditions of v2 of the | GNU General Public License. For details refer to | the included gpl.txt file or visit http://gnu.org +----------------------------------------------------*/ require_once "maincore.php"; require_once "subheader.php"; require_once "side_left.php"; include LOCALE.LOCALESET."downloads.php"; if (isset($download_id) && !isNum($download_id)) fallback("index.php"); if (isset($download_id)) { $res = 0; if ($data = dbarray(dbquery("SELECT download_url,download_cat FROM ".$db_prefix."downloads WHERE download_id='$download_id'"))) { $cdata = dbarray(dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE download_cat_id='".$data['download_cat']."'")); if (checkgroup($cdata['download_cat_access'])) { $res = 1; $result = dbquery("UPDATE ".$db_prefix."downloads SET download_count=download_count+1 WHERE download_id='$download_id'"); redirect($data['download_url']); } } if ($res == 0) redirect("downloads.php"); } if (!isset($cat_id)) { opentable($locale['400']); $result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE ".groupaccess('download_cat_access')." ORDER BY download_cat_name"); $rows = dbrows($result); if ($rows != 0) { $counter = 0; $columns = 2; echo "
} else { echo " \n".$locale['430']." \n } closetable(); } else { $res = 0; if (!isNum($cat_id)) fallback(FUSION_SELF); $result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE download_cat_id='$cat_id'"); if (dbrows($result) != 0) { $cdata = dbarray($result); if (checkgroup($cdata['download_cat_access'])) { $res = 1; opentable($locale['400'].": ".$cdata['download_cat_name']); $rows = dbcount("(*)", "downloads", "download_cat='$cat_id'"); if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0; if ($rows != 0) { $result = dbquery("SELECT * FROM ".$db_prefix."downloads WHERE download_cat='$cat_id' ORDER BY ".$cdata['download_cat_sorting']." LIMIT $rowstart,15"); $numrows = dbrows($result); $i = 1; while ($data = dbarray($result)) { if ($data['download_datestamp']+604800 > time()+($settings['timeoffset']*3600)) { $new = " ".$locale['410'].""; } else { $new = ""; } echo " ".$locale['415']." ".$data['download_count']." | \n".$data['download_title']." ".$data['download_filesize']." | \n | |
Peršokti į forumą: |