-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathrun.php
63 lines (59 loc) · 1.13 KB
/
run.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<html>
<head>
<title>NewsBot</title>
<meta charset="UTF-8">
<style>
body {
margin: 20px;
padding: 0;
font-family: Arial;
}
h1, h2, h3, p, li {
color: black;
font-size: 14px;
font-family: Arial;
}
p {
padding: 0;
margin: 5px 0;
}
ul {
margin: 0;
padding: 0;
}
textarea {
height: 90px;
width: 800px;
}
.line-preview,
.short-preview {
border: 1px solid #ccc;
height: 80px;
width: 80%;
max-width: 800px;
padding-left: 5px;
padding-top: 2px;
overflow: hidden;
overflow-y: scroll;
}
.line-preview {
height: 18px;
}
</style>
</head>
<body>
<h1>Hello Bot</h1>
<p>Lets play a game</p>
<!--ul>
<li>A bot may not spam the social network, through inaction, allow a social network to come to harm.</li>
<li>A bot must obey the orders given to it by social users, except where such orders would conflict with the First Law.</li>
<li>A bot must protect its own existence as long as such protection does not conflict with the First or Second Law.</li>
</ul-->
<hr/>
<?php
require('newsbot.php');
$list = new NewsBot();
$list->gather();
?>
</body>
</html>