File: header.inc.php

package info (click to toggle)
php-net-nntp 1.5.0~rc2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 348 kB
  • sloc: php: 2,432; xml: 844; makefile: 5
file content (41 lines) | stat: -rw-r--r-- 1,506 bytes parent folder | download | duplicates (4)
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
<?php echo '<?xml version="1.0" ?>', "\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
 <title>PEAR::Net_NNTP Demo</title>
 <link rel="stylesheet" href="./style.css" type="text/css" />
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>

<body id="<?php echo $bodyID; ?>">

<table id="page-header" width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr class="header">
  <td align="left" valign="middle"><a href="./index.php"><img src="http://pear.php.net/gifs/pearsmall.gif" border="0" style="margin: 5px;" width="104" height="50" alt="PEAR" /></a></td>
  <td align="left" valign="middle"><h1>Net_NNTP Demo</h1></td>
  <td align="right" valign="bottom">powered by <a href="http://pear.php.net/">PEAR</a>::<a href="http://pear.php.net/package/Net_NNTP/">Net_NNTP</a> v<?php echo @Net_NNTP_Client::getPackageVersion(); ?></td>
 </tr>
 <tr class="subheader">
  <td colspan="3"><img src="" width="1" height="1" alt="" /></td>
 </tr>
</table>

<div id="page-breadcrumbs">
<?php

if (!empty($breadcrumbs)) {
    $crumbs = array();
    foreach ($breadcrumbs as $title => $link) {
        if (empty($link)) {
    	    $crumbs[] = "<span class=\"crumb\">$title</span>";
        } else {
            $crumbs[] = "<a class=\"crumb\" href=\"$link\">$title</a>";
        }
    }
    echo implode(" > \r\n", $crumbs), "\r\n";
}

?>
</div>