2 /*-----------------------------------------------------------------------------
3 Intranet del Ministerio de Economía
4 Informes Parlamentarios
5 -------------------------------------------------------------------------------
6 Este servicio es provisorio hasta tanto se decida cómo se actualizan estos
7 informes sin utilizar MEconDAV
8 -------------------------------------------------------------------------------
9 Myrna Degano <mdegan@mecon.gov.ar>
10 ------------------------------------------------------------------------------*/
12 require_once '../../../local_lib/HTML_DietMarco.php';
13 require_once 'MECON/HTML/Image.php';
14 require_once 'HTML/Table.php';
15 require_once '../../../local_lib/Servicios/Informes.php';
17 //Marco de servicios en intranet
18 $MARCO = new HTML_DietMarco('servicios', 'Informes Parlamentarios');
19 //$MARCO->addTitle('Informes Parlamentarios');
22 $IMG_Blanco1_30 =& new MECON_HTML_Image('../../images/servicios_informes_blanco1.gif', '', array('height'=>'1', 'width'=>'30'));
23 $IMG_Blanco1_170 =& new MECON_HTML_Image('../../images/servicios_informes_blanco1.gif', '', array('height'=>'1', 'width'=>'170'));
24 $IMG_Blanco1_20 =& new MECON_HTML_Image('../../images/servicios_informes_blanco1.gif', '', array('height'=>'1', 'width'=>'20'));
25 $IMG_Blanco1_1 =& new MECON_HTML_Image('../../images/servicios_informes_blanco1.gif', '', array('height'=>'6', 'width'=>'1'));
26 $IMG_Blanco1_10 =& new MECON_HTML_Image('../../images/servicios_informes_blanco1.gif', '', array('height'=>'10', 'width'=>'10'));
27 $IMG_l1 =& new MECON_HTML_Image('../../images/servicios_informes_l1.gif', '', array('height'=>'2', 'width'=>'760'));
28 $IMG_l2 =& new MECON_HTML_Image('../../images/servicios_informes_l2.gif', '', array('height'=>'2', 'width'=>'760'));
29 $IMG_t1 =& new MECON_HTML_Image('../../images/servicios_informes_t1.gif', '', array('height'=>'24', 'width'=>'30'));
30 $IMG_t2 =& new MECON_HTML_Image('../../images/servicios_informes_t2.gif', '', array('height'=>'24', 'width'=>'30'));
31 $IMG_deco1 =& new MECON_HTML_Image('../../images/servicios_informes_deco1.gif', '', array('height'=>'20', 'width'=>'200'));
32 $IMG_deco2 =& new MECON_HTML_Image('../../images/servicios_informes_deco2.gif', '', array('height'=>'20', 'width'=>'200'));
34 //Informes Parlamentarios
35 $INFORMES =& new Servicios_Informes();
38 $TABLA =& new HTML_Table ('border="0" cellPadding="0" cellSpacing="0" width="760"');
39 $TABLA->addRow(array($IMG_Blanco1_30->toHtml(),
40 $IMG_Blanco1_170->toHtml(),
41 $IMG_Blanco1_170->toHtml(),
42 $IMG_Blanco1_20->toHtml(),
43 $IMG_Blanco1_170->toHtml(),
44 $IMG_Blanco1_170->toHtml(),
45 $IMG_Blanco1_30->toHtml()));
46 $TABLA->addRow(array($IMG_l1->toHtml()), array('height'=>'2'));
47 $TABLA->updateCellAttributes(1,0, 'colspan="7"');
48 $TABLA->addRow(array($IMG_t1->toHtml(),
53 $TABLA->updateCellAttributes(2,2, array('colspan'=>'3', 'class'=>'servicios_informes_titulo'));
54 $TABLA->addRow(array($IMG_l2->toHtml()), array('height'=>'2'));
55 $TABLA->updateCellAttributes(3,0, 'colspan="7"');
56 $TABLA->addRow(array($IMG_deco1->toHtml(), '',
57 'Informes Parlamentarios', '', '',
58 $IMG_deco2->toHtml(), ''));
59 $TABLA->updateCellAttributes(4,0, 'colspan="2"');
60 $TABLA->updateCellAttributes(4,2, 'colspan="3" class="servicios_informes_subtitulo"');
61 $TABLA->updateCellAttributes(4,5, 'colspan="2"');
62 $TABLA->addRow(array($IMG_Blanco1_1->toHtml()));
63 $TABLA->updateCellAttributes(5,0, 'colspan="7"');
65 $TABLA->addRow(array('<br>'.$INFORMES->toHtml().'<br>'));
66 $TABLA->updateCellAttributes(6,0, 'colspan="7"');
68 $TABLA->addRow(array($IMG_Blanco1_10->toHtml()));
69 $TABLA->updateCellAttributes(7,0, 'colspan="7"');
72 $MARCO->addStyleSheet($INFORMES->getCSS());
73 $MARCO->addBodyContent($TABLA);