... | ... |
@@ -19,6 +19,7 @@ if ($xml === false) { |
19 | 19 |
echo '<h4>' . $channel['title'].PHP_EOL; |
20 | 20 |
echo '<button id="html-btn" onclick="printHTMLAll(\''.$channel['name'].'.html\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button>'.PHP_EOL; |
21 | 21 |
echo '<button id="pdf-btn" onclick="printPDFAll(\''.$channel['name'].'.pdf\')" style="display:inline;"><img src="img/pdf.png" width="24px" height="24px"></button>'.PHP_EOL; |
22 |
+ echo '<button id="epub-btn" onclick="printEPUBAll(\''.$channel['name'].'.epub\')" style="display:inline;"><img src="img/epub.png" width="24px" height="24px"></button>'.PHP_EOL; |
|
22 | 23 |
echo '</h4>'.PHP_EOL; |
23 | 24 |
$cpt=0; |
24 | 25 |
foreach ($xml->channel->item as $item) { |
... | ... |
@@ -16,6 +16,7 @@ if ($xml === false) { |
16 | 16 |
echo '<h4>' . $channel['title'].PHP_EOL; |
17 | 17 |
echo '<button id="html-btn" onclick="printHTMLAll(\''.$channel['name'].'.html\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button>'.PHP_EOL; |
18 | 18 |
echo '<button id="pdf-btn" onclick="printPDFAll(\''.$channel['name'].'.pdf\')" style="display:inline;"><img src="img/pdf.png" width="24px" height="24px"></button>'.PHP_EOL; |
19 |
+ echo '<button id="epub-btn" onclick="printEPUBAll(\''.$channel['name'].'.epub\')" style="display:inline;"><img src="img/epub.png" width="24px" height="24px"></button>'.PHP_EOL; |
|
19 | 20 |
echo '</h4>'.PHP_EOL; |
20 | 21 |
$cpt=0; |
21 | 22 |
foreach ($xml->channel->item as $item) { |
... | ... |
@@ -16,7 +16,8 @@ if ($xml === false) { |
16 | 16 |
$channel['description'] = $xml->channel->description; |
17 | 17 |
$channel['pubDate'] = $xml->channel->pubDate; |
18 | 18 |
$channel['timestamp'] = strtotime($xml->channel->pubDate); |
19 |
- echo '<h4>' . $channel['title'].'<button id="html-btn" onclick="printHTMLAll(\''.$channel['name'].'\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button></h4>'.PHP_EOL; |
|
19 |
+ echo '<h4>' . $channel['title'].'<button id="html-btn" onclick="printHTMLAll(\''.$channel['name'].'\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button>'.PHP_EOL; |
|
20 |
+ echo '<button id="epub-btn" onclick="printEPUBAll(\''.$channel['name'].'.epub\')" style="display:inline;"><img src="img/epub.png" width="24px" height="24px"></button></h4>'.PHP_EOL; |
|
20 | 21 |
$cpt=0; |
21 | 22 |
foreach ($xml->channel->item as $item) { |
22 | 23 |
$article = array(); |
... | ... |
@@ -16,6 +16,7 @@ if ($xml === false) { |
16 | 16 |
echo '<h4>' . $channel['title'].PHP_EOL; |
17 | 17 |
echo '<button id="html-btn" onclick="printHTMLAll(\''.$channel['name'].'.html\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button>'.PHP_EOL; |
18 | 18 |
echo '<button id="pdf-btn" onclick="printPDFAll(\''.$channel['name'].'.pdf\')" style="display:inline;"><img src="img/pdf.png" width="24px" height="24px"></button>'.PHP_EOL; |
19 |
+ echo '<button id="epub-btn" onclick="printEPUBAll(\''.$channel['name'].'.epub\')" style="display:inline;"><img src="img/epub.png" width="24px" height="24px"></button>'.PHP_EOL; |
|
19 | 20 |
echo '</h4>'.PHP_EOL; |
20 | 21 |
$cpt=0; |
21 | 22 |
foreach ($xml->channel->item as $item) { |
... | ... |
@@ -16,6 +16,7 @@ if ($xml === false) { |
16 | 16 |
echo '<h4>' . $channel['title'].PHP_EOL; |
17 | 17 |
echo '<button id="html-btn" onclick="printHTMLAll(\''.$channel['name'].'.html\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button>'.PHP_EOL; |
18 | 18 |
echo '<button id="pdf-btn" onclick="printPDFAll(\''.$channel['name'].'.pdf\')" style="display:inline;"><img src="img/pdf.png" width="24px" height="24px"></button>'.PHP_EOL; |
19 |
+ echo '<button id="epub-btn" onclick="printEPUBAll(\''.$channel['name'].'.epub\')" style="display:inline;"><img src="img/epub.png" width="24px" height="24px"></button>'.PHP_EOL; |
|
19 | 20 |
echo '</h4>'.PHP_EOL; |
20 | 21 |
$cpt=0; |
21 | 22 |
foreach ($xml->channel->item as $item) { |
... | ... |
@@ -14,6 +14,7 @@ if ($xml === false) { |
14 | 14 |
echo '<h4>' . $channel['title'].PHP_EOL; |
15 | 15 |
echo '<button id="html-btn" onclick="printHTMLAll(\''.$channel['name'].'.html\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button>'.PHP_EOL; |
16 | 16 |
echo '<button id="pdf-btn" onclick="printPDFAll(\''.$channel['name'].'.pdf\')" style="display:inline;"><img src="img/pdf.png" width="24px" height="24px"></button>'.PHP_EOL; |
17 |
+ echo '<button id="epub-btn" onclick="printEPUBAll(\''.$channel['name'].'.epub\')" style="display:inline;"><img src="img/epub.png" width="24px" height="24px"></button>'.PHP_EOL; |
|
17 | 18 |
echo '</h4>'.PHP_EOL; |
18 | 19 |
$cpt=0; |
19 | 20 |
foreach ($xml->entry as $item) |
... | ... |
@@ -16,6 +16,7 @@ if ($xml === false) { |
16 | 16 |
echo '<h4>' . $channel['title'].PHP_EOL; |
17 | 17 |
echo '<button id="html-btn" onclick="printHTMLAll(\''.$channel['name'].'.html\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button>'.PHP_EOL; |
18 | 18 |
echo '<button id="pdf-btn" onclick="printPDFAll(\''.$channel['name'].'.pdf\')" style="display:inline;"><img src="img/pdf.png" width="24px" height="24px"></button>'.PHP_EOL; |
19 |
+ echo '<button id="epub-btn" onclick="printEPUBAll(\''.$channel['name'].'.epub\')" style="display:inline;"><img src="img/epub.png" width="24px" height="24px"></button>'.PHP_EOL; |
|
19 | 20 |
echo '</h4>'.PHP_EOL; |
20 | 21 |
$cpt=0; |
21 | 22 |
foreach ($xml->channel->item as $item) { |
... | ... |
@@ -16,6 +16,7 @@ if ($xml === false) { |
16 | 16 |
echo '<h4>' . $channel['title'].PHP_EOL; |
17 | 17 |
echo '<button id="html-btn" onclick="printHTMLAll(\''.$channel['name'].'.html\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button>'.PHP_EOL; |
18 | 18 |
echo '<button id="pdf-btn" onclick="printPDFAll(\''.$channel['name'].'.pdf\')" style="display:inline;"><img src="img/pdf.png" width="24px" height="24px"></button>'.PHP_EOL; |
19 |
+ echo '<button id="epub-btn" onclick="printEPUBAll(\''.$channel['name'].'.epub\')" style="display:inline;"><img src="img/epub.png" width="24px" height="24px"></button>'.PHP_EOL; |
|
19 | 20 |
echo '</h4>'.PHP_EOL; |
20 | 21 |
$cpt=0; |
21 | 22 |
foreach ($xml->channel->item as $item) { |
... | ... |
@@ -16,6 +16,7 @@ if ($xml === false) { |
16 | 16 |
echo '<h4>' . $channel['title'].PHP_EOL; |
17 | 17 |
echo '<button id="html-btn" onclick="printHTMLAll(\''.$channel['name'].'.html\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button>'.PHP_EOL; |
18 | 18 |
echo '<button id="pdf-btn" onclick="printPDFAll(\''.$channel['name'].'.pdf\')" style="display:inline;"><img src="img/pdf.png" width="24px" height="24px"></button>'.PHP_EOL; |
19 |
+ echo '<button id="epub-btn" onclick="printEPUBAll(\''.$channel['name'].'.epub\')" style="display:inline;"><img src="img/epub.png" width="24px" height="24px"></button>'.PHP_EOL; |
|
19 | 20 |
echo '</h4>'.PHP_EOL; |
20 | 21 |
$cpt=0; |
21 | 22 |
foreach ($xml->channel->item as $item) { |
... | ... |
@@ -17,6 +17,7 @@ if ($xml === false) { |
17 | 17 |
$channel['pubDate'] = $xml->channel->pubDate; |
18 | 18 |
$channel['timestamp'] = strtotime($xml->channel->pubDate); |
19 | 19 |
echo '<h4>' . $channel['title'].'<button id="html-btn" onclick="printHTMLAll(\''.$channel['name'].'\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button></h4>'.PHP_EOL; |
20 |
+ echo '<button id="epub-btn" onclick="printEPUBAll(\''.$channel['name'].'.epub\')" style="display:inline;"><img src="img/epub.png" width="24px" height="24px"></button>'.PHP_EOL; |
|
20 | 21 |
$cpt=0; |
21 | 22 |
foreach ($xml->channel->item as $item) { |
22 | 23 |
$article = array(); |