summaryrefslogtreecommitdiff
path: root/htdocs/header.php
blob: 507897cc9861e0df15b67208c3024a26a7abb09e (plain)
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
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php
// header for all vim online pages

// when down
//header('Location: /downformaintenance.php');
//exit;

// Needed for HTML escaping.
require_once("include/string_utils.inc");

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
  <link rel="Stylesheet" type="text/css" href="<?=$CSS?>/style.css" >
  <title><?=$page_title?> : vim online</title>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <meta name="KEYWORDS" content="Vim, Vi IMproved, text editor, home, documentation, tips, scripts, news">
<?php if (isset($disable_cache)) { ?>
  <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
  <meta http-equiv="PRAGMA" content="NO-CACHE">
<?php } ?>
  <link rel="shortcut icon" type="image/x-icon" href="<?=$IMAGES?>/vim_shortcut.ico">
<?php if (isset($page_feed)) { ?>
  <link rel="alternate" type="application/rss+xml" title="<?= $page_title ?> (RSS 2.0)" href="<?= $page_feed ?>" />
<?php } ?>
<?php if (isset($page_atomfeed)) { ?>
  <link rel="alternate" type="application/atom+xml" title="<?= $page_title ?> (Atom 1.0)" href="<?= $page_atomfeed ?>" />
<?php } ?>
</head>

<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#ffffff"> 

<!-- HEADER, SPONSOR IMAGE, VIM IMAGE AND BOOK AD -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" bordercolor="red">
  <tr>
    <td colspan="4" class="lightbg"><img src="<?=$IMAGES?>/spacer.gif" width="1" height="5" alt=""></td>
  </tr>
  <tr>
  <td class="lightbg">&nbsp;&nbsp;&nbsp;</td>
  <td class="lightbg" align="left"><a href="<?=$BASE?>/sponsor/index.php"><img src="<?=$IMAGES?>/sponsorvim.gif" alt="sponsor Vim development" border="0"></a></td>
    <td class="lightbg" align="center"><a href="<?=$BASE?>/index.php"><img src="<?=$IMAGES?>/vim_header.gif" border="0" alt="Vim logo"></a></td>
    <td class="lightbg" align="right"><a href="http://iccf-holland.org/click5.html"><img src="<?=$IMAGES?>/buyhelplearn.gif" alt="Vim Book Ad" border="0"></a></td>
  </tr>
  <tr>
    <td colspan="4" class="lightbg"><img src="<?=$IMAGES?>/spacer.gif" width="1" height="5" alt=""></td>
  </tr>
  <tr>
    <td colspan="4" class="darkbg"><img src="<?=$IMAGES?>/spacer.gif" width="1" height="10" alt=""></td>
  </tr>
</table>
<!-- THE PAGE BODY: BETWEEN HEADER AND FOOTER -->

<table cellpadding="0" cellspacing="0" border="0" width="100%">
  <col width="180">
  <col width="1">

  <tr valign="top">
    <td class="sidebar">
      <table width="180" cellpadding="4" cellspacing="0" border="0">
        <tr valign="top">
          <td class="sidebar">

<!-- INCLUDE THE PAGE NAVIGATION -->
<?php
require("$BASE_DIR/navigation.php");
?>

            <table width="172" cellpadding="0" cellspacing="0" border="0">
              <tr><td><img src="<?=$IMAGES?>/spacer.gif" alt="" border="0" width="1" height="8"></td></tr>
              <tr><td class="darkbg"><img src="<?=$IMAGES?>/spacer.gif" width="1" height="3" alt=""></td></tr>
            </table>
            <br>

<!-- INCLUDE THE PAGE SIDEBAR TEXT -->
<?php
if(!$page_sid){
    $page_sid = $BASE_DIR . "/sid_empty.php";
}
include($page_sid);
?>

          </td>
        </tr>
      </table>
    </td>

    <td class="darkbg"><img src="<?=$IMAGES?>/spacer.gif" width="1" height="1" border="0" alt=""><br></td>
    <td>
      <table width="100%" cellpadding="10" cellspacing="0" border="0" bordercolor="red">
        <tr>
          <td valign="top">