-
Notifications
You must be signed in to change notification settings - Fork 0
/
addpic.html
133 lines (118 loc) · 3.96 KB
/
addpic.html
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
<html>
<head>
<title>Add Pics</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="icon" href="Penguins.jpg">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&lang=en" />
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#topNavBar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">CoolPics</a>
</div>
<!-- items -->
<div class="collapse navbar-collapse" id="topNavBar">
<ul class="nav navbar-nav">
<li class="active">
<a href="pics.php">
<span class="glyphicon glyphicon-th-large" aria-hidden="true"></span>
Pics
</a>
</li>
</ul>
<form class="navbar-form navbar-left" role="search" method="get" action="search.php">
<div class="form-group">
<input type="text" class="form-control" name="q" placeholder="Images by Username">
</div>
<button type="submit" class="btn btn-default">Search</button>
</form>
<ul class="nav navbar-nav navbar-right">
<li class="">
<a href="https://github.com/arindam-modak" style="text-decoration:none;"><i class="fa fa-github" aria-hidden="true"></i> ADM</a>
</li>
<li class="">
<a href="addpic.php">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
Add Pic
</a>
</li>
<li class="">
<a href="FileUpload.php">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
Upload Pic
</a>
</li>
<li class="">
<a href="register.php">
<span class="glyphicon glyphicon-th-large" aria-hidden="true"></span>
Register
</a>
</li>
<li class="">
<a href="login.php">
<span class="glyphicon glyphicon-user" aria-hidden="true"></span>
login
</a>
</li>
<li class="">
<a href="logout.php">
<span class="glyphicon glyphicon-off" aria-hidden="true"></span>
Logout
</a>
</li>
</ul>
</div>
</div>
</nav>
<!--
<div class="container-fluid">
<form action="addpic.php">
<table border="1" align="center">
<tr>
<td>Id</td>
<td><input type="text" name="txtId"></td>
</tr>
<tr>
<td>Name</td>
<td><input type="text" name="txtName"></td>
</tr>
<tr>
<td>Pic Url</td>
<td><input type="text" name="txtUrl"></td>
</tr>
<tr>
<td colspan='2'>
<input type="submit" name="btnAdd" value="Add Pic">
</td>
</tr>
</form>
</div>
-->
<br><br>
<div class="container">
<h2>Add Pics Form</h2>
<p>Add Cool Pics from Web or Social Networking Sites!!!</p>
<form class="form" action="addpic.php" method="POST">
<div class="form-group">
<label for="email">Name:</label>
<input type="text" name="txtName" class="form-control" placeholder="Enter your name">
</div>
<div class="form-group">
<label for="email">URL:</label>
<input type="text" name="txtUrl" class="form-control" placeholder="Enter url of Pic">
</div>
<center><input type="submit" name="btnAdd" class="btn btn-default" value="Add Pic"></center>
</form>
</div>
</body>
</html>