/[clonezilla-sysresccd]/trunk/www/news.php
ViewVC logotype

Annotation of /trunk/www/news.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 40 - (hide annotations)
Thu May 13 14:01:58 2010 UTC (13 years, 10 months ago) by sng
File size: 8202 byte(s)
updating site (trunk)

1 sng 28 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2     <html>
3     <head>
4     <link rel="alternate" type="application/rss+xml" title="RSS" href="http://clonezilla-sysresccd.hellug.gr/clonezilla-sysresccd.rss">
5     <link rel="shortcut icon" href="favicon.ico">
6     <title>Clonezilla-SysRescCD - What's New</title>
7     <style type="text/css">
8     body { font-family: Arial, 'sans serif'; color: black; font-size: 12pt; background : url(null) fixed no-repeat; background-color: #333333; padding: 0; margin: 0; margin-top: 5px; margin-bottom: 5px; }
9    
10    
11    
12     #header {position:relative; display: block; width: 980px; height: 121px;margin: auto; padding: auto; background-color: #D37624; background-image: url('images/header.png');clear:both;}
13     #header h2{ color: #FFE6BC; font-weight: bold; font-size: 2.2em; margin:0; padding:0; padding-left: 10px; padding-top: 7px; text-shadow: #333333 2px 2px 4px;}
14     #header h3{ color: #FFE6BC; font-weight: bold; font-size: 1.8em; margin:0; padding: 0; padding-left: 10px; text-shadow: #333333 2px 2px 4px;}
15     #header h4{ color: #FFE6BC; font-weight: bold; font-size: 1.2em; margin:0; padding: 0; padding-left: 10px; padding-right: 10px; text-shadow: #333333 2px 2px 4px;}
16     #header a {text-decoration:none;}
17    
18     #contarea {display: block; width: 980px; margin: auto; padding: auto; background-color: #FFF2DD; clear:both;}
19    
20     #linkline { width: 980px; height: 29px;margin: auto; padding: auto; background-color: #D37624; background-image: url('images/linkline.png');clear:both; }
21     #linkline a{float: left; color: #FFE6BC; font-weight: bold; font-size: 0.8em; text-decoration: none; text-shadow: #333333 2px 2px 4px; padding-left: 10px; padding-right: 10px; padding-top: 5px;}
22     #linkline a:visited{color: #FFE6BC;}
23     #linkline a:hover{color: #333333;}
24     #linkline a.here {color: #333333; text-decoration: none;}
25    
26     #lastupdate {float: right; display: block; text-align: right; margin: 0; margin-top: -1.2em; padding: 0; padding-right: 15px;}
27    
28     #rss { float: right; text-align: right; padding-top: 3px;}
29    
30     #docline-top { float: right; padding-right: 40px; text-align: right; }
31     #docline-bottom { float: right; padding-right: 40px; text-align: right; font-size: 0.8em; padding-top: 15px; }
32     #docline-bottom a{ padding-left: 10px; padding-right: 10px; }
33    
34     #menu { float: right; display: block; width: 170px; margin: auto; padding: 15px; font-size: 0.8em; font-weight: bold; background-color: #FFE6BC;}
35     #menu h1 {color: #990000; font-size: 1.8em;text-shadow: gray 2px 2px 4px;}
36     #menu a,a:visited{ color: black; text-decoration: none; font-weight: normal;}
37     #menu a:hover{ text-decoration: underline;}
38     #menu p{ margin-bottom: 10px;}
39    
40     #content { float: left; display: block; width: 950px margin: auto; padding: 15px;}
41    
42    
43     #footer {display: block; width: 980px; height: 100px;margin: auto; padding: auto; background-color: #D37624; background-image: url('images/footer.png');clear:both;text-shadow: #333333 2px 2px 4px;}
44     #footer p{color: #FFE6BC; font-weight: bold; padding:15px; padding-left: 10px;}
45     #footer a,a:visited{color: #FFE6BC; font-weight: bold; text-decoration:none;}
46     #footer a:hover{ color: #333333; text-decoration: none;}
47    
48    
49     #content H1,H2,H3,H4{color: #990000; text-align: left;}
50     #content H2{margin-top: 2em;}
51     #content H3{margin-top: 1.5em}
52     #content H4{margin-top: 1em}
53     #content li { margin-top: 1em;}
54     #content a,a:active,a:visited{text-decoration: none; color: #4075CA; font-weight: normal;}
55     #content a:hover{text-decoration: underline; font-weight: normal;}
56     #content .hidden{ display:none; }
57     #content p,td,table,tr,li { font-family: Arial, 'sans serif'; }
58     #content .nav{margin-left: 0pt;}
59     #content .newcode{font-family : "Courier New", Courier, monospace; font-weight: bold; background-color: #F2F2F2; border: solid 1px #DEDEDE;padding: 20pt;}
60     #content .note{margin-top: 30pt; margin-bottom: 30pt; text-align: left; background-color: #FFEFEF; border: double 3px; border-color: #FFD5D5;}
61     #content hr{color: Black; background-color: Black; height: 1px; border: none;}
62     #content .header-news{margin-top: 2em; margin-left: 25pt; font-weight: bold; color: #990000;}
63     #content .item-news{margin-left: 45pt; margin-right: 45pt;}
64     #content .otherpage{border: solid 1px darkgoldenrod; padding: 20pt; background-color: lemonchiffon;}
65     #content IMG {display: block; margin-left: auto; margin-right: auto; }
66     #content .red{color: white; background-color: Red; font-weight: bold;}
67     #lphp{text-align: right; padding-left: 10px; padding-right: 10px; padding-top: 50px; float: right;}
68     #lphp a{padding-left: 5px;}
69     </style>
70     <META NAME="Keywords" CONTENT="multiboot Multi Boot bootable cd rescue clonezilla sysresccd backup restore samba">
71     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
72    
73     </head>
74    
75     <body>
76     <div id="header">
77     <a name="news-top"></a>
78 sng 37 <div id="lphp" style=""><a target="_blank" href="onepage.html"><img src="images/chain.png" border="0" /></a><a target="_blank" href="printable.php"><img src="images/print_it.png" border="0" /></a></div>
79 sng 28 <H2>Clonezilla-SysRescCD</H2>
80     <H3>What's New</H3>
81     <div style="margin:0; padding: 3px; width: 980; position relative;">
82 sng 38 <div style="position: absolute; left: 0px;"><H4>26/03/2010 - v 3.1.0</H4></div>
83 sng 40 <div style="position: absolute; right: 0px;"><H4>Last update: 13/05/2010</H4></div>
84 sng 28 </div>
85     </div>
86     <div id="linkline">
87     <a href="index.html">Home</a>
88     <a class="here" href="news.php">News</a>
89     <!-- <a href="features.html">Features</a>-->
90     <a href="doc.html">Documentation</a>
91     <a href="index.html#download">Download</a>
92     <a href="screenshots.html">Screenshots</a>
93     <a href="index.html#credits">Credits</a>
94     <a href="help.html">Help</a>
95    
96     <div id="rss">
97     <a href="clonezilla-sysresccd.rss"><img src="images/rss-orange-11.png" width="30" height="14" border="0"/></a>
98     </div>
99     <!-- docline-top-->
100     </div>
101     <div id="contarea">
102     <div id="content">
103    
104    
105    
106    
107    
108    
109     <!-- note -->
110     <div align="center" style="margin-bottom: 0"><table style="margin-bottom: 0" class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="info.png"></td><td>
111     This section has been created by converting<br>
112     the site's <a href="http://clonezilla-sysresccd.hellug.gr/clonezilla-sysresccd.rss">RSS news feed</a> to HTML
113     </td></tr></table></div>
114     <!--insertnews-->
115    
116    
117    
118    
119     <?php
120     $file = file_get_contents ('./clonezilla-sysresccd.rss');
121     $eReg = "<title>[^<]*<";
122     $tReg = '<a name=\0"></a>\0';
123     $file = ereg_replace($eReg,$tReg,$file);
124    
125     $file = str_replace('<">','">',$file);
126     $file = str_replace("<a name=<H2>","<a name=\"",$file);
127    
128     $file = str_replace("=<title>","=\"",$file);
129     $file = str_replace("<title>","<H2>",$file);
130     $file = str_replace("</title>"," <span class=\"hideprint\">[<a href=\"#news-top\" title=\"go to top of the page\">^</a>]</span></H2>",$file);
131    
132     $file = str_replace("<pubDate>","<p><b>Date: </b>",$file);
133     $file = str_replace("</pubDate>","<br><br>",$file);
134     $file = str_replace("<description><![CDATA[","",$file);
135     $file = str_replace("]]></description>","</p>",$file);
136     $file = str_replace("<item>","",$file);
137     $file = str_replace("</item>","",$file);
138     //$file = str_replace("<rss>","",$file);
139     $file = str_replace("</rss>","",$file);
140     //$file = str_replace("<channel>","",$file);
141     $file = str_replace("</channel>","",$file);
142    
143     $eReg = "^" . ".*" . "<" . "/image" . ">";
144     $file = ereg_replace($eReg,"",$file);
145    
146    
147     $eReg = "<" . "guid" . "[^<]*" . "<" . "/guid" . ">";
148     $file = ereg_replace($eReg,"",$file);
149    
150    
151     $eReg = "<" . "link" . "[^<]*" . "<" . "/link" . ">";
152     $file = ereg_replace($eReg,"",$file);
153    
154     //$file = ereg_replace();
155    
156     echo $file;
157     echo "<p></p>
158    
159     </div>";
160     ?>
161    
162    
163    
164    
165    
166     <!--<a name="template-top"></a>-->
167    
168     <div id="footer">
169     <p>Copyright: &#169; <a href="mailto:&#115;&#110;&#103;&#064;&#104;&#101;&#108;&#108;&#117;&#103;&#046;&#103;&#114;?subject=About Clonezilla-SysRescCD v 3.1.0">Spiros Georgaras</a>, 2007-2010<br /><br/>
170     Hosted by <a href="http://www.hellug.gr" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p>
171     </div>
172     </div>
173     </body>
174     </html>

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26