HEX
Server: Apache/2.4.25 (Debian)
System: Linux server17 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User: web37 (1062)
PHP: 7.4.30
Disabled: show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, disk_total_space, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen
Upload Files
File: /var/www/web37/htdocs/websuche/katalog/inc/menurechts.php
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%">
   <tr>
      <td align="left" width="85%" class="einsa"><b>Newsletter abonnieren</b></td>
      <td  width="15%"><a href="./newsletter.php"><img src="./gfx/info.gif" width="15" height="17" border="0" alt="Mehr Infos zu unserem Newsletter" title="Mehr Infos zu unserem Newsletter"></a></td>
   </tr>
      <tr>
      <td height="5">
   </tr>
   <tr>
      <td align="left" width="80%" colspan="2" class="einsa">Die neusten Infos per eMail?</td>
   </tr>

   <tr>
      <td align="left" colspan= "2" class="einsa">eMail-Adresse eintragen...</td>
   </tr>
   </tr>
      <tr>
      <td height="5">
   </tr>
</table>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%">
   <tr>
   <form name="newsabo" action="newsabo.php" method="post">
      <td width="30%" class="einsb"><input type="text" name="mail" size="17" maxlength="150" value=""></td>
      <td width="10%" class="einsb"><input type="submit" class="submit" value="Los">
      </td>
   </form>
  </tr>
</table>
<?PHP
$top_anzeigen_menu = "ja";
if($top_anzeigen_menu == "ja")
{
   $top_kategorie_sql= mysql_query("SELECT siteid, preis, artikel, intention, art, land
                                      FROM ".$dbtable40."
                                     WHERE code='1'
                                       AND bild ='1'
                                  ORDER BY rand() LIMIT 5 ");
   if(mysql_num_rows($top_kategorie_sql) >=1)
   {
      echo '<span class="einsa"><br><br><b>TOP-Anzeigen...</b><br>aus unserem Anzeigenmarkt.</span><br><br>';
      while($ROW=mysql_fetch_row($top_kategorie_sql))
      {
         $ROWi = mysql_fetch_row(mysql_query("SELECT bildname
                                                FROM ".$dbtable41."
                                               WHERE annonce= '".$ROW[0]."' "));
         $bild=      $ROWi[0];
         $id=        $ROW[0];
         $preis=     $ROW[1];
         $artikel=   $ROW[2];
         $myint=     $ROW[3];
         $art=       $ROW[4];
         $myland=    $ROW[5];

         if($preis !="") { $preis = preisformat($preis); }
         $artikel = html_entity_decode($artikel);

         $mylandinfo ="";
         if($dreilaender =="ja")
         {
            if($myland ==1)
            {
               $mylandinfo = '<IMG SRC="./gfx/DE.gif" width="18" height="12" border="0" alt="">';
            }
            elseif($myland ==2)
            {
               $mylandinfo = '<IMG SRC="./gfx/AU.gif" width="18" height="12" border="0" alt="">';
            }
            elseif($myland ==3)
            {
               $mylandinfo = '<IMG SRC="./gfx/CH.gif" width="18" height="12" border="0" alt="">';
            }
         }
         if (strlen($artikel)>= 16)
         {
            $artikel = wordwrap($artikel, 15, "\n", 1);
         }
         $bild = '../markt/bilder/'.$bild;
         $bild = '<IMG SRC="tumbs.php?nb=56&bild='.$bild.'" width="56" border="0" alt="Anzeige lesen">';
         if($myint =="Suche")
         {
            if($preis != 0)
            {
               $anzeigen_ausgabe ='<b>Suche:</b><br>'.$artikel;
               $preis_ausgabe ='<b>Bis: '.$currency.' </b><span class="alert"><b>'.$preis.'</b></span>';
            }
            else
            {
               $anzeigen_ausgabe = '<b>Suche:</b><br>'.$artikel;
               $preis_ausgabe ='';
            }
         }
         elseif ($myint =="Biete")
         {
            if($preis != 0)
            {
               $anzeigen_ausgabe = '<b>Biete:</b><br>'.$artikel;
               $preis_ausgabe ='<b>'.$currency.' </b><span class="alert"><b>'.$preis.'</b></span>';
            }
            else
            {
               $anzeigen_ausgabe = '<b>Biete:</b><br>'.$artikel;
               $preis_ausgabe ='';
            }
         }
         elseif($myint =="Tausche")
         {
            $anzeigen_ausgabe ='<b>Tausche:</b><br>'.$artikel;
            $preis_ausgabe ="";
         }
         elseif($myint =="Verschenke")
         {
            $anzeigen_ausgabe ='<b>Verschenke:</b><br>'.$artikel;
            $preis_ausgabe ="";
         }
         elseif($myint == "Dienstleistung")
         {
            if($preis != 0)
            {
               $anzeigen_ausgabe ='<b>'.$art.' '.$dienstl.':</b><br>'.$artikel;
               $preis_ausgabe ='<b>'.$currency.' </b><span class="alert"><b>'.$preis.'</b></span>';
            }
            else
            {
               $anzeigen_ausgabe ='<b>'.$art.' '.$dienstl.':</b><br>'.$artikel;
               $preis_ausgabe ='';
            }

         }
         echo '<center><table cellspacing="2" cellpadding="2" width="100%" border="0" height="20" class="nopraemium">
              <tr>
                <td width="38%" valign="top" align="center">
                   <a href="../markt/anzeige.php?id='.$id.'">'.$bild.'</a><br>'.$mylandinfo.'
                </td>
                <td width="62%" valign="top" align="left" class="klein">'.$anzeigen_ausgabe.'<br>'.$preis_ausgabe.'
                </td>
              </tr>
            </table>
            <table cellspacing="2" cellpadding="2">
               <tr>
                 <td colspan=2>
                 </td>
               </tr>
            </table></center>';
      }
   }
}
?>
<br>
<?PHP
 // Menurechts Google ads --------------------------------------------------
if ($goo_ads =="ja")
{
?>
<br><center><script type="text/javascript">
<!--
<?PHP echo $goo_adcode ?>
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><br><br>
<?PHP
}
if ($show_url =="rechts")
{
   echo '<span class="einsa"><b> '.$show_url_text.'</b><br>';
   // Querry zusammenstellen -----------------------------------------------------------------
   // Die letzten Anmeldungen
   if ($show_url_status ==20) { $querryx =" AND commerz='ja' ORDER BY siteid DESC LIMIT ".$show_url_zahl." "; }
   if ($show_url_status ==10) { $querryx =" ORDER BY siteid DESC LIMIT 10 "; }
   // Die meisten Besucher
   if ($show_url_status ==21) { $querryx =" AND commerz='ja' ORDER BY besucher DESC LIMIT ".$show_url_zahl." "; }
   if ($show_url_status ==11) { $querryx =" ORDER BY besucher DESC LIMIT 10 "; }
   // Die besten Bewertungen
   if ($show_url_status ==22) { $querryx =" AND commerz='ja' ORDER BY userb DESC LIMIT ".$show_url_zahl." "; }
   if ($show_url_status ==12) { $querryx =" ORDER BY userb DESC LIMIT ".$show_url_zahl." "; }
   // NUR Seiten die einen Backlink gesetzt haben
   if ($show_url_status ==33) { $querryx =" AND commerz='ja' AND backlink='ja' ORDER BY rand() LIMIT ".$show_url_zahl." "; }
   // NUR Premiumseiten in ROTATION
   if ($show_url_status ==44) { $querryx =" AND commerz='ja' ORDER BY rand() LIMIT ".$show_url_zahl." "; }

   $show_url_sql= mysql_query("SELECT name, url
                                 FROM ".$dbtable02."
                                WHERE code='1'
                                      ".$querryx." ");
   while($ROW=mysql_fetch_row($show_url_sql))
   {
      $show_name = $ROW[0];
      $show_url  = $ROW[1];

      $show_1 = array('http://', 'HTTP://', 'https://', 'HTTPS://', 'www.', 'WWW.');
      $show_2 = array('', '', '', '', '', '');
      $show2_url = str_replace($show_1, $show_2, $show_url);
      if (strlen($show2_url)> 23)
      {
         $show2_url= substr($show2_url,0,15);
         $show2_url= $show2_url."...";
         // $show2_url= StringCut($show2_url,23);
      }
      echo '<span class="einsa"> &nbsp;&nbsp;&raquo;</span> <a href="'.$show_url.'" target="_blank" class="menu2" title="'.$show_name.'">'.$show2_url.'</a><br>';
   }
}
// Werbebuttons -------------------------------------------------------------
if ($but_on =="ja")
{
   echo'<br><center>'.$werbe_button1.'<BR><BR>'.$werbe_button2.'<BR><BR>'.$werbe_button3.'</center><br><br>';
}
?>