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

» Viso narių: 10,232
» Naujausias: EdvinasG1337

Prisijungimų istorija:
tabux 3 Dienos
EdvinasG1337nepamenu
rolandas94nepamenu
Zbigniew@nepamenu
Edis2nepamenu
klubogerbejasnepamenu
Miskinisnepamenu
mast3rnepamenu
N1nt3ndnepamenu
Matze1987nepamenu
Piter_NSnepamenu
MariukasRnepamenu
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.

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. 😁

2024-02-20 22:14
Aisku dabar tokie laikai, kai turinio valdymo sistemas valdome one-click principu. Ne kaip seniau kode ieskodavom klaidu, norint moda pasileist.. :D paciam reikdavo susidiegt viska i ftp..

2024-02-20 22:03
Sveiki kolegos 👌 kazkada rasiau greit 11 metu bet ziuriu greit 14 metu. 😄 baisuu, reik ta proga kazka sugalvot su php-f kaip jaunima itraukt.

Shoutbox Archive
Peržiūrėti temą
 Spausdinti temą
Reikalinga pagalba del downlaods. :)
Cekas
#1 Spausdinti pranešimą
parašyta 2007-11-14 12:56
Naujokas



Reputacija: 0

Pranešimai: 10
Įstojo: 2007-06-21

Sveiki, turiu viena beda. Pasidariau siuntinius(temu) is NextGen_Downloads_v1.4.
Taigi noriu akd kai ieini i kategorija, failus kurie yra joje ikelti rodytu dviem kolonom(stulepiais) gal galit pagelbet ir padaryt kad veiktu, nes kiek bandziau pats tai nieko nesigavo tik nervu gadinimas :) Stai ju kodas:
Download source  Code
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| NextGen Downloads v1.3 (C) 2007
| by aka SAF
| http://compgdev.com
+----------------------------------------------------+
| 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.\"themes.php\";

if (isset($themes_id) && !isNum($themes_id)) fallback(\"index.php\");

if (isset($themes_id)) {
   $res = 0;
   if ($data = dbarray(dbquery(\"SELECT themes_url,themes_cat FROM \".$db_prefix.\"themes WHERE themes_id='$themes_id'\"))) {
      $cdata = dbarray(dbquery(\"SELECT * FROM \".$db_prefix.\"themes_cats WHERE themes_cat_id='\".$data['themes_cat'].\"'\"));
      if (checkgroup($cdata['themes_cat_access'])) {
         $res = 1;
         $result = dbquery(\"UPDATE \".$db_prefix.\"themes SET themes_count=themes_count+1 WHERE themes_id='$themes_id'\");
         redirect($data['themes_url']);
      }
   }
   if ($res == 0) redirect(BASEDIR.\"themes.php\");
}

if (!isset($cat_id)) {
   opentable($locale['400']);
   echo \"
\";
   $result = dbquery(\"SELECT * FROM \".$db_prefix.\"themes_cats WHERE \".groupaccess('themes_cat_access').\" ORDER BY themes_cat_name\");
   $rows = dbrows($result);
   if ($rows != 0) {
      $counter = 0; $columns = 1;
      while ($data = dbarray($result)) {
         if ($counter != 0 && ($counter % $columns == 0)) echo \"
\";
         $num = dbcount(\"(themes_cat)\", \"themes\", \"themes_cat='\".$data['themes_cat_id'].\"'\");
echo \"


\";

if ($data['themes_cat_description']) {
echo \"

\";
}

echo \"



\".$data['themes_cat_name'].\"
\";
echo \"\".nl2br(stripinput($data['themes_cat_description'])).\"\";
echo \"
\".$locale['D001'].$num.\" \".$locale['D002'].\"
\";
         $counter++;
      }
   echo \"
\";
   } else {
      echo \"

\n\".$locale['430'].\"

\n
\n\";
   }
   closetable();
} else {
   include INCLUDES.\"comments_include.php\";
   include INCLUDES.\"ratings_include.php\";
$result = dbquery(\"SELECT * FROM \".$db_prefix.\"themes WHERE themes_id='$info_id'\");
   if ($info_id) {
            while ($data = dbarray($result)) {
   opentable($locale['400'].\" \".$data['themes_title']);
   echo \"


   
   
   \";
   } else {
   echo \"''\";
   echo \"

[ \".$locale['D004'].\" ]\";
   }
   echo \"
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   \";
   echo \"
\".$locale['D003'].\"
\";
   if ($data['themes_screen']) {
   echo \"''\";
   echo \"

[ Padidinti foto ]
\".$locale['D005'].\"\".$data['themes_title'].\"
\".$locale['D006'].\"\".$data['themes_author'].\"
\".$locale['D007'].\"\".$data['themes_filesize'].\"
Failas patalpintas:\".showdate(\"%B %d %Y %H:%M:%S\", $data['themes_datestamp']).\"
\".$locale['D010'].\"\".$data['themes_count'].\"
Telefono modelis:\".$data['themes_os'].\"
\";
   if ($data['themes_copyright']) {
   echo $data['themes_copyright'];
   } else {
   echo \" \";
   }
   echo \"
\";
   echo \"
\";
   if ($data['themes_description']) {
   echo \"
   
   
   
   
   
   
   
\".$locale['D012'].\"
\".nl2br(stripslashes($data['themes_description'])).\"
\";
   echo \"
\";
   }
   echo \"\";
         if ($data['themes_mirror']) {
   echo \"\";   
         } else {
   echo \"\"; }
   echo \"
   \";
      
   echo \"
   
   
\".$locale['D013'].\"\".$locale['D013'].\"
Atsisisti vertinti Komentuoti


\";
closetable();
if ($act == \"rate\") {
showratings(\"T\",$info_id,FUSION_SELF.\"?cat_id=$cat_id&info_id=$info_id&act=rate\");
}
if ($act == \"comment\") {
showcomments(\"T\",\"themes\",\"themes_id\",$info_id,FUSION_SELF.\"?cat_id=$cat_id&info_id=$info_id&act=comment\");
}
}
} else {
   $res = 0;
   if (!isNum($cat_id)) fallback(FUSION_SELF);
   $result = dbquery(\"SELECT * FROM \".$db_prefix.\"themes_cats WHERE themes_cat_id='$cat_id'\");
   if (dbrows($result) != 0) {
      $cdata = dbarray($result);
      if (checkgroup($cdata['themes_cat_access'])) {
         $res = 1;
         opentable($locale['400'].\" - \".$cdata['themes_cat_name']);
            echo \"
\";
         echo \"\";
         echo \"\";
         echo \"\n\";

         echo \"\n\";

         echo \"\n\";
         echo \"
\n\";
         echo (FUSION_QUERY == \"cat_id=$cat_id\" || $sort == 1 ? \"\".$locale['D014'].\"\" : \"\".$locale['D014'].\"\").\"
\n\";
         echo ($sort == 3 ? \"\".$locale['D015'].\"\" : \"\".$locale['D015'].\"\").\"
\n\";
         echo ($sort == 2 ? \"\".$locale['D016'].\"\" : \"\".$locale['D016'].\"\").\"

\";

         $rows = dbcount(\"(*)\", \"themes\", \"themes_cat='$cat_id'\");
         if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0;
         if (!isset($sort) || !isNum($sort)) $sort = 0;
         $sorting = $cdata['themes_cat_sorting'];
         if ($sort == 1)   $sorting = \"themes_title ASC\";
         if ($sort == 2)   $sorting = \"themes_count DESC\";
         if ($sort == 3)   $sorting = \"themes_datestamp DESC, download_title ASC\";
         if ($rows != 0) {
            $result = dbquery(\"SELECT * FROM \".$db_prefix.\"themes WHERE themes_cat='$cat_id' ORDER BY $sorting LIMIT $rowstart,20\");

            $numrows = dbrows($result); $i = 1;
            
            while ($data = dbarray($result)) {
               if ($data['themes_datestamp']+604800 > time()+($settings['timeoffset']*3600)) {
                  $new = \" \".$locale['410'].\"\";
               } else {
                  $new = \"\";
               }

echo \"


   
   
   \";
   }
   echo \"   


   \";
$wynik = dbquery(\"SELECT SUM(rating_vote) FROM \".$db_prefix.\"ratings WHERE rating_type='T' AND rating_item_id='\".$data['themes_id'].\"'\");
$info = dbresult($wynik,0);
$num_rating = dbcount(\"(rating_vote)\", \"ratings\", \"rating_type='T' AND rating_item_id='\".$data['themes_id'].\"'\");
$wyn_rating = ($num_rating ? $info / $num_rating : 0);
echo \"
   
   




\".$data['themes_title'].\" $new
\";
if ($data['themes_screen']) {
   echo \"''\";
   } else {
   echo \"''\";
   echo \"
Autorius: \".$data['themes_author'].\"
Failas atsisistas: \".$data['themes_count'].\"
vertinimas
''
Telefono modelis: \".$data['themes_os'].\"
?irti daugiau
\";

            echo ($i != $numrows ? \"
\" : \"\n\"); $i++;
            }
echo \"
\";
            closetable();
            if ($rows > 20) echo \"
\n\".makePageNav($rowstart,20,$rows,3,FUSION_SELF.\"?cat_id=$cat_id&sort=$sort&\").\"\n
\n\";
         } else {
            echo $locale['431'].\"\n\";
            closetable();
         }
      }
   }

   if ($res == 0) redirect(FUSION_SELF);
}
}

require_once \"side_right.php\";
require_once \"footer.php\";
?>


 
PM
Cekas
#2 Spausdinti pranešimą
parašyta 2007-11-17 07:49
Naujokas



Reputacija: 0

Pranešimai: 10
Įstojo: 2007-06-21

Reikia rimtai pagalbos :) netingekit paziuret ir ka nors patart :)
 
PM
Sharkman
#3 Spausdinti pranešimą
parašyta 2007-11-17 07:50
Vartotojo avataras

Geradarys



Reputacija: 0

Pranešimai: 928
Įstojo: 2007-08-24

Tu sakau ne per failus gal ?irk pirmiau o per administracijos panele.
 
PM
Cekas
#4 Spausdinti pranešimą
parašyta 2007-11-17 08:05
Naujokas



Reputacija: 0

Pranešimai: 10
Įstojo: 2007-06-21

Ir ka as ten rasiu? :) Juk ten naujienoms yra rodyti po viena ar po dvi (stulpeliais) siuntiniam tikrai to nera:)
 
PM
Nepster
#5 Spausdinti pranešimą
parašyta 2007-11-17 08:10
Vartotojo avataras

S.Administratorius



Reputacija: 0

Pranešimai: 670
Įstojo: 2007-01-02

spiritas kur gavai scripta ten ir klausk ;]
Sunku ?irt tok kod, o i?bandyti irgi negali nes sql lenteli toki neturim
 
PM
Cekas
#6 Spausdinti pranešimą
parašyta 2007-11-17 13:16
Naujokas



Reputacija: 0

Pranešimai: 10
Įstojo: 2007-06-21

as jis pasidariau :) is downlaods.php radau phpfusion suporte nu krc :D
 
PM
Peršokti į forumą: