website diff archives.php @ rev 656

mailing-list.html: restore previous style for table
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 27 13:45:53 2010 +0200 (2010-09-27)
parents
children f755e552aaed
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/archives.php	Mon Sep 27 13:45:53 2010 +0200
     1.3 @@ -0,0 +1,44 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
     1.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.6 +<head>
     1.7 +	<title>lists.tuxfamily.org/slitaz mailing list</title>
     1.8 +	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
     1.9 +	<link rel="stylesheet" type="text/css" href="slitaz.css" />
    1.10 +	<style type="text/css">
    1.11 +	table {
    1.12 +		border: 1px solid #000000;
    1.13 +		width: variable;
    1.14 +		border-collapse: collapse;
    1.15 +		margin: 2px 2px;
    1.16 +	}
    1.17 +	td {
    1.18 +		border: 1px dotted #6495ed;
    1.19 +		width: variable;
    1.20 +		padding: 2px;
    1.21 +	}
    1.22 +	.rowodd {
    1.23 +		background-color: #ffffff;
    1.24 +	}
    1.25 +	.roweven {
    1.26 +		background-color: #e1ffe1; /* the tower */
    1.27 +	}
    1.28 +	th {
    1.29 +		border: 1px solid #000000;
    1.30 +		width: variable;
    1.31 +		padding: 4px;
    1.32 +	}
    1.33 +	.alignright {
    1.34 +		text-align: right;
    1.35 +	}
    1.36 +	</style>
    1.37 +</head>
    1.38 +<body>
    1.39 +<?php
    1.40 +$url = "http://listengine.tuxfamily.org/lists.tuxfamily.org/slitaz/";
    1.41 +$script  = "-e '/<table>/,/<\/table>/!d' ";
    1.42 +$script .= "-e 's|html\"|html\" target=\"_blank\"|g' ";
    1.43 +$script .= "-e 's|href=\"|href=\"$url|g' ";
    1.44 +system("wget -q -O - $url | sed $script");
    1.45 +?>
    1.46 +</body>
    1.47 +</html>