• 13-07-2009, 02:36:59
    #37
    Reveloper
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\oyun\kategori.php:4) in C:\AppServ\www\oyun\kategori.php on line 6

    6 <? session_start(); ?>
  • 13-07-2009, 03:05:16
    #38
    Misafir
    O kodun altına koyman gerekiyor sessiondan önce veri olmamalı
  • 13-07-2009, 12:38:48
    #39
    Reveloper
    css kayıyor bu seferde :S
  • 13-07-2009, 14:45:34
    #40
    Eposta Aktivasyonu Gerekmekte
    Burti adlı üyeden alıntı: mesajı görüntüle
    css kayıyor bu seferde :S
    <?php
    session_start();
    ?>
    html php kodları vs..
  • 13-07-2009, 15:31:15
    #41
    Reveloper
    aynı şey oluyor
  • 13-07-2009, 17:24:49
    #42
    Eposta Aktivasyonu Gerekmekte
    Burti adlı üyeden alıntı: mesajı görüntüle
    aynı şey oluyor
    en sonki kodları paylaşır mısın.
  • 13-07-2009, 18:15:12
    #43
    Reveloper
    <? session_start(); ?>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head>
    <?include("aynasiz.php");if($_GET){ $kelime = mysql_real_escape_string($_REQUEST['kat']);$sayfa = mysql_real_escape_string($_REQUEST['sayfa']);$result = mysql_query("SELECT * FROM kategori WHERE (kat_link LIKE '%$kelime%'  ) "); while($r=mysql_fetch_array($result, MYSQL_ASSOC)) { $kategori = $r['kat_bas'];echo'<title>'.$siteadi.' '.$kategori.' oyunları kategorisi</title>
    <meta name="keywords" content="'.$siteadi.' '.$kategori.' oyunları, '.$kategori.' kategorisi, '.$kategori.' oyun, '.$kategori.' oyunu">
    <meta name="description" content="'.$siteadi.' '.$kategori.' Oyunları Kategorisi">
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-9\">';}}?> 
    <link href="../stil.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="genel">
    <div id="ust">
    <div class="arama_kutusu">
    <form id="arama_form" method="POST" action="../arama.php">
    <input type="text" name="ara" id="s" size="15" style="color:#000000; width:250px; margin-right:1px; " value="Arama.." onFocus="if (this.value == 'Arama..') this.value = '';" maxlength="32" class="swap_value" />
    <input type="image" src="../images/arabuton.jpg" width="40" height="23" id="git" alt="Arama.." title="Arama.." />
    </form>
    </div>
    <div class="rss">
    <a href="https://www.r10.net/rss/rss.php" title="RSS">
    <img src="https://www.r10.net/images/rss.jpg" border="0"/></a>
    </div>
    </div>
    <? include("menu.php"); ?>
    <div id="orta">
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="600">
    <div class="kutucukust1"><?=$kategori;?> Kategorisi !</div>
    <div class="sagkutucukust1icon"><img src="https://www.r10.net/images/iconlar/icon4.jpg"/></div>
    <div class="kutucuk1">
      <ul>
    <?php
    $result = @mysql_query("SELECT * FROM oyun WHERE  (kategori LIKE '%$kelime%'  ) and onay=1 ORDER BY id DESC ");
    $num_rows = mysql_num_rows( $result );
    $deger = $num_rows / 20 ;
    $deger_sonuc=(integer)$deger;
    if($num_rows!=$deger_sonuc*20){
    $deger_sonuc=$deger_sonuc + 1;}
    $sayfa = $_GET["sayfa"] ? $_GET["sayfa"] : 1; 
    $ksayfa=($sayfa - 1) * 20;
    $result2 = @mysql_query("SELECT * FROM oyun WHERE (kategori LIKE '%$kelime%'  ) and onay=1 limit $ksayfa,20");
    $bulunan=0; while ( $kt = mysql_fetch_array( $result2, MYSQL_ASSOC ) ){$bulunan++;  
    echo '<li><div class="oyunlistresim"><a href="https://www.r10.net/'.$kt['id'].'-'.$kt['seo'].'.html" title="'.$kt['adi'].' Oyunu">
    	<img src="'.$kt['resim'].'" alt="'.$kt['adi'].'" /><p>'.$kt['adi'].'</p></a></div></li>';
    }if ($bulunan==0){  
    echo "<li>Bu Kategoride Şuanda Oyun Bulunmamaktadır.</li><br><br><li>Lütfen Daha Sonra Tekrar Deneyin <br><br><br></li></ul> ";  
    }for ($sayac = 1; $sayac <= $deger_sonuc ; $sayac++ ) {if($sayac==$sayfa){echo "</ul><br><br><br><br><div align=\"center\"><br><br>$sayac<br><br></div>";}else{
    echo "<a href=\"../$kelime-oyunlari-$sayac/\">[$sayac] </a>";}}?> 
    
    	
    	
    		
    
    
    		<div class="space"></div>		
    		<div class="space"></div>
    </div>
    
    		</td>
    
    <? include("sidebar.php"); ?>
    <div id="alt"></div>
    
    </div>
    </body>
    </html>