]> git.llucax.com Git - mecon/meconlib.git/blobdiff - test/HTML/prueba_tabla.php
Se arregla la 'interfaz' MLIB_Tpl:
[mecon/meconlib.git] / test / HTML / prueba_tabla.php
index 737130b6b70b2280661d857f3e11604ab70c511d..1b0367ee41faaf6d3e05c059212bb8b65bd25532 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <title>
+Prueba de Tabla.
 </title>
-<link rel="StyleSheet" href="./../php/Tabla/tabla_estilos.css">
 </head>
 <body bgcolor="#FFFFFF" color="#000000" align="center">
 <table width="760" align="center">
 
 <?php
 
-    $tmp = ini_get('include_path');
-    ini_set('include_path', "/home/mmarrese/public_html/HTML/php:$tmp");
-    require_once 'Tabla.php';
-    $TABLA2 = new Tabla ('width="500" align="right"');
+    //$tmp = ini_get('include_path');
+    //ini_set('include_path', "/home/mmarrese/public_html/HTML/php:$tmp");
+    require_once '../../lib/MECON/HTML/Tabla.php';
+    $TABLA2 = new MECON_HTML_Tabla ('width="500" align="right"');
     $row =  array ('R0C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
     $TABLA2->addRow($row,'cabecera'); 
     $row =  array ('R1C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');    
@@ -28,7 +28,7 @@
    
     print $tohtml."<BR><BR><BR>";
     echo 'DEPRECATED <BR>';
-    $TABLA = new Tabla ('width="500" align="right"');
+    $TABLA = new MECON_HTML_Tabla ('width="500" align="right"');
     $row =  array ('R0C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
     $TABLA->agregarFilaCabecera($row); 
     $row =  array ('R1C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');    
@@ -52,7 +52,7 @@
     print $tohtml."<BR><BR><BR>";
 ///////////////////////////////////////////////////////////////////////////////////////////    
     echo 'PRECATED<BR>';
-    $TABLA2 = new Tabla ('width="500" align="right"');
+    $TABLA2 = new MECON_HTML_Tabla ('width="500" align="right"', 'claro');
     $row =  array ('R0C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
     $TABLA2->addRow($row,'cabecera colspan=10'); 
     $row =  array ('R1C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');