sql("SELECT * FROM katagori Left Join altkatagori ON katagori.katagoriID = altkatagori.altkatagoriID WHERE katagori.katagoriID='".$_GET['ID']."' "); $row2 = mysql_fetch_array($sql2); ?> sql($sql); $sql = "SELECT * FROM haber WHERE katagoriID='".$_GET['ID']."' ORDER BY haber.siralama DESC,haber.tarih DESC "; } else { $db->sql($sql); $sql="SELECT * FROM haber ORDER BY haber.siralama DESC,haber.tarih DESC"; } include("class/page.php"); $pager = new pager($sql,'sayfa',10); while ($row = mysql_fetch_array($pager->result)){ ?>
show(); ?>