attypes['TI_PS_Material']->values as $mat) $matAbbs[0][$mat['name']]['id'] = $mat['id']; */ $readOnly = $this->order->readOnly; function createFootRow() { $row = array(); $emptyCell = new TableCell(); $cellL = new TableCell(); $cellR = new TableCell(); $emptyCell->setColspan(2); $cellL->setClass('columnHeader'); $cellL->addElement(TableElement::createTextElement(JText::_('Left'))); $cellR->setClass('columnHeader'); $cellR->addElement(TableElement::createTextElement(JText::_('Right'))); $row['cells'] = array($emptyCell, $cellL, $cellR); return $row; } function createAtChkRow(&$view,$atName,$text,$imageUrl='') { $row = array(); $cells = array(); // Celda de imagen $cell = new TableCell(); if ($imageUrl) { $img = new TableElement('image'); $img->setSrc($imageUrl); $cell->addElement($img); } else { $el = new TableElement('text'); $el->setText(" "); $cell->addElement($el); } $cells[] = $cell; // Celda de texto de atributo $cell = new TableCell(); $el = new TableElement('text'); $el->setText($text); $cell->addElement($el); $cells[] = $cell; // Celda checkbox pie izquierdo $cell = new TableCell(); $chk = TableElement::createAttribute2NChk($view->anamnesis,$atName,0); $cell->addElement($chk); $cell->setClass('centrado'); $cells[] = $cell; // Celda checkbox pie derecho $cell = new TableCell(); $chk = TableElement::createAttribute2NChk($view->anamnesis,$atName,1); $cell->addElement($chk); $cell->setClass('centrado'); $cells[] = $cell; $row['cells'] = $cells; return $row; } $divAts =array( array( 'divComplicacionesCronicas' => array( 'IND_AN_DiabeticNeuro', 'IND_AN_VascularDecease', 'IND_AN_Retinopathy', 'IND_AN_Nefropathy', 'IND_AN_Cardiopathy' ), 'divAntecedentes' => array( 'IND_AN_Ulcer', 'IND_AN_Amputation', 'IND_AN_Fracture' ), 'divDeformidades' => array( 'IND_AN_DigitDeformity', 'IND_AN_HalluxValgus', 'IND_AN_BoneProm', 'IND_AN_MetaHeadProm', 'IND_AN_SubMetaTissLeak', 'IND_AN_MarkedTend', 'IND_AN_FallenFoot', 'IND_AN_CharcotFoot' ), 'divEstadoCutaneo' => array( 'IND_AN_Callos', 'IND_AN_Fisuras', 'IND_AN_PreulcerousLesion', 'IND_AN_TouchZones', 'IND_AN_RedZones', 'IND_AN_HotZones', 'IND_AN_Maceration', 'IND_AN_Inflamation', 'IND_AN_Dryness' ), 'divAlteracionesUnyas' => array( 'IND_AN_BreakingNails', 'IND_AN_EuprosadedNails', 'IND_AN_NailedNails', 'IND_AN_SwollenBorders', 'IND_AN_FungicInfection' ), 'divExamenCalzado' => array( 'IND_AN_SoleWear', 'IND_AN_DeformedShoe' ) )); $imagePrefix = "/components/com_vxc/assets/images/"; $headerStyle = "font-size:200%;text-align:center;height:50px"; ?>
balls?>

id='btnSave' type="button" onclick="Save();return false;" value="escape(JText::_('Save'))?>" />

'margin-bottom:15px;border:1px solid blue;width:600px' , 'align' => 'center', 'cellspacing' => 0, 'cellpadding' => 1); $tableAts = array('style' => 'margin-bottom:15px;border:0px;width:600px' , 'align' => 'center', 'cellspacing' => 0, 'cellpadding' => 1); $tableAtsStr =''; foreach($tableAtsGeneral as $key => $value) { if ($tableAtsStr) $tableAtsStr .= " "; $tableAtsStr.="$key='$value'"; } ?>
getRowColor1(); $rowColor2 = $tableRenderer->getRowColor2(); ?> style='background-color:' >
anamnesis['IND_AN_Diabetes'][0]['value_left']?'checked':'')?> value="" />
attypes['IND_AN_Diabetes']->values as $value) : ?> anamnesis['IND_AN_Diabetes'][0]['value_left']==$value['id']?'checked':'')?> name='IND_AN_Diabetes' id='IND_AN_Diabetes' />
anamnesis,'IND_AN_DiabeticNeuro',JText::_('Diabetic Neuropathy')); $cell->addElement($chk); $row['cells'] = array($cell); $complicacionesCronicasTable[] = $row; $row = array(); $cell = new TableCell(); $chk = TableElement::createAttribute1NChk($this->anamnesis,'IND_AN_VascularDecease',JText::_('Vascular Disease')); $cell->addElement($chk); $row['cells'] = array($cell); $complicacionesCronicasTable[] = $row; $row = array(); $cell = new TableCell(); $chk = TableElement::createAttribute1NChk($this->anamnesis,'IND_AN_Retinopathy',JText::_('Retinopathy')); $cell->addElement($chk); $row['cells'] = array($cell); $complicacionesCronicasTable[] = $row; $row = array(); $cell = new TableCell(); $chk = TableElement::createAttribute1NChk($this->anamnesis,'IND_AN_Nefropathy',JText::_('Nephropathy')); $cell->addElement($chk); $row['cells'] = array($cell); $complicacionesCronicasTable[] = $row; $row = array(); $cell = new TableCell(); $chk = TableElement::createAttribute1NChk($this->anamnesis,'IND_AN_Cardiopathy',JText::_('Cardiopathy')); $cell->addElement($chk); $row['cells'] = array($cell); $complicacionesCronicasTable[] = $row; echo $tableRenderer->getHTML($complicacionesCronicasTable); ?>
1.
getHTML($antecedentesTable); ?>
2.
getHTML($deformidadesTable); ?>
3.
getHTML($estadoCutaneoTable); ?>
4.
getHTML($alteracionesUnyasTable); ?>
5.
getHTML($examenCalzadoTable); ?>


balls?>