diff --git a/index.php b/index.php
new file mode 100644
index 0000000..e44446b
--- /dev/null
+++ b/index.php
@@ -0,0 +1,35 @@
+';
+foreach ($pdo->query($sql) as $row){
+ echo '
'.$row['title'].' | '.$row['link'].' |
';
+}
+
+if (isset($_GET['source'])){
+ if (!isset($_GET['time'])){
+ $sql = "SELECT * FROM scans WHERE site=?";
+ $stmt = $pdo->prepare($sql);
+ $stmt->bindParam(1, $_GET['source']);
+ $stmt->execute();
+ $data = $stmt->fetchAll(PDO::FETCH_ASSOC);
+ echo '';
+ }else{
+ $sql = "SELECT * FROM data WHERE scan=?";
+ $stmt = $pdo->prepare($sql);
+ $stmt->bindParam(1, $_GET['time']);
+ $stmt->execute();
+ $data = $stmt->fetchAll(PDO::FETCH_ASSOC);
+ echo '';
+ foreach ($data as $row){
+ echo ''.$row['place'].' | '.$row['amount'].' |
';
+ }
+ echo '
';
+ }
+}
\ No newline at end of file