/
index.php
97 lines (85 loc) · 3.67 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
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
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Hello, My name is Amar Pandey and I am a computer science engineer.I expect to graduate with a Bachelors degree in May 2017." />
<meta name="keywords" content="Hello, my name is Amar Pandey and I am a computer science engineer.I expect to graduate with a Bachelors degree in May 2017.
I love Web Design/Development.
The languages I use are: PHP, HTML, CSS, Java(Script)
and last but not least English!
I like designs that are clean/simple but still include a lot of functionality." />
<meta name="author" content="Amar Prakash Pandey">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow" />
<meta name="revisit-after" content="1 days" />
<title>Responsinator | Project</title>
<!-- Amar Prakash Pandey | Portfolio | Kickstart --><cmt>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" src="jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="bootstrap.min.css">
<script type="text/javascript" src="bootstrap.min.js"></script>
<script type="text/javascript" src="script.js"></script>
<style type="text/css" href="style.css"></style>
</head>
<body style="background-color:#444">
<!--<h1>Responsinator</h1>
<center>
<div class="header">
<h3>Enter the Url</h3>
<form>
<input type="text" id="name" placeholder="www.amarpandey.ml"><br><br>
<input class="style" type="button" value="Small" onclick="small()">
<input class="style" type="button" value="Medium" onclick="medium()"><br><br>
<input class="style" type="button" value="Large" onclick="large()">
<input class="style" type="button" value="Full" onclick="full()">
<br><br>
<br>
</form>
</div>-->
<div class="header">
<div class="left"><br>
<?php
if($_SERVER["REQUEST_METHOD"] == "POST")
{
$name = $_POST['see'];
?>
<form method="POST" action="index.php">
<input type="text" id="name" placeholder="<?php echo $name ?>" name="see">
<input class="button" value="GO" type="submit">
</form>
</div>
<div class="right"><br>
<button class="button-part" id="small">Small</button>
<button class="button-part" id="medium">Medium</button>
<button class="button-part" id="large">Large</button>
<button class="button-part" id="full">Full</button>
<button class="button-part" id="dance">Dance</button>
<button class="button-part" id="increase" >Increase</button>
<button class="button-part" id="decrease">Decrease</button>
</div>
</div>
<div class="iframe">
<iframe src="<?php echo "http://".$name ?>"></iframe>
</div>
<?php } else { ?>
<form method="post" action="index.php">
<input type="text" id="name" placeholder="www.amarpandey.ml" name="see">
<input class="button" value="GO" type="submit">
</div>
<div class="right"><br>
<button class="button-part" id="small">Small</button>
<button class="button-part" id="medium">Medium</button>
<button class="button-part" id="large">Large</button>
<button class="button-part" id="full">Full</button>
<button class="button-part" id="dance">Dance</button>
<button class="button-part" id="increase" >Increase</button>
<button class="button-part" id="decrease">Decrease</button>
</div>
</div>
<div class="iframe">
<iframe src="http://www.amarpandey.ml"></iframe>
</div>
<?php } ?>
</body>
</html>