3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <link rel="StyleSheet" href="./../php/Tabla/tabla_estilos.css">
8 <body bgcolor="#FFFFFF" color="#000000" align="center">
9 <table width="760" align="center">
15 $tmp = ini_get('include_path');
16 ini_set('include_path', "/home/mmarrese/public_html/HTML/php:$tmp");
17 require_once 'Tabla.php';
18 $TABLA2 = new Tabla ('width="500" align="right"');
19 $row = array ('R0C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
20 $TABLA2->addRow($row,'cabecera');
21 $row = array ('R1C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
22 $TABLA2->addRow($row);
23 $row = array ('R2C0','R2C1','R2C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
24 $TABLA2->addRow($row);
25 $row = array ('R3C0','R3C1','R3C2','R3C3','R3C4','R3C5','R3C6','R3C7','R3C8','R3C9');
26 $TABLA2->addRow($row);
27 $tohtml = $TABLA2->toHtml();
29 print $tohtml."<BR><BR><BR>";
30 echo 'DEPRECATED <BR>';
31 $TABLA = new Tabla ('width="500" align="right"');
32 $row = array ('R0C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
33 $TABLA->agregarFilaCabecera($row);
34 $row = array ('R1C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
35 $TABLA->agregarFila($row);
36 $row = array ('R2C0','R2C1','R2C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
37 $TABLA->agregarFila($row);
38 $row = array ('R3C0','R3C1','R3C2','R3C3','R3C4','R3C5','R3C6','R3C7','R3C8','R3C9');
39 $TABLA->agregarFila($row);
41 $TABLA->colSpan(0, 0,10);
42 $TABLA->rowSpan(1, 0,3);
43 $TABLA->rowSpan(1, 1,3);
44 $TABLA->colSpan(1, 2,8);
45 $TABLA->colSpan(2, 2,2);
46 $TABLA->colSpan(2, 4,2);
47 $TABLA->colSpan(2, 6,2);
48 $TABLA->colSpan(2, 8,2);
49 $TABLA->setColTitulo(2);
50 $tohtml = $TABLA->toHtml();
52 print $tohtml."<BR><BR><BR>";
53 ///////////////////////////////////////////////////////////////////////////////////////////
55 $TABLA2 = new Tabla ('width="500" align="right"');
56 $row = array ('R0C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
57 $TABLA2->addRow($row,'cabecera');
58 $row = array ('R1C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
59 $TABLA2->addRow($row);
60 $row = array ('R2C0','R2C1','R2C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
61 $TABLA2->addRow($row);
62 $row = array ('R3C0','R3C1','R3C2','R3C3','R3C4','R3C5','R3C6','R3C7','R3C8','R3C9');
63 $TABLA2->addRow($row);
65 $tmp = array ('colspan'=>2,'comun'=>true);
67 $TABLA2->updateCellAttributes(0, 0,'colspan=10');
68 $TABLA2->updateCellAttributes(1, 0,'rowspan=3');
69 $TABLA2->updateCellAttributes(1, 1,'rowspan=3');
70 $TABLA2->updateCellAttributes(1, 2,'colspan=8');
71 $TABLA2->updateCellAttributes(2, 2,'colspan=2 titulo');
72 $TABLA2->updateCellAttributes(2, 4,'colspan=2 cabecera');
73 $TABLA2->updateCellAttributes(2, 6,$tmp);
74 $TABLA2->updateCellAttributes(2, 8,'colspan=2 cabecera');
75 $TABLA2->updateColAttributes(9,'titulo');
78 $tohtml = $TABLA2->toHtml();