Location: PHPKode > scripts > Lightning Notes > ln_distro/ln_distro/index.php
<?php
require_once ("admin/config.php");
require_once ("$DOCUMENT_ROOT/".$CFGglobal['root']."/admin/notesfnc.php");
$tree = GetXMLTree("$DOCUMENT_ROOT/".$CFGglobal['root']."/admin/entries.xml");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?php
echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$CFGglobal['lang'].'" lang="'.$CFGglobal['lang'].'">'."\n";
echo '<head>'."\n";
echo '<title>'.$CFGglobal['title'].'</title>'."\n";
echo '<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />'."\n";
echo '<meta name="content-language" content="'.$CFGglobal['lang'].'" />'."\n";
echo '<link rel="stylesheet" media="screen" href="/'.$CFGglobal['root'].'/c/screen.css" type="text/css" />'."\n";
echo '<link rel="alternate stylesheet" media="screen" href="/'.$CFGglobal['root'].'/c/clean.css" type="text/css" title="clean" />'."\n";
#echo '<link rel="alternate stylesheet" media="screen" href="/'.$CFGglobal['root'].'/c/large.css" type="text/css" title="large" />'."\n";
echo '<link rel="stylesheet" media="print" href="/'.$CFGglobal['root'].'/c/print.css" type="text/css" />'."\n";
echo '<script type="text/javascript" src="/'.$CFGglobal['root'].'/j/styleswitcher.js"></script>'."\n";
echo '<link rel="start" title="Home page" href="'.$CFGglobal['domain'].'/'.$CFGglobal['root'].'/" />'."\n";
echo '<link rel="contents" title="Categories" href="categories.php" />'."\n";
echo '<link rel="search" title="Search this site" href="search.php" />'."\n";
echo '<link rel="help" title="Access features of this site" href="'.$CFGglobal['domain'].'/'.$CFGglobal['root'].'/archive.php?entry=20030729accessibility_statement" />'."\n";
echo '<link rel="author" title="Send feedback to the author" href="mailto:'.$CFGauthor['email'].'" />'."\n";
echo '<meta name="revisit" content="2 days" />'."\n";
echo '<meta name="robots" content="index, follow" />'."\n";
echo '<meta name="distribution" content="global" />'."\n";
echo '<meta name="Description" content="'.$CFGglobal['descr'].'" />'."\n";
include_once("$DOCUMENT_ROOT/".$CFGglobal['root']."/admin/analytics.php");
?>
</head>
<body id="home">

<div id="masthead">
<?php
echo '<h1><a href="/'.$CFGglobal['root'].'/"><span>'.$CFGglobal['title'].'</span></a></h1>'."\n";
?>
</div>
<p class="skip"><a href="#nav">Navigation</a> &#187;</p>
<div id="recent">
<?php
echo '<p>'.$CFGglobal['abouthome'].'</p>'."\n";
echo '<p class="auth">&#8212;'.$CFGauthor['name'].'</p>'."\n";
echo '<h2><em>Admin</em></h2>'."\n";
echo entrieslist ($tree, $id, $category = 'admin', $entries = '2', $showdate = '0');
echo '<h2><em>Features</em></h2>'."\n";
echo entrieslist ($tree, $id, $category = 'features', $entries = '2', $showdate = '0');
if ($CFGmisc['blogroll'] == 1) {
    $opml = GetXMLTree("$DOCUMENT_ROOT/".$CFGglobal['root']."/MySubscriptions.opml");
    $items = $CFGmisc['blogrollitems'];
    echo blogroll ($opml, $items);
}
?>
<dl>
<dt>regularly</dt>
<dd><a href="http://showcase.alexanderbecker.net/">Showcase: Alexander Becker</a></dd>
</dl>
</div>

<div id="content">
<?php
echo entries ($tree, $entries = '5', $showcat = '1', $showsubcat = '1');
echo '<p><a href="/'.$CFGglobal['root'].'/archive.php">Archive</a> &#187;</p>'."\n";
?>
</div>

<div id="nav">
<?php
include("$DOCUMENT_ROOT/".$CFGglobal['root']."/admin/nav.inc");
?>
</div>

</body>
</html>
Return current item: Lightning Notes