Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zekena
/
Unit-calculator
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d60108bf
authored
5 years ago
by
zekena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style
parent
07c40853
master
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
contact_data.csv
css/style.css
home.php
contact_data.csv
View file @
d60108bf
...
...
@@ -5,3 +5,9 @@ zida@gma.com
4,zeyad,zida@gma.com,23facas
5,zeyad,zida@gma.com,23facas
6,zeyad,zida@gma.com,23facas
7,,,"Thanks we will contact u soon"
8,,,"Thanks we will contact u soon"
9,,,
10,zeyad,zida@gma.com,"Thanks we will contact u soon"
11,zeyad,zida@gma.com,"Thanks we will contact u soon"
12,,,
This diff is collapsed.
Click to expand it.
css/style.css
View file @
d60108bf
...
...
@@ -233,8 +233,8 @@ body{
white-space
:
nowrap
;
}
#footer
{
padding
:
4em
0
2
em
0
;
background-color
:
#
1b1b1f
;
padding
:
1em
0
1
em
0
;
background-color
:
#
a3205685
;
text-align
:
center
;
}
...
...
@@ -257,6 +257,7 @@ body{
text-shadow
:
0
0.04em
0.04em
rgba
(
0
,
0
,
0
,
0.35
);
text-align
:
center
;
transition
:
all
0.2s
;
margin-top
:
34
;
}
Input
[
type
=
submit
]
:hover
{
border-color
:
rgba
(
255
,
255
,
255
,
1
);
...
...
This diff is collapsed.
Click to expand it.
home.php
View file @
d60108bf
...
...
@@ -6,7 +6,11 @@ if ($_POST['submit']) {
$name
=
$_POST
[
'name'
];
$message
=
$_POST
[
'message'
];
$email
=
$_POST
[
'email'
];
$message
=
"Thanks we will contact u soon"
;
echo
"<script type='text/javascript'>alert('
$message
');</script>"
;
}
$file_open
=
fopen
(
"contact_data.csv"
,
"a"
);
$no_rows
=
count
(
file
(
"contact_data.csv"
));
if
(
$no_rows
>
1
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment