Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PHP-Chat
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BA_SST
PHP-Chat
Commits
2b4cfc1b
Commit
2b4cfc1b
authored
Jul 12, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infobox eingebaut
parent
db156ea6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
index2.php
index2.php
+23
-1
No files found.
index2.php
View file @
2b4cfc1b
<?php
if
(
empty
(
$_SERVER
[
'HTTPS'
])
||
$_SERVER
[
'HTTPS'
]
==
"off"
){
$redirect
=
'https://'
.
$_SERVER
[
'HTTP_HOST'
]
.
$_SERVER
[
'REQUEST_URI'
];
header
(
'HTTP/1.1 301 Moved Permanently'
);
header
(
'Location: '
.
$redirect
);
exit
();
}
include
(
"config.php"
);
?>
<!DOCTYPE html>
<html>
<head
lang=
"de"
>
...
...
@@ -87,7 +96,20 @@
</div>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-xs-12"
id=
"startseitencol"
>
<div
class=
"panel panel-info"
>
<div
class=
"panel-heading"
>
<h3
class=
"panel-title"
>
Startseite
</h3>
</div>
<div
class=
"panel-body"
>
<?php
echo
BBcode
(
file_get_contents
(
"
$yourFile
"
));
?>
<br>
<small>
<?php
echo
"Es sind schon "
.
$Useranzahl
.
" an Bord! Es sind "
.
$Useronline
.
" Online!"
;
?>
</small><br><br><br>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
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