• 12-08-2009, 23:22:15
    #1
    Üyeliği durduruldu
    ArkadasLar htaccess den dolayi Linkim http://www.kalpgulu.org/2912/Norm-Playboy

    Olarak Eklenıor Panelden Ekleyınce

    Ben Bunu http://www.kalpgulu.org/2912-Norm-Playboy.html Olarak Ayarlamak istiorum Nasıl Yapabilirim


    Su anki Htacces kodum SöyLe

    RewriteEngine On
    RewriteRule ^l([0-9]*)\.html$ kategori.php?catid=$1 [L]
    RewriteRule ^l([0-9]*).(.*)\.html$ kategori.php?catid=$1 [L]
    RewriteRule ^([0-9]+) sayfa.php?id=$1 [L]
    RewriteRule ^(.*)/([0-9]+)\.php$ sayfa.php?id=$2 [L]
  • 12-08-2009, 23:56:47
    #2
    htaccess linkleri okuyup ona göre yönlendirir. Linkleri sayfaya yazan kodlarından değiştirmelisin.
  • 13-08-2009, 00:28:45
    #3
    Üyeliği durduruldu
    Tamamda Toprak Nasil Yapacam Bunu Daha Fazla Bilgi Versen
  • 13-08-2009, 00:30:49
    #4
    Kimlik doğrulama veya yönetimden onay bekliyor.
    RewriteEngine On
    RewriteRule
    ^l([0-9]*).html$ kategori.php?catid=$1 [L]
    RewriteRule ^l([0-9]*).(.*).html$ kategori.php?catid=$1 [L]
    RewriteRule ^([0-9]+) sayfa.php?id=$1 [L]
    RewriteRule ^(.*)-([0-9]+).php$ sayfa.php?id=$2 [L]
  • 13-08-2009, 00:42:46
    #5
    Üyeliği durduruldu
    googler Kardeş O Yazdını Yaptım Olmadi :S
  • 13-08-2009, 00:45:52
    #6
    http://www.kalpgulu.org/2912-Norm-Playboy

    bu olmuş bir de php dosyalarından linkleri değiştirmen lazım
  • 13-08-2009, 01:12:59
    #7
    Üyeliği durduruldu
    Hangi Dosyayi DüzelteCem :S

    index.php

    <?php require_once('ayar.php'); ?>
    <?php
    $currentPage = $_SERVER["PHP_SELF"];
    
    mysql_select_db($database_geceninrengi, $portalv1);
    $query_kategorilistesi = "SELECT * FROM kategoriler ORDER BY kategoriadi ASC";
    $kategorilistesi = mysql_query($query_kategorilistesi, $portalv1) or die(mysql_error());
    $row_kategorilistesi = mysql_fetch_assoc($kategorilistesi);
    $totalRows_kategorilistesi = mysql_num_rows($kategorilistesi);
    
    $maxRows_sonyazilar = 5;
    $pageNum_sonyazilar = 0;
    if (isset($_GET['pageNum_sonyazilar'])) {
      $pageNum_sonyazilar = $_GET['pageNum_sonyazilar'];
    }
    $startRow_sonyazilar = $pageNum_sonyazilar * $maxRows_sonyazilar;
    
    mysql_select_db($database_geceninrengi, $portalv1);
    $query_sonyazilar = "SELECT * FROM yazilar ORDER BY id DESC";
    $query_limit_sonyazilar = sprintf("%s LIMIT %d, %d", $query_sonyazilar, $startRow_sonyazilar, $maxRows_sonyazilar);
    $sonyazilar = mysql_query($query_limit_sonyazilar, $portalv1) or die(mysql_error());
    $row_sonyazilar = mysql_fetch_assoc($sonyazilar);
    
    if (isset($_GET['totalRows_sonyazilar'])) {
      $totalRows_sonyazilar = $_GET['totalRows_sonyazilar'];
    } else {
      $all_sonyazilar = mysql_query($query_sonyazilar);
      $totalRows_sonyazilar = mysql_num_rows($all_sonyazilar);
    }
    $totalPages_sonyazilar = ceil($totalRows_sonyazilar/$maxRows_sonyazilar)-1;
    
    $queryString_sonyazilar = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_sonyazilar") == false && 
            stristr($param, "totalRows_sonyazilar") == false) {
          array_push($newParams, $param);
        }
      }
      if (count($newParams) != 0) {
        $queryString_sonyazilar = "&" . htmlentities(implode("&", $newParams));
      }
    }
    $queryString_sonyazilar = sprintf("&totalRows_sonyazilar=%d%s", $totalRows_sonyazilar, $queryString_sonyazilar);
    
    $maxRows_sonyazilar22113131 = 51;
    $pageNum_sonyazilar22113131 = 0;
    if (isset($_GET['pageNum_sonyazilar22113131'])) {
      $pageNum_sonyazilar22113131 = $_GET['pageNum_sonyazilar22113131'];
    }
    $startRow_sonyazilar22113131 = $pageNum_sonyazilar22113131 * $maxRows_sonyazilar22113131;
    
    mysql_select_db($database_geceninrengi, $portalv1);
    $query_sonyazilar22113131 = "SELECT * FROM yazilar ORDER BY RAND()";
    $query_limit_sonyazilar22113131 = sprintf("%s LIMIT %d, %d", $query_sonyazilar22113131, $startRow_sonyazilar22113131, $maxRows_sonyazilar22113131);
    $sonyazilar22113131 = mysql_query($query_limit_sonyazilar22113131, $portalv1) or die(mysql_error());
    $row_sonyazilar22113131 = mysql_fetch_assoc($sonyazilar22113131);
    
    if (isset($_GET['totalRows_sonyazilar22113131'])) {
      $totalRows_sonyazilar22113131 = $_GET['totalRows_sonyazilar22113131'];
    } else {
      $all_sonyazilar22113131 = mysql_query($query_sonyazilar22113131);
      $totalRows_sonyazilar22113131 = mysql_num_rows($all_sonyazilar22113131);
    }
    $totalPages_sonyazilar22113131 = ceil($totalRows_sonyazilar22113131/$maxRows_sonyazilar22113131)-1;
    
    $queryString_sonyazilar22113131 = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_sonyazilar22113131") == false && 
            stristr($param, "totalRows_sonyazilar22113131") == false) {
          array_push($newParams, $param);
        }
      }
      if (count($newParams) != 0) {
        $queryString_sonyazilar22113131 = "&" . htmlentities(implode("&", $newParams));
      }
    }
    $queryString_sonyazilar22113131 = sprintf("&totalRows_sonyazilar22=11%d%s", $totalRows_sonyazilar22113131, $queryString_sonyazilar22113131);
    ?>
    <html>
    
    <head>
    <title>KalpGulu.Org - cet, sohpet, çet odaları, sohpet odaları, sohbet siteleri</title>
    <meta name="description" content="çet, sohpet, çet odaları, sohpet odaları, sohbet siteleri, chat kanallari, bedava cet, bedava sohpet kanallari">
    <meta name="keywords" content="cet, sohpet, chat, sohbet, izle, indir, +18, kalpgülü, yazgülü, arkadaslik, gül resimleri, videolar, muhabbet, çet odalari, sohbet siteleri">
    <meta name="title" content="çet, sohpet, çet odaları, sohpet odaları, sohbet siteleri, chat kanallari, bedava cet, bedava sohpet kanallari">
    <meta name="classification" content="cet, sohpet">
    <meta name="copyright" content= "Copyright © 2009 kalpgulu.org">
    <meta name="content-language" content="tr">
    <meta http-equiv="Content-Language" content="tr">
    <META NAME="rating" CONTENT="general" />
    <META NAME="googlebot" CONTENT="index, follow" />
    <META NAME="robots" CONTENT="index, follow" /><link rel="stylesheet" type="text/css" media="screen" href="images/style.css">
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="70%">
    <tbody><tr>
    <td>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="885" height="84">
            <tbody>
            <tr>
              <td width="885">
    	<font color="#6BCE18"> 
    	<table border="0" cellpadding="0" cellspacing="0" width="885">
    		<tr>
    			<td height="3">
    	<font color="#6BCE18"> 
    			<img border="0" src="images/aramabg.gif" width="881" height="3"></td>
    		</tr>
    		<tr>
    			<td width="885">
    			<p align="center">
    			<?php include "inc/inc.ust.php"; ?>	<img border="0" src="images/aramabg.gif" width="881" height="3"></td>
    		</tr>
    	</table>
    			</tr>
            <tr>
              <td width="885">
     <p align="center">
    <?php include "inc/inc.ustmenu.php"; ?></tr>
            <tr>
              <td width="885">
     <p align="center"><?php include "inc/inc.728_90.php"; ?></tr></tbody></table>
    
      <table border="0" cellpadding="5" cellspacing="0" height="320" width="891">
    	<tbody>
    		<tr valign="top">
    			<td width="173">
    			<table border="0" cellpadding="0" cellspacing="0" width="173" height="437">
    	<tr>
    		<td height="22" width="173" background="images/yesilbuton.jpg">
    		<p align="center"><font color="#FFFFFF" style="font-size: 10pt"><b>Menü</b></font></td>
    		</tr>
    	<tr>
    		<td height="415" width="173">			
    				<table bgcolor="#E3E3E3" border="0" cellspacing="1" width="100%" height="414">
                      <tr>
                        <td bgcolor="#FFFFFF" height="412" width="219">			
    <?php include "inc/inc.sol.php"; ?>		</td>
                      </tr>
                    	</table>
    				</td>
    		</tr>
    	</table>
    		</td>
    			<td width="515">
    		        <table border="0" cellpadding="0" cellspacing="0" width="429" height="378">
    	<tr>
    		<td height="18" width="429" colspan="2">
    		        <table cellspacing=0 cellpadding=0 width="514" height="228">
             <tr><td height="20" background="images/anaortadirek.jpg">
    
    <p align="center"><font size="2" color="#FFFFFF"><b>kalpgulu.org 'a Hoş Geldiniz</b></font></td></tr> 
             <tr><td height="208">
    
    <p align="center"><a href="sohbet.html">
    <img border="0" src="http://www.kalpgulu.org/sohbetyapin.jpg" width="401" height="219"></a></td></tr> 
             </table>
                </td>
    	</tr>
    	<tr>
    		<td height="53" width="514" colspan="2"><center><?php include "inc/inc.468ads.php"; ?></center></td>
    	</tr>
    	<tr>
    		<td height="7" width="262">
    	
    		<p align="center"><a href="doviz.php">
    	
    		<img border="0" src="images/dolarkurlari.gif" width="218" height="41" align="right"></a></td>
    		<td height="7" width="252">
    	
    		<p align="center">
    		<a href="burcunuz.php">
    		<img border="0" src="images/burclar.gif" width="218" height="41" align="left"></a></td>
    	</tr>
    	<tr>
    		<td height="6" width="429" colspan="2">
    	
    	
    		<p align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    		<a href="gazeteler.php">
    	
    	
    		<img border="0" src="images/gazetemansetleri.gif" width="218" height="41"></a></td>
    	</tr>
    </table>
                </td>
    			<td width="173">
    			<table border="0" cellpadding="0" cellspacing="0" width="173" height="438">
    	<tr>
    		<td height="19" width="173" background="images/yesilbuton.jpg">
    		<p align="center"><font color="#FFFFFF" style="font-size: 10pt"><b>&nbsp;Son 
    		Eklenenler</b></font></td>
    		</tr>
    	<tr>
    		<td height="129" width="173">			
    				<table bgcolor="#E3E3E3" border="0" cellspacing="1" width="100%" height="125">
                      <tr>
                        <td bgcolor="#FFF8F5" height="123" width="219">			
    				<?php include "inc/inc.eklenenler.php"; ?></td>
                      </tr>
                    	</table>
    				</td>
    		</tr>
    	<tr>
    		<td height="19" width="173" background="images/yesilbuton.jpg">
    		<p align="center"><font color="#FFFFFF" style="font-size: 10pt"><b>
    		Bakılması Gerekenler</b></font></td>
    		</tr>
    	<tr>
    		<td height="129" width="173">			
    				<table bgcolor="#E3E3E3" border="0" cellspacing="1" width="100%" height="125">
                      <tr>
                        <td bgcolor="#EEFFFF" height="123" width="219">			
    			<?php include "inc/inc.rastgele.php"; ?></td>
                      </tr>
                    	</table>
    				</td>
    		</tr>
    	<tr>
    		<td height="17" width="173" background="images/yesilbuton.jpg">
    		<p align="center"><b><font color="#FFFFFF" style="font-size: 10pt">Top 10 Konular</font></b></td>
    		</tr>
    	<tr>
    		<td height="125" width="173">			
    				<table bgcolor="#E3E3E3" border="0" cellspacing="1" width="100%" height="125">
                      <tr>
                        <td bgcolor="#FFF8F5" height="123" width="219">			
    				<?php include "inc/inc.populerkonular.php"; ?></td>
                      </tr>
                    	</table>
    				</td>
    		</tr>
    </table></td>
    		</tr>
    	</tbody>
    </table>
    </div>
    </td> 
    </tr>
    
    </tbody></table>
    <table align="center" border="0" cellpadding="0" cellspacing="0" height="4" width="892">
      <tbody><tr>
        <td height="4" valign="top">
    	<p align="center">
    	<img border="0" src="images/altcizgi.jpg" width="890" height="4"></td><tr>
        <td height="1" valign="top">
    	<p align="center">
    	<?php include "inc/inc.copright.php"; ?></td><html>
    
    
    </html>
    </html>
    <?php
    mysql_free_result($kategorilistesi);
    
    mysql_free_result($sonyazilar);
    mysql_close();
    ?>
  • 13-08-2009, 01:14:05
    #8
    Üyeliği durduruldu
    kategori.php

    <?php require_once('ayar.php'); ?>
    <?php
    $currentPage = $_SERVER["PHP_SELF"];
    function quote_smart($value)
    {
    if (get_magic_quotes_gpc()) {
    $value = stripslashes($value);
    }
    if (!is_numeric($value)) {
    $value = "'" . mysql_real_escape_string($value) . "'";
    }
    return $value;
    }
    $kategoriid = quote_smart($_GET['catid']);
    mysql_select_db($database_geceninrengi, $portalv1);
    $query_kategoriadial = "SELECT * FROM kategoriler WHERE id='$kategoriid'";
    $kategoriadial = mysql_query($query_kategoriadial, $portalv1) or die(mysql_error());
    $row_kategoriadial = mysql_fetch_assoc($kategoriadial);
    $totalRows_kategoriadial = mysql_num_rows($kategoriadial);
    
    mysql_select_db($database_geceninrengi, $portalv1);
    $query_kategorilistesi = "SELECT * FROM kategoriler ORDER BY kategoriadi ASC";
    $kategorilistesi = mysql_query($query_kategorilistesi, $portalv1) or die(mysql_error());
    $row_kategorilistesi = mysql_fetch_assoc($kategorilistesi);
    $totalRows_kategorilistesi = mysql_num_rows($kategorilistesi);
    
    $maxRows_sonyazilar = 30;
    $pageNum_sonyazilar = 0;
    if (isset($_GET['pageNum_sonyazilar'])) {
      $pageNum_sonyazilar = $_GET['pageNum_sonyazilar'];
    }
    $startRow_sonyazilar = $pageNum_sonyazilar * $maxRows_sonyazilar;
    $kategoriadi = $row_kategoriadial['kategoriadi'];
    mysql_select_db($database_geceninrengi, $portalv1);
    $query_sonyazilar = "SELECT * FROM yazilar WHERE kategori='$kategoriadi' ORDER BY id DESC";
    $query_limit_sonyazilar = sprintf("%s LIMIT %d, %d", $query_sonyazilar, $startRow_sonyazilar, $maxRows_sonyazilar);
    $sonyazilar = mysql_query($query_limit_sonyazilar, $portalv1) or die(mysql_error());
    $row_sonyazilar = mysql_fetch_assoc($sonyazilar);
    
    if (isset($_GET['totalRows_sonyazilar'])) {
      $totalRows_sonyazilar = $_GET['totalRows_sonyazilar'];
    } else {
      $all_sonyazilar = mysql_query($query_sonyazilar);
      $totalRows_sonyazilar = mysql_num_rows($all_sonyazilar);
    }
    $totalPages_sonyazilar = ceil($totalRows_sonyazilar/$maxRows_sonyazilar)-1;
    
    $queryString_sonyazilar = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_sonyazilar") == false && 
            stristr($param, "totalRows_sonyazilar") == false) {
          array_push($newParams, $param);
        }
      }
      if (count($newParams) != 0) {
        $queryString_sonyazilar = "&" . htmlentities(implode("&", $newParams));
      }
    }
    $queryString_sonyazilar = sprintf("&totalRows_sonyazilar=%d%s", $totalRows_sonyazilar, $queryString_sonyazilar);
    ?>
    <html>
    
    <head>
    <meta http-equiv="Content-Language" content="tr">
    <title><?php echo $row_kategoriadial['kategoriadi']; ?></title>
    <meta name="description" content="<?php echo $row_kategoriadial['kategoriadi']; ?>">
    <meta name="keywords" content="<?php echo $row_kategoriadial['kategoriadi']; ?>">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
    <meta name="robots" content="index, follow" />
    <META NAME="googlebot" CONTENT="index, follow">
    <meta name="robots" content="all">
    <META NAME="robots" CONTENT="index, follow">
    <META NAME="REVISIT-AFTER" CONTENT="1 Days">
    <link rel="stylesheet" type="text/css" media="screen" href="images/style.css">
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="70%">
    <tbody><tr>
    <td>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="885" height="84">
            <tbody>
            <tr>
              <td width="885">
    	<font color="#6BCE18"> 
    	<table border="0" cellpadding="0" cellspacing="0" width="885">
    		<tr>
    			<td height="3">
    	<font color="#6BCE18"> 
    			<img border="0" src="images/aramabg.gif" width="881" height="3"></td>
    		</tr>
    		<tr>
    			<td width="885">
    			<p align="center">
    			<?php include "inc/inc.ust.php"; ?>	<img border="0" src="images/aramabg.gif" width="881" height="3"></td>
    		</tr>
    	</table>
    			</tr>
            <tr>
              <td width="885">
     <p align="center">
    <?php include "inc/inc.ustmenu.php"; ?></tr>
            <tr>
              <td width="885">
     <p align="center"><?php include "inc/inc.728_90.php"; ?></tr></tbody></table>
    
      <table border="0" cellpadding="5" cellspacing="0" height="320" width="891">
    	<tbody>
    		<tr valign="top">
    			<td width="173">
    			<table border="0" cellpadding="0" cellspacing="0" width="173" height="437">
    	<tr>
    		<td height="22" width="173" background="images/yesilbuton.jpg">
    		<p align="center"><font color="#FFFFFF" style="font-size: 10pt"><b>Menü</b></font></td>
    		</tr>
    	<tr>
    		<td height="415" width="173">			
    				<table bgcolor="#E3E3E3" border="0" cellspacing="1" width="100%" height="414">
                      <tr>
                        <td bgcolor="#FFFFFF" height="412" width="219">			
    <?php include "inc/inc.sol.php"; ?>		</td>
                      </tr>
                    	</table>
    				</td>
    		</tr>
    	</table>
    		</td>
    			<td width="515">
    		        <table cellspacing=0 cellpadding=0 width="514" height="113">
             <tr><td height="1" background="anaortadirek.jpg">
    
    <p align="center"><font size="3" color="#FFFFFF"><b><?php echo $row_kategoriadial['kategoriadi']; ?></b></font></td></tr> 
             <tr><td height="112">
    
    					<table style="border-width:0px; border-collapse:collapse;border-style:dotted" width="100%" border="1" cellspacing="2" cellpadding="2">
    						<tr>
    							<td style="border-style:none; border-width:medium; font-family: Verdana; font-size: 11px; color: #000000" bgcolor="#FFF8F5" height="19" width="83%"><?php if ($totalRows_sonyazilar > 0) { // Show if recordset not empty ?>
    <?php do { ?>
    							<p align="left"><img border="0" src="images/devami1.jpg" width="14" height="13">
    							<a href="<? echo $site; ?>/<?php echo $row_sonyazilar['id']; ?>/<?php echo str_replace($find, $replace, $row_sonyazilar['baslik']); ?>" style="color:#D20000; text-decoration:none; font-weight:bold">
    							<font style="font-size: 9pt">
    							<?php echo $row_sonyazilar['baslik']; ?> 				
    							</font> 				
    							</a>
    							</font></td>
    							<td width="14%" style="border-style:none; border-width:medium; font-family: Verdana; font-size: 11px; color: #000000" bgcolor="#FFF8F5" height="19"><img border="0" src="images/hit.gif" width="11" height="10"> Hit: <?php echo $row_sonyazilar['okunma']; ?></td>
    						</tr>
    						<tr>
    							<td style="border-style:none; border-width:medium; font-family: Verdana; font-size: 11px; color: #000000" bgcolor="#FFF8F5" width="83%"><?php } while ($row_sonyazilar = mysql_fetch_assoc($sonyazilar)); ?><img border="0" src="images/devami1.jpg" width="14" height="13">468*60 Reklam gelebilir
    <?php } // Show if recordset not empty ?>
    <?php if ($totalRows_sonyazilar == 0) { // Show if recordset empty ?></td>
    							<td width="14%" style="border-style:none; border-width:medium; font-family: Verdana; font-size: 11px; color: #000000" bgcolor="#FFF8F5">&nbsp;
    							</td>
    						</tr>
    						<tr>
    							<td style="border-style:none; border-width:medium; font-family: Verdana; font-size: 11px; color: #000000" bgcolor="#FFFFFF" width="83%" height="17">
    							
    							
    							İçerik eklenmedi...</font>
    
    							<font size="2" style="font-family: Verdana; font-size: 11px; color: #000000">
    <?php } // Show if recordset empty ?>
    </font>
    						
    							</td>
    							<td width="14%" style="border-style:none; border-width:medium; font-family: Verdana; font-size: 11px; color: #000000" bgcolor="#FFFFFF" height="17">
    							</td>
    						</tr>
    						<tr>
    							<td style="border-style:none; border-width:medium; font-family: Verdana; font-size: 11px; color: #000000" colspan="2" bgcolor="#FFFFFF" height="49">
    							<p align="right">&nbsp;
    <?php if ($pageNum_sonyazilar > 0) { // Show if not first page ?></font></font><font size="5"><a href="<?php printf("%s?pageNum_sonyazilar=%d%s", $currentPage, max(0, $pageNum_sonyazilar - 1), $queryString_sonyazilar); ?>"><span style="text-decoration: none"><font color="#999999"><img border="0" src="images/geri.jpg" width="40" height="40"></font></span></a><font color="#999999"><?php } // Show if not first page ?>
      <?php if ($pageNum_sonyazilar < $totalPages_sonyazilar) { // Show if not last page ?>
        </font>
        <a href="<?php printf("%s?pageNum_sonyazilar=%d%s", $currentPage, min($totalPages_sonyazilar, $pageNum_sonyazilar + 1), $queryString_sonyazilar); ?>">
    <span style="text-decoration: none"><font color="#999999">
    							<img border="0" src="images/ileri.jpg" width="40" height="40"></font></span></a></font></font></font><font size="5" color="#999999">
        <?php } // Show if not last page ?> </font>
    	<font color="#999999">
    	</b></font></td>
    						</tr>
    					</table>
    			</td></tr> 
             </table>
                	<p align="center"><?php include "inc/inc.468ads.php"; ?></td>
    			<td width="173">
    			<table border="0" cellpadding="0" cellspacing="0" width="173" height="438">
    	<tr>
    		<td height="19" width="173" background="images/yesilbuton.jpg">
    		<p align="center"><font color="#FFFFFF" style="font-size: 10pt"><b>&nbsp;Son 
    		Eklenenler</b></font></td>
    		</tr>
    	<tr>
    		<td height="129" width="173">			
    				<table bgcolor="#E3E3E3" border="0" cellspacing="1" width="100%" height="125">
                      <tr>
                        <td bgcolor="#FFF8F5" height="123" width="219">			
    				<?php include "inc/inc.eklenenler.php"; ?></td>
                      </tr>
                    	</table>
    				</td>
    		</tr>
    	<tr>
    		<td height="19" width="173" background="images/yesilbuton.jpg">
    		<p align="center"><font color="#FFFFFF" style="font-size: 10pt"><b>
    		Bakılması Gerekenler</b></font></td>
    		</tr>
    	<tr>
    		<td height="129" width="173">			
    				<table bgcolor="#E3E3E3" border="0" cellspacing="1" width="100%" height="125">
                      <tr>
                        <td bgcolor="#EEFFFF" height="123" width="219">			
    			<?php include "inc/inc.rastgele.php"; ?></td>
                      </tr>
                    	</table>
    				</td>
    		</tr>
    	<tr>
    		<td height="17" width="173" background="images/yesilbuton.jpg">
    		<p align="center"><b><font color="#FFFFFF" style="font-size: 10pt">Top 10 Konular</font></b></td>
    		</tr>
    	<tr>
    		<td height="125" width="173">			
    				<table bgcolor="#E3E3E3" border="0" cellspacing="1" width="100%" height="125">
                      <tr>
                        <td bgcolor="#FFF8F5" height="123" width="219">			
    				<?php include "inc/inc.populerkonular.php"; ?></td>
                      </tr>
                    	</table>
    				</td>
    		</tr>
    </table></td>
    		</tr>
    	</tbody>
    </table>
    </div>
    </td> 
    </tr>
    
    </tbody></table>
    <table align="center" border="0" cellpadding="0" cellspacing="0" height="4" width="892">
      <tbody><tr>
        <td height="4" valign="top">
    	<p align="center">
    	<img border="0" src="images/altcizgi.jpg" width="890" height="4"></td><tr>
        <td height="1" valign="top">
    	<p align="center">
    	<?php include "inc/inc.copright.php"; ?></td><html>
    
    
    </html>
    </html>
    <?php
    mysql_free_result($kategorilistesi);
    mysql_free_result($sonyazilar);
    mysql_close();
    ?>
  • 13-08-2009, 01:14:41
    #9
    Üyeliği durduruldu
    sayfa.php

    <?php require_once('ayar.php'); ?>
    <?php
    session_start();
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
      $theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;
    
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;    
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    }
    
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "yorumyaz")) {
    if (md5($_POST['guvenlikkodu']) == $_SESSION['guvenlik']) {
      $insertSQL = sprintf("INSERT INTO yorumlar (yazan, yorum, yaziid) VALUES (%s, %s, %s)",
                           GetSQLValueString($_POST['yazan'], "text"),
                           GetSQLValueString($_POST['yorum'], "text"),
                           GetSQLValueString($_POST['yaziid'], "int"));
    
      mysql_select_db($database_geceninrengi, $portalv1);
      $Result1 = mysql_query($insertSQL, $portalv1) or die("bos alan birakilamaz<br><a href=\"javascript:history.go(-1);\">Geri</a>");
    
      $insertGoTo = "oku.php?id=".$_POST['yaziid']."&yorum=ok";
      header(sprintf("Location: %s", $insertGoTo));
    } else { ?>
    <script>
    window.location = "sayfa.php?id=<?php echo $_POST['yaziid']; ?>&yorum=hata";
    </script>
    <?php
    }
    } else {
    $chars = array("1","1","2","2","3","3","4","4","5","5","6","6","7","7","8","8","9","9","1",
    			   "1","1","2","2","3","3","4","4","5","5","6","6","7","7","8","8","9","9","1",
    			   "1","1","2","2","3","3","4","4","5","5","6","6","2","3","4","5","6","7","8","9");
    $textstr = '';
    for ($i = 0, $length = 8; $i < $length; $i++) {
       $textstr .= $chars[rand(0, count($chars) - 1)];
    }
    $hashtext = md5($textstr);
    $_SESSION['guvenlik'] = $hashtext;
    $textstre = substr($textstr,0,1)."S4cvW2".substr($textstr,1,3)."my6Y2z".substr($textstr,4,3)."H4tUh5".substr($textstr,7,1);
    }
    
    $currentPage = $_SERVER["PHP_SELF"];
    
    mysql_select_db($database_geceninrengi, $portalv1);
    $query_kategorilistesi = "SELECT * FROM kategoriler ORDER BY kategoriadi ASC";
    $kategorilistesi = mysql_query($query_kategorilistesi, $portalv1) or die(mysql_error());
    $row_kategorilistesi = mysql_fetch_assoc($kategorilistesi);
    $totalRows_kategorilistesi = mysql_num_rows($kategorilistesi);
    
    $colname_sonyazilar = "-1";
    if (isset($_GET['id'])) {
      $colname_sonyazilar = (get_magic_quotes_gpc()) ? $_GET['id'] : addslashes($_GET['id']);
    }
    mysql_select_db($database_geceninrengi, $portalv1);
    $query_sonyazilar = sprintf("SELECT * FROM yazilar WHERE id = %s ORDER BY id DESC", $colname_sonyazilar);
    $sonyazilar = mysql_query($query_sonyazilar, $portalv1) or die(mysql_error());
    $row_sonyazilar = mysql_fetch_assoc($sonyazilar);
    $totalRows_sonyazilar = mysql_num_rows($sonyazilar);
    
    $hjg4789 = $row_sonyazilar['id'];
    mysql_select_db($database_geceninrengi, $portalv1);
    $query_yorumlar = sprintf("SELECT * FROM yorumlar WHERE yaziid = '%s' AND onay='1' ORDER BY id DESC LIMIT 5000", $hjg4789);
    $yorumlar = mysql_query($query_yorumlar, $portalv1) or die(mysql_error());
    $row_yorumlar = mysql_fetch_assoc($yorumlar);
    $totalRows_yorumlar = mysql_num_rows($yorumlar);
    
    $yaziokunma = sprintf("geceninrengi%s", $row_sonyazilar['id']);
    if($_COOKIE[$yaziokunma] == '1'){ 
    } else {
    mysql_select_db($database_geceninrengi, $portalv1);
    mysql_query("UPDATE yazilar SET okunma = okunma+1 WHERE id='$row_sonyazilar[id]'", $portalv1);
    $cook = $_COOKIE[$yaziokunma] + 1;
    setcookie("$yaziokunma", "$cook", time()+86400);
    }
    ?>
    <base href="http://www.kalpgulu.org">
    <html>
    
    <head>
    <meta http-equiv="Content-Language" content="tr">
    <title><?php echo $row_sonyazilar['yazigirisi']; ?> + 18 sicak resimler - videolar - cet - sohbet - chat - izle - indir</title>
    <meta name="description" content="<?php echo $row_sonyazilar['yazigirisi']; ?> + 18 sicak resimler - videolar - cet - sohbet - chat - izle - indir">
    <meta name="keywords" content="<?php echo $row_sonyazilar['yazigirisi']; ?> + 18 sicak resimler - videolar - cet - sohbet - chat - izle - indir">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
    <meta name="robots" content="index, follow" />
    <META NAME="googlebot" CONTENT="index, follow">
    <meta name="robots" content="all">
    <META NAME="robots" CONTENT="index, follow">
    <META NAME="REVISIT-AFTER" CONTENT="1 Days">
    <link rel="stylesheet" type="text/css" media="screen" href="images/style.css">
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="70%">
    <tbody><tr>
    <td>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="885" height="84">
            <tbody>
            <tr>
              <td width="885">
    	<font color="#6BCE18"> 
    	<table border="0" cellpadding="0" cellspacing="0" width="885">
    		<tr>
    			<td height="3">
    	<font color="#6BCE18"> 
    			<img border="0" src="images/aramabg.gif" width="881" height="3"></td>
    		</tr>
    		<tr>
    			<td width="885">
    			<p align="center">
    			<?php include "inc/inc.ust.php"; ?>	<img border="0" src="images/aramabg.gif" width="881" height="3"></td>
    		</tr>
    	</table>
    			</tr>
            <tr>
              <td width="885">
     <p align="center">
    <?php include "inc/inc.ustmenu.php"; ?></tr>
            <tr>
              <td width="885">
     <p align="center"><?php include "inc/inc.728_90.php"; ?></tr></tbody></table>
    
      <table border="0" cellpadding="5" cellspacing="0" height="320" width="891">
    	<tbody>
    		<tr valign="top">
    			<td width="173">
    			<table border="0" cellpadding="0" cellspacing="0" width="173" height="437">
    	<tr>
    		<td height="22" width="173" background="images/yesilbuton.jpg">
    		<p align="center"><font color="#FFFFFF" style="font-size: 10pt"><b>Menü</b></font></td>
    		</tr>
    	<tr>
    		<td height="415" width="173">			
    				<table bgcolor="#E3E3E3" border="0" cellspacing="1" width="100%" height="414">
                      <tr>
                        <td bgcolor="#FFFFFF" height="412" width="219">			
    <?php include "inc/inc.sol.php"; ?>		</td>
                      </tr>
                    	</table>
    				</td>
    		</tr>
    	</table>
    		</td>
    			<td width="688">
    		    <table border="0" cellpadding="0" cellspacing="0" width="700" height="362">
    	<tr>
    		<td height="118" width="700" colspan="2">
    		        <table cellspacing=0 cellpadding=0 width="697" height="211">
             <tr><td height="21" background="images/okuust.jpg">
    
    <p align="left"><font size="3" color="#FFFFFF"><b>&nbsp;<?php echo $row_sonyazilar['baslik']; ?></b></font></td></tr> 
             <tr><td height="79">
    
    <table border="0" cellpadding="0" cellspacing="0" width="694">
    	<tr>
    		<td height="35" width="434" rowspan="2"><?php include "inc/inc.468ads.php"; ?></td>
    		<td width="120" rowspan="2"><a href="yazdir.php?id=<?php echo $row_sonyazilar['id']; ?>"><img border="0" src="images/haber6.gif" width="76" height="32"></td>
    		<td width="70" rowspan="2">
    		<img border="0" src="images/okunma.gif" width="46" height="40"></td>
    		<td width="70">
    		<p align="center">Okunma </td>
    	</tr>
    	<tr>
    		<td width="70">
    	<center><b><font size="2" color="#808080"><?php echo $row_sonyazilar['okunma']; ?></font></b></center></td>
    	</tr>
    </table>
    
    <br><?php echo $row_sonyazilar['yazidevami']; ?><br><?php include "inc/inc.468ads.php"; ?><br></td></tr> 
             <tr><td height="19" background="images/tophdgraygradient.gif">
    
    &nbsp;
    <img border="0" src="images/v_icon.gif" width="12" height="11"> <b>
    <font size="2" color="#808080">Yorumlar</font></b></td></tr> 
             <tr><td height="92">
    
    <?php if ($totalRows_yorumlar > 0) { // Show if recordset not empty ?>
        <font size="2" face="Verdana">
      <?php do { ?><img border="0" src="http://mizahcafe.com/images/user_comment.png" width="16" height="16">
        </font>
        <b><font color="#D61010" face="Verdana" size="2"> <?php echo $row_yorumlar['yazan']; ?></font></b><br>
        <?php
    $hedehode = $row_yorumlar['yorum'];
    str_replace("<", "&lt;", $hedehode);
    str_replace(">", "&gt;", $hedehode);
    echo $hedehode; ?><font face="Tahoma" style="font-size: 9pt">
        <br><br><img border="0" src="images/btn_bg.jpg" width="696" height="9"><br>
        <?php } while ($row_yorumlar = mysql_fetch_assoc($yorumlar)); ?><b><font face="Tahoma">
    					<font size="4" color="#E2279F"></a></font></font></b>
        <?php } // Show if recordset not empty ?>
      <?php if ($totalRows_yorumlar == 0) { // Show if recordset empty ?> <?php } // Show if recordset empty ?><img border="0" src="images/btn_bg.jpg" width="696" height="9"><br></td></tr> 
             </table>
    
             
                </td>
    	</tr>
    	<tr>
    		<td height="117" width="700" colspan="2">
    		        <table border="0" cellpadding="0" cellspacing="0" width="697" height="121">
    	<tr>
    		<td height="121" width="232">        
    
    			<font face="Tahoma" style="font-size: 9pt">      
    
    			<a href="<? echo $site; ?>/yorumyap.php?id=<?php echo $row_sonyazilar['id']; ?>pop_up" onClick="window.name='<? echo $site; ?>/yorumyap.php?id=<?php echo $row_sonyazilar['id']; ?>'; window.open('<? echo $site; ?>/yorumyap.php?id=<?php echo $row_sonyazilar['id']; ?>','pop_up', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=505,height=330'); return false;">
    			<img border="0" src="images/yorum.gif" width="333" height="209"></a></td>
    		<td height="121" width="364">
    		<p align="center">
    		<img border="0" src="images/reklam1.gif" width="333" height="209"></td>
    	</tr>
    </table>
    		</td>
    	</tr>
    	<tr>
    		<td height="21" width="700" background="images/tophdgraygradient.gif" colspan="2">&nbsp;</td>
    	</tr>
    	<tr>
    		<td height="3" width="356"><?php include "inc/inc.rastgeleoku.php"; ?></td>
    		<td height="3" width="344"><?php include "inc/inc.okueklenenler.php"; ?></td>
    	</tr>
    </table>
    </td>
    		</tr>
    	</tbody>
    </table>
    </div>
    </td> 
    </tr>
    
    </tbody></table>
    <table align="center" border="0" cellpadding="0" cellspacing="0" height="4" width="892">
      <tbody><tr>
        <td height="4" valign="top">
    	<p align="center">
    	<img border="0" src="images/altcizgi.jpg" width="890" height="4"></td><tr>
        <td height="1" valign="top">
    	<p align="center">
    	<?php include "inc/inc.copright.php"; ?></td><html>
    
    
    </html>
    </html>
    <?php
    mysql_free_result($kategorilistesi);
    mysql_free_result($yorumlar);
    mysql_close();
    ?>