insoleOptions['tipoinsole'] = 'eva'; $readOnly = $this->order->readOnly; $canSeeMeca = $this->canSeeMeca; $imagePrefix = "components/com_vxc/assets/images/timanuopts/iconos70x47/"; $headerStyle = "font-size:200%;text-align:center;height:50px"; $this->CheckDefault($this,'TI_PS_InsoleFoot',0); // $this->CheckDefault($this,'ShoeSizeEU',38); $this->CheckDefault($this,'TI_PS_RetropieMedialHSMM',4); $this->CheckDefault($this,'TI_PS_RetropieMedialHSGrados',15); $this->CheckDefault($this,'TI_PS_RetropieLateralHSMM',2); $this->CheckDefault($this,'TI_PS_RetropieLateralHSGrados',15); $this->CheckDefault($this,'TI_PS_RetropieRecrecidoMM',3); $this->CheckDefault($this,'TI_PS_PartesBlandasMolde',2); $this->CheckDefault($this,'TI_PS_PartesBlandasMedial',1); $this->CheckDefault($this,'TI_PS_PartesBlandasLateral',1); $this->CheckDefault($this,'TI_PS_PartesBlandasTalonLateral',1); $defL = $defR = 3; if ($this->insoleOptions['TI_PS_PartesBlandasMolde'][0]['value_left'] == '1') $defL = 1; if ($this->insoleOptions['TI_PS_PartesBlandasMolde'][0]['value_right'] == '1') $defR = 1; $this->CheckDefault2($this,'TI_PS_PartesBlandasMedialMM',$defL,$defR); $this->CheckDefault2($this,'TI_PS_PartesBlandasLateralMM',$defL,$defR); $this->CheckDefault2($this,'TI_PS_PartesBlandasTalonLateralMM',$defL,$defR); $this->CheckDefault($this,'TI_PS_AntepieBarraMM',4); $this->CheckDefault($this,'TI_PS_AntepieAlmendraMM',3); $this->CheckDefault($this,'TI_PS_PolycupThicknessMM',3); $this->CheckDefault($this,'TI_PS_AntepieCunaProMM',3); $this->CheckDefault($this,'TI_PS_AntepieCunaSupMM',3); $this->CheckDefault($this,'TI_PS_AntepieBalanceInvGrados',0); $this->CheckDefault($this,'TI_PS_AntepieBalanceEverGrados',0); $this->CheckDefault($this,'TI_PS_PalmillaBarraMM',4); $this->CheckDefault($this,'TI_PS_PalmillaAlmendraMM',3); $this->CheckDefault($this,'TI_PS_RetropieTaloCortaMM',1); $this->CheckDefault($this,'TI_PS_MecaArmazonTipo',0); $this->CheckDefault($this,'TI_PS_MediopieRefArco',1); $this->CheckDefault($this,'TI_PS_MediopieRefArcoWaveNOndas',3); if (!$this->insoleOptions['tipoinsole']) $this->insoleOptions['tipoinsole'] = 'positivo'; ?>
balls?>

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

=0 && $colIndex<=2) $footIndex=0; elseif ($colIndex>=4 && $colIndex<$colCount) $footIndex=1; $footValue = ($footIndex==0)?'value_left':'value_right'; $footMemo = ($footIndex==0)?'memo_left':'memo_right'; $colorTable = ($footIndex==0)?'#F5F6CE':'#CEF6F5'; $footName = ($footIndex==0)?'Left':'Right'; switch($rowIndex) { case 0: $row['startTable'] = true; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = 'header'; $cell['html'] = JText::_('Datos generales'); break; default: $cell['colspan'] = 0; } break; case 1: switch($colIndex) { case 0: $cell['colspan'] = 7; $html = JText::_('Product'). ': '; $html.=""; $cell['html'] = $html; break; default: $cell['colspan'] = 0; } break; case 2: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['class'] = 'header2'; $cell['html'] = ($footIndex==0) ? JText::_('Pie izquierdo'):JText::_('Pie derecho'); break; case 3:$cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 3: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $html =''; $html .= JText::_('Shoe Size (EU)')." ".JText::_($footName)." : "; $cell['html'] =$html; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 4: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; if ($colIndex==0) $cell['html'] ='  '.JText::_('Insole type').""; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 5: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; if ($colIndex==0) { foreach($this->attypes['IND_InsoleType']->values as $value) $cell['html'].= "    insoleOptions['IND_InsoleType'][0]['value_left'])?('checked'):('')) ." value=\"". $value['id'] ."\" />".JText::_($value['name'])."
"; } break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 6: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; if ($colIndex==0) $cell['html'] ="insoleOptions['tipoinsole']=='eva'?'checked':'')." id=\"tipoinsoleeva\" value=\"eva\" /> ".JText::_('EVA Insole')." ". "insoleOptions['TI_PS_Palmilla'][0]['value_left']=='1'?'checked':'')." />".JText::_('Palmilla'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 7: switch($colIndex) { case 0: case 4: $extraClickEvent =''; if ($colIndex == 0) { $extraClickEvent = 'document.getElementById("tipoevamono1").checked = true;UpdateSections(1)'; } $cell['colspan'] = 3; $html = "   insoleOptions['tipoeva'][$footIndex]=='mono'?'checked':'')." value=\"mono\" />".JText::_('Monodensidad')." "; $cell['html'] =$html; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 8: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $extraClickEvent =''; if ($colIndex == 0) { $extraClickEvent = 'document.getElementById("tipoevabi1").checked = true;UpdateSections(1)'; } $cell['html'] ="   insoleOptions['tipoeva'][$footIndex]=='bi'?'checked':'')." value=\"bi\" />".JText::_('Bidensidad')." (30º-55º sore A)"; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 9: $row['startTable'] = true; $row['tableId'] = 'divPartesBlandas'; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = 'header'; $cell['html'] = JText::_('Adición partes blandas - Expansión'); break; default: $cell['colspan'] = 0; } break; case 10: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['class'] = 'header2'; $cell['html'] = ($footIndex==0) ? JText::_('Pie izquierdo'):JText::_('Pie derecho'); break; case 3:$cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 11: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] ="insoleOptions['TI_PS_PartesBlandasMolde'][0][$footValue])==2)?'checked':'')." value=\"2\" />".JText::_('Molde en semicarga y/o descarga'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 12: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] ="insoleOptions['TI_PS_PartesBlandasMolde'][0][$footValue])==1)?'checked':'')." value=\"1\" />".JText::_('Molde en carga'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 13: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_PartesBlandasMedial'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_PartesBlandasMedial[$footIndex]\" id=\"TI_PS_PartesBlandasMedial[$footIndex]\" > ".JText::_('Medial'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = "escape($this->insoleOptions['TI_PS_PartesBlandasMedialMM'][0][$footValue]))."\" name=\"TI_PS_PartesBlandasMedialMM[$footIndex]\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 14: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_PartesBlandasLateral'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_PartesBlandasLateral[$footIndex]\" id=\"TI_PS_PartesBlandasLateral[$footIndex]\" > ".JText::_('Lateral'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = "escape($this->insoleOptions['TI_PS_PartesBlandasLateralMM'][0][$footValue]))."\" name=\"TI_PS_PartesBlandasLateralMM[$footIndex]\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1;$cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 15: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_PartesBlandasTalonLateral'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_PartesBlandasTalonLateral[$footIndex]\" id=\"TI_PS_PartesBlandasTalonLateral[$footIndex]\" > ".JText::_('Talon lateral'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = "escape($this->insoleOptions['TI_PS_PartesBlandasTalonLateralMM'][0][$footValue]))."\" name=\"TI_PS_PartesBlandasTalonLateralMM[$footIndex]\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1;$cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 16: $row['startTable'] = true; $row['tableId'] = 'divRetropie'; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = "header"; $cell['html'] = JText::_('Retropié'); break; default: $cell['colspan'] = 0; } break; case 17: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['class'] = 'header2'; $cell['html'] = ($footIndex==0) ? JText::_('Pie izquierdo'):JText::_('Pie derecho'); break; case 3:$cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 18: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_RetropieMedialHS'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_RetropieMedialHS[$footIndex]\" id=\"TI_PS_RetropieMedialHS[$footIndex]\" > ".JText::_('Medial heel Skive'); break; case 3: $cell['html'] = ""; break; case 1: case 5: $cell['html'] = "escape($this->insoleOptions['TI_PS_RetropieMedialHSMM'][0][$footValue]))."\" name=\"TI_PS_RetropieMedialHSMM[$footIndex]\" class=\"medida\" > mm"; break; case 2: case 6: $cell['html'] = "escape($this->insoleOptions['TI_PS_RetropieMedialHSGrados'][0][$footValue]))."\" name=\"TI_PS_RetropieMedialHSGrados[$footIndex]\" class=\"medida\" > grados"; break; } break; case 19: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_RetropieLateralHS'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_RetropieLateralHS[$footIndex]\" id=\"TI_PS_RetropieLateralHS[$footIndex]\" > ".JText::_('Lateral heel Skive'); break; case 3: $cell['html'] = ""; break; case 1: case 5: $cell['html'] = "escape($this->insoleOptions['TI_PS_RetropieLateralHSMM'][0][$footValue]))."\" name=\"TI_PS_RetropieLateralHSMM[$footIndex]\" class=\"medida\" > mm"; break; case 2: case 6: $cell['html'] = "escape($this->insoleOptions['TI_PS_RetropieLateralHSGrados'][0][$footValue]))."\" name=\"TI_PS_RetropieLateralHSGrados[$footIndex]\" class=\"medida\" > grados"; break; } break; case 20: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_RetropieRecrecido'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_RetropieRecrecido[$footIndex]\" id=\"TI_PS_RetropieRecrecido[$footIndex]\" > ".JText::_('Recrecido subcalcáneo'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = "escape($this->insoleOptions['TI_PS_RetropieRecrecidoMM'][0][$footValue]))."\" name=\"TI_PS_RetropieRecrecidoMM[$footIndex]\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 21: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_RetropieTaloCorta'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_RetropieTaloCorta[$footIndex]\" id=\"TI_PS_RetropieTaloCorta[$footIndex]\" > ".JText::_('Talonera corta EVA 65º'); break; case 1: case 5: $cell['colspan'] = 2; $html = " mm"; $cell['html'] =$html; break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 22: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_RetropieAlza'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_RetropieAlza[$footIndex]\" id=\"TI_PS_RetropieAlza[$footIndex]\" > ".JText::_('Alza EVA 65º'); break; case 1: case 5: $cell['colspan'] = 2; $html = " mm"; $cell['html'] =$html; break; case 3: $cell['colspan'] = 1; $cell['html'] = "";break; default: $cell['colspan'] = 0; } break; case 23: $row['startTable'] = true; $row['tableId'] = 'divMediopie'; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = "header"; $cell['html'] = JText::_('Mediopié'); break; default: $cell['colspan'] = 0; } break; case 24: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['class'] = 'header2'; $cell['html'] = ($footIndex==0) ? JText::_('Pie izquierdo'):JText::_('Pie derecho'); break; case 3:$cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 25: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "insoleOptions['termopostmedio'][$footIndex])?'checked':'')." value=\"TERMOPOSTMEDIFASCIAL\" />".JText::_('Acomodación fascial'); break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 26: $row['startTable'] = true; $row['tableId'] = 'divAntepie'; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = "header"; $cell['html'] = JText::_('Antepié'); break; default: $cell['colspan'] = 0; } break; case 27: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['class'] = 'header2'; $cell['html'] =($footIndex==0) ? JText::_('Pie izquierdo'):JText::_('Pie derecho'); break; case 3:$cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 28: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_AntepieBarra'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_AntepieBarra[$footIndex]\" id=\"TI_PS_AntepieBarra[$footIndex]\" > ".JText::_('Barra Metatarsal'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = "escape($this->insoleOptions['TI_PS_AntepieBarraMM'][0][$footValue]))."\" name=\"TI_PS_AntepieBarraMM[$footIndex]\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 29: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_AntepieAlmendra'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_AntepieAlmendra[$footIndex]\" id=\"TI_PS_AntepieAlmendra[$footIndex]\" > ".JText::_('Almendra Metatarsal'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = "escape($this->insoleOptions['TI_PS_AntepieAlmendraMM'][0][$footValue]))."\" name=\"TI_PS_AntepieAlmendraMM[$footIndex]\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 30: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_AntepieCunaPro'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Cuña pronadora de antepie EVA 65º'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = "escape($this->insoleOptions['TI_PS_AntepieCunaProMM'][0][$footValue]))."\" name=\"TI_PS_AntepieCunaProMM[$footIndex]\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 31: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_AntepieCunaSup'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Cuña supinadora de antepie EVA 65º'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = "escape($this->insoleOptions['TI_PS_AntepieCunaSupMM'][0][$footValue]))."\" name=\"TI_PS_AntepieCunaSupMM[$footIndex]\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 32: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_AntepieBalanceInv'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Balance invertido (adición medial ALI)'); break; case 1: case 5: $cell['colspan'] = 1; $cell['html'] = "escape($this->insoleOptions['TI_PS_AntepieBalanceInvGrados'][0][$footValue]))."\" name=\"TI_PS_AntepieBalanceInvGrados[$footIndex]\" class=\"medida\" > ". JText::_('grados'); break; case 2: case 6: $cell['colspan'] = 1; $cell['html'] = ""; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 33: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_AntepieBalanceEver'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Balance evertido (adición lateral ALE)'); break; case 1: case 5: $cell['colspan'] = 1; $cell['html'] = "escape($this->insoleOptions['TI_PS_AntepieBalanceEverGrados'][0][$footValue]))."\" name=\"TI_PS_AntepieBalanceEverGrados[$footIndex]\" class=\"medida\" > ". JText::_('grados'); break; case 2: case 6: $cell['colspan'] = 1; $cell['html'] = ""; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 34: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_AntepieBajarALI'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Disminuir Altura ALI (Módulo Balance)'); break; case 1: case 5: $cell['colspan'] = 1; //$cell['html'] = "escape($this->insoleOptions['TI_PS_AntepieBalanceEverGrados'][0][$footValue]))."\" name=\"TI_PS_AntepieBalanceEverGrados[$footIndex]\" class=\"medida\" > ". JText::_('grados'); $cell['html'] = " "; break; case 2: case 6: $cell['colspan'] = 1; $cell['html'] = ""; break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 35: // Kinetic Wedge switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    insoleOptions['TI_PS_AntepieKineticWedge'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_AntepieKineticWedge[$footIndex]\" id=\"TI_PS_AntepieKineticWedge$footIndex\" > ".JText::_('Kinetic Wedge (cuña cinética para 1er. meta.) Hallux limitus funcional'); break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 36: switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = 'header2'; $cell['html'] = JText::_('Descargas subcapitales'); break; default: $cell['colspan'] = 0; } break; case 37: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    insoleOptions['TI_PS_AntepieDescargas'][0][$footValue]==''?'checked':'')." value=\"\" />".JText::_('Ninguno'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 38: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    insoleOptions['TI_PS_AntepieDescargas'][0][$footValue]=='3'?'checked':'')." value=\"3\" />".JText::_('Descarga subcapital tipo decrecido'); $selects = "
       mm"; $selects .= " insoleOptions['TI_PS_AntepieDescSubDecPoron'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_AntepieDescSubDecPoron[$footIndex]\" id=\"TI_PS_AntepieDescSubDecPoron[$footIndex]\" > ".JText::_('Relleno de porón'); $cell['html'] .= $selects; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 39: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['style'] = 'text-align:center'; $cell['html'] = JText::_('Cabezas'). "
insoleOptions['TI_PS_AntepieCabezaM1'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M1 insoleOptions['TI_PS_AntepieCabezaM2'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M2 insoleOptions['TI_PS_AntepieCabezaM3'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M3 insoleOptions['TI_PS_AntepieCabezaM4'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M4 insoleOptions['TI_PS_AntepieCabezaM5'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M5"; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 40: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    insoleOptions['TI_PS_AntepieDescargas'][0][$footValue]=='4'?'checked':'')." value=\"4\" />".JText::_('Apoyo subcapital total de porón en antepié'); break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 41: $row['startTable'] = true; $row['tableId'] = 'divPalmilla'; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = "header"; $cell['html'] = JText::_('Palmilla'); break; default: $cell['colspan'] = 0; } break; case 42: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['class'] = 'header2'; $cell['html'] =($footIndex==0) ? JText::_('Pie izquierdo'):JText::_('Pie derecho'); break; case 3:$cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 43: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_PalmillaAlza'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_PalmillaAlza[$footIndex]\" id=\"TI_PS_PalmillaAlza[$footIndex]\" > ".JText::_('Alza'); break; case 1: case 5: $cell['colspan'] = 2; $html = " mm"; $cell['html'] =$html; break; case 3: $cell['colspan'] = 1; $cell['html'] = "";break; default: $cell['colspan'] = 0; } break; case 44: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_PalmillaBarra'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_PalmillaBarra[$footIndex]\" id=\"TI_PS_PalmillaBarra[$footIndex]\" > ".JText::_('Barra Metatarsal'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = "escape($this->insoleOptions['TI_PS_PalmillaBarraMM'][0][$footValue]))."\" name=\"TI_PS_PalmillaBarraMM[$footIndex]\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 45: switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_PalmillaAlmendra'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_PalmillaAlmendra[$footIndex]\" id=\"TI_PS_PalmillaAlmendra[$footIndex]\" > ".JText::_('Almendra Metatarsal'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = "escape($this->insoleOptions['TI_PS_PalmillaAlmendraMM'][0][$footValue]))."\" name=\"TI_PS_PalmillaAlmendraMM[$footIndex]\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 46: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    insoleOptions['TI_PS_PalmillaHerradura'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Herradura con EVA 65º sore'); break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 47: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['style'] = 'text-align:center'; $cell['html'] = JText::_('Descargas subcapitales'). "
insoleOptions['TI_PS_PalmillaDescargaM1'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M1 insoleOptions['TI_PS_PalmillaDescargaM2'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M2 insoleOptions['TI_PS_PalmillaDescargaM3'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M3 insoleOptions['TI_PS_PalmillaDescargaM4'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M4 insoleOptions['TI_PS_PalmillaDescargaM5'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M5"; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 48: $row['startTable'] = true; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = "header"; $cell['html'] = JText::_('Forrado'); break; default: $cell['colspan'] = 0; } break; case 49: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['class'] = 'header2'; $cell['html'] =($footIndex==0) ? JText::_('Pie izquierdo'):JText::_('Pie derecho'); break; case 3:$cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 50: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "  insoleOptions['TI_PS_FORRADO34'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_FORRADO34[$footIndex]\" id=\"TI_PS_FORRADO34$footIndex\" > ".JText::_('Forrado a 3/4'); break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 51: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "  insoleOptions['forrado'][$footIndex])?'checked':'')." value=\"FORRADOEVA2\" name=\"forrado[$footIndex][]\" id=\"forrado0$footIndex\" > ".JText::_('EVA') ." 2 mm 30º sore A"; $selects = "
    "; $cell['html'] .= $selects; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 52: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "  insoleOptions['forrado'][$footIndex])?'checked':'')." value=\"FORRADOEVA3\" name=\"forrado[$footIndex][]\" id=\"forrado1$footIndex\" > ".JText::_('EVA') ." 3 mm 30º sore A"; $selects = "
    "; $cell['html'] .= $selects; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 53: // forrado shockicel transpira switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "  insoleOptions['forrado'][$footIndex])?'checked':'')." value=\"FORRADOSHOCKICEL\" name=\"forrado[$footIndex][]\" id=\"forrado4$footIndex\" > ".JText::_('Porón Shockicel Transpira') ; $selects = " "; $cell['html'] .= $selects; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 54: // forrado poron memory switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "  insoleOptions['forrado'][$footIndex])?'checked':'')." value=\"FORRADOPORONMEMORY\" name=\"forrado[$footIndex][]\" id=\"forrado5$footIndex\" > ".JText::_('Porón Memory para Pie Diabético en 3 mm rojo') ; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 55: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "  insoleOptions['forrado'][$footIndex])?'checked':'')." value=\"FORRADOPLASTAZOTE\" name=\"forrado[$footIndex][]\" id=\"forrado3$footIndex\" > ". JText::_('Plastazote')." 3mm"; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 56: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "  insoleOptions['TI_PS_RetropieTaloPoron'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_RetropieTaloPoron[$footIndex]\" id=\"TI_PS_RetropieTaloPoron$footIndex\" > ".JText::_('Talonera porón Shockicel Transpira 3mm azul'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 57: $row['startTable'] = true; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = "header"; $cell['html'] = JText::_('Comments'); break; default: $cell['colspan'] = 0; } break; case 58: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['class'] = 'header2'; $cell['html'] =($footIndex==0) ? JText::_('Pie izquierdo'):JText::_('Pie derecho'); break; case 3:$cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 59: switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['style'] = 'text-align:center'; $cell['html'] = ""; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; } $cells[] = $cell; } $row['cells'] = $cells; $manuOptsTable[] = $row; } $tableOpen = false; $rowNumber = 0; foreach($manuOptsTable as $row) { if ($row['startTable']) { if ($tableOpen) // ya hay una tabla abierta { echo ""; } $tableIdStr = ''; if ($row['tableId']) { $tableIdStr = "id=\"".$row['tableId']."\""; } echo " "; $tableOpen = true; $rowNumber = 0; } if ($rowNumber%2==0) $rowColor = '#E0F8F7'; else $rowColor = '#E0ECF8'; echo ""; $hideRow = false; foreach($row['cells'] as $cell) { if ($cell['colspan']!=0) { if ($cell['style']=='display:none') $hideRow = true; echo ""; } } if (!$hideRow) $rowNumber++; echo ""; } if ($tableOpen) echo "
"; if (!$cell['html']) echo " "; else echo $cell['html']; echo "
"; ?>


balls?>