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
d102e3f3
authored
May 14, 2019
by
yuward
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.pld.ttu.ee/zekena/Unit-calculator
parents
2002ee23
d60108bf
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 @
d102e3f3
...
@@ -5,3 +5,9 @@ zida@gma.com
...
@@ -5,3 +5,9 @@ zida@gma.com
4,zeyad,zida@gma.com,23facas
4,zeyad,zida@gma.com,23facas
5,zeyad,zida@gma.com,23facas
5,zeyad,zida@gma.com,23facas
6,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,,,
css/style.css
View file @
d102e3f3
...
@@ -233,8 +233,8 @@ body{
...
@@ -233,8 +233,8 @@ body{
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
#footer
{
#footer
{
padding
:
4em
0
2
em
0
;
padding
:
1em
0
1
em
0
;
background-color
:
#
1b1b1f
;
background-color
:
#
a3205685
;
text-align
:
center
;
text-align
:
center
;
}
}
...
@@ -257,6 +257,7 @@ body{
...
@@ -257,6 +257,7 @@ body{
text-shadow
:
0
0.04em
0.04em
rgba
(
0
,
0
,
0
,
0.35
);
text-shadow
:
0
0.04em
0.04em
rgba
(
0
,
0
,
0
,
0.35
);
text-align
:
center
;
text-align
:
center
;
transition
:
all
0.2s
;
transition
:
all
0.2s
;
margin-top
:
34
;
}
}
Input
[
type
=
submit
]
:hover
{
Input
[
type
=
submit
]
:hover
{
border-color
:
rgba
(
255
,
255
,
255
,
1
);
border-color
:
rgba
(
255
,
255
,
255
,
1
);
...
...
home.php
View file @
d102e3f3
...
@@ -6,7 +6,11 @@ if ($_POST['submit']) {
...
@@ -6,7 +6,11 @@ if ($_POST['submit']) {
$name
=
$_POST
[
'name'
];
$name
=
$_POST
[
'name'
];
$message
=
$_POST
[
'message'
];
$message
=
$_POST
[
'message'
];
$email
=
$_POST
[
'email'
];
$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"
);
$file_open
=
fopen
(
"contact_data.csv"
,
"a"
);
$no_rows
=
count
(
file
(
"contact_data.csv"
));
$no_rows
=
count
(
file
(
"contact_data.csv"
));
if
(
$no_rows
>
1
)
{
if
(
$no_rows
>
1
)
{
...
...
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