source: trunk/client/inc/hpdf5/spipu/html2pdf/examples/res/groups.php@ 407

Last change on this file since 407 was 347, checked in by roby, 3 years ago

Aggiornamento per compatibilità con php7.4

File size: 1.3 KB
Line 
1<style type="text/css">
2<!--
3 table.page_header {width: 100%; border: none; background-color: #DDDDFF; border-bottom: solid 1mm #AAAADD; padding: 2mm }
4 table.page_footer {width: 100%; border: none; background-color: #DDDDFF; border-top: solid 1mm #AAAADD; padding: 2mm}
5-->
6</style>
7<page backtop="14mm" backbottom="14mm" backleft="10mm" backright="10mm" pagegroup="new">
8 <page_header>
9 <table class="page_header">
10 <tr>
11 <td style="width: 100%; text-align: left">
12 Exemple d'utilisation des groupes de pages
13 </td>
14 </tr>
15 </table>
16 </page_header>
17 <page_footer>
18 <table class="page_footer">
19 <tr>
20 <td style="width: 100%; text-align: right">
21 page [[page_cu]]/[[page_nb]]
22 </td>
23 </tr>
24 </table>
25 </page_footer>
26 Ceci est la page 1 du groupe 1
27</page>
28<page pageset="old">
29 Ceci est la page 2 du groupe 1
30</page>
31<page pageset="old">
32 Ceci est la page 3 du groupe 1
33</page>
34<?php
35for ($k=2; $k<5; $k++) :
36?>
37<page pageset="old" pagegroup="new">
38 Ceci est la page 1 du groupe <?php echo $k; ?>
39</page>
40<page pageset="old">
41 Ceci est la page 2 du groupe <?php echo $k; ?>
42</page>
43<?php
44endfor;
Note: See TracBrowser for help on using the repository browser.