-
Notifications
You must be signed in to change notification settings - Fork 0
/
index2.php
379 lines (377 loc) · 27 KB
/
index2.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
<html>
<head>
<title>A.R.S. Builder for Echo</title>
<link rel="icon" href="https://images-ext-1.discordapp.net/eyJ1cmwiOiJodHRwczovL2VjaG8ueHRjbGFicy5uZXQvZmF2aWNvbi5wbmcifQ.e8gkaoxk2ywaxuE7RGln3c2thxA" type="image/x-icon">
<link rel="stylesheet" type="text/css" media="all" href="css/arscreator.css?v=<?=time();?>" />
<link rel="stylesheet" type="text/css" media="all" href="css/fontstyles.css?v=<?=time();?>" />
<link rel="stylesheet" media="all" href="https://fonticons-free-fonticons.netdna-ssl.com/kits/ffe176a3/ffe176a3.css" />
<script src="https://use.fontawesome.com/f0f9521dc2.js"></script>
<meta charset="UTF-8" />
<meta charset="UTF-16" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
</head>
<body id="body">
<div class="creator">
<div id="Alert" class="alert" style="margin: -500% auto 0px; opacity: 0; transition: 0.2s;">
<h3 style="float: left; padding: 0; margin: 0; color: rgb(226, 32, 32); margin-bottom: -20px;">Error:</h3><br>
<span id="AlertMessage" style="position: absolute; float: left; padding: 0; padding-left: 0; padding-right: 50px; margin: 0;"></span><br><br><br>
<button class="button" style="position: absolute; bottom: 13px; right: 10px;" onclick="CloseAlertDiv(); return false;">Ok</button>
</div>
<div id="KeyList" style="opacity: 0; transition: 1s;" >
<div id="KeyListContent" class="KeyListContent" style="margin: -500% auto; transition: margin 0.5s;">
<button class="buttonkeyscontent" onclick="CloseKeyDiv(); return false;">Close <i class="fa fa-times" aria-hidden="true" style="font-size: 16px;"></i></button>
<h1>
Pick a Key.
</h1>
<div class="KeyContent">
<div class="innerKeyContent">
<div class="KeyContentKey" id="AddParamsKeyDiv">
<span class="bold" style="padding: 3px 0px 3px 0px;">Add a <label class="DCSL skipbold">{params}</label> key.</span><input type="button" id="AddParamsKey" class="addbutton" onclick="AddItem(1);" value="{params}" disabled="true" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{pm}</label> key.</span><input type="button" id="AddPMKey" class="addbutton" onclick="AddItem(2);" value="{pm}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{user}</label> key.</span><input type="button" id="AddMUserKey" class="addbutton" onclick="AddItem(3);" value="{user}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{/user}</label> key.</span><input type="button" id="AddNMUserKey" class="addbutton" onclick="AddItem(4);" value="{/user}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{role}</label> key.</span><input type="button" id="AddRoleKey" class="addbutton" onclick="AddItem(5);" value="{role}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{take}</label> key.</span><input type="button" id="AddTakeKey" class="addbutton" onclick="AddItem(6);" value="{take}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{kick}</label> key.</span><input type="button" id="AddKickKey" class="addbutton" onclick="AddItem(7);" value="{kick}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{ban}</label> key.</span><input type="button" id="AddBanKey" class="addbutton" onclick="AddItem(8);" value="{ban}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{req}</label> key.</span><input type="button" id="AddReqKey" class="addbutton" onclick="AddItem(9); setTimeout(function() {KeyDiv();}, 100);" value="{req}"/>
</div>
<br>
<div class="KeyContentKey" id="AddNotReqKeyDiv">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{notreq}</label> key.</span><input type="button" id="AddNotReqKey" class="addbutton" onclick="AddItem(10);" value="{notreq}" disabled="true" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{exc}</label> key.</span><input type="button" id="AddExcKey" class="addbutton" onclick="AddItem(11); setTimeout(function() {KeyDiv();}, 100);" value="{exc}"/>
</div>
<br>
<div class="KeyContentKey" id="AddIsExcKeyDiv">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{isexc}</label> key.</span><input type="button" id="AddIsExcKey" class="addbutton" onclick="AddItem(12);" value="{isexc}" disabled="true" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{alert}</label> key.</span><input type="button" id="AddAlertKey" class="addbutton" onclick="AddItem(13);" value="{alert}"/>
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{pref}</label> key.</span><input type="button" id="AddPrefKey" class="addbutton" onclick="AddItem(14);" value="{pref}"/>
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{greet}</label> key.</span><input type="button" id="AddGreetKey" class="addbutton" onclick="AddItem(15);" value="{greet}"/>
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{bye}</label> key.</span><input type="button" id="AddByeKey" class="addbutton" onclick="AddItem(16);" value="{bye}"/>
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{del}</label> key.</span><input type="button" id="AddDelKey" class="addbutton" onclick="AddItem(17);" value="{del}"/>
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{chan}</label> key.</span><input type="button" id="AddChanKey" class="addbutton" onclick="AddItem(18);" value="{chan}"/>
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{ismaster}</label> key.</span><input type="button" id="AddIsMasterKey" class="addbutton" onclick="AddItem(19);" value="{ismaster}"/>
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{listroles}</label> key.</span><input type="button" id="AddListRolesKey" class="addbutton" onclick="AddItem(20);" value="{listroles}"/>
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{allroles}</label> key.</span><input type="button" id="AddallrolesKey" class="addbutton" onclick="AddItem(21);" value="{allroles}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{joined}</label> key.</span><input type="button" id="AddJoinedKey" class="addbutton" onclick="AddItem(22);" value="{joined}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{channels}</label> key.</span><input type="button" id="AddChannelsKey" class="addbutton" onclick="AddItem(23);" value="{channels}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{meme}</label> key.</span><input type="button" id="AddMemeKey" class="addbutton" onclick="AddItem(24);" value="{meme}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{joke}</label> key.</span><input type="button" id="AddJokeKey" class="addbutton" onclick="AddItem(25);" value="{joke}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{ass}</label> key.</span><input type="button" id="AddAssKey" class="addbutton" onclick="AddItem(26);" value="{ass}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{boobs}</label> key.</span><input type="button" id="AddBoobsKey" class="addbutton" onclick="AddItem(27);" value="{boobs}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{sky}</label> key.</span><input type="button" id="AddSkyKey" class="addbutton" onclick="AddItem(28);" value="{sky}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{cats}</label> key.</span><input type="button" id="AddCatsKey" class="addbutton" onclick="AddItem(29);" value="{cats}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{wrecks}</label> key.</span><input type="button" id="AddWrecksKey" class="addbutton" onclick="AddItem(30);" value="{wrecks}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{space}</label> key.</span><input type="button" id="AddSpaceKey" class="addbutton" onclick="AddItem(31);" value="{space}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{dbz}</label> key.</span><input type="button" id="AddDBZKey" class="addbutton" onclick="AddItem(32);" value="{dbz}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{cute}</label> key.</span><input type="button" id="AddCuteKey" class="addbutton" onclick="AddItem(33);" value="{cute}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{cars}</label> key.</span><input type="button" id="AddCarsKey" class="addbutton" onclick="AddItem(34);" value="{cars}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{trucks}</label> key.</span><input type="button" id="AddTrucksKey" class="addbutton" onclick="AddItem(35);" value="{trucks}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{protect}</label> key.</span><input type="button" id="AddProtectKey" class="addbutton" onclick="AddItem(36);" value="{protect}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{timestamp}</label> key.</span><input type="button" id="AddTimeStampKey" class="addbutton" onclick="AddItem(37);" value="{timestamp}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{usernick}</label> key.</span><input type="button" id="AddUserNickKey" class="addbutton" onclick="AddItem(38);" value="{usernick}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{self}</label> key.</span><input type="button" id="AddSelfKey" class="addbutton" onclick="AddItem(39);" value="{self}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{getid}</label> key.</span><input type="button" id="AddGetIdKey" class="addbutton" onclick="AddItem(40);" value="{getid}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{rawid}</label> key.</span><input type="button" id="AddRawIdKey" class="addbutton" onclick="AddItem(41);" value="{rawid}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{usericon}</label> key.</span><input type="button" id="AddUserIconKey" class="addbutton" onclick="AddItem(42);" value="{usericon}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{membercount}</label> key.</span><input type="button" id="AddMemberCountKey" class="addbutton" onclick="AddItem(43);" value="{membercount}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{rolecount}</label> key.</span><input type="button" id="AddRoleCountKey" class="addbutton" onclick="AddItem(44);" value="{rolecount}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{channelcount}</label> key.</span><input type="button" id="AddChannelCountKey" class="addbutton" onclick="AddItem(45);" value="{channelcount}" />
</div>
<br>
<div class="KeyContentKey">
<span class="bold" style="padding: 3px 0px 3px 0px; margin-bottom: -3px;">Add a <label class="DCSL skipbold">{myperms}</label> key.</span><input type="button" id="AddMyPermsKey" class="addbutton" onclick="AddItem(46);" value="{myperms}" />
</div>
<br>
</div>
</div>
</div>
</div>
<!--
<div id="AutoAddItemForType5Div" style="display:none;">
<div class="KeyListContent">
<h1>
Pick a Key.
</h1>
<button class="buttonkeyscontent" onclick="CloseAutoAddItemForType5(); return false;">Close ⨉</button>
<div class="keycontent">
<div class="keycontent1"><span class="bold">Add a <label class="DCSL skipbold">{params}</label> key in your <label class="DCSL skipbold">{role}</label> key.</span><input type="button" class="addbutton" id="AddItem1ToKey5" onclick="AddItemToKey5(1);" value="{params}" disabled="true"></input></div><br>
</div>
</div>
</div>
-->
<!-- !!! Content should ALWAYS be visible. !!! -->
<div id="Content" class="content" style="opacity: 1; transition: 0.2s; display: block !important; min-height: 80%; pointer-events: all;">
<div style="display: inline-block; float: right;">
<button id="ShowSettingsButton" class="button" style="width: 75px; height: 24px; margin: 0px 0px -24px -75px; display: block;" onclick="ShowSettings(); return false;">Settings <i class="fa fa-cog" aria-hidden="true" style="font-size: 16px;"></i></button>
<button id="HideSettingsButton" class="buttonkeyscontent" onclick="HideSettings(); return false;" style="width: 75px; height: 24px; margin: 0px 0px -24px -75px; display: none;">Close <i class="fa fa-times" aria-hidden="true" style="font-size: 16px;"></i></button>
</div>
<div id="Settings" style="opacity: 0; transition: opacity 1s; height: 0px;">
<div id="SettingsContent" style="display: none;">
<h1 id="SettingsTitle" style="margin-bottom: calc(1%);">
Settings | Options
</h1>
<ul id="SettingsMenu" class="SettingsMenu">
<li>
<a id="SettingsOptions" class="MenuButton bold" style="background-color: rgba(78, 145, 206, 1);" onclick="ShowOptions(); return false;">Options</a>
</li>
<li>
<a id="SettingsLog" class="MenuButton bold" style="background-color" onclick="ShowLog();">Log</a>
</li>
<li>
<a id="SettingsChangelog" class="MenuButton bold" style="background-color" onclick="ShowChangelog(); GetChangelog();">Changelog</a>
</li>
<li>
<a id="SettingsTriggers" class="MenuButton bold" style="background-color" onclick="ShowTriggers();">Triggers</a>
</li>
<li id="SettingsARSLibrary">
</li>
<li id="SettingsDocumentation" class="Dropdown">
<a class="DropdownMenuButton bold" onclick="alert('Documentation');">Documentation</a>
<div id="DocumentationDropdown" class="DropdownContent" style="z-index: 10;">
<a class="DropdownMenuButton bold" onclick="alert('Testing 1');">Seach Filters</a>
<a class="DropdownMenuButton bold" onclick="alert('Testing 2');">Testing 2</a>
<a class="DropdownMenuButton bold" onclick="alert('Testing 3');">Testing 3</a>
<a class="DropdownMenuButton bold" onclick="alert('Testing 4');">Testing 4</a>
</div>
</li>
</ul>
<div id="Options" style="opacity: 1; transition: opacity 1s; height: calc(100% - 70px); margin-top: -10px;">
<div id="outerOptionsContent" class="Log" style="display: block; transition: display 0.5s;">
<div class="LogContent">
<span id="OptionAutocomplete" value="0" style="font-size: 15px;">
<i class='fa fa-square-o' aria-hidden='true'></i><span> Disable autocompletion.</span>
</span>
<br>
<span id="OptionAutoSpacing" value="0" style="font-size: 15px;">
<i class='fa fa-square-o' aria-hidden='true'></i><span> Disable automatically adding whitespaces.</span>
</span>
</div>
</div>
</div>
<div id="Log" style="opacity: 0; transition: opacity 1s; height: 0px; margin-top: -10px;">
<div id="outerLogContent" class="Log" style="display: none; transition: display 0.5s;">
<div class="LogContent">
<div id="LogContent" class="innerLogContent"></div>
</div>
</div>
</div>
<div id="Changelog" style="opacity: 0; transition: opacity 1s; height: 0px; margin-top: -10px;">
<div id="outerChangelogContent" class="Log" style="display: none; transition: display 0.5s;">
<div class="LogContent">
<div class="innerLogContent" id="ChangelogContent" style="background-color: rgba(51, 51, 51, 0.3); border: 2px solid rgba(51, 51, 51, 1); border-radius: 10px 5px 5px 10px; height: auto !important; max-height: calc(100%);"></div>
</div>
</div>
</div>
<div id="Triggers" style="opacity: 0; transition: opacity 1s; height: 0px; margin-top: -10px;">
<div id="outerTriggersContent" class="Log" style="display: block; transition: display 0.5s;">
<div class="LogContent">
<div style="float: right; display: inline-block; width: calc(50%); height: calc(100%); position: relative; background-color: rgba(51, 51, 51, 0.5); padding: 10px; border: 1px solid rgba(51, 51, 51, 1);" id="UOptions">
<button id="ANT" class="button">Create new trigger</button>
</div>
<div id="UploadField" onClick='$("#Uploader").click();' style="width: calc(50%); height: calc(100%); border: 1px solid rgba(51, 51, 51, 1); border-radius: 15px; text-align: center; display: inline-block; cursor: pointer; background: rgba(51, 51, 51, 0.5); padding: 10px;">
<div style="display: block; height: 100%;width: 100%;position: relative;justify-content: center;display: flex;align-items: center;" id="UContentDefault">
<span style="font-size: 25px; color: rgba(248, 248, 248, 0.5); cursor: pointer;">
<i class="fa fa-upload" aria-hidden="true" style="font-size: 40px;"></i>
<br>
Click to upload your <span class="italic">autoresponse.json</span>!
</span>
</div>
<div style="display: none; height: 100%;width: 100%;position: relative;justify-content: center;display: flex;align-items: center;" id="UContent"></div>
<div style="display: none; height: 100%;width: 100%;position: relative;justify-content: center;display: flex;align-items: center;" id="AddNewTrigger">
<span class="bold">Trigger name: <input type="text" class="input" id="ANTTriggerName" value="" placeholder="Trigger name" /></span>
<br>
<span id="ANTUseParams">
<i class='fa fa-square-o' aria-hidden='true'></i><span class='bold'>Use <span class='skipbold DSCL'>{params}</span>.</span>
</span>
<button id="ANTSubmit" class="button">Add Trigger</button>
</div>
</div>
<div id="UARSHidden" style="display: none;">
<input class="button" type="file" id="Uploader" value="Upload" accept=".json" onChange='$("#UploadButton").click();'/>
<button class="button" id="UploadButton">Upload!</button>
<button class="button" id="IUARSButton">Initialize Trigger</button>
<span id="RemoveTemp"></span>
</div>
</div>
</div>
</div>
<button class="ClearButton" onclick="ClearStorage();">Clear Builder</button>
</div>
</div>
<div id="Creator" style="display: block;">
<h1>A.R.S. Builder for Echo Discord bot.</h1>
<div class="bold trigger">Echo's Prefix<div class="ReqTip">*<div class="ReqTipText">This field is required. Filled in by default.</div></div>: <input class="prefix bold input" type="text" name="EchoPrefix" id="EchoPrefix" placeholder="." maxlength="3" value="." onchange="SetTrigger();" autocomplete="on"/></div>
<div class="bold trigger">
<select id="UARSList" onChange='$("#IUARSButton").click();'>
<option id="UARSDefault">Upload your file!</option>
</select>
</div>
<div class="bold trigger">Trigger name<div class="ReqTip">*<span class="ReqTipText">This field is required.</span></div>: <input class="input" type="text" name="TriggerName" id="TriggerName" placeholder="Trigger name" value="" onblur="SetTrigger();" autocomplete="on"/></div>
<div class="bold EnablePar trigger"><input type="text" class="input" name="TriggerNameAfterParams" id="TriggerNameAfterParams" placeholder="Trigger text after {params}" value="" onchange="SetTrigger();" onFocus="SetTrigger();" disabled="true" style="opacity: 0.5;" autocomplete="on" /><input class="EnableParBox" type="checkbox" name="UseParamsInTrigger" id="UseParamsInTrigger" value="UseParams" onchange="SetTrigger(this.checked);" />Enable <span class="DCSL skipbold">{params}</span> in your trigger.</div>
<br>
<br>
<div id="KeysList" class="Keys">
<label class="bold" style="padding-bottom: 4px;">Used Keys:</label>
<div style="float: right; display: inline-block; height: 24px; padding: 0px 0px 6px; margin-top: -3px;">
<button class="button" style="vertical-align: text-bottom; margin-bottom: 0px; height: 24px; line-height: 1.3;" onclick="KeyDiv(); return false;">Add a Key</button>
<button id="AddTextFieldDiv" style="vertical-align: text-bottom; float: none; margin-bottom: 0px; height: 24px; line-height: 1.3;" class="addbutton" onclick="AddItem(0); return false;">Normal Text</button>
<button id="AddLinebreakDiv" style="vertical-align: text-bottom; float: none; margin-bottom: 0px; height: 24px; line-height: 1.3;" class="addbutton" onclick="AddItem(100); return false;">Add Linebreak</button>
<div id="SearchForKeysParentDiv" class="searcher" style="height: 24px; vertical-align: text-bottom;"><span class="bold">Search:</span><input type="text" id="SearchForKeysInput" class="input" style="vertical-align: top; margin-left: 2px; height: 17px; line-height: 1.3;" value="" placeholder="More info in settings." onkeyup="SearchForKeys(0, 0);"/></div><div class="searcher-button" style="height: 24px; vertical-align: text-bottom; width: 24px;" onclick="SearchForKeys(0, 0);"><i class="fa fa-search" style="padding: 3px 3px 3px 4px; font-size: 16px; display: inline-block;" aria-hidden="true"></i></div>
</div>
<hr style="margin-top: 6px; border: 1px solid rgba(51, 51, 51, 1);">
<div id="Processing" style="">
<div id="UsedItems" class="innerKeys" style></div>
</div>
</div>
<div class="outputdiv">
<label class="bold">Your Echo command:</label>
<div id="Output" class="output"><label id="Trigger" style="cursor: text;"></label><label id="Response" style="cursor: text;"></label></div>
</div>
</div>
</div>
</div>
<div style="height: 75px;"></div>
<div class="footer">
<div>
<p>2017 © xTech Labs. All Rights Reserved</p><br>
<a class="link" href="https://echo.xtclabs.net/home.php" target=_blank>Echo 2.0</a> by Proxy#0814. <button class="link" onclick="var X = window.pageXOffset; var Y = window.pageYOffset; SmoothScrollToTop(X, Y);">A.R.S. Builder</button> by JurrijnP#1676.
</div>
</div>
<script src="/js/System.js?v=<?=time();?>" type="text/javascript"></script>
<script src="/js/TrelloWidget2.js?v=<?=time();?>" type="text/javascript"></script>
<script src="/js/Searcher.js?v=<?=time();?>" type="text/javascript"></script>
<script src="/js/TimeDate.js?v=<?=time();?>" type="text/javascript"></script>
<script src="/js/PageShow.js?v=<?=time();?>" type="text/javascript"></script>
<script src="/js/Upload.js?v=<?=time();?>" type="text/javascript"></script>
<script src="/js/Options.js?v=<?=time();?>" type="text/javascript"></script>
<script src="/js/Window.js?v=<?=time();?>" type="text/javascript"></script>
<script src="/js/Triggers.js?v=<?=time();?>" type="text/javascript"></script>
</body>
</html>