x2c:include:HTML/Page.php
" name="HTML_Page" static="0" scope="200" />
<UML:Class stereotype="" package="sistema/local_lib" xmi.id="154" abstract="0" documentation="" name="HTML_DietMarco" static="0" scope="200" >
- <UML:Operation stereotype="" package="" xmi.id="155" type="void" abstract="0" documentation="" name="toHTML" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="156" type="void" abstract="0" documentation="" name="addBody" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="" name="body" static="0" scope="200" />
- </UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="157" type="void" abstract="0" documentation="" name="addTitle" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="" name="title" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="158" type="void" abstract="0" documentation="" name="HTML_DietMarco" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1" value="" type="string" abstract="0" documentation="" name="seccion" static="0" scope="200" />
</UML:Operation>
- <UML:Attribute stereotype="" package="" xmi.id="159" value="" type="int" abstract="0" documentation="" name="body" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="160" value="" type="int" abstract="0" documentation="" name="title" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="161" value="" type="int" abstract="0" documentation="" name="copete" static="0" scope="200" />
</UML:Class>
<UML:Class stereotype="" package="sistema/local_lib" xmi.id="162" abstract="0" documentation="" name="HTML_Copete" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="163" type="void" abstract="0" documentation="" name="HTML_Copete" static="0" scope="200" >
<diagram snapgrid="0" showattsig="1" fillcolor="#ffffc0" showgrid="0" showopsig="1" usefillcolor="1" snapx="10" snapy="10" showatts="1" xmi.id="152" documentation="" type="402" showops="1" showpackage="0" name="class diagram" localid="30000" showstereotype="0" showscope="1" font="Helvetica,8,-1,5,50,0,0,0,0,0" linecolor="#ff0000" >
<widgets>
<UML:ConceptWidget usesdiagramfillcolour="0" width="77" showattsigs="601" usesdiagramusefillcolour="0" x="199" linecolour="#ff0000" y="99" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="32" usefillcolor="1" showattributes="1" xmi.id="153" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
- <UML:ConceptWidget usesdiagramfillcolour="0" width="236" showattsigs="601" usesdiagramusefillcolour="0" x="85" linecolour="#ff0000" y="240" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="128" usefillcolor="1" showattributes="1" xmi.id="154" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
+ <UML:ConceptWidget usesdiagramfillcolour="0" width="236" showattsigs="601" usesdiagramusefillcolour="0" x="85" linecolour="#ff0000" y="240" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="56" usefillcolor="1" showattributes="1" xmi.id="154" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
<UML:ConceptWidget usesdiagramfillcolour="0" width="204" showattsigs="601" usesdiagramusefillcolour="0" x="390" linecolour="#ff0000" y="213" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="40" usefillcolor="1" showattributes="1" xmi.id="162" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
<UML:ConceptWidget usesdiagramfillcolour="1" width="80" showattsigs="601" usesdiagramusefillcolour="1" x="410" linecolour="none" y="86" showopsigs="601" usesdiagramlinecolour="1" fillcolour="none" height="32" usefillcolor="1" showattributes="1" xmi.id="164" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
</widgets>
</listitem>
<listitem open="1" type="813" id="154" label="HTML_DietMarco" >
<listitem open="0" type="815" id="158" label="HTML_DietMarco" />
- <listitem open="0" type="815" id="156" label="addBody" />
<listitem open="0" type="815" id="157" label="addTitle" />
- <listitem open="0" type="814" id="159" label="body" />
- <listitem open="0" type="814" id="161" label="copete" />
- <listitem open="0" type="814" id="160" label="title" />
- <listitem open="0" type="815" id="155" label="toHTML" />
</listitem>
<listitem open="1" type="813" id="153" label="HTML_Page" />
<listitem open="1" type="813" id="164" label="HTML_Table" />
$m = new HTML_DietMarco('servicios');
$m->addTitle('Servicios');
- $seccion = new HTML_Table(array ('width'=>'300',
- 'border' => '0',
- 'cellspacing' => '0',
- 'cellpadding' => '0',
- 'bgcolor' => '#003868'));
-/* $this->t_interna = new HTML_Table(array ('width'=>'132',
- 'border' => '0',
- 'cellspacing' => '2',
- 'cellpadding' => '0',
- 'class' => 'bodytext'));*/
- $titulo = new HTML_Table(array('width'=>'132',
- 'height'=>'26',
- 'border' => '0',
- 'cellspacing' => '0',
- 'cellpadding' => '0',
- 'align'=>'center',
- 'background'=>'images/seccion_cabecera.gif'));
- $titulo->addRow(array("hola"), array('align'=>'center',
- 'class'=>'arboltitulo'));
- $seccion->addRow(array($titulo), array('bgcolor' => '#FFFFFF'));
+ $seccion =& new HTML_Table(array('width' =>'360',
+ 'border' => '0',
+ 'cellspacing' => '0',
+ 'cellpadding' => '0',
+ 'bgcolor' => '#003868'));
+ $seccion->addRow(array("Nombre(sin estilo)"), array('align' => 'center',
+ 'class' => 'arboltitulo',
+ 'background'=>'images/servicio_cabecera.gif',
+ 'height'=>32));
+ $tmp =& new HTML_Table(array ('width' =>'100%',
+ 'border' => '0',
+ 'cellspacing' => '2',
+ 'cellpadding' => '0',
+ 'class' => 'bodytext'));
+ $interna =& new HTML_Table(array ('width' =>'100%'));
+ $img = new HTML_Image('images/servicio_bullet.gif');
+ $interna->addRow(array($img, 'Nombre(sin estilo) ffffff',$img,'nombre'),
+ array('valign' => 'top'));
+ $interna->addRow(array($img, 'Nombre(sin estilo)',$img,'nombre'),
+ array('valign' => 'top'));
+ $interna->addRow(array($img, 'Nombre(sin estilo)',$img,'nombre'),
+ array('valign' => 'top'));
+ $interna->updateColAttributes(0, array('width' => '10%'));
+ $interna->updateColAttributes(1, array('width' => '40%'));
+ $interna->updateColAttributes(2, array('width' => '10%'));
+ $interna->updateColAttributes(3, array('width' => '40%'));
+ $tmp->addRow(array($interna), array('bgcolor' => '#FFFFFF'));
+ $seccion->addRow(array($tmp), array('bgcolor' => '#003868'));
-
$m->addBodyContent($seccion);
$m->display();
?>