Something went wrong.
/** * Hisse Bot */ /* Kod=PARSN|Kod=PARSN|Robot=Trendy|date=10.03.2021 12:57:20|Lot=1|Cost=34,58 Kod=SANKO|Kod=SANKO|Robot=Trendy|date=04.03.2021 17:30:23|Lot=1|Cost=9,45 Kod=TMSN|Kod=TMSN|Robot=Trendy|date=10.03.2021 17:11:28|Lot=1|Cost=20,50 Kod=ULKER|Kod=ULKER|Robot=Trendy|date=04.03.2021 17:07:55|Lot=1|Cost=22,18 Kod=VERTU|Kod=VERTU|Robot=Trendy|date=10.03.2021 17:48:16|Lot=1|Cost=31,12 Kod=VESBE|Kod=VESBE|Robot=Trendy|date=04.03.2021 17:01:12|Lot=5|Cost=53,05 */ if ( isset($_GET['hisse-bot']) ) { if ( $_GET['hisse-bot'] != 666 ) return; define('DEBUG_FORCE', true); //dropbox_ideal_dir(); // Dosyayı OKU $file = ABSPATH.'wp-content/uploads/iDeal/Portfoyum.txt'; $islemler = explode("\n", file_get_contents($file) ); $r = array(); $counter = 0; $Portoyum = array(); foreach ($islemler as $key => $islem) { # İşlem $i = explode("|", $islem); $kod = ""; $arr = array(); foreach ($i as $x) { $x2 = explode("=", $x); if ( !isset($x2[1]) ) continue; $kod = ($x2[0]=="Kod") ? $x2[1] : $kod ; $arr [$x2[0]] = $x2[1]; } if (!empty($kod)) $Portoyum [$kod] = $arr; } debug($Portoyum); exit; }