 Mo. 29.08.2005
                        14:11 Uhr
                       
                    #1
                        Mo. 29.08.2005
                        14:11 Uhr
                       
                    #1
                  
                
                     
                    
                        
                            - Registriert seit
- 26.08.2005
- Beiträge
- 6
- Beitragswertungen
 
  
                  
              
            
                
                    Tja es is mal wieder so weit picofx will net so wie ich will   wenn ich es installiere und draufmache er scheint über dem bild diese zeilen:
Notice: Undefined variable: picofxOpts in /usr/export/www/vhosts/funnetwork/hosting/xray394/include/boxes/picofx.php on line 18
Notice: Undefined variable: picofxOpts in /usr/export/www/vhosts/funnetwork/hosting/xray394/include/boxes/picofx.php on line 18
Notice: Undefined variable: picofxOpts in /usr/export/www/vhosts/funnetwork/hosting/xray394/include/boxes/picofx.php on line 26
Notice: Undefined variable: picofxOpts in /usr/export/www/vhosts/funnetwork/hosting/xray394/include/boxes/picofx.php on line 26
Notice: Undefined variable: picofxOpts in /usr/export/www/vhosts/funnetwork/hosting/xray394/include/boxes/picofx.php on line 26
Notice: Undefined variable: picofxOpts in /usr/export/www/vhosts/funnetwork/hosting/xray394/include/boxes/picofx.php on line 26
Notice: Undefined variable: picofxOpts in /usr/export/www/vhosts/funnetwork/hosting/xray394/include/boxes/picofx.php on line 26
Notice: Undefined variable: picofxOpts in /usr/export/www/vhosts/funnetwork/hosting/xray394/include/boxes/picofx.php on line 26
Notice: Undefined variable: picofxOpts in /usr/export/www/vhosts/funnetwork/hosting/xray394/include/boxes/picofx.php on line 26
Notice: Undefined variable: picofxOpts in /usr/export/www/vhosts/funnetwork/hosting/xray394/include/boxes/picofx.php on line 26
Notice: Undefined index: interval in /usr/export/www/vhosts/funnetwork/hosting/xray394/include/boxes/picofx.php on line 38
Zuletzt geändert von Xray394 am 02.09.2005 - 19:19
                
 
                   
                
              
             
        
        
        
            
                
                
                    
                         Mo. 29.08.2005
                        18:33 Uhr
                       
                    #2
                        Mo. 29.08.2005
                        18:33 Uhr
                       
                    #2
                  
                
                     
                    
                        
                            - Registriert seit
- 26.08.2005
- Beiträge
- 6
- Beitragswertungen
 
  
                  
              
            
                
                    und dass hier isses php: 
<?php
## geändert by .:-b2k-:. | dRpR0fF35s0r 
defined ('main') or die ( 'no direct access' );
  echo '<table width="100%" border="0" cellpadding="2" cellspacing="0"><tr><td align="center">';
$svResult = db_query('SELECT * FROM prefix_allg WHERE k = 'picofx'');
    while($saRow = db_fetch_assoc($svResult))
    {
        $picofxOpts[$saRow['v1']] = $saRow['v2'];
    }
    
    $picofxNow = date('Y-m-d');
    // pruefen ob das bild gewechselt werden muss.
    
    if($picofxOpts['nextchange'] == $picofxNow || $picofxOpts['nextchange'] < $picofxNow)
    {
        // verzeichnis oeffnen um dateinamen einzulesen
        $picofxDHandle = opendir ('./include/images/pics/');
        $picofxRandList = array();
        
        while (false !== ($file = readdir ($picofxDHandle)))
        {
            if ($file != '.' && $file != '..' && strpos($file, $picofxOpts['directory'] .'_') !== false && strpos($file, '.', 1) && strpos($file, '_thumb_') === false && strpos($file, '.txt') === false) 
            {
                $picofxRandList[] = $file;
            }
        }
        // zufallszahl fuer den index des $picofxRandList array generieren um damit
        // das naechste zufaellige bild auszuwaehlen
        
        srand ((double)microtime()*1000000);
        $picofxOpts['pic'] = $picofxRandList[rand(0, count($picofxRandList) - 1)];
        
        $picofxNextChange = date('Y-m-d', time() + 3600 * 24 * $picofxOpts['interval']);
        
        // geaendertes pic in db speichern
        db_query('UPDATE prefix_allg SET v2 = ''. $picofxOpts['pic'] .'' WHERE k = 'picofx' AND v1 ='pic' LIMIT 1');
        db_query('UPDATE prefix_allg SET v2 = ''. $picofxNextChange .'' WHERE k = 'picofx' AND v1 ='nextchange' LIMIT 1');
    }
    $picofxt = explode('_', $picofxOpts['pic']);
    $picofxThumb = implode('_', $picofxt);
    $galpos = strpos ($picofxThumb, "_");
    $galord = substr($picofxThumb, 0, $galpos);
    $galpic = $galord."_".substr($picofxThumb, $galpos + 1);
    $galpic = str_replace("_small", "", $galpic);
    $galink = "?m=picofx&um=showimg&category=$galord&img=$galpic";
    echo '
    <a href="'.$galink.'">
    <img src="include/images/pics/'.$picofxThumb.'" width="120" height="150" alt="" border=0>
    </a>';
  echo '</td></tr></table>';
?>
Zuletzt geändert von Xray394 am 29.08.2005 - 18:39
                
 
                   
                
              
             
        
        
        
            
                
                
                    
                         Mi. 31.08.2005
                        22:50 Uhr
                       
                    #3
                        Mi. 31.08.2005
                        22:50 Uhr
                       
                    #3
                  
                
                     
                    
                        
                            - Registriert seit
- 26.08.2005
- Beiträge
- 6
- Beitragswertungen
 
  
                  
              
            
                
                    kann mir denn keiner helfen?
                
 
                   
                
              
             
        
        
        
            
                
                
                    
                         So. 04.09.2005
                        20:27 Uhr
                       
                    #4
                        So. 04.09.2005
                        20:27 Uhr
                       
                    #4
                  
                 
              
            
                
                    ich habe leider das selbe problem
                
 
                   
                
              
             
        
        
        
            
                
                
                    
                         Do. 08.09.2005
                        16:47 Uhr
                       
                    #5
                        Do. 08.09.2005
                        16:47 Uhr
                       
                    #5
                  
                
                     
                    
                        
                            - Registriert seit
- 26.08.2005
- Beiträge
- 6
- Beitragswertungen
 
  
                  
              
            
                
                    könnte es daran liegen das ich bei funpic meinen webserver habe?
                
 
                   
                
              
             
        
        
        
            
                
                
                    
                         Fr. 09.09.2005
                        05:08 Uhr
                       
                    #6
                        Fr. 09.09.2005
                        05:08 Uhr
                       
                    #6
                  
                
                     
                    
                        
                            - Registriert seit
- 02.06.2003
- Beiträge
- 750
- Beitragswertungen
 
  
                  
              
            
                
                    Neue Version kommt in ca. 2 Wochen. Bis dahin bitte an den glorreichen Autor der aktuellen Version wende. (Kontakt muesste in der README stehen.)
                
 
                   
                
              
             
        
        
        
            
                
                
                    
                         Fr. 09.09.2005
                        07:07 Uhr
                       
                    #7
                        Fr. 09.09.2005
                        07:07 Uhr
                       
                    #7
                  
                 
              
            
                
                    oder 2 wochen warten gel???