Ronald: zu einer Detailseite navigieren

Beitrag lesen

Okay, hier der Quellcode der Detail-Seite. Du hattest recht, der andere Quellcode ist in beiden Dokumenten gleich.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO 8859-1" />
<title>Ronaldo's Cafe</title>
<!--[if IE 5]>
<style type="text/css">
/* Fügen Sie CSS-Box-Modell-Korrekturen für IE 5* in diesen bedingten Kommentar ein. */
.thrColAbsHdr #sidebar1 { width: 180px; }
.thrColAbsHdr #sidebar2 { width: 190px; }
</style>
<![endif]-->
<link href="ronaldos_coffee.css" rel="stylesheet" type="text/css" />
</head>

<body class="thrColAbsHdr">

<div id="container">
  <div id="header">
<img src="images/header.jpg" alt="" width="770" height="87" />
  <!-- end #header --></div>
  <div id="sidebar1">
  <img src="images/nav_franchise.gif" width="170" height="30"><br>
    <ul>
           <li><a href="news_detail.php">News</a></li>
            <li><a href="product_search.php">Artikelsuche</a></li>
            <li><a href="suppliers_search.php">Lieferanten</a></li>
            <li><a href="product_add.php">Artikel hinzuf&uuml;gen</a></li>
            <li><a href="suppliers_add.php">Lieferant hinzuf&uuml;gen</a></li>
            <li><a href="franchise_add.php">Franchise hinzuf&uuml;gen</a></li>
            <li><a href="news_add.php">Freigabe hinzuf&uuml;gen</a></li>
            <li><a href="franchise_search.php">Franchise-Suche</a></li>
          </ul>
              <img src="images/nav_blackbox.gif" width="170" height="15">
  <!-- end #sidebar1 --></div>

<div id="sidebar2">
      <p><span class="productname"><?php echo $row_rsProducts['ProductName']; ?><br />
      </span><br />
      <img src="<?php echo $row_rsProducts['BigImage']; ?>" alt="test" /></p>
      <table border="0" align="center">
        <tr>
          <td><?php if ($pageNum_rsProducts > 0) { // Show if not first page ?>
              <a href="<?php printf("%s?pageNum_rsProducts=%d%s", $currentPage, 0, $queryString_rsProducts); ?>"><img src="First.gif" /></a>
              <?php } // Show if not first page ?></td>
          <td><?php if ($pageNum_rsProducts > 0) { // Show if not first page ?>
              <a href="<?php printf("%s?pageNum_rsProducts=%d%s", $currentPage, max(0, $pageNum_rsProducts - 1), $queryString_rsProducts); ?>"><img src="Previous.gif" /></a>
              <?php } // Show if not first page ?></td>
          <td><?php if ($pageNum_rsProducts < $totalPages_rsProducts) { // Show if not last page ?>
              <a href="<?php printf("%s?pageNum_rsProducts=%d%s", $currentPage, min($totalPages_rsProducts, $pageNum_rsProducts + 1), $queryString_rsProducts); ?>"><img src="Next.gif" /></a>
              <?php } // Show if not last page ?></td>
          <td><?php if ($pageNum_rsProducts < $totalPages_rsProducts) { // Show if not last page ?>
              <a href="<?php printf("%s?pageNum_rsProducts=%d%s", $currentPage, $totalPages_rsProducts, $queryString_rsProducts); ?>"><img src="Last.gif" /></a>
              <?php } // Show if not last page ?></td>
        </tr>
      </table>
      <!-- end #sidebar2 -->
</div>
    <div id="mainContent">
      <table width="185" cellpadding="0" cellspacing="0" id="edit">
        <tr>
          <td valign="bottom" class="normaltext">
            Artikelnummer:</td>
        </tr>
        <tr>
          <td class="loadtext"><?php echo $row_rsProducts['SKU']; ?></td>
        </tr>
        <tr>
          <td valign="bottom" class="normaltext">
            Beschreibung:</td>
        </tr>
        <tr>
          <td class="loadtext"><?php echo $row_rsProducts['Description']; ?></td>
        </tr>
        <tr>
          <td valign="bottom" class="normaltext">
            Lieferfirma:</td>
        </tr>
        <tr>
          <td class="loadtext"><?php echo $row_rsProducts['s_firma']; ?></td>
        </tr>
        <tr>
          <td valign="bottom" class="normaltext">
            Anzahl im Lager:</td>
        </tr>
        <tr>
          <td class="loadtext"><?php echo $row_rsProducts['UnitsInStock']; ?></td>
        </tr>
        <tr>
          <td valign="bottom" class="normaltext">
            Voraussichtliche Lieferzeit:</td>
        </tr>
        <tr>
          <td class="loadtext"><?php echo $row_rsProducts['DeliveryTime']; ?></td>
        </tr>
        <tr>
          <td valign="bottom" class="normaltext">
            Grosshandelspreis:</td>
        </tr>
        <tr>
          <td class="loadtext"><?php echo $row_rsProducts['WholesalePrice']; ?></td>
        </tr>
        <tr>
          <td valign="bottom" class="normaltext">
            Unverbindliche Preisempfehlung:</td>
        </tr>
        <tr>
          <td class="loadtext"><?php echo $row_rsProducts['UnitPrice']; ?></td>
        </tr>
      </table>
      <!-- end #mainContent -->
      <a href="product_add.php"><img src="images/frm-insert.GIF" alt="Insert" width="68" height="21" border="0" /></a></div>

<div id="footer">
    <p><img src="images/footer_logo.jpg" width="142" height="25" align="absmiddle" /> - World's Finest Coffee's - &copy; 2009</p>
  <!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>
<?php
mysql_free_result($rsProducts);
?>