-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
203 lines (149 loc) · 6.65 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
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
<?php session_start(); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Pragyanand Tiwari IT</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="assets/img/favicon.png" rel="icon">
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Montserrat:300,400,500,700" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/icofont/icofont.min.css" rel="stylesheet">
<link href="assets/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="assets/vendor/ionicons/css/ionicons.min.css" rel="stylesheet">
<link href="assets/vendor/animate.css/animate.min.css" rel="stylesheet">
<link href="assets/vendor/venobox/venobox.css" rel="stylesheet">
<link href="assets/vendor/owl.carousel/assets/owl.carousel.min.css" rel="stylesheet">
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
<!-- Template Main CSS File -->
<link href="assets/css/style.css" rel="stylesheet">
<link href="assets/css/button.css" rel="stylesheet">
</head>
<body>
<!-- ======= Header ======= -->
<header id="header" class="fixed-top header-transparent">
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-xl-11 d-flex align-items-center">
<h1 class="logo mr-auto" style="font-weight:normal;"><a href="">Pragyanand Tiwari</a></h1>
</div>
</div>
</div>
</header><!-- End Header -->
<!-- ======= Intro Section ======= -->
<section id="intro">
<div class="intro-container">
<div id="introCarousel" class="carousel slide carousel-fade" data-ride="carousel">
<div class="carousel-inner" role="listbox">
<div class="carousel-container" style="margin-bottom: -500px">
<div class="container">
<form action="ConvertPdfToImg.php" enctype="multipart/form-data" method="post" name="f1" >
<div class="row">
<div class = "align-label">
<label for = "file" value="pdf" > Choose a PDF </label>
<input type = "file" id = "file" name = "file" accept = "pdf/application">
</div>
</div>
<div class = "row"
style="margin-top: 100px">
<div class = "col-lg12"> </div>
<div class = "col-lg-12"> </div>
<div class = "col-lg-12"> </div>
</div>
<div class = "row" style="margin-top: -50px">
<div class = "col-lg12"></div>
<div class = "col-lg-12"></div>
<div class = "col-lg-12 filename" style="font-family: montserrat; color: white"></div>
</div>
<div class="row">
<div class = "convert-label" >
<label for = "convert">Convert To Image</label>
<input type = "submit" id = "convert" name="convert" class="btn btn-primary" style="opacity: 0; margin-top:-120px" value="submit">
</div>
</div>
<div class="row">
<div class = "encrypt-label" style="float:left;">
<label for = "encrypt">Encrypt</label>
<input type = "submit" id = "encrypt" name="encrypt" class="btn btn-primary" style="opacity: 0; margin-top:-120px;" formaction="encrypt.php">
</div>
<div class="form-group" style="float:left;">
<label for="exampleInputPassword1"></label>
<input type="password" class="form-control passwordField" placeholder="Password" autocomplete="new-password" maxlength=10 name="password">
</div>
</div>
<?php
//echo "
// <div class=\"row\">
// <div class = \"convert-label\" style=\"margin-top: 100px; width: 200px; border-color: rgb(66, 236, 245);\" >
// <a name=\"download\" href = \"Towel Card 200617_images.zip\" style=\"color: white\">Download</a>
// </div>
//</div>";
?>
</form>
</div>
</div>
</div>
</div>
</div>
</section><!-- End Intro Section -->
<!-- ======= Footer ======= -->
<footer id="footer">
<div class="footer-top">
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-6 footer-contact">
<h4>Contact</h4>
<p>
<strong>Phone:</strong> +919950682019<br>
<strong>Email:</strong> tiwaripragyanand@yahoo.in<br>
</p>
<div class="social-links">
<a href="https://www.linkedin.com/in/pragyanand/" class="linkedin"><i class="fa fa-linkedin"></i></a>
</div>
</div>
</div>
</div>
</div>
<div class="container">
</div>
</footer><!-- End Footer -->
<!-- Vendor JS Files -->
<script src="assets/vendor/jquery/jquery.min.js"></script>
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendor/jquery.easing/jquery.easing.min.js"></script>
<script src="assets/vendor/php-email-form/validate.js"></script>
<script src="assets/vendor/waypoints/jquery.waypoints.min.js"></script>
<script src="assets/vendor/counterup/counterup.min.js"></script>
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<script src="assets/vendor/venobox/venobox.min.js"></script>
<script src="assets/vendor/owl.carousel/owl.carousel.min.js"></script>
<script src="assets/vendor/aos/aos.js"></script>
<!-- Template Main JS File -->
<script src="assets/js/main.js"></script>
<!--//script to show file name-->
<script>
$(function()
{
$("#file").change(function(event) {
var x = event.target.files[0].name
$(".filename").text(x)
});
})
</script>
<!--//script to disable enter key-->
<script>
$('form input').keydown(function (e) {
if (e.keyCode == 13) {
e.preventDefault();
return false;
}
});
</script>
</body>
</html>