All pastes #1166513 Raw Edit

Kartagis

public text v1 · immutable
#1166513 ·published 2008-08-11 18:07 UTC
rendered paste body
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><link rel=stylesheet href="css/deri.css"></head><div id="ana"></div><div id="logo"><img src="images/logo.gif" style="margin-top: -10px"></div><div id="kelebek"><img src="images/kelebek.jpg"></div><div class="dugme"><a href="modeller.html"><img src="images/modeller.gif"></a></div><div class="dugme"><a href="sorumvar.html"><img src="images/sorumvar.gif"></a></div><div class="dugme"><a href="iletisim.html"><img src="images/iletisim.gif"></a></div><div class="dugme"><a href="hakkimizda.html"><img src="images/hakkimizda.gif"></a></div><div style="float: left; margin-,top: 100px; margin-left: 10px"><img src="images/kelebek1.gif"></div><?php$hedef = "foto/";include 'baglan.php';$durum = $_GET['durum'];$kategori = $_GET['kategori'];if (!(isset($sayfano))) { $sayfano = 1; }$query = "select id,kod,kucukfoto,fiyat,tanim from satilacak where durum='$durum' and kategori='$kategori' order by kod";$rows = mysql_num_rows($query);$pagerows = 4;$last = ceil($rows/$pagerows);if ($sayfano < 1) { $sayfano = 1; } elseif ($sayfano > $last) { $sayfano = $last; }$max = 'limit ' .($sayfano - 1) * $pagerows .',' .$pagerows;$query_p = "select id,kod,kucukfoto,fiyat,tanim from satilacak $max where durum = '$durum' and kategori = '$kategori' order by kod";echo "<div style=\"float: left; margin-top: -75px\">";echo "<table align=\"left\">"; echo "<tr>";$i = 0;while ($row = mysql_fetch_array($query_p)) {$i++;$id = $row['id'];$kod = $row['kod'];$kucukfoto = $row['kucukfoto'];$tanim = $row['tanim'];$fiyat = $row['fiyat'];echo "<td style=\"height=100px\"><a href=\"buyukgor.php?id=$id\"><img src=\"$hedef$kucukfoto\" width=\"130\" height=\"110\"></a><div align=center>$kod</td>";if($i == 4){    echo "</tr>";    $i = 0;}}echo "</table>";echo "</div>";echo "Sayfa: $sayfano / $last";mysql_close($conn);?></html>1UKFLL1UL5WB"<a href=\"". $_SERVER['PHP_SELF'] . "?" . $_SERVER['QUERY_STRING']. "&sayfa=1\">deneme</a>"  ;