Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - milance

Pages: [1]
1
Pozdrav svima. Dali neko zna da namesti ovo da funkcionise ako je kompatibilno sa 4images 1.7.11.
Topic: [REQ}User promoted to usergroup after xx uploads? [SOLVED with details]
http://www.4homepages.de/forum/index.php?topic=17237.0

Hvala

2
Bosnian/Croatian/Serbian & Slovenian / Instalacija nove 4images problem
« on: September 05, 2010, 11:30:56 AM »
Zdravo!
Imam ovaj problem pri instalaciji bez ikakvih promena u fajlovima od nove 4images.
Fatal error: Call to undefined function: date_default_timezone_set() in /*********************/install.php on line 107
A modifikovao sam moju postojecu 1.7.7 i dok ne izbrisem u config.php date_default_timezone_set('CET'); ni ona ne funkcionise t.j ne otvara index. Zato sam mislio da instaliram novu scriptu pa da vidim razlike u tablama mysql i da prekopiram u postojecu 1.7.7 medjutim ni to ne radi sto sam vec rekao na pocetku.
Hvala

3
Bosnian/Croatian/Serbian & Slovenian / Zastita od kopiranja
« on: February 07, 2009, 08:17:41 PM »
Zdravo Nicky
Sta da radim da zaustavim ovako nesto molim te ako mozes pomoci. Hvala
moj sajt : www.midi-matrix.com
hack : http://srybsko-midi.hit.bg/

4
Bosnian/Croatian/Serbian & Slovenian / Dreamboard pretraga
« on: March 22, 2008, 07:41:27 PM »
Hteo bih da pitam u vezi Dreamboard_a dali je moguce nekako postaviti pretragu na forumu ?  :(

5
Bosnian/Croatian/Serbian & Slovenian / 4images prevodi
« on: November 20, 2007, 10:33:48 PM »
Pozdrav svima evo mislim da bi ovaj post trebao da se nalazi ovde pa bih postavio link  :wink:
http://www.4homepages.de/forum/index.php?topic=14792.msg83089#msg83089

6
Discussion & Troubleshooting / Integration zip viewer to 4images !
« on: November 09, 2005, 11:09:41 PM »
How to integrate zip viewer to 4images ???
Thank you..
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/template/media/zip.html

Fatal error: Cannot redeclare msdos_time_to_unix() (previously declared in /var/www/free.fr/x/x/name/includes/template.php(101) : eval()'d code:35) in /var/www/free.fr/x/x/name/includes/template.php(101) : eval()'d code on line 35
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Code: [Select]
<?php 
/*************************************************************************** 
 *                                   zip.php 
 *                            ------------------- 
 *   begin                : Saturday', Mar 08', 2003 
 *   copyright            : ('C) 2002-03 Bugada Andrea 
 *   email                : phpATM@free.fr 
 * 
 *   $Id: zip.php, v1.12 2003/03/09 11:53:50 bugada Exp $ 
 * 
 * 
 ***************************************************************************/ 

/*************************************************************************** 
 * 
 *   This program is free software; you can redistribute it and/or modify 
 *   it under the terms of the GNU General Public License as published by 
 *   the Free Software Foundation; either version 2 of the License', or 
 *   ('at your option) any later version. 
 * 
 ***************************************************************************/ 

// 
// VIEWER VARIABLES SET 
// ------------------------------------------------------------------------------------------ 
// $current_dir: contains the directory (absolute path) of the file to be showed 
// $directory:   contains the directory (relative to upload folder) of the file to be showed 
// $filename:    contains the filename to be showed 
// 


// 
// Converte il formato della data da dos a unix 
// 
function msdos_time_to_unix($DOSdate$DOStime

   $year = (($DOSdate 65024) >> 9) + 1980
   $month = ($DOSdate 480) >> 5
   $day = ($DOSdate 31); 
   $hours = ($DOStime 63488) >> 11
   $minutes = ($DOStime 2016) >> 5
   $seconds = ($DOStime 31) * 2
   return mktime($hours$minutes$seconds$month$day$year); 


// 
// Elenca il contenuto di un file zip 
// 
function list_zip($filename

   global $bordercolor$headercolor$tablecolor$font$headerfontcolor
   global $normalfontcolor$datetimeformat$mess

   $fp = @fopen($filename,'rb'); 
   if (!$fp
   
      return; 
   
   fseek($fp, -22SEEK_END); 

   // Get central directory field values 
   $headersignature 0
   do 
   

      // Search header 
      $data fread($fp22); 
      list($headersignature,$numberentries$centraldirsize$centraldiroffset) = 
         array_values(unpack('Vheadersignature/x6/vnumberentries/Vcentraldirsize/Vcentraldiroffset'$data)); 

      fseek($fp, -23SEEK_CUR); 
   } while (($headersignature != 0x06054b50) && (ftell($fp) > 0)); 

   if ($headersignature != 0x06054b50
   
      echo "<p><font face=\"$font\" size=\"3\" color=\"$normalfontcolor\">$mess[45]</font></p>"
      fclose($fp); 
      return; 
   

   // Go to start of central directory 
   fseek($fp$centraldiroffsetSEEK_SET); 

   // Read central dir entries 
   echo "<p><font face=\"$font\" size=\"3\" color=\"$normalfontcolor\">$mess[46]</font></p>"
   echo "<p><table border=\"0\" width=\"90%\" bgcolor=\"$bordercolor\" cellpadding=\"4\" cellspacing=\"1\">"
   echo "<tr bgcolor=\"$headercolor\"> 
   <td> 
      <b><font face=\"
$font\" size=\"2\" color=\"$headerfontcolor\">$mess[15]</font></b> 
   </td> 
   <td> 
      <b><font face=\"
$font\" size=\"2\" color=\"$headerfontcolor\">$mess[17]</font></b> 
   </td> 
   <td> 
      <b><font face=\"
$font\" size=\"2\" color=\"$headerfontcolor\">$mess[47]</font></b> 
   </td> 
   </tr>"


   for ($i 1$i <= $numberentries$i++) 
   
      // Read central dir entry 
      $data fread($fp46); 
      list($arcfiletime,$arcfiledate,$arcfilesize,$arcfilenamelen,$arcfileattr) = 
         array_values(unpack("x12/varcfiletime/varcfiledate/x8/Varcfilesize/Varcfilenamelen/x6/varcfileattr"$data)); 
      $filenamelen fread($fp$arcfilenamelen); 

      $arcfiledatetime msdos_time_to_unix($arcfiledate$arcfiletime); 

      echo "<tr bgcolor=\"$tablecolor\">"

      // Print FileName 
      echo '<td>'
      echo "<font face=\"$font\" size=\"1\" color=\"$normalfontcolor\">"
      if ($arcfileattr == 16
      
         echo "<b>$filenamelen</b>"
      
      else 
      
         echo $filenamelen
      

      echo '</font>'
      echo '</td>'

      // Print FileSize column 
      echo "<td><font face=\"$font\" size=\"1\" color=\"$normalfontcolor\">"

      if ($arcfileattr == 16
         echo $mess[48]; 
      else 
         echo $arcfilesize ' bytes'

      echo '</td></font>'

      // Print FileDate column 
      echo "<td><font face=\"$font\" size=\"1\" color=\"$normalfontcolor\">"
      echo date($datetimeformat$arcfiledatetime); 
      echo '</td></font>'
      echo '</tr>'
   
   echo '</table></p>'
   fclose($fp); 
   return



// 
// START OF VIEWER MAIN CODE 
// 
echo "<html>\n"
echo 
"<head><title></title></head>\n"
echo 
"<body>\n"
echo 
"<center>\n"
list_zip("{media_src}"); 
echo 
"{media_icon}</center>\n"
echo 
"</body>\n"
echo 
"</html>\n"
?>


Pages: [1]