Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ECRTS2015
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anders Blomdell
ECRTS2015
Commits
e894d1ba
Commit
e894d1ba
authored
9 years ago
by
Martina Maggio
Browse files
Options
Downloads
Patches
Plain Diff
registration 2016
parent
8b072905
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
processdata2016.php
+38
-0
38 additions, 0 deletions
processdata2016.php
registration2016.html
+48
-0
48 additions, 0 deletions
registration2016.html
with
86 additions
and
0 deletions
processdata2016.php
0 → 100644
+
38
−
0
View file @
e894d1ba
<?php
$name
=
$_POST
[
'name'
];
$surname
=
$_POST
[
'surname'
];
$email
=
$_POST
[
'email'
];
$newcomer
=
'No'
;
$dietary
=
$_POST
[
'dietary'
];
if
(
isset
(
$_POST
[
'newcomer'
]))
{
$newcomer
=
'Yes'
;
}
$not_processable
=
(
empty
(
$name
)
||
empty
(
$surname
)
||
empty
(
$email
));
if
(
$not_processable
)
{
die
(
'First Name, Last Name and E-mail are required, please
<a href="http://control.lth.se/ecrts2015/registration2016.html">try again</a>.'
);
}
else
{
$filename
=
'/home/WWW/public/ECRTS2015/data2016/'
.
$surname
.
'-'
.
$name
.
'.txt'
;
$data
=
'--------------------------------------------------------------------------------'
.
"
\n
"
.
'First Name: '
.
$name
.
"
\n
"
.
'Last Name: '
.
$surname
.
"
\n
"
.
'E-mail: '
.
$email
.
"
\n
"
.
'IP: '
.
$_SERVER
[
REMOTE_ADDR
]
.
"
\n
"
.
'Date: '
.
date
(
'Y-m-d H:i:s'
)
.
"
\n
"
.
'Dietary: '
.
$dietary
.
"
\n
"
.
'First ECRTS: '
.
$newcomer
.
"
\n
"
.
'--------------------------------------------------------------------------------'
.
"
\n
"
;
$ret
=
file_put_contents
(
$filename
,
$data
,
FILE_APPEND
|
LOCK_EX
);
if
(
$ret
===
false
)
{
die
(
'An error occurred, please
<a href="http://control.lth.se/ecrts2015/registration2016.html">try again later</a>.'
);
}
else
{
header
(
"Location: http://www.euromicro.org/registration/registration.php?event=ECRTS2016"
);
exit
;
}
}
?>
This diff is collapsed.
Click to expand it.
registration2016.html
0 → 100644
+
48
−
0
View file @
e894d1ba
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
ECRTS 2016 registration
</title>
<link
rel=
"stylesheet"
href=
"css/style.css"
type=
"text/css"
>
<!-- Analytics: START -->
<script>
(
function
(
i
,
s
,
o
,
g
,
r
,
a
,
m
){
i
[
'
GoogleAnalyticsObject
'
]
=
r
;
i
[
r
]
=
i
[
r
]
||
function
(){
(
i
[
r
].
q
=
i
[
r
].
q
||
[]).
push
(
arguments
)},
i
[
r
].
l
=
1
*
new
Date
();
a
=
s
.
createElement
(
o
),
m
=
s
.
getElementsByTagName
(
o
)[
0
];
a
.
async
=
1
;
a
.
src
=
g
;
m
.
parentNode
.
insertBefore
(
a
,
m
)
})(
window
,
document
,
'
script
'
,
'
//www.google-analytics.com/analytics.js
'
,
'
ga
'
);
ga
(
'
create
'
,
'
UA-55862227-1
'
,
'
auto
'
);
ga
(
'
send
'
,
'
pageview
'
);
</script>
<!-- Analytics: END -->
</head>
<body>
<img
src=
"img/logo.png"
>
<h4>
Registration
</h4>
The registration process is divided in two parts. We collect some information
necessary for the organization (dietary constraints and first timers). If
you click continue, the form will send you to the Euromicro registration page,
where you are supposed to fill in your data and process the payment of the
registration fee.
<b>
You need to complete the registration with Euromicro and
the payment in order to be registered for the conference.
</b><br><br>
<form
action=
"processdata2016.php"
method=
"POST"
>
First Name:
<br><input
type=
"text"
name=
"name"
/><br>
Last Name:
<br><input
type=
"text"
name=
"surname"
/><br>
E-mail:
<br><input
type=
"text"
name=
"email"
/><br>
Dietary Constraints:
<br><textarea
name=
"dietary"
rows=
"5"
cols=
"40"
></textarea><br>
Is it your first ECRTS:
<input
type=
"checkbox"
name=
"newcomer"
value=
'2'
id=
'checkbox'
/><br>
<input
type=
"submit"
name=
"submit"
value=
"Continue to Euromicro"
style=
"float: right;"
>
</form>
</div>
</body>
</html>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment