Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VMS-SUEE_2.0
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eric Laufer
VMS-SUEE_2.0
Commits
9ed9a376
There was an error fetching the commit references. Please try again later.
Commit
9ed9a376
authored
5 years ago
by
Eric Laufer
Browse files
Options
Downloads
Patches
Plain Diff
add news.php
parent
72140799
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
page/intern/news.php
+28
-0
28 additions, 0 deletions
page/intern/news.php
with
28 additions
and
0 deletions
page/intern/news.php
0 → 100644
+
28
−
0
View file @
9ed9a376
<?php
$news
=
Classloader
(
'news'
);
if
(
!
isset
(
$_GET
[
'seite'
]))
{
$_GET
[
'seite'
]
=
1
;
}
echo
$news
->
NewsAnzeigen
(
$_GET
[
'seite'
]);
head
(
'Seiten'
);
$seiten
=
$datenbank
->
num_rows
(
"SELECT id FROM "
.
PREFIX
.
NEWS
.
" "
);
$seitenanzahl
=
$seiten
/
10
;
echo
"<font face=
\"
Verdana
\"
size=
\"
1
\"
><b>Seite:</b> </font> "
;
for
(
$a
=
0
;
$a
<
$seitenanzahl
;
$a
++
)
{
$b
=
$a
+
1
;
if
(
$_GET
[
'seite'
]
==
$b
)
{
echo
"
$b
"
;
}
else
{
echo
" <a href=
\"
?page=/news/index&seite=
$b
\"
>
$b
</a> "
;
}
}
?>
This diff is collapsed.
Click to expand it.
Preview
0%
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