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/markt/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">TOP-Angebote 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><br>
<?PHP

$rubriken_sql= mysql_query("SELECT name, nummer
                              FROM ".$dbtable00."
                          ORDER BY name ASC ");
while($ROW=mysql_fetch_row($rubriken_sql))
{
   $namekat= $ROW[0];
   $nummer=  $ROW[1];

   // Eintr&auml;ge z&auml;hlen --------------------------------------
   $eintragzahl_sql= mysql_query("SELECT COUNT(*) as 'anzahl'
                                          FROM ".$dbtable02."
                                         WHERE rubrik= '".$nummer."'
                                           AND code  ='1' ");
   $anzahl = mysql_result($eintragzahl_sql,0,'anzahl');
   if($anzahl== 0)
   {
      $dest ="";
      $dest2="";
   }
   else
   {
      $dest= '<span class="alert">';
      $dest2='</span>';
   }
   echo '<table cellspacing="0" cols="2" cellpadding="0" width="100%" border="0" height="20">
            <tr>
              <td width="85%">
                <div align="left" class="einsa">
               <a href="linkliste.php?rubrik='.$nummer.'" class="grey1">'.$namekat.'</a> ('.$dest.$anzahl.$dest2.')</div>
              </td>
            </tr>
          </table>';
}

if($top_anzeigen_menu == "ja")
{
   echo '<span class="einsa"><br><br><b>TOP-Anzeigen...</b><br>aus allen Rubriken</span><br><br>';

   $queryx="";
   if($top_anzeigen_status ==1 && $mainstatus == "com")
   {
      $queryx=" AND commerz= 'ja' ";
   }
   if($goo_ads1 !="ja")
   {
      $top_anz = 10;
   }
   else
   {
      $top_anz = 5;
   }
   $top_kategorie_sql= mysql_query("SELECT siteid, preis, artikel, intention, art, land
                                      FROM ".$dbtable02."
                                     WHERE code='1'
                                         ".$queryx."
                                       AND bild ='1'
                                  ORDER BY rand() LIMIT ".$top_anz." ");
   while($ROW=mysql_fetch_row($top_kategorie_sql))
   {
      $ROWi = mysql_fetch_row(mysql_query("SELECT bildname
                                             FROM ".$dbtable15."
                                            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 = $bildmain.$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="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>';
   }
}
// Menurechts Google ads --------------------------------------------------
if ($goo_ads1 =="ja")
{
?>
<br><br><center>
<?PHP
   echo '
<script type="text/javascript">
<!--
google_ad_client = "'.$goo_adcode.'";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "'.$goo_color1.'";
google_color_bg = "'.$goo_color1.'";
google_color_link = "'.$goo_color.'";
google_color_text = "646464";
google_color_url = "'.$goo_color.'";
//-->
</script>';
?>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><br>
<?PHP
}
?>