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/topbewertung.php
<?PHP
include "./inc/config.inc.php";
include "./inc/systemeinstellungen.php";
include "./inc/de.php";
include "./system/funktionen.php";
$startzeit = getmicrotime();
db();
$ausgabe ="";
// ----------------------------------------------------
if(isset($_GET['snnr'])) { $snnr = $_GET['snnr']; }
if(isset($_GET['tffz'])) { $tffz = $_GET['tffz']; }
if($tffz=="") { $tffz= 0; } $tffzx= $tffz*$t_pr;
if($snnr=="") { $snnr= 0; } $snnr=$tffzx;
$limitx = $tffzx.",".$t_pr;
// ----------------------------------------------------
$seitentitel= PROJEKT_TITEL1." - ".PROJEKT_TITEL2." - die am besten bewerteten Eintr&auml;ge aus unserem Webkatalog";

$anzeige="";
$tr= 0;
// Eintr&auml;ge z&auml;hlen --------------------------------------------
$eintraege_anzahl_sql= mysql_query("SELECT COUNT(*) as 'anzahl'
                                      FROM ".$dbtable02."
                                     WHERE userb >'7'
                                       AND code='1' ");
$tr = mysql_result($eintraege_anzahl_sql,0,'anzahl');

if ($tr == 0)
{
   $notop="<br><br><br><center>Zur Zeit sind keine Eintr&auml;ge in der TOP-Liste vorhanden</center>";
}
elseif($tr>= 1)
{
   $notop="";
   $ausgabex ="";
   $_tz= $tr / $t_pr; $_tz= ceil($_tz);
   $eintrag_daten_sql= mysql_query("SELECT *
                                      FROM ".$dbtable02."
                                     WHERE userb >'7'
                                       AND code='1'
                                  ORDER BY commerz ASC , userb DESC LIMIT ".$limitx);
   while($ROW=mysql_fetch_assoc($eintrag_daten_sql))
   {
      $siteid=     $ROW['siteid'];
      $datex=      $ROW['datum'];
      $art=        $ROW['artikel'];
      $image=      $ROW['adminb'];
      $name=       $ROW['name'];
      $bzahl=      $ROW['bzahl'];
      $besucher=   $ROW['besucher'];
      $seiten_urlx= $ROW['url'];
      $datas= date("d.m.Y");

      $moretext='<a href="./webkatalog.php?siteid='.$siteid.'" class="content"><IMG HEIGHT=19 WIDTH=20 SRC="./gfx/lesen.gif" VSPACE=0 HSPACE=0 ALIGN="BOTTOM" BORDER=0 ALT="Eintrag lesen.." title="Eintrag lesen.."></a>';



      $beschreibung= strip_tags($ROW['beschreibung']);
      $beschreibungx= StringCut($beschreibung,$zeilenlaenge_text);
      if ($datex == $datas)
      {
          $ordner= "<IMG HEIGHT=9 WIDTH=30 SRC=\"./gfx/neu.gif\" VSPACE=0 HSPACE=0 ALIGN=\"BOTTOM\" BORDER=0 ALT=\"\">";
      }
      else
      {
          $ordner= "";
      }
      if ($no_picture == "ja")
      {
            if (trim($image) =="" || trim($image) == "http://")
            {
               $width_0="25%";
               $width_1="75%";
               $image  ='<img src="./gfx/nopic.gif" border="0" width="120">';
            }
            else
            {
               $bsize = @getimagesize($image);
               if($bsize[0] == 0)
               {
                  $width_0="25%";
                  $width_1="75%";
                  $image  ='<img src="./gfx/nopic.gif" border="0" width="120">';
               }
               else
               {
                  $width_0="25%";
                  $width_1="75%";
                  $image  ='<img src="'.$image.'" border="0" width="120">';
               }
            }
      }
      else
      {
            if (trim($image) =="" || trim($image) == "http://")
            {
               $width_0="0%";
               $width_1="100%";
               $image  ="";
            }
            else
            {
               $bsize = @getimagesize($image);
               if($bsize[0] == 0)
               {
                  $width_0="0%";
                  $width_1="100%";
                  $image  ="";
               }
               else
               {
                  $width_0="25%";
                  $width_1="75%";
                  $image  ='<img src="'.$image.'" border="0" width="120">';
               }
            }
      }
      $language= $ROW['language'];
      $snnr++;
      $bewertung= round($ROW['userb']);
      $premium=  $ROW['commerz'];

      $premiumtable1="<table cellpadding=\"3\" width=\"100%\"><tr><td class=\"nopraemium\">";
      $premiumtable2="</td></tr></table><table cellpadding=\"0\" width=\"100%\"><tr><td height=4><tr><td height=4></td></tr></table>";
      $prebutton=    "<IMG HEIGHT=11 WIDTH=6 SRC=\"./gfx/buttcenter.gif\" BORDER=0 ALT=\"\">";
      if ($premium =="ja")
      {
         $premiumtable1="<table cellpadding=\"3\" width=\"100%\"><tr><td class=\"praemium\">";
         $premiumtable2="</td></tr></table><table cellpadding=\"0\" width=\"100%\"><tr><td height=4><tr><td height=4></td></tr></table>";
         $prebutton=    "<IMG HEIGHT=13 WIDTH=26 SRC=\"./gfx/starpre.gif\" BORDER=0 ALT=\"\">";
      }
      if ($bewertung=="8")
      {
         $bewert="<img src=\"./gfx/bew8.gif\" width=54 height=12 border=0";
      }
      elseif ($bewertung=="9")
      {
         $bewert="<img src=\"./gfx/bew9.gif\" width=54 height=12 border=0 ";
      }
      elseif ($bewertung=="10")
      {
         $bewert="<img src=\"./gfx/bew10.gif\" width=54 height=12 border=0";
      }
      $ausgabex= $premiumtable1." <table cellpadding=\"0\" width=\"100%\"><tr><td width=\"".$width_0."\" valign=\"top\" align=\"left\"><a href=\"".$seiten_urlx."\" target=\"_blank\" title=\"".$name."\">".$image."</a></td><td width=\"".$width_1."\" class=\"einsa\" valign=\"top\" align=\"left\"> ".$ordner." ".$prebutton." <a href=\"".$seiten_urlx."\" target=\"_blank\" class=\"content\" title=\"".$name."\">".$name."</a><br>".$beschreibungx."</td></tr></table><table cellpadding=\"0\" width=\"100%\"><tr><td class=\"einsa\">Datum: ".$datex." - Besucher: <b>".$besucher."</b> - Bewertung: ".$bewert."</td><td class=\"einsa\" align=\"right\">".$moretext."</td></tr></td></tr></table>".$premiumtable2;
      $ausgabe = $ausgabe.$ausgabex;
   }
   $blf= "topbewertung.php?snnr=".$snnr;
}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<TITLE><?PHP echo $seitentitel ?></TITLE>
<link rel="stylesheet" type="text/css" href="./system/<?PHP echo $design_typ ?>">
<?PHP include "./inc/meta.php"; ?>
<meta name="description" content="Die TOP-Eintr&auml;ge aus unserem Webkatalog, s&auml;mtliche Eintr&auml;ge werden nach Bewertung sortiert angezeigt...">
<script
language="JavaScript">
<!--
button1= new Image();
button1.src = "button_home.gif"
button2= new Image();
button2.src = "button_home2.gif"
//-->
</script>
</HEAD>
<BODY BACKGROUND="./gfx/back.gif" TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
    <CENTER>
    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=980 CLASS="back_x">
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD HEIGHT=749 WIDTH=980>
                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=980>
                <?PHP
                    $headerinfo= 'Sie befinden sich hier -->  &nbsp;&nbsp;TOP-Liste Bewertung';
                    include "./inc/header.php";
                    ?>

                    <TR VALIGN=TOP ALIGN=LEFT>
                        <TD HEIGHT=253 COLSPAN=2 WIDTH=190>
                            <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190 HEIGHT=253>
                                <TR ALIGN=LEFT VALIGN=TOP>
                                    <TD>
                                        <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190>
                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                <TD HEIGHT=2></TD>
                                            </TR>
                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                <TD WIDTH=190>
                                                    <P ALIGN=LEFT class="datum">
                                <?PHP echo $seitendatum ?></P>
                                                </TD>
                                            </TR>
                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                <TD HEIGHT=4></TD>
                                            </TR>
                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                <TD HEIGHT=216 WIDTH=190>
                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190 HEIGHT=216 class="menu_links">
                                                        <TR ALIGN=LEFT VALIGN=TOP>
                                                            <TD>
                                                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190>
                                                                    <TR VALIGN=TOP ALIGN=LEFT>
                                                                        <TD HEIGHT=22 COLSPAN=3 WIDTH=190>
                                                                            <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190 HEIGHT=22  class="menu_links_top">
                                                                                <TR ALIGN=LEFT VALIGN=TOP>
                                                                                    <TD>
                                                                                        <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=188>
                                                                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                                                                <TD WIDTH=4 HEIGHT=2><IMG SRC="./gfx/cpl.gif" WIDTH=4 HEIGHT=1 BORDER=0></TD>
                                                                                                <TD WIDTH=184><IMG SRC="./gfx/cpl.gif" WIDTH=184 HEIGHT=1 BORDER=0></TD>
                                                                                            </TR>
                                                                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                                                                <TD></TD>
                                                                                                <TD WIDTH=184>
                                                                                                    <P ALIGN=CENTER class="menuber"><?PHP echo $menuli_name ?></P>
                                                                                                </TD>
                                                                                            </TR>
                                                                                        </TABLE>
                                                                                    </TD>
                                                                                </TR>
                                                                            </TABLE>
                                                                        </TD>
                                                                    </TR>
                                                                    <TR VALIGN=TOP ALIGN=LEFT>
                                                                        <TD WIDTH=9 HEIGHT=9><IMG SRC="./gfx/cpl.gif" WIDTH=9 HEIGHT=1 BORDER=0></TD>
                                                                        <TD WIDTH=173><IMG SRC="./gfx/cpl.gif" WIDTH=173 HEIGHT=1 BORDER=0></TD>
                                                                        <TD WIDTH=8><IMG SRC="./gfx/cpl.gif" WIDTH=8 HEIGHT=1 BORDER=0></TD>
                                                                    </TR>
                                                                    <TR VALIGN=TOP ALIGN=LEFT>
                                                                        <TD></TD>
                                                                        <TD WIDTH=173>
                                                                            <P>

                                                                            <?PHP include "./inc/menulinks.php"; ?>


                                                </TD>
                                            </TR>
                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                <TD HEIGHT=16 WIDTH=190>
                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190 HEIGHT=16>
                                                        <TR ALIGN=LEFT VALIGN=TOP>
                                                            <TD>&nbsp;</TD>
                                                        </TR>
                                                    </TABLE>
                                                </TD>
                                            </TR>
                                        </TABLE>
                                    </TD>
                                </TR>
                            </TABLE>
                        </TD>
                        <TD COLSPAN=3 WIDTH=596>
                            <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=596 HEIGHT=453>
                                <TR ALIGN=LEFT VALIGN=TOP>
                                    <TD>
                                        <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=584>
                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                <TD WIDTH=11 HEIGHT=9><IMG SRC="./gfx/cpl.gif" WIDTH=11 HEIGHT=1 BORDER=0></TD>
                                                <TD></TD>
                                            </TR>
                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                <TD HEIGHT=30></TD>
                                                <TD WIDTH=573>
                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=573 HEIGHT=35>
                                                        <TR ALIGN=LEFT VALIGN=TOP>
                                                            <TD>
                                                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=572>

                                                                    <TR VALIGN=TOP ALIGN=LEFT>

                                                                        <TD class="einsa">
                                                                        <P>

                                                                        <br>Die TOP-Eintr&auml;ge aus unserem Webkatalog. <br>


                                                                        </P>
                                                                        </TD>

                                                                    </TR>
                                                                </TABLE>
                                                            </TD>
                                                        </TR>
                                                    </TABLE>
                                                </TD>
                                            </TR>

                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                <TD HEIGHT=10></TD>
                                                <TD WIDTH=573>
                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=573 HEIGHT=10 class="kategorien1">
                                                        <TR ALIGN=LEFT VALIGN=TOP>
                                                            <TD>
                                                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=573>
                                                                    <TR VALIGN=TOP ALIGN=LEFT>
                                                                        <TD WIDTH=1><IMG SRC="./gfx/cpl.gif" WIDTH=1 HEIGHT=1 BORDER=0></TD>
                                                                        <TD WIDTH=8><IMG SRC="./gfx/cpl.gif" WIDTH=8 HEIGHT=1 BORDER=0></TD>
                                                                        <TD WIDTH=554 class="einsa">
                                                                        <P>


                                                                        <br>Diese Eintr&auml;ge wurden von Besuchern mit mindestens <b>8</b> von <b>10</b> Punkten bewertet. <br>Eintr&auml;ge: <b><?PHP echo $tr ?></b> &nbsp;|&nbsp; zur&uuml;ck zum &nbsp;<IMG HEIGHT=11 WIDTH=6 SRC="./gfx/buttcenter.gif" VSPACE=0 HSPACE=0 ALIGN="bottom" BORDER=0 ALT=""><a href="index.php" class="menu2"> Index</a><br><br><?PHP echo $notop ?>
                                                                        <br><br><center><?PHP if($tr !=0) { $navi= page($blf); echo $navi; } ?></center><br>


<!--Index_start -->
<?PHP echo $ausgabe ?>
<!-- Index_ende -->
                                                                            <br><br><center><?PHP if($tr !=0) {  echo $navi; } ?></center><br>



                                                                            <br><br><br><center><a href="javascript:history.back()" class="backsite">Zur&uuml;ck</a><br><br></center>

                                                                            </P>
                                                                        </TD>
                                                                        <TD WIDTH=9><IMG SRC="./gfx/cpl.gif" WIDTH=9 HEIGHT=1 BORDER=0></TD>
                                                                        <TD WIDTH=1><IMG SRC="./gfx/cpl.gif" WIDTH=1 HEIGHT=1 BORDER=0></TD>
                                                                    </TR>
                                                                    <TR VALIGN=TOP ALIGN=LEFT>
                                                                        <TD COLSPAN=5 HEIGHT=15></TD>
                                                                    </TR>

                                                                    <TR VALIGN=TOP ALIGN=LEFT>
                                                                        <TD HEIGHT=41 COLSPAN=4 WIDTH=572>
                                                                            <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=572 HEIGHT=41 class="kategorien2">
                                                                                <TR ALIGN=LEFT VALIGN=TOP>
                                                                                    <TD>
                                                                                        <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=563>
                                                                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                                                                <TD WIDTH=20 HEIGHT=15><IMG SRC="./gfx/cpl.gif" WIDTH=20 HEIGHT=1 BORDER=0></TD>
                                                                                                <TD WIDTH=543 HEIGHT=15><IMG SRC="./gfx/cpl.gif" WIDTH=543 HEIGHT=1 BORDER=0></TD>
                                                                                            </TR>
                                                                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                                                                <TD></TD>
                                                                                                <TD WIDTH=543>
                                                                                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=543 HEIGHT=10>

                                                                                            <TR VALIGN=TOP ALIGN=CENTER>

                                                                                                    </TR>
                                                                                                  </table>
                                                                                                </TD>
                                                                                            </TR>
                                                                                        </TABLE>
                                                                                    </TD>
                                                                                </TR>
                                                                            </TABLE>
                                                                        </TD>
                                                                        <TD></TD>
                                                                    </TR>
                                                                </TABLE>
                                                            </TD>
                                                        </TR>
                                                    </TABLE>
                                                </TD>
                                            </TR>
                                        </TABLE>
                                    </TD>
                                </TR>
                            </TABLE>
                        </TD>
                        <TD COLSPAN=3 WIDTH=190>
                            <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190 HEIGHT=453>
                                <TR ALIGN=LEFT VALIGN=TOP>
                                    <TD>
                                        <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190>
                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                <TD HEIGHT=21></TD>
                                            </TR>
                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                <TD HEIGHT=400 WIDTH=190>
                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190 HEIGHT=400 class="menu_rechts">
                                                        <TR ALIGN=LEFT VALIGN=TOP>
                                                            <TD>
                                                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190>
                                                                    <TR VALIGN=TOP ALIGN=LEFT>
                                                                        <TD HEIGHT=22 COLSPAN=3 WIDTH=190>
                                                                            <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190 HEIGHT=22>
                                                                                <TR ALIGN=LEFT VALIGN=TOP>
                                                                                    <TD>
                                                                                        <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190>
                                                                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                                                                <TD HEIGHT=22 WIDTH=190>
                                                                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190 HEIGHT=22 class="menu_rechts_top">
                                                                                                        <TR ALIGN=LEFT VALIGN=TOP>
                                                                                                            <TD>
                                                                                                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=188>
                                                                                                                    <TR VALIGN=TOP ALIGN=LEFT>
                                                                                                                        <TD WIDTH=4 HEIGHT=2><IMG SRC="./gfx/cpl.gif" WIDTH=4 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                                                                        <TD WIDTH=184><IMG SRC="./gfx/cpl.gif" WIDTH=184 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                                                                    </TR>
                                                                                                                    <TR VALIGN=TOP ALIGN=LEFT>
                                                                                                                        <TD></TD>
                                                                                                                        <TD WIDTH=184>
                                                                                                                            <P ALIGN=CENTER class="menuber"><?PHP echo $menure_name ?></P>
                                                                                                                        </TD>
                                                                                                                    </TR>
                                                                                                                </TABLE>
                                                                                                            </TD>
                                                                                                        </TR>
                                                                                                    </TABLE>
                                                                                                </TD>
                                                                                            </TR>
                                                                                        </TABLE>
                                                                                    </TD>
                                                                                </TR>
                                                                            </TABLE>
                                                                        </TD>
                                                                    </TR>
                                                                    <TR VALIGN=TOP ALIGN=LEFT>
                                                                        <TD WIDTH=9 HEIGHT=9><IMG SRC="./gfx/cpl.gif" WIDTH=9 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                        <TD WIDTH=175><IMG SRC="./gfx/cpl.gif" WIDTH=175 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                        <TD WIDTH=6><IMG SRC="./gfx/cpl.gif" WIDTH=6 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                    </TR>
                                                                    <TR VALIGN=TOP ALIGN=LEFT>
                                                                        <TD></TD>
                                                                        <TD WIDTH=175>
                                                                            <P>

                                                                           <?PHP include "./inc/menurechts.php"; ?>

                                                                            </P>
                                                                        </TD>
                                                                        <TD></TD>
                                                                    </TR>
                                                                </TABLE>
                                                            </TD>
                                                        </TR>
                                                    </TABLE>
                                                </TD>
                                            </TR>

                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                <TD HEIGHT=16></TD>
                                            </TR>
                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                <TD HEIGHT=16 WIDTH=190>
                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=190 HEIGHT=16>
                                                        <TR ALIGN=LEFT VALIGN=TOP>
                                                            <TD>&nbsp;</TD>
                                                        </TR>
                                                    </TABLE>
                                                </TD>
                                            </TR>
                                        </TABLE>
                                    </TD>
                                </TR>
                            </TABLE>
                        </TD>
                    </TR>
<?PHP
include "./inc/footer.php";
db_();
?>
                </TABLE>
            </TD>
        </TR>
    </TABLE>
    </CENTER>
</BODY>
</HTML>