$tgl_pengujung = strtotime("+{$i} day", strtotime($hasil_tgl_bawah2)); $hasil_tgl_pengujung = date('Y-m-d', $tgl_pengujung); $currentStat6 = $tablestat->findStat(tanggal, $hasil_tgl_pengujung, ip); } ?> <?php $tgl3 = date("Y-m-d"); $tgl_bawah3 = strtotime("-1 week +1 day", strtotime($tgl3)); $hasil_tgl_bawah3 = date('Y-m-d', $tgl_bawah3); $tablestatd = new PoTable('traffic'); for ($i3 = 3; $i3 <= 3; $i3++) { $tgl_hits = strtotime("+{$i3} day", strtotime($hasil_tgl_bawah3)); $hasil_tgl_hits = date('Y-m-d', $tgl_hits); $hasil_tgl_hits1 = date('d-m-Y', $tgl_hits); $sql_hits = $tablestatd->findStatd(hits, hitstoday, tanggal, $hasil_tgl_hits, tanggal); if ($sql_hits == '') { $sql_hits3 = '0'; } else { $sql_hits3 = $sql_hits; } } for ($i3 = 4; $i3 <= 4; $i3++) { $tgl_hits = strtotime("+{$i3} day", strtotime($hasil_tgl_bawah3)); $hasil_tgl_hits = date('Y-m-d', $tgl_hits); $hasil_tgl_hits2 = date('d-m-Y', $tgl_hits); $sql_hits = $tablestatd->findStatd(hits, hitstoday, tanggal, $hasil_tgl_hits, tanggal); if ($sql_hits == '') { $sql_hits4 = '0'; } else { $sql_hits4 = $sql_hits;