-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathlayout.php
More file actions
81 lines (75 loc) · 3.03 KB
/
layout.php
File metadata and controls
81 lines (75 loc) · 3.03 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>PHP :: <?= $this->e($title) ?></title>
<base href="<?= $siteScheme ?>://<?= $siteUrl.$GLOBALS['basedir'] ?>">
<link rel="shortcut icon" href="<?= $siteScheme ?>://<?= $siteUrl.$GLOBALS['basedir'] ?>images/favicon.ico">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<table id="top" class="head" cellspacing="0" cellpadding="0">
<tr>
<td class="head-logo">
<a href=""><img src="images/logo.png" alt="Bugs" vspace="2" hspace="2"></a>
</td>
<td class="head-menu">
<a href="https://php.net/">php.net</a> |
<a href="https://php.net/support.php">support</a> |
<a href="https://php.net/docs.php">documentation</a> |
<a href="report.php">report a bug</a> |
<a href="search.php">advanced search</a> |
<a href="search-howto.php">search howto</a> |
<a href="stats.php">statistics</a> |
<a href="index.php?random">random bug</a> |
<?php if ($authIsLoggedIn): ?>
<a href="search.php?cmd=display&assign=<?= $this->e($authUsername) ?>">my bugs</a> |
<?php if ('developer' === $authRole): ?>
<a href="admin/">admin</a> |
<?php endif ?>
<a href="logout.php">logout</a>
<?php else: ?>
<a href="login.php">login</a>
<?php endif ?>
</td>
</tr>
<tr>
<td class="head-search" colspan="2">
<form method="get" action="search.php">
<p class="head-search">
<input type="hidden" name="cmd" value="display">
<small>go to bug id or search bugs for</small>
<input class="small" type="text" name="search_for" value="<?= $this->e($_GET['search_for'] ?? '') ?>" size="30">
<input type="image" src="images/small_submit_white.gif" alt="search" style="vertical-align: middle;">
</p>
</form>
</td>
</tr>
</table>
<table class="middle" cellspacing="0" cellpadding="0">
<tr>
<td class="content">
<?= $this->block('content') ?>
</td>
</tr>
</table>
<table class="foot" cellspacing="0" cellpadding="0">
<tr>
<td class="foot-bar" colspan="2"> </td>
</tr>
<tr>
<td class="foot-copy">
<small>
<a href="https://php.net/"><img src="images/logo-small.gif" align="left" valign="middle" hspace="3" alt="PHP"></a>
<a href="https://php.net/copyright.php">Copyright © 2001-<?= date('Y') ?> The PHP Group</a><br>
All rights reserved.
</small>
</td>
<td class="foot-source">
<small>Last updated: <?= $lastUpdated ?></small>
</td>
</tr>
</table>
<?= $this->block('scripts') ?>
</body>
</html>