-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathiframe.php
51 lines (47 loc) · 1.16 KB
/
iframe.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
<?php
require_once('config.php');
$iframe = "";
if (isset($_GET["iframe"])){
$iframe = $_GET["iframe"];
}
?>
<html>
<head>
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/app.css" />
<link rel="stylesheet" href="css/styles.css" />
<link rel="stylesheet" href="css/font-awesome.min.css" />
<title id="title">iFrame</title>
<script type="text/javascript" src="js/jquery.min.js"></script>
</head>
<body>
<div class="container" style="padding-top:10px">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
<h1 id="h1">Iframe</h1>
</div>
<div class="panel-body">
<?php
if ($iframe != ""){
?>
<iframe src="<?php echo $iframe;?>" style="width:600px;height:400px;"></iframe>
<?php
}
?>
</div>
</div>
<!--
<div>
<form method="get" action="#">
<input type="text" name="iframe" value="<?php echo $iframe;?>" />
<input type="submit" class="btn btn-primary"/>
</form>
</div>
-->
</div>
</div>
</div>
</body>
</html>