-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
23 lines (20 loc) · 1.01 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
if (isset($_GET['setup'])) {
echo '<form action="setup.php" style="text-align: center; margin: auto; width: 450px; margin-top:10%;" method="post">
<a href="index.php">Home</a><br/><br/>
Consumer key :<br/><input type="text" name="key" style="width: 250px" required><br/><br/>
Consumer Secret :<br/><input type="text" name="key_secret" style="width: 250px" required><br/><br/>
Access Token :<br/><input type="text" name="token" style="width: 250px" required><br/><br/>
Access Token Secret :<br/><input type="text" name="token_secret" style="width: 250px" required><br/><br/>
Twitter ScreenName (@ScreenName) :<br/><input type="text" name="screen_name" style="width: 250px" required><br/><br/>
<button type="submit">Setup UnRT !</button>
</form>';
die();
}
require "config.php";
include "unrt.php";
?>
<form action="clear.php" method="post" style="text-align: center; margin: auto; width: 450px; margin-top: 20%;">
<a href="index.php?setup">Setup</a><br/><br/>
<button type="submit">Clear all my RTs</button>
</form>