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/menurechts33.php
<span class="einsa"><b>TOP-Angebote</b> Rubrik:<br>&quot;<i><?PHP echo $kategoname ?></i>&quot;</span><br><br>
<?PHP

if($top_anzeigen_menu == "ja")
{
   $queryx="";
   if($top_anzeigen_status ==1 && $mainstatus == "com")
   {
      $queryx=" AND commerz= 'ja' ";
   }
   if($goo_ads =="ja")
   {
      $top_anz = 5;
   }
   else
   {
      $top_anz = 10;
   }
   $top_kategorie_sql= mysql_query("SELECT siteid, preis, artikel, intention, art, land
                                      FROM ".$dbtable02."
                                     WHERE rubrik= '".$ruuub."'
                                       AND unterrubrik='".$uruuub."'
                                           ".$queryx."
                                       AND bild='1'
                                       AND code='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)>= 14)
      {
         $artikel = wordwrap($artikel, 13, "\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">
            <tbody>
              <tr>
                <td width="38%" valign="top" align="center">
                   <a href="anzeige.php?id='.$id.'">'.$bild.'<br>'.$mylandinfo.'</a>
                </td>
                <td width="62%" valign="top" align="left" class="klein">'.$anzeigen_ausgabe.'<br>'.$preis_ausgabe.'
                </td>
              </tr>

            </tbody>
         </table>
         <table cellspacing="2" cellpadding="2">
            <tr>
              <td colspan=2>
              </td>
            </tr>
         </table></center>';
   }
}
 // Menurechts Google ads --------------------------------------------------
if ($goo_ads =="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
}
?>