Profile Exit
BÖLÜMLER
sql("SELECT * FROM katagori"); while ($row = mysql_fetch_array($sql)) { ?>

Notice: Undefined index: ID in /var/www/vhosts/hali.com.tr/httpdocs/haberlink.php on line 38
"", "EUR" => "", ); $convert = array( "isim" => "İsim", "forexbuying" => "Alış", "forexselling" => "Satış", ); $content = file_get_contents("http://www.tcmb.gov.tr/kurlar/today.xml"); foreach($currency as $code => $arr){ preg_match("'(.*)'Uis",$content,$crst); foreach($convert as $field => $value){ preg_match("'<".$field.">(.*)'Uis",$crst[2],$frst); $currency[$code][$value] = $frst[1]; } } ?>
Döviz Kurları
DOLAR Alış YTL
Satış YTL
 
EURO Alış YTL
Satış YTL


Notice: Undefined index: ID in /var/www/vhosts/hali.com.tr/httpdocs/haberlink.php on line 103
sql("SELECT * FROM okuma WHERE haberID='".$haber."'"); $kontrol = mysql_num_rows($sql1); if ($kontrol < 1){ $sql2 = $db1->sql("INSERT INTO okuma (haberID,click,ip) VALUES ('".$haber."','1','".$ip."')"); $db1->kapat(); } $db2 = new db(); $sql3 = $db2->sql("SELECT * FROM okuma WHERE haberID='".$haber."'"); $row1 = mysql_fetch_array($sql3); if ($row1['click'] > 0 && $ip !== $row1['ip'] ) { $say = $row1['click'] + 1; $sql3 = $db2->sql("UPDATE okuma SET click='".$say."', ip='".$ip."' WHERE haberID='".$haber."'"); } $sql5 = $db2->sql("SELECT * FROM okuma WHERE haberID='".$haber."'"); $row3 = mysql_fetch_array($sql5); echo 'Bu haber '. $row3['click'] .' okundu.'; $db2->kapat(); } ?>
Fatal error: Class 'db' not found in /var/www/vhosts/hali.com.tr/httpdocs/haberlink.php on line 133