Skip to content

Commit cc729a2

Browse files
author
prathmesh36
committed
Website Add
1 parent e665963 commit cc729a2

File tree

3,806 files changed

+522
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,806 files changed

+522
-0
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

OCR Web/connect.php

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
$con=mysqli_connect('localhost','root','');
3+
$database=@mysqli_select_db($con,'ocrform');
4+
if($con && $database)
5+
{
6+
}
7+
else
8+
{
9+
echo die('<b style="color:red;">Database Error-:The Sever is Not Connected Please Visit Later</b>');
10+
}
11+
?>

OCR Web/forms.jpg

18.6 KB

OCR Web/index.php

+318
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,318 @@
1+
<?php
2+
include 'connect.php';
3+
$query="SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA='ocrform'";
4+
$query_run=mysqli_query($con,$query);
5+
?>
6+
7+
<!DOCTYPE html>
8+
<html lang="en">
9+
<head>
10+
<title>Bootstrap Example</title>
11+
<meta charset="utf-8">
12+
<meta name="viewport" content="width=device-width, initial-scale=1">
13+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
14+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
15+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
16+
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,400italic,600,700' rel='stylesheet' type='text/css'>
17+
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" type="text/css"/>
18+
<link rel="stylesheet" href="fonts/flaticon/flaticon.css" type="text/css"/>
19+
<style type="text/css">
20+
/* Remove the navbar's default margin-bottom and rounded borders */
21+
.navbar {
22+
margin-bottom: 0;
23+
border-radius: 0;
24+
}
25+
26+
/* Add a gray background color and some padding to the footer */
27+
footer {
28+
background-color: #f2f2f2;
29+
padding: 25px;
30+
}
31+
32+
.post-module {
33+
position: relative;
34+
z-index: 1;
35+
display: block;
36+
background: #FFFFFF;
37+
min-width: 270px;
38+
height: 350px;
39+
-webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
40+
-moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
41+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
42+
-webkit-transition: all 0.3s linear 0s;
43+
-moz-transition: all 0.3s linear 0s;
44+
-ms-transition: all 0.3s linear 0s;
45+
-o-transition: all 0.3s linear 0s;
46+
transition: all 0.3s linear 0s;
47+
}
48+
.post-module:hover,
49+
.hover {
50+
-webkit-box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
51+
-moz-box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
52+
box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
53+
}
54+
.post-module:hover .thumbnail img,
55+
.hover .thumbnail img {
56+
-webkit-transform: scale(1.1);
57+
-moz-transform: scale(1.1);
58+
transform: scale(1.1);
59+
opacity: .6;
60+
}
61+
.post-module .thumbnail {
62+
background: #000000;
63+
height: 350px;
64+
overflow: hidden;padding: 0;
65+
}
66+
.post-module .thumbnail .date {
67+
position: absolute;
68+
top: 20px;
69+
right: 20px;
70+
z-index: 1;
71+
background: #0F5754;
72+
width: 55px;
73+
height: 55px;
74+
padding: 12.5px 0;
75+
-webkit-border-radius: 100%;
76+
-moz-border-radius: 100%;
77+
border-radius: 100%;
78+
color: #FFFFFF;
79+
font-weight: 700;
80+
text-align: center;
81+
-webkti-box-sizing: border-box;
82+
-moz-box-sizing: border-box;
83+
box-sizing: border-box;
84+
}
85+
.post-module .thumbnail .date .day {
86+
font-size: 18px;
87+
line-height: 31px;
88+
color: #fff;
89+
}
90+
.post-module .thumbnail .date .month {
91+
font-size: 12px;
92+
text-transform: uppercase;
93+
}
94+
.post-module .thumbnail img {
95+
display: block;
96+
width: 120%;
97+
-webkit-transition: all 0.3s linear 0s;
98+
-moz-transition: all 0.3s linear 0s;
99+
-ms-transition: all 0.3s linear 0s;
100+
-o-transition: all 0.3s linear 0s;
101+
transition: all 0.3s linear 0s;
102+
}
103+
.post-module .post-content {
104+
position: absolute;
105+
bottom: 0;
106+
background: #FFFFFF;
107+
width: 100%;
108+
padding: 0 30px;
109+
-webkti-box-sizing: border-box;
110+
-moz-box-sizing: border-box;
111+
box-sizing: border-box;
112+
-webkit-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
113+
-moz-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
114+
-ms-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
115+
-o-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
116+
transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
117+
}
118+
.post-module .post-content .category {
119+
position: absolute;
120+
top: -34px;
121+
left: 0;
122+
background: #0F5754;
123+
padding: 10px 15px;
124+
color: #FFFFFF;
125+
font-size: 14px;
126+
font-weight: 600;
127+
text-transform: uppercase;
128+
}
129+
.post-module .post-content .title {
130+
margin: 0;
131+
padding: 0 0 10px;
132+
color: #222 !important;
133+
font-size: 24px !important;
134+
font-weight: 700; margin: 40px 0 0 !important;
135+
}
136+
.post-module .post-content .sub_title {
137+
margin: 0;
138+
padding: 0 0 20px;
139+
color: #0F5754;
140+
font-size: 20px;
141+
font-weight: 400;
142+
}
143+
.post-module .post-content .description {
144+
display: none;
145+
color: #666666;
146+
font-size: 14px;
147+
line-height: 1.8em;
148+
}
149+
.post-module .post-content .post-meta {
150+
margin: 0px 0px 10px;
151+
color: #999999;
152+
}
153+
.post-module .post-content .post-meta .timestamp {
154+
margin: 0 16px 0 0;
155+
}
156+
.post-module .post-content .post-meta a {
157+
color: #999999;
158+
text-decoration: none;
159+
}
160+
.hover .post-content .description {
161+
display: block !important;
162+
height: auto !important;
163+
opacity: 1 !important;
164+
}
165+
166+
.container .column {
167+
width: 100%;
168+
/* padding: 0 25px; */
169+
-webkti-box-sizing: border-box;
170+
-moz-box-sizing: border-box;
171+
box-sizing: border-box;
172+
float: left;
173+
}
174+
.container .column .demo-title {
175+
margin: 0 0 15px;
176+
color: #666666;
177+
font-size: 18px;
178+
font-weight: bold;
179+
text-transform: uppercase;
180+
}
181+
.container .info {
182+
width: 300px;
183+
margin: 50px auto;
184+
text-align: center;
185+
}
186+
.container .info h1 {
187+
margin: 0 0 15px;
188+
padding: 0;
189+
font-size: 24px;
190+
font-weight: bold;
191+
color: #333333;
192+
}
193+
.container .info span {
194+
color: #666666;
195+
font-size: 12px;
196+
}
197+
.container .info span a {
198+
color: #000000;
199+
text-decoration: none;
200+
}
201+
.container .info span .fa {
202+
color: #f2b202;
203+
}
204+
205+
206+
207+
.breadcrumb-image {
208+
background-position: center center;
209+
background-repeat: no-repeat;
210+
background-size: cover;
211+
padding: 104px 0 110px;
212+
position: relative;
213+
width:100%;
214+
}
215+
.breadcrumb-image::before {
216+
background: rgba(0, 0, 0, 0.80) none repeat scroll 0 0;
217+
content: "";
218+
height: 100%;
219+
left: 0;
220+
position: absolute;
221+
top: 0;
222+
width: 100%;
223+
z-index: 0;
224+
}
225+
.breadcrumb-image h1 {
226+
color: #ffffff;
227+
font-size: 33px;
228+
font-weight: 600;
229+
line-height: 40px;
230+
position: relative;
231+
text-transform: uppercase;
232+
}
233+
.breadcrumbs_path {
234+
color: #fff;
235+
margin-top: 8px;
236+
position: relative;
237+
z-index: 9;
238+
}
239+
.breadcrumbs_path > a {
240+
color: #fff;
241+
transition: all 0.3s ease 0s;
242+
}
243+
</style>
244+
</head>
245+
<body>
246+
247+
<nav class="navbar navbar-inverse">
248+
<div class="container-fluid">
249+
<div class="navbar-header">
250+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
251+
<span class="icon-bar"></span>
252+
<span class="icon-bar"></span>
253+
<span class="icon-bar"></span>
254+
</button>
255+
<a class="navbar-brand" href="#">Portfolio</a>
256+
</div>
257+
<div class="collapse navbar-collapse" id="myNavbar">
258+
<ul class="nav navbar-nav">
259+
<li class="active"><a href="#">Home</a></li>
260+
<li><a href="#">About</a></li>
261+
<li><a href="#">Contact</a></li>
262+
</ul>
263+
</div>
264+
</div>
265+
</nav>
266+
267+
<div class="jumbotron">
268+
<div class="container text-center">
269+
<h1>OCR 11 Portal</h1>
270+
<p>View form data here!</p>
271+
</div>
272+
</div>
273+
<?php
274+
while($rows=mysqli_fetch_assoc($query_run))
275+
{
276+
if($rows['TABLE_NAME']!='formtemp')
277+
{
278+
279+
?>
280+
<div class="container-fluid bg-3 text-center">
281+
<div class="row">
282+
<div class="col-md-6 col-md-offset-3" onclick="location.href='viewform.php?name=<?php echo $rows['TABLE_NAME']; ?>'">
283+
<div class="column">
284+
<!-- Post-->
285+
<div class="post-module">
286+
<!-- Thumbnail-->
287+
<div class="thumbnail">
288+
<div class="date"> <a href="#0">
289+
<div class="day"><i class="fa fa-bars" aria-hidden="true"></i></div>
290+
</a> </div>
291+
<img src="forms.jpg" class="img-responsive" alt=""> </div>
292+
<!-- Post Content-->
293+
<div class="post-content">
294+
<div class="category">Form</div>
295+
<h1 class="title"><?php echo $rows['TABLE_NAME'].'<br>'; ?></h1>
296+
<h2 class="sub_title"></h2>
297+
<p class="description">New York, the largest city in the U.S., is an architectural marvel with plenty of historic monuments, magnificent buildings and countless dazzling skyscrapers.</p>
298+
<div class="post-meta"><span class="timestamp"> </span><span class="comments"><a href="#"></a></span></div>
299+
</div>
300+
</div>
301+
</div>
302+
</div>
303+
</div>
304+
</div><br>
305+
306+
<?php
307+
}
308+
}
309+
?>
310+
311+
312+
<footer class="container-fluid text-center">
313+
<p>@ 2018 OCR 11 All Right Reserved </p>
314+
</footer>
315+
316+
</body>
317+
</html>
318+

0 commit comments

Comments
 (0)