summaryrefslogtreecommitdiff
path: root/htdocs/indexfast.php
blob: 317f78d9179fa610e1fdde0937f511a8a905ac26 (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
95
96
97
98
99
100
101
102
103
104
<?php
// the home page
require_once("include/init.inc");
require_once("include/string_utils.inc");
require_once("scripts/include/script.inc");
require_once("tips/include/tip.inc");
require_once("news/include/news.inc");

$page_title = "welcome home";
$page_sid = "sid_index.php";
// $page_foot = "foot_index.php";
// $page_foot_top = "foot_top_index.php";
// $page_stat_counter = "yes";

include("header.php");
?>

<?php

// report database problems
if(!$CONN){
?>
    <h1>Sourceforge Project Database Problems</h1>
<p>
<span class="newsdate">[<?=date('d-M-Y')?>]</span> 
Sourceforge is currently experiencing sporadic problems with their 
project database and web server. This means news, scripts and tips 
are currently unavailable. Thank you for your patience.
 (<i>Scott Johnston</i>) 
<br clear="all">
</p>
<?php
}
?>

<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
    <td class="lightbg"><span class="txth1">&nbsp;&nbsp;News</span></td>
    <td nowrap class="lightbg" align="right"><small>&nbsp;Vim
<?php
include("version.txt")
?>
    is the current version&nbsp;</small></td>
</tr>
</table>

<p>
Omitted for fast loading.
</p>

<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
<td><a href="news/news.php">more news...</a></td>
<td align="right">
<h1>
<a href="http://mail.fsfeurope.org/pipermail/press-release/2005q3/000109.html">EU Parliament votes NO on software patents!</a></h1>
</td>
</tr>
</table>

<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr><td colspan="2"><img src="<?=$IMAGES?>/spacer.gif" width="1" height="10" alt=""></td></tr>
<tr>
    <td class="lightbg"><span class="txth1">&nbsp;&nbsp;Recent Script Updates</span></td>
    <td nowrap class="lightbg" align="right"><small>&nbsp;<?=number_format(getScriptCount())?> scripts, <?=number_format(getTotalScriptDownloads())?> downloads&nbsp;</small></td>
</tr>
<tr><td colspan="2"><img src="<?=$IMAGES?>/spacer.gif" width="1" height="10" alt=""></td></tr>
</table>

<p>
Omitted for fast loading.
</p>

<p>
Scripts: 
<a href="scripts/index.php">recent</a> | 
                    <a href="scripts/script_search_results.php?order_by=downloads">most downloaded</a> | 
                    <a href="scripts/script_search_results.php?order_by=rating">top rated</a>
</p>

<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr><td colspan="2"><img src="<?=$IMAGES?>/spacer.gif" width="1" height="10" alt=""></td></tr>
<tr>
    <td class="lightbg"><span class="txth1">&nbsp;&nbsp;Vim Tips</span></td>
    <td nowrap class="lightbg" align="right"><small>&nbsp;<?=number_format(getTipCount())?> tips, <?=number_format(getTotalTipViews())?> tip views&nbsp;</small></td>
</tr>
<tr><td colspan="2"><img src="<?=$IMAGES?>/spacer.gif" width="1" height="10" alt=""></td></tr>
</table>
The tips are located on the
<a href="http://vim.wikia.com/wiki/Main_Page">Vim Tips Wiki</a>.
 This is a platform to exchange tips and tricks from and for Vim users.
<p>
<?php
// Commented out, so that more people will go to the tips wiki.
// You can also see the tips as they were created here until February 2007, when
// spam became too much of a problem.
// <p><a href="tips/index.php">most recent tips</a> |
//                    <a href="tips/tip_search_results.php?order_by=views">most viewed</a> | 
//                    <a href="tips/tip_search_results.php?order_by=rating">top rated</a>
?>

<?php
include("footer.php");
?>