-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (69 loc) · 1.82 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>0url</title>
<link rel="stylesheet" href="style.css">
</head>
<body style="background-color: rgb(30,30,30);">
<div class="name">
<center><h1>Welcome on 0url.xyz</h1></center>
</div>
<div class="name2">
<center><h1>Your url shortener</h1></center>
</div>
<form name="creurl" action="createurl.php" method="post" onsubmit="required()">
<div class="urlinput">
<center><input type="text" id="lname" name="lname" value="" placeholder="Enter Url..."><br><br></center>
</div>
<div class="button">
<center><input type="submit" value="Create Url"></center>
</div>
</form>
<form name="showclick" action="https://0url.xyz/showclicks.html">
<div class="button">
<center><input type="submit" value="Show Clicks"></center>
</div>
</form>
<script>
function required()
{
var empt = document.forms["creurl"]["lname"].value;
if (empt == "Enter url...")
{
alert("Error you can't short > Enter url... < ");
window.location.href = 'https://0url.xyz';
return false;
}
else
{
return true;
}
}
</script>
<div class="sclass">
<br></br>
<br></br>
<br></br>
<style>
</style>
<a><center>ShareX Support</center></a>
<a><center>You can add 0url.xyz as coustom url shortener</center></a>
<a><center>Open Api Json code :
<br>{"shortthisurl" : "$input$",
</br>"instanturl" : "on"}</br>
</center></a>
<div class="dbutton">
<br></br>
<form action="https://0url.xyz/sharexpre.zip">
<center><input type="submit" value="Download preset"></center>
</form>
</div>
</div>
<footer>
<form action="https://github.com/Tiegetropfen119/0url-webshortener" >
<center><input type="submit" class="imp" value="GitHub"></center>
</form>
</footer>
</body>
</html>