PHP-Fusion Mods
Navigacija
Apsauga
Apsauga Neleista registracija: 28967
Šiandien: 21
Prisijungę nariai
» Svečių: 4
» Narių: 0

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

Prisijungimų istorija:
tabux 4 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ą
donwload.php
kestutis
#1 Spausdinti pranešimą
parašyta 2008-02-24 15:19
Pradinukas



Reputacija: 0

Pranešimai: 44
Įstojo: 2007-12-02

Kuirioje vietoje ant "downloads.php" reikia ideti if member koda kad sveciai negaletu siustis ir matyti visu siuntiniu.
 
PM
Sharkman
#2 Spausdinti pranešimą
parašyta 2008-02-24 15:23
Vartotojo avataras

Geradarys



Reputacija: 0

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

Duok downloads.php.
 
PM
dj worst
#3 Spausdinti pranešimą
parašyta 2008-02-24 15:33
Vartotojo avataras

Apšylantis



Reputacija: 0

Pranešimai: 64
Įstojo: 2007-10-27

nemoki naudotis paieska.
Linkas
Redagavo Paranoja 2008-02-25 07:06
 
PM
kestutis
#4 Spausdinti pranešimą
parašyta 2008-02-24 15:43
Pradinukas



Reputacija: 0

Pranešimai: 44
Įstojo: 2007-12-02

va mano download.php

Download source  Code
| 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 \"\n\n\";
      while ($data = dbarray($result)) {
         if ($counter != 0 && ($counter % $columns == 0)) echo \"\n\n\";
         $num = dbcount(\"(download_cat)\", \"downloads\", \"download_cat='\".$data['download_cat_id'].\"'\");
         echo \"\n\" ;
         $counter++;
      }
      echo \"\n
\".$data['download_cat_name'].\" ($num)\";
         if ($data['download_cat_description'] != \"\") echo \"
\n\".$data['download_cat_description'].\"\";
         echo \"
\n\";
   } else {
      echo \"

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

\n
\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 \"\n\";
               echo \"\n\n\n\";
               if ($data['download_description'] != \"\") echo \"\n\n\n\";
               echo \"\n\n\n\";
               echo \"\n\n\n\n\";
               echo \"\n\n\n\";
               echo \"
\".$data['download_title'].\" $new
\".nl2br(stripslashes($data['download_description'])).\"
\".$locale['411'].\" \".$data['download_license'].\"\".$locale['412'].\" \".$data['download_os'].\"\".$locale['413'].\" \".$data['download_version'].\"
\".$locale['414'].\" \".showdate(\"%d.%m.%y\", $data['download_datestamp']).\"\".$locale['415'].\" \".$data['download_count'].\"\".$locale['416'].\" (\".$data['download_filesize'].\")
\n\";
               if ($i != $numrows) { echo \"
''
\n\"; $i++; }
            }
            closetable();
            if ($rows > 15) echo \"
\n\".makePageNav($rowstart,15,$rows,3,FUSION_SELF.\"?cat_id=$cat_id&\").\"\n
\n\";
         } else {
            echo $locale['431'].\"\n\";
            closetable();
         }
      }
   }
   if ($res == 0) redirect(FUSION_SELF);
}

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



Redagavo Paranoja 2008-02-25 07:03
 
PM
Sharkman
#5 Spausdinti pranešimą
parašyta 2008-02-24 16:22
Vartotojo avataras

Geradarys



Reputacija: 0

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

Oho downloads.php kaip a? turiu suprasti ?it makalyn? Nra net prad?ios.
 
PM
kestutis
#6 Spausdinti pranešimą
parašyta 2008-02-24 16:31
Pradinukas



Reputacija: 0

Pranešimai: 44
Įstojo: 2007-12-02

va db vikas jau tai ali pasakyti kur reika iideti ta if member koda

Download source  Code
/*---------------------------------------------------+
| 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 \"\n\n\";
      while ($data = dbarray($result)) {
         if ($counter != 0 && ($counter % $columns == 0)) echo \"\n\n\";
         $num = dbcount(\"(download_cat)\", \"downloads\", \"download_cat='\".$data['download_cat_id'].\"'\");
         echo \"\n\" ;
         $counter++;
      }
      echo \"\n
\".$data['download_cat_name'].\" ($num)\";
         if ($data['download_cat_description'] != \"\") echo \"
\n\".$data['download_cat_description'].\"\";
         echo \"
\n\";
   } else {
      echo \"

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

\n
\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 \"\n\";
               echo \"\n\n\n\";
               if ($data['download_description'] != \"\") echo \"\n\n\n\";
               echo \"\n\n\n\";
               echo \"\n\n\n\n\";
               echo \"\n\n\n\";
               echo \"
\".$data['download_title'].\" $new
\".nl2br(stripslashes($data['download_description'])).\"
\".$locale['411'].\" \".$data['download_license'].\"\".$locale['412'].\" \".$data['download_os'].\"\".$locale['413'].\" \".$data['download_version'].\"
\".$locale['414'].\" \".showdate(\"%d.%m.%y\", $data['download_datestamp']).\"\".$locale['415'].\" \".$data['download_count'].\"\".$locale['416'].\" (\".$data['download_filesize'].\")
\n\";
               if ($i != $numrows) { echo \"
''
\n\"; $i++; }
            }
            closetable();
            if ($rows > 15) echo \"
\n\".makePageNav($rowstart,15,$rows,3,FUSION_SELF.\"?cat_id=$cat_id&\").\"\n
\n\";
         } else {
            echo $locale['431'].\"\n\";
            closetable();
         }
      }
   }
   if ($res == 0) redirect(FUSION_SELF);
}

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



Redagavo Paranoja 2008-02-25 07:03
 
PM
dj worst
#7 Spausdinti pranešimą
parašyta 2008-02-24 16:39
Vartotojo avataras

Apšylantis



Reputacija: 0

Pranešimai: 64
Įstojo: 2007-10-27

zodziu susikurk nauja faila downloads.php ir visa sita i ji iarasyk
Download source  Code
Download source  PHP
  1. <?php
  2.  
  3. require_once "maincore.php";
  4. require_once "subheader.php";
  5. require_once "side_left.php";
  6. include LOCALE.LOCALESET."downloads.php";
  7.  
  8. if (isset($download_id) && !isNum($download_id)) fallback("index.php");
  9. if (!iMEMBER) fallback("nariams.php");
  10. if (isset($download_id)) {
  11. &nbsp; &nbsp;$res = 0;
  12. &nbsp; &nbsp;if ($data = dbarray(dbquery("SELECT download_url,download_cat FROM ".$db_prefix."downloads WHERE download_id='$download_id'"))) {
  13. &nbsp; &nbsp;&nbsp; &nbsp;$cdata = dbarray(dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE download_cat_id='".$data['download_cat']."'"));
  14. &nbsp; &nbsp;&nbsp; &nbsp;if (checkgroup($cdata['download_cat_access'])) {
  15. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;$res = 1;
  16. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;$result = dbquery("UPDATE ".$db_prefix."downloads SET download_count=download_count+1 WHERE download_id='$download_id'");
  17. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;redirect($data['download_url']);
  18. &nbsp; &nbsp;&nbsp; &nbsp;}
  19. &nbsp; &nbsp;}
  20. &nbsp; &nbsp;if ($res == 0) redirect("downloads.php");
  21. }
  22.  
  23. if (!isset($cat_id)) {
  24. &nbsp; &nbsp;opentable($locale['400']);
  25. &nbsp; &nbsp;$result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE ".groupaccess('download_cat_access')." ORDER BY download_cat_name");
  26. &nbsp; &nbsp;$rows = dbrows($result);
  27. &nbsp; &nbsp;if ($rows != 0) {
  28. &nbsp; &nbsp;&nbsp; &nbsp;$counter = 0; $columns = 2; 
  29. &nbsp; &nbsp;&nbsp; &nbsp;echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
  30. &nbsp; &nbsp;&nbsp; &nbsp;while ($data = dbarray($result)) {
  31. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if ($counter != 0 && ($counter % $columns == 0)) echo "</tr>\n<tr>\n";
  32. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;$num = dbcount("(download_cat)", "downloads", "download_cat='".$data['download_cat_id']."'");
  33. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;echo "<td align='left' valign='top' width='50%' class='tbl'><a href='".FUSION_SELF."?cat_id=".$data['download_cat_id']."'>".$data['download_cat_name']."</a> <span class='small2'>($num)</span>";
  34. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if ($data['download_cat_description'] != "") echo "\n<span class='small'>".$data['download_cat_description']."</span>";
  35. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;echo "</td>\n" ;
  36. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;$counter++;
  37. &nbsp; &nbsp;&nbsp; &nbsp;}
  38. &nbsp; &nbsp;&nbsp; &nbsp;echo "</tr>\n</table>\n";
  39. &nbsp; &nbsp;} else {
  40. &nbsp; &nbsp;&nbsp; &nbsp;echo "<center>\n".$locale['430']."\n</center>\n";
  41. &nbsp; &nbsp;}
  42. &nbsp; &nbsp;closetable();
  43. } else {
  44. &nbsp; &nbsp;$res = 0;
  45. &nbsp; &nbsp;if (!isNum($cat_id)) fallback(FUSION_SELF);
  46. &nbsp; &nbsp;$result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE download_cat_id='$cat_id'");
  47. &nbsp; &nbsp;if (dbrows($result) != 0) {
  48. &nbsp; &nbsp;&nbsp; &nbsp;$cdata = dbarray($result);
  49. &nbsp; &nbsp;&nbsp; &nbsp;if (checkgroup($cdata['download_cat_access'])) {
  50. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;$res = 1;
  51. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;opentable($locale['400'].": ".$cdata['download_cat_name']);
  52. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;$rows = dbcount("(*)", "downloads", "download_cat='$cat_id'");
  53. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0;
  54. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if ($rows != 0) {
  55. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;$result = dbquery("SELECT * FROM ".$db_prefix."downloads WHERE download_cat='$cat_id' ORDER BY ".$cdata['download_cat_sorting']." LIMIT $rowstart,15");
  56. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;$numrows = dbrows($result); $i = 1;
  57. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;while ($data = dbarray($result)) {
  58. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if ($data['download_datestamp']+604800 > time()+($settings['timeoffset']*3600)) {
  59. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;$new = " <span class='small'>".$locale['410']."</span>";
  60. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;} else {
  61. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;$new = "";
  62. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}
  63. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;echo "<table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'>\n";
  64. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;echo "<tr>\n<td colspan='3' class='forum-caption'><b>".$data['download_title']."</b> $new</td>\n</tr>\n";
  65. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if ($data['download_description'] != "") echo "<tr>\n<td colspan='3' class='tbl1'>".nl2br(stripslashes($data['download_description']))."</td>\n</tr>\n";
  66. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;echo "<tr>\n<td width='30%' class='tbl2'><b>".$locale['411']."</b> ".$data['download_license']."</td>\n<td width='30%' class='tbl1'><b>".$locale['412']."</b> ".$data['download_os']."</td>\n";
  67. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;echo "<td width='40%' class='tbl2'><b>".$locale['413']."</b> ".$data['download_version']."</td>\n</tr>\n<tr>\n<td width='30%' class='tbl2'><b>".$locale['414']."</b> ".showdate("%d.%m.%y", $data['download_datestamp'])."</td>\n";
  68. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;echo "<td width='30%' class='tbl1'><b>".$locale['415']."</b> ".$data['download_count']."</td>\n<td width='40%' class='tbl2'><a href='".FUSION_SELF."?cat_id=$cat_id&download_id=".$data['download_id']."' target='_blank'>".$locale['416']."</a> (".$data['download_filesize'].")</td>\n</tr>\n";
  69. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;echo "</table>\n";
  70. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if ($i != $numrows) { echo "<div align='center'><img src='".THEME."images/blank.gif' alt='' height='15' width='1'></div>\n"; $i++; }
  71. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}
  72. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;closetable();
  73. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if ($rows > 15) echo "<div align='center' style='margin-top:5px;'>\n".makePageNav($rowstart,15,$rows,3,FUSION_SELF."?cat_id=$cat_id&")."\n</div>\n";
  74. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;} else {
  75. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;echo $locale['431']."\n";
  76. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;closetable();
  77. &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}
  78. &nbsp; &nbsp;&nbsp; &nbsp;}
  79. &nbsp; &nbsp;}
  80. &nbsp; &nbsp;if ($res == 0) redirect(FUSION_SELF);
  81. }
  82.  
  83. require_once "side_right.php";
  84. require_once "footer.php";
  85. ?>




Redagavo Paranoja 2008-02-25 07:04
 
PM
Pirated
#8 Spausdinti pranešimą
parašyta 2008-02-24 21:22
Naujokas



Reputacija: 0

Pranešimai: 23
Įstojo: 2007-08-27

Na jai galit tada atsakykit ir man o kaip padaryt kad visi matytu visas download kategorijas ir siuntinius o paspaudus ant siustis ji perkeltu i registracijos puslapi ? ;)
 
PM
Paranoja
#9 Spausdinti pranešimą
parašyta 2008-02-25 06:58
Vartotojo avataras

Draugas



Reputacija: 0

Pranešimai: 302
Įstojo: 2007-06-12

Dl kategorijos ne?inau , bt straipsniai pasakyiau , o jei nori , kad iejus y siuntinius mest registracij susirask eilut :
Download source  Code
if (!iMEMBER) fallback(\"nariams.php\");


ir keisk
Download source  Code
if (!iMEMBER) fallback(\"register.php\");



Redagavo Paranoja 2008-02-25 07:03
 
PM
Pirated
#10 Spausdinti pranešimą
parašyta 2008-02-25 11:43
Naujokas



Reputacija: 0

Pranešimai: 23
Įstojo: 2007-08-27

hm as maciau vienam puslapije buvo taip padaryta, aciu paranoja bent uz tai ;)
 
PM
lifegame
#11 Spausdinti pranešimą
parašyta 2008-11-01 19:47
Naujokas



Reputacija: 0

Pranešimai: 2
Įstojo: 2007-04-22

kestutis para?:
Kuirioje vietoje ant "downloads.php" reikia ideti if member koda kad sveciai negaletu siustis ir matyti visu siuntiniu.



o kaip uzsideti nariams.php ant forumo??
 
PM
Peršokti į forumą: