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
642f28a0
Commit
642f28a0
authored
Nov 20, 2020
by
carboncrafters
Browse files
fix stuff
parent
9cccff42
Pipeline
#4
canceled with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
about/index.php
View file @
642f28a0
...
...
@@ -27,14 +27,9 @@
<title>
<?php
echo
$displang
?>
- Emalm.com
</title>
</head>
<body>
<?php
include
$_SERVER
[
"DOCUMENT_ROOT"
]
.
'menu.html'
;
?>
<div
include=
"/menu.html"
></div>
<aside
class=
"rside "
>
<?php
include
$_SERVER
[
"DOCUMENT_ROOT"
]
.
'ad.php'
;
?>
<div
include=
"/ad.php"
></div>
</aside>
<section
class=
"left text-left"
>
...
...
@@ -74,4 +69,27 @@ echo "
</section>
</body>
<?php
include
$_SERVER
[
"DOCUMENT_ROOT"
]
.
'footer.html'
;
?>
<div
include=
"/footer.html"
></div>
<script>
includeHTML
();
var
xmlhttp
=
new
XMLHttpRequest
();
xmlhttp
.
onreadystatechange
=
function
()
{
if
(
this
.
readyState
==
4
&&
this
.
status
==
200
)
{
var
myObj
=
JSON
.
parse
(
this
.
responseText
);
document
.
getElementById
(
"
upl
"
).
innerHTML
=
myObj
.
upl
+
"
<span class=
\"
caret
\"
></span>
"
;
document
.
getElementById
(
"
img
"
).
innerHTML
=
myObj
.
img
;
document
.
getElementById
(
"
vid
"
).
innerHTML
=
myObj
.
vid
;
document
.
getElementById
(
"
img2
"
).
innerHTML
=
myObj
.
img
;
document
.
getElementById
(
"
vid2
"
).
innerHTML
=
myObj
.
vid
;
document
.
getElementById
(
"
randompw
"
).
innerHTML
=
myObj
.
randompw
;
document
.
getElementById
(
"
infinite
"
).
innerHTML
=
myObj
.
infinite
;
document
.
getElementById
(
"
search
"
).
innerHTML
=
myObj
.
search
;
document
.
getElementById
(
"
login
"
).
innerHTML
=
"
<span class=
\"
glyphicon glyphicon-log-in
\"
></span>
"
+
myObj
.
login
;
//document.getElementById("reg").innerHTML = myObj.reg;
document
.
getElementById
(
"
about
"
).
innerHTML
=
myObj
.
about
;
document
.
getElementById
(
"
lng
"
).
innerHTML
=
myObj
.
lng
;
}
};
xmlhttp
.
open
(
"
GET
"
,
"
https://emalm.com/api/?get=menu&language=
"
+
getCookie
(
"
language
"
),
true
);
xmlhttp
.
send
();
</script>
img/index.php
View file @
642f28a0
...
...
@@ -44,11 +44,11 @@ function file_get_contents_curl($url) {
<title>
Emalm - Images
</title>
</head>
<body>
<
?php
include
$_SERVER
[
"DOCUMENT_ROOT"
]
.
'
/menu.html
'
;
?
>
<
div
include
=
"
/menu.html
"
></div
>
<aside
class=
"rside"
>
<h3>
<a
href=
"/?upl=p"
class=
"yl"
>
Image Upload
</a></h3><hr/>
<?php
include
$_SERVER
[
"DOCUMENT_ROOT"
]
.
'/ad.php'
;
?
>
<div
include=
"/ad.php"
></div
>
</aside
>
<section
class=
"left"
>
<form
action=
""
method=
"get"
>
...
...
@@ -215,7 +215,28 @@ if("true"==$json["error"]){
<hr>
</section>
</body>
</html>
<?php
include
$_SERVER
[
"DOCUMENT_ROOT"
]
.
'footer.html'
;
?>
<div
include=
"/footer.html"
></div>
<script>
includeHTML
();
var
xmlhttp
=
new
XMLHttpRequest
();
xmlhttp
.
onreadystatechange
=
function
()
{
if
(
this
.
readyState
==
4
&&
this
.
status
==
200
)
{
var
myObj
=
JSON
.
parse
(
this
.
responseText
);
document
.
getElementById
(
"
upl
"
).
innerHTML
=
myObj
.
upl
+
"
<span class=
\"
caret
\"
></span>
"
;
document
.
getElementById
(
"
img
"
).
innerHTML
=
myObj
.
img
;
document
.
getElementById
(
"
vid
"
).
innerHTML
=
myObj
.
vid
;
document
.
getElementById
(
"
img2
"
).
innerHTML
=
myObj
.
img
;
document
.
getElementById
(
"
vid2
"
).
innerHTML
=
myObj
.
vid
;
document
.
getElementById
(
"
randompw
"
).
innerHTML
=
myObj
.
randompw
;
document
.
getElementById
(
"
infinite
"
).
innerHTML
=
myObj
.
infinite
;
document
.
getElementById
(
"
search
"
).
innerHTML
=
myObj
.
search
;
document
.
getElementById
(
"
login
"
).
innerHTML
=
"
<span class=
\"
glyphicon glyphicon-log-in
\"
></span>
"
+
myObj
.
login
;
//document.getElementById("reg").innerHTML = myObj.reg;
document
.
getElementById
(
"
about
"
).
innerHTML
=
myObj
.
about
;
document
.
getElementById
(
"
lng
"
).
innerHTML
=
myObj
.
lng
;
}
};
xmlhttp
.
open
(
"
GET
"
,
"
https://emalm.com/api/?get=menu&language=
"
+
getCookie
(
"
language
"
),
true
);
xmlhttp
.
send
();
</script>
</html>
\ No newline at end of file
upl/p/index.php
View file @
642f28a0
...
...
@@ -29,8 +29,7 @@ include $_SERVER["DOCUMENT_ROOT"].'/cookie.php';
</head>
<body
>
<?php
include
$_SERVER
[
"DOCUMENT_ROOT"
]
.
'menu.html'
;
?>
<div
include=
"/menu.html"
></div>
<section
class=
"left col-md-9"
>
...
...
@@ -60,9 +59,31 @@ Uploading images containing gore or sexual content or activities
</section>
<aside
class=
"rside col-md-3"
>
<
?php
include
$_SERVER
[
"DOCUMENT_ROOT"
]
.
'/ad.php'
;
?
>
<
div
include
=
"/ad.php"
></div
>
</aside
>
<?php
include
$_SERVER
[
"DOCUMENT_ROOT"
]
.
'footer.html'
;
?>
<div
include=
"/footer.html"
></div>
</body>
<script>
includeHTML
();
var
xmlhttp
=
new
XMLHttpRequest
();
xmlhttp
.
onreadystatechange
=
function
()
{
if
(
this
.
readyState
==
4
&&
this
.
status
==
200
)
{
var
myObj
=
JSON
.
parse
(
this
.
responseText
);
document
.
getElementById
(
"
upl
"
).
innerHTML
=
myObj
.
upl
+
"
<span class=
\"
caret
\"
></span>
"
;
document
.
getElementById
(
"
img
"
).
innerHTML
=
myObj
.
img
;
document
.
getElementById
(
"
vid
"
).
innerHTML
=
myObj
.
vid
;
document
.
getElementById
(
"
img2
"
).
innerHTML
=
myObj
.
img
;
document
.
getElementById
(
"
vid2
"
).
innerHTML
=
myObj
.
vid
;
document
.
getElementById
(
"
randompw
"
).
innerHTML
=
myObj
.
randompw
;
document
.
getElementById
(
"
infinite
"
).
innerHTML
=
myObj
.
infinite
;
document
.
getElementById
(
"
search
"
).
innerHTML
=
myObj
.
search
;
document
.
getElementById
(
"
login
"
).
innerHTML
=
"
<span class=
\"
glyphicon glyphicon-log-in
\"
></span>
"
+
myObj
.
login
;
//document.getElementById("reg").innerHTML = myObj.reg;
document
.
getElementById
(
"
about
"
).
innerHTML
=
myObj
.
about
;
document
.
getElementById
(
"
lng
"
).
innerHTML
=
myObj
.
lng
;
}
};
xmlhttp
.
open
(
"
GET
"
,
"
https://emalm.com/api/?get=menu&language=
"
+
getCookie
(
"
language
"
),
true
);
xmlhttp
.
send
();
</script>
</html>
upl/v/index.php
View file @
642f28a0
...
...
@@ -26,14 +26,14 @@
</
head
>
<?
php
include
$_SERVER
[
"DOCUMENT_ROOT"
]
.
'/cookie.php'
;
include
$_SERVER
[
"DOCUMENT_ROOT"
]
.
'menu.html'
;
?>
?>
<link
rel=
"stylesheet"
href=
"https://cdn.emalm.com/css/main.css"
>
<body
>
<div
include=
"/menu.html"
></div>
<aside
class=
"rside"
>
<
?php
include
$_SERVER
[
"DOCUMENT_ROOT"
]
.
'/ad.php'
;
?
>
<
div
include
=
"/ad.php"
></div
>
</aside
>
<section
class=
"left"
>
...
...
@@ -69,5 +69,27 @@ You can upload almost any type of video. </p>
</p>
<p>
Version: Beta 1.11.0
</p>
</section>
<?php
include
$_SERVER
[
"DOCUMENT_ROOT"
]
.
'footer.html'
;
?>
<div
include=
"/footer.html"
></div>
<script>
includeHTML
();
var
xmlhttp
=
new
XMLHttpRequest
();
xmlhttp
.
onreadystatechange
=
function
()
{
if
(
this
.
readyState
==
4
&&
this
.
status
==
200
)
{
var
myObj
=
JSON
.
parse
(
this
.
responseText
);
document
.
getElementById
(
"
upl
"
).
innerHTML
=
myObj
.
upl
+
"
<span class=
\"
caret
\"
></span>
"
;
document
.
getElementById
(
"
img
"
).
innerHTML
=
myObj
.
img
;
document
.
getElementById
(
"
vid
"
).
innerHTML
=
myObj
.
vid
;
document
.
getElementById
(
"
img2
"
).
innerHTML
=
myObj
.
img
;
document
.
getElementById
(
"
vid2
"
).
innerHTML
=
myObj
.
vid
;
document
.
getElementById
(
"
randompw
"
).
innerHTML
=
myObj
.
randompw
;
document
.
getElementById
(
"
infinite
"
).
innerHTML
=
myObj
.
infinite
;
document
.
getElementById
(
"
search
"
).
innerHTML
=
myObj
.
search
;
document
.
getElementById
(
"
login
"
).
innerHTML
=
"
<span class=
\"
glyphicon glyphicon-log-in
\"
></span>
"
+
myObj
.
login
;
//document.getElementById("reg").innerHTML = myObj.reg;
document
.
getElementById
(
"
about
"
).
innerHTML
=
myObj
.
about
;
document
.
getElementById
(
"
lng
"
).
innerHTML
=
myObj
.
lng
;
}
};
xmlhttp
.
open
(
"
GET
"
,
"
https://emalm.com/api/?get=menu&language=
"
+
getCookie
(
"
language
"
),
true
);
xmlhttp
.
send
();
</script>
\ No newline at end of file
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