]> git.llucax.com Git - mecon/meconlib.git/blobdiff - test/HTML/prueba_tabla.php
Se deshardcodea la DB.
[mecon/meconlib.git] / test / HTML / prueba_tabla.php
index a176d5826f0113e17c04ed7ceabed78f7c5c431d..1b0367ee41faaf6d3e05c059212bb8b65bd25532 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <title>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <title>
+Prueba de Tabla.
 </title>
 </title>
-<link rel="StyleSheet" href="./../php/Tabla/tabla_estilos.css">
 </head>
 <body bgcolor="#FFFFFF" color="#000000" align="center">
 <table width="760" align="center">
 </head>
 <body bgcolor="#FFFFFF" color="#000000" align="center">
 <table width="760" align="center">
@@ -12,9 +12,9 @@
 
 <?php
 
 
 <?php
 
-    $tmp = ini_get('include_path');
-    ini_set('include_path', "/home/mmarrese/public_html/HTML/php:$tmp");
-    require_once 'Tabla.php';
+    //$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'); 
     $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'); 
@@ -52,7 +52,7 @@
     print $tohtml."<BR><BR><BR>";
 ///////////////////////////////////////////////////////////////////////////////////////////    
     echo 'PRECATED<BR>';
     print $tohtml."<BR><BR><BR>";
 ///////////////////////////////////////////////////////////////////////////////////////////    
     echo 'PRECATED<BR>';
-    $TABLA2 = new MECON_HTML_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');    
     $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');