-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphotouploader.php
101 lines (91 loc) · 3.81 KB
/
photouploader.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
<?php include_once("includes/basic_includes.php");?>
<?php include_once("functions.php"); ?>
<?php
$id=$_GET['id'];
if(isloggedin()){
//do nothing stay here
} else{
header("location:login.php");
}
//calling photo uploader function
if ($_SERVER['REQUEST_METHOD'] == 'POST'){ uploadphoto($id); }
?>
<!DOCTYPE HTML>
<html>
<head>
<title>Find Your Perfect Partner - Makemylove
| Login :: Make My Love
</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<link href="css/bootstrap-3.1.1.min.css" rel='stylesheet' type='text/css' />
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<!-- Custom Theme files -->
<link href="css/style.css" rel='stylesheet' type='text/css' />
<link href='//fonts.googleapis.com/css?family=Oswald:300,400,700' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Ubuntu:300,400,500,700' rel='stylesheet' type='text/css'>
<!--font-Awesome-->
<link href="css/font-awesome.css" rel="stylesheet">
<!--font-Awesome-->
<script>
$(document).ready(function(){
$(".dropdown").hover(
function() {
$('.dropdown-menu', this).stop( true, true ).slideDown("fast");
$(this).toggleClass('open');
},
function() {
$('.dropdown-menu', this).stop( true, true ).slideUp("fast");
$(this).toggleClass('open');
}
);
});
</script>
</head>
<body>
<!-- ============================ Navigation Start =========================== -->
<?php include_once("includes/navigation.php");?>
<!-- ============================ Navigation End ============================ -->
<div class="grid_3">
<div class="container">
<div class="breadcrumb1">
<ul>
<a href="index.php"><i class="fa fa-home home_1"></i></a>
<span class="divider"> | </span>
<li class="current-page">Login</li>
</ul>
</div>
<div class="services">
<div class="col-sm-6 login_left">
<form action="" method="POST" enctype="multipart/form-data">
<div class="form-item form-type-textfield form-item-name">
<label for="edit-name">Upload Your Photo(Upto 4 images, Use 300 x 250 dimensions) <span class="form-required" title="This field is required.">*</span></label>
<input type="file" id="edit-name" name="pic1" class="form-file required">
<input type="file" id="edit-name" name="pic2" class="form-file required">
<input type="file" id="edit-name" name="pic3" class="form-file required">
<input type="file" id="edit-name" name="pic4" class="form-file required">
</div>
<div class="form-actions">
<input type="submit" id="edit-submit" name="op" value="Upload" class="btn_1 submit">
</div>
</form>
</div>
<div class="col-sm-6">
<ul class="sharing">
<li><a href="#" class="facebook" title="Facebook"><i class="fa fa-boxed fa-fw fa-facebook"></i> Share on Facebook</a></li>
<li><a href="#" class="twitter" title="Twitter"><i class="fa fa-boxed fa-fw fa-twitter"></i> Tweet</a></li>
<li><a href="#" class="google" title="Google"><i class="fa fa-boxed fa-fw fa-google-plus"></i> Share on Google+</a></li>
<li><a href="#" class="linkedin" title="Linkedin"><i class="fa fa-boxed fa-fw fa-linkedin"></i> Share on LinkedIn</a></li>
<li><a href="#" class="mail" title="Email"><i class="fa fa-boxed fa-fw fa-envelope-o"></i> E-mail</a></li>
</ul>
</div>
<div class="clearfix"> </div>
</div>
</div>
</div>
<?php include_once("footer.php");?>
</body>
</html>