-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcredits.php
39 lines (36 loc) · 1.09 KB
/
credits.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
$t_sub_title = "Credits";
include( "top.php" );
?>
<span class="page_title">Credits</span>
<hr size="1" noshade="noshade" width="100%" />
<p />
<?php
$file = file( "data/CREDITS");
$count = count($file);
$state = 0;
$ulopen = false;
for ($i=8;$i<$count;$i++) {
$file[$i] = trim( $file[$i] );
if ( $file[$i] == "CREDITS" ) {
continue;
} else if ($state == 1) {
if (!$ulopen) {
$ulopen = true;
} else {
echo "</ul>";
}
echo "<p/><b>".$file[$i]."</b><p/><ul>";
$state = 2;
} else if (ereg('^-+$', $file[$i])) {
} else if ( !empty( $file[$i] ) ) {
echo '<li>' . $file[$i] . '</li>';
$state = 0;
} else if ($state == 0) {
$state = 1;
}
}
?>
</ul>
<?php
include( "bot.php" );