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

Annotation of /trunk/www/news.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 167 - (hide annotations)
Mon May 9 17:18:42 2011 UTC (12 years, 10 months ago) by sng
File size: 10005 byte(s)
- updating imgconvert to handle partition images as well
- updating reloc-img.html to reflect the above changes
- updating trunk site

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 sng 125 body { font-family: Arial, 'sans serif'; color: black; font-size: 12pt; background : fixed no-repeat; background-color: #333333; padding: 0; margin: 0; margin-top: 5px; margin-bottom: 5px; }
9 sng 28
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 sng 145 #warning { margin: 5px; padding: .4em; background-color: Red; color: White; align: center; font-weight: bold; border-width: 2px; border-color: white; border-style: solid; }
70 sng 144 #warning a { color: white; font-weight: bold; text-decoration: underline; }
71 sng 28 </style>
72 sng 144 <link href="warning.css" rel="stylesheet" type="text/css" />
73     <!--
74     The file waring.css exists only in the root of the site
75 sng 146 and it hides the UNSTABLE warnings. Its contents are
76 sng 144 #warning { display: none; }
77     -->
78 sng 28 <META NAME="Keywords" CONTENT="multiboot Multi Boot bootable cd rescue clonezilla sysresccd backup restore samba">
79     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
80    
81     </head>
82    
83     <body>
84 sng 144 <div id="warning" align="center">
85     WARNING<br>
86 sng 146 This is the UNSTABLE version of Clonezilla-SysRescCD<br>
87 sng 149 To access our current stable version, please click <a href="../index.html">here</a>
88 sng 144 </div>
89 sng 28 <div id="header">
90     <a name="news-top"></a>
91 sng 124 <div id="lphp" style=""><a target="_blank" title="Display all in one long page" href="onepage.html"><img src="images/chain.png" border="0" /></a><a target="_blank" title="Display printable page" href="printable.php"><img src="images/print_it.png" border="0" /></a></div>
92 sng 28 <H2>Clonezilla-SysRescCD</H2>
93     <H3>What's New</H3>
94     <div style="margin:0; padding: 3px; width: 980; position relative;">
95 sng 141 <div style="position: absolute; left: 0px;"><H4>30/09/2010 - v 3.2.0</H4></div>
96 sng 167 <div style="position: absolute; right: 0px;"><H4>Last update: 09/05/2011</H4></div>
97 sng 28 </div>
98     </div>
99     <div id="linkline">
100     <a href="index.html">Home</a>
101     <a class="here" href="news.php">News</a>
102     <!-- <a href="features.html">Features</a>-->
103     <a href="doc.html">Documentation</a>
104 sng 95 <a href="download.html">Download</a>
105 sng 28 <a href="screenshots.html">Screenshots</a>
106     <a href="index.html#credits">Credits</a>
107     <a href="help.html">Help</a>
108    
109     <div id="rss">
110     <a href="clonezilla-sysresccd.rss"><img src="images/rss-orange-11.png" width="30" height="14" border="0"/></a>
111     </div>
112     <!-- docline-top-->
113     </div>
114     <div id="contarea">
115     <div id="content">
116    
117    
118    
119    
120    
121    
122     <!-- note -->
123 sng 56 <div align="center" style="margin-bottom: 0"><table style="margin-bottom: 0" class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td>
124 sng 28 This section has been created by converting<br>
125     the site's <a href="http://clonezilla-sysresccd.hellug.gr/clonezilla-sysresccd.rss">RSS news feed</a> to HTML
126     </td></tr></table></div>
127     <!--insertnews-->
128    
129    
130    
131    
132     <?php
133 sng 133 error_reporting(E_ALL);
134     // error_reporting(E_ERROR);
135     ini_set('display_errors', '1');
136    
137 sng 28 $file = file_get_contents ('./clonezilla-sysresccd.rss');
138 sng 133 $eReg = "#<title>[^<]*<#";
139 sng 28 $tReg = '<a name=\0"></a>\0';
140 sng 133 $file = preg_replace($eReg,$tReg,$file);
141 sng 28
142     $file = str_replace('<">','">',$file);
143     $file = str_replace("<a name=<H2>","<a name=\"",$file);
144    
145     $file = str_replace("=<title>","=\"",$file);
146     $file = str_replace("<title>","<H2>",$file);
147     $file = str_replace("</title>"," <span class=\"hideprint\">[<a href=\"#news-top\" title=\"go to top of the page\">^</a>]</span></H2>",$file);
148    
149     $file = str_replace("<pubDate>","<p><b>Date: </b>",$file);
150     $file = str_replace("</pubDate>","<br><br>",$file);
151     $file = str_replace("<description><![CDATA[","",$file);
152     $file = str_replace("]]></description>","</p>",$file);
153     $file = str_replace("<item>","",$file);
154     $file = str_replace("</item>","",$file);
155     //$file = str_replace("<rss>","",$file);
156     $file = str_replace("</rss>","",$file);
157     //$file = str_replace("<channel>","",$file);
158     $file = str_replace("</channel>","",$file);
159    
160 sng 133 $eReg = "#^" . ".*" . "<" . "/image" . ">#";
161     $file = preg_replace($eReg,"",$file);
162 sng 28
163    
164 sng 133 $eReg = "#<" . "guid" . "[^<]*" . "<" . "/guid" . ">#";
165     $file = preg_replace($eReg,"",$file);
166 sng 28
167    
168 sng 133 $eReg = "#<" . "link" . "[^<]*" . "<" . "/link" . ">#";
169     $file = preg_replace($eReg,"",$file);
170 sng 28
171 sng 133
172    
173     $eReg = "#<\?xml version=\"1.0\" encoding=\"UTF-8\"\?>.*</image>#is";
174     $file = preg_replace($eReg,"",$file);
175    
176    
177    
178     // Get top navigation div
179     $eReg = "#<div id=\"docline-top\">.*#";
180     $numMatch = preg_match($eReg,$file,$matches);
181     if($numMatch > 0)
182     $topNav = $matches[0];
183     // echo $topNav;
184    
185     // Get bottom navigation div
186     $eReg = "#<div id=\"docline-bottom\">.*#";
187     $numMatch = preg_match($eReg,$file,$matches);
188     if($numMatch > 0)
189     $bottomNav = $matches[0];
190     // echo $bottomNav;
191    
192     // Remove text starting from line 1 to
193     // line containing <body> tag
194     $eReg="#<html.*</head>#is";
195     $file = preg_replace($eReg,"",$file);
196     $eReg = "#<!DOCTYPE HTML PUBLIC.*#i";
197     $file = preg_replace($eReg,"",$file);
198     $eReg = "#<body.*#i";
199     $file = preg_replace($eReg,"",$file);
200    
201    
202 sng 28 //$file = ereg_replace();
203    
204     echo $file;
205     echo "<p></p>
206    
207     </div>";
208     ?>
209    
210    
211    
212    
213    
214     <!--<a name="template-top"></a>-->
215    
216     <div id="footer">
217 sng 141 <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.2.0">Spiros Georgaras</a>, 2007-2010<br /><br/>
218 sng 129 Hosted by <a href="http://hellug.gr/index.php/OSullogos/Tautothta?from=Main.HELLUG" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p>
219 sng 28 </div>
220     </div>
221 sng 144 <div id="warning" align="center">
222     WARNING<br>
223 sng 146 This is the UNSTABLE version of Clonezilla-SysRescCD<br>
224 sng 149 To access our current stable version, please click <a href="../index.html">here</a>
225 sng 144 </div>
226 sng 28 </body>
227     </html>

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26