-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.php
95 lines (89 loc) · 2.28 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
<?php
if(!empty($_POST['link'])){?>
<script>var ted_link="<?php echo $_POST['link']; ?>";</script>
<?php
}
?>
<html>
<head>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-40359712-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="./work.js"></script>
<style>
#loading{
text-align:center;
display:none;
}
.test{
display:none;
}
</style>
<title>TED subtitled words</title></head>
<style type="text/css">
.wordline{
font-weight:bloder;
font-family: Georgia, "Times New Roman", Times, serif;
font-size:0.8cm;
display:inline-block;
vertical-align:middle;
margin-left:20px;
margin-top:10px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
background-color:rgba(0, 235, 255, 0.06);
/*rgba(255, 0, 41, 0.06)*/
}
.wordline2{
font-weight:bloder;
font-family: Georgia, "Times New Roman", Times, serif;
font-size:0.8cm;
display:inline-block;
vertical-align:middle;
margin-left:20px;
margin-top:10px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
.wordline3{
font-weight:bloder;
font-family: Georgia, "Times New Roman", Times, serif;
font-size:0.8cm;
display:inline-block;
vertical-align:middle;
margin-left:20px;
margin-top:10px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
.content_box{
position:absolute;
width:630px;
display:none;
height:90%;
overflow:auto;
}
</style>
<body>
<div class="test"></div>
<a href="http://www.ted.com" target="_blank"><img src="http://assets.tedcdn.com/images/ted_logo.gif"></img></a><br/>
<form method="post" target="./">
<input name="link" id="link" type="text" size="100" value="<?php echo $_POST['link']; ?>">
<input type="submit" value="submit"><div class="note">This might cost you 5 seconds</div>
</form>
<div id="loading"><img src="loading.gif"></img></div>
<div id="js_response"></div>
<div class="content_box"></div>
</body>
</html>