-
Notifications
You must be signed in to change notification settings - Fork 0
/
display.php
176 lines (153 loc) · 3.92 KB
/
display.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
<?php
$data = $_GET["data"];
$db = mysqli_connect('localhost', 'root', '', 'sih');
?><!DOCTYPE html>
<html>
<script>
function readURL(input) {
if (input.files && input.files[0]) {
var reader = new FileReader();
reader.onload = function (e) {
$('#blah')
.attr('src', e.target.result)
.width(150)
.height(200);
};
reader.readAsDataURL(input.files[0]);
}
}
</script>
<style>
* {
box-sizing: border-box;
}
input[type=text], select, textarea {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
resize: vertical;
}
label {
padding: 12px 12px 12px 0;
display: inline-block;
}
input[type=submit] {
background-color: #4CAF50;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
float: right;
}
input[type=submit]:hover {
background-color: #45a049;
}
.container {
border-radius: 5px;
background-color: #f2f2f2;
padding: 20px;
}
.col-25 {
float: left;
width: 25%;
margin-top: 6px;
}
.col-75 {
float: left;
width: 50%;
margin-top: 6px;
}
#4{
padding-bottom:120px ;
}
.button {
display: inline-block;
border-radius: 4px;
background-color: green;
border: none;
color: white;
text-align: center;
font-size: 28px;
padding: 15px;
width: 200px;
position: relative;
bottom: -20px;
left:900px;
transition: all 0.5s;
cursor: pointer;
margin: 5px;
}
.button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.button:hover span {
padding-right: 25px;
}
.button:hover span:after {
opacity: 1;
right: 0;
}
table{
position: static;
display: inline-table;
font-weight: bold;
font-family:'Roboto', sans-serif;
width: 120px;
margin-top: 10px;
margin-left:12px;
margin-right:12px;
background-color:white;
color:black;
font-family: 'Roboto', sans-serif;
font-size:15px;
border-radius: 3px;
}
.img1{
position: relative;
width: 230px;
height: 187px;
object-fit:cover;
margin: 10px;
border-radius:1px;
}
table tr{
padding:10px;
}
table:hover{
transform: scale(1.05);
transition:transform 0.2s ease-in;
box-shadow: 5px 2px 20px grey;
background-color: deepskyblue;
color:red;
visibility: visible;
}
</style>
<link class="jsbin" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script>
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" href="styles4.css">
<body>
<div id="123">
<div id="row">
<div id="column" class="column1">
<img id="blah" src="ima ges/abc.jpg" alt="abc.jpg" style="width:308px;height:308px;right:81px;padding-left: 90px;padding-right: -80px;"/>
</div>
<div id="column2" class="column2">
</div>
</body>
</html>