Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
group-emalm
emalm-main
Commits
1413590b
Commit
1413590b
authored
Nov 20, 2020
by
carboncrafters
Browse files
getcookie fix
parent
2554c4bc
Pipeline
#7
canceled with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
EULA/index.php
View file @
1413590b
...
...
@@ -3,6 +3,13 @@ require $_SERVER["DOCUMENT_ROOT"].'/cookie.php';?>
<link
rel=
"stylesheet"
href=
"https://cdn.emalm.com/css/main.css"
>
<script
src=
"https://cdn.emalm.com/js/include.js"
></script>
<script
src=
"https://cdn.emalm.com/js/setlang.js"
></script>
<script>
function
getCookie
(
name
)
{
const
value
=
`;
${
document
.
cookie
}
`
;
const
parts
=
value
.
split
(
`;
${
name
}
=`
);
if
(
parts
.
length
===
2
)
return
parts
.
pop
().
split
(
'
;
'
).
shift
();
}
</script>
</head>
<div
include=
"/menu.html"
></div>
<aside
class=
"right"
>
...
...
contact/index.php
View file @
1413590b
...
...
@@ -3,6 +3,13 @@ include $_SERVER["DOCUMENT_ROOT"].'/cookie.php';?>
<link
rel=
"stylesheet"
href=
"https://cdn.emalm.com/css/main.css"
>
<script
src=
"https://cdn.emalm.com/js/include.js"
></script>
<script
src=
"https://cdn.emalm.com/js/setlang.js"
></script>
<script>
function
getCookie
(
name
)
{
const
value
=
`;
${
document
.
cookie
}
`
;
const
parts
=
value
.
split
(
`;
${
name
}
=`
);
if
(
parts
.
length
===
2
)
return
parts
.
pop
().
split
(
'
;
'
).
shift
();
}
</script>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
charset=
"UTF-8"
>
<script
src=
'https://www.google.com/recaptcha/api.js'
></script>
...
...
infinite/index.php
View file @
1413590b
...
...
@@ -4,6 +4,13 @@ require $_SERVER["DOCUMENT_ROOT"].'/cookie.php';
<link
rel=
"stylesheet"
href=
"https://cdn.emalm.com/css/main.css"
>
<script
src=
"https://cdn.emalm.com/js/include.js"
></script>
<script
src=
"https://cdn.emalm.com/js/setlang.js"
></script>
<script>
function
getCookie
(
name
)
{
const
value
=
`;
${
document
.
cookie
}
`
;
const
parts
=
value
.
split
(
`;
${
name
}
=`
);
if
(
parts
.
length
===
2
)
return
parts
.
pop
().
split
(
'
;
'
).
shift
();
}
</script>
<html
lang=
"en"
>
<head>
...
...
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