canPutAddressByOrder; foreach($this->attypes['TI_PS_Material']->values as $mat) $matAbbs[0][$mat['name']]['id'] = $mat['id']; $readOnly = $this->order->readOnly; $forcedWritable = $this->order->forcedWritable; $canOrderInsolesWithHoles = $this->canOrderInsolesWithHoles; $canSeeMeca = true; $canSee3Sided = $this->canSee3Sided; $canOrderTermo = $this->canOrderTermo; $imagePrefix = "/components/com_vxc/assets/images/timanuopts/iconos70x47/"; $headerStyle = "font-size:200%;text-align:center;height:50px"; $this->CheckDefault($this,'TI_PS_InsoleFoot',0,'select'); // $this->CheckDefault($this,'ShoeSizeEU',38); $this->CheckDefault($this,'TI_PS_RetropieMedialHSMM',3,'text'); $this->CheckDefault($this,'TI_PS_RetropieMedialHSGrados',15,'text'); $this->CheckDefault($this,'TI_PS_AntepieDescargas0',1,'radio'); $this->CheckDefault($this,'TI_PS_RetropieLateralHSMM',3,'text'); $this->CheckDefault($this,'TI_PS_RetropieLateralHSGrados',15,'text'); $this->CheckDefault($this,'TI_PS_MediopieBalanceEVATipo',0,'radio'); $this->CheckDefault($this,'TI_PS_RetropieRecrecidoMM',3,'text'); $this->CheckDefault($this,'TI_PS_PartesBlandasMolde',2,'radio'); $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,'text'); $this->CheckDefault2($this,'TI_PS_PartesBlandasLateralMM',$defL,$defR,'text'); $this->CheckDefault2($this,'TI_PS_PartesBlandasTalonLateralMM',$defL,$defR,'text'); $this->CheckDefault($this,'TI_PS_AntepieBarraMM',4,'text'); $this->CheckDefault($this,'TI_PS_AntepieAlmendraMM',3,'text'); $this->CheckDefault($this,'TI_PS_PolycupThicknessMM',3,'text'); $this->CheckDefault($this,'TI_PS_PolyMaterialColor',684,'select'); // 'POLYCOLORNATURAL' $this->CheckDefault($this,'TI_PS_AntepieCunaProMM',3,'text'); $this->CheckDefault($this,'TI_PS_AntepieCunaSupMM',3,'text'); $this->CheckDefault($this,'TI_PS_AntepieBalanceInvGrados',0,'text'); $this->CheckDefault($this,'TI_PS_AntepieBalanceEverGrados',0,'text'); $this->CheckDefault($this,'TI_PS_PalmillaBarraMM',4,'text'); $this->CheckDefault($this,'TI_PS_PalmillaAlmendraMM',3,'text'); $this->CheckDefault($this,'TI_PS_RetropieTaloCortaMM',1,'select'); $this->CheckDefault($this,'TI_PS_MediopieRefArco',1); //$this->CheckDefault($this,'TI_PS_MediopieRefArcoWaveNOndas',3); if ($this->insoleOptions['tipoinsole']=='3dconfort') $this->CheckDefault($this,'TI_PS_InsoleThickness',3); else $this->CheckDefault($this,'TI_PS_InsoleThickness',2); ?>
balls?>
insoleOptions['TI_PS_Material'][0]['value_left']; $found = false; foreach($this->attypes['TI_PS_Material']->values as $mat) if ($mat['id'] == $selectedT) $found = true; $matValues = array(); foreach($this->attypes['TI_PS_Material']->values as $mat) $matValues[] = $mat; if ($selectedT && !$found) { if ($selectedT == 615) $name = 'PP'; else $name = JText::_('Material desconocido'); $newMat = array('id' => $selectedT,'name'=>$name); $matValues[] = $newMat; $matAbbs[0][$newMat['name']]['id'] = $newMat['id']; } $matSelectedIndex = 0; $i = 1; ?>

     
=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; $row['tableId'] ='divDatosGenerales'; $row['addToPages'] = 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.=""; $html.= "". JText::_('Semiacabada') . ": insoleOptions['TI_PS_Unfinished'][0]['value_left']=='1'?'checked':'')." />"; $cell['html'] = $html; break; default: $cell['colspan'] = 0; } break; case 2: switch($colIndex) { case 0: $cell['colspan'] = 7; $html = JText::_('Gender'). ': '; $selects = " "; $html .= $selects; $cell['html'] = $html; break; default: $cell['colspan'] = 0; } break; case 3: 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 4: //$row['fields'] = array('ShoeSizeEU'); 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 5: $row['fields'] = array('tipoinsolepositivo'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; if ($colIndex==0) $cell['html'] ="insoleOptions['tipoinsole']=='positivo'?'checked':'')." id=\"tipoinsolepositivo\" value=\"positivo\" /> ".JText::_('Positivo (espuma de poliuretano de alta densidad)').""; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 6: $row['fields'] = array('tipoinsolemecanizado','TI_PS_PolyMaterialColor'); if (!$canSeeMeca) $cell['style'].= 'display:none'; switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; if ($colIndex==0) { $cell['html'] .= "insoleOptions['tipoinsole'] == 'mecanizado' ? 'checked' : '') . " id=\"tipoinsolemecanizado\" value=\"mecanizado\" /> " . JText::_('Ortesis plantar mecanizada en termoplásticos') . ""; $selects = " insoleOptions['tipoinsole'] == 'mecanizado3caras' ? 'checked' : '') . " id=\"tipoinsolemecanizado3caras\" value=\"mecanizado3caras\" /> " . JText::_('Ortesis plantar mecanizada en polipropileno a 3 caras') . ""; } break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 8: $row['fields'] = array('tipoinsoletermo'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; if ($colIndex==0) $cell['html'] ="insoleOptions['tipoinsole']=='termo'?'checked':'')." id=\"tipoinsoletermo\" value=\"termo\" /> ".JText::_('Ortesis plantar termoconformada').""; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 9: $row['fields'] = array('termomatpolipro'); /* if ($canSeeMeca) $cell['style'].= 'display:none'; */ switch($colIndex) { case 0: case 4: $extraClickEvent =''; if ($colIndex == 0) { $extraClickEvent = 'document.getElementById("termomatpolipro1").checked = true;UpdateSections(1)'; } $cell['colspan'] = 3; $cell['html'] = "   insoleOptions['termomat'][$footIndex]=='polipro'?'checked':'')." name=\"termomat[$footIndex]\" id=\"termomatpolipro$footIndex\" value=\"polipro\"/>".JText::_('Polipropileno'). " "; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 10: $row['fields'] = array('termomatcarbono'); if (!$canOrderTermo) { $cell['style'].= 'display:none'; } switch($colIndex) { case 0: case 4: $extraClickEvent =''; if ($colIndex == 0) { $extraClickEvent = 'document.getElementById("termomatcarbono1").checked = true;UpdateSections(1)'; } $cell['colspan'] = 3; $cell['html'] = "   insoleOptions['termomat'][$footIndex]=='carbono'?'checked':'')." value=\"carbono\"/>".JText::_('Fibra de vidrio'); $selects = " "; $cell['html'] .= $selects. JHTML::_('tooltip',JText::_('TOOLTIP_FIBERINFORMATION')); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 11: $row['fields'] = array('termomatresina'); if (!$canOrderTermo) { $cell['style'].= 'display:none'; } switch($colIndex) { case 0: case 4: $extraClickEvent =''; if ($colIndex == 0) { $extraClickEvent = 'document.getElementById("termomatresina1").checked = true;UpdateSections(1)'; } $cell['colspan'] = 3; $cell['html'] = "   insoleOptions['termomat'][$footIndex]=='resina'?'checked':'')." value=\"resina\"/>".JText::_('Resina (Herflex 1,9mm blanco + Herflux Mac 1.3 Carne)')." "; /* $cell['html'] = "   insoleOptions['termomat'][$footIndex]=='resina'?'checked':'')." value=\"resina\"/>".JText::_('Resina')." "; */ break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 12: $row['fields'] = array('tipoinsoleeva','chkPalmilla'); // $row['fields'] = array('tipoinsoleeva'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; if ($colIndex==0) { $cell['html'] = "insoleOptions['tipoinsole']=='eva'?'checked':'')." id=\"tipoinsoleeva\" value=\"eva\" /> ".JText::_('Ortesis plantar mecanizada en EVA')." "; $cell['html'] .= "insoleOptions['TI_PS_Palmilla'][0]['value_left']=='1'?'checked':'')." />".JText::_('Palmilla'); } break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 13: $row['fields'] = array('tipoinsole3dconfort'); $row['id'] = 'row3DConfort'; //$row['disableAutoHide']=true; switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; if ($colIndex==0) $cell['html'] ="insoleOptions['tipoinsole']=='3dconfort'?'checked':'')." id=\"tipoinsole3dconfort\" value=\"3dconfort\" /> ".JText::_('Ortesis plantar mecanizada en EVA 3D Confort').""; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 14: $row['fields'] = array('mecamat'); if (!$canSeeMeca) $cell['style'].= 'display:none'; switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $html .= "   ".JText::_('Material').': '; $html .= " ".JText::_('Polipropileno'); /* $html .=" "; */ $cell['html'] =$html; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 15: // Grosor policup $row['fields'] = array('TI_PS_PolycupThicknessMM'); if (!($canSeeMeca ||$canSee3Sided)) $cell['style'].= 'display:none'; switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $html .= "   : mm"; $cell['html'] =$html; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 16: $row['fields'] = array('TI_PS_InsoleThickness'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $extraClickEvent =''; if ($colIndex == 0) { $extraClickEvent = 'document.getElementById("TI_PS_InsoleThickness1").value = document.getElementById("TI_PS_InsoleThickness0").value;UpdateSections(1)'; } $cell['html'] ="   : "; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 17: $row['fields'] = array('tipoevamono','evamonothick'); switch($colIndex) { case 0: case 4: $extraClickEvent =''; if ($colIndex == 0) { $extraClickEvent = 'document.getElementById("tipoevamono1").checked = true;UpdateSections(1)'; } $cell['colspan'] = 3; if ($readOnly) { if ($this->insoleOptions['tipoeva'][$footIndex]=='mono') { $atDesc = ''; switch($this->insoleOptions['evamonothick'][$footIndex]) { case 'EVAMONO30': $atDesc= JText::_('30º sore A'); break; case 'EVAMONO40': $atDesc= JText::_('40º sore A'); break; case 'EVAMONO55': $atDesc= JText::_('55º sore A'); break; default: $atDesc = JText::_('None'); } $html = $atDesc; } else $html = JText::_('N/A'); } else { $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 18: $row['fields'] = array('tipoevabi','evabithick'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $extraClickEvent =''; if ($colIndex == 0) { $extraClickEvent = 'document.getElementById("tipoevabi1").checked = true;UpdateSections(1)'; } if ($readOnly) { if ($this->insoleOptions['tipoeva'][$footIndex]=='bi') { $atDesc = ''; switch($this->insoleOptions['evabithick'][$footIndex]) { case 'EVABI3055': $atDesc= JText::_('30º/55º sore A'); break; case 'EVABI4055SPORT': $atDesc= JText::_('40º/55º sore A 3D Sport'); break; default: $atDesc = JText::_('None'); } $html = $atDesc; } else $html = JText::_('N/A'); } else { $html = "   insoleOptions['tipoeva'][$footIndex]=='bi'?'checked':'')." value=\"bi\" />".JText::_('Bidensidad')." "; } $cell['html'] = $html; // $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 19: $row['fields'] = array('TI_PS_MakeHoles'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $extraClickEvent =''; if ($colIndex == 0) { $extraClickEvent = 'document.getElementById("TI_PS_MakeHoles1").checked = true;UpdateSections(1)'; } $cell['html'] ="   insoleOptions['TI_PS_MakeHoles'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Fresar agujeros'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 20: $row['startTable'] = true; $row['tableId'] = 'divPartesBlandas'; $row['addToPages'] = true; 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 21: 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 22: $row['fields'] = array('TI_PS_PartesBlandasMolde0'); 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 23: $row['fields'] = array('TI_PS_PartesBlandasMolde1'); 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 24: $row['fields'] = array('TI_PS_PartesBlandasMedial','TI_PS_PartesBlandasMedialMM'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 1; $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]\" id=\"TI_PS_PartesBlandasMedialMM$footIndex\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 25: $row['fields'] = array('TI_PS_PartesBlandasLateral','TI_PS_PartesBlandasLateralMM'); 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]\" id=\"TI_PS_PartesBlandasLateralMM$footIndex\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1;$cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 26: $row['fields'] = array('TI_PS_PartesBlandasTalonLateral','TI_PS_PartesBlandasTalonLateralMM'); 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]\" id=\"TI_PS_PartesBlandasTalonLateralMM$footIndex\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1;$cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 27: $row['startTable'] = true; $row['tableId'] = 'divRetropie'; $row['addToPages'] = true; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = "header"; $cell['html'] = JText::_('Retropié'); break; default: $cell['colspan'] = 0; } break; case 28: 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 29: $row['fields'] = array('TI_PS_RetropieMedialHS','TI_PS_RetropieMedialHSMM','TI_PS_RetropieMedialHSGrados'); 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]\" id=\"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]\" id=\"TI_PS_RetropieMedialHSGrados$footIndex\" class=\"medida\" > grados"; break; } break; case 30: $row['fields'] = array('TI_PS_RetropieLateralHS','TI_PS_RetropieLateralHSMM','TI_PS_RetropieLateralHSGrados'); 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]\" id=\"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]\" id=\"TI_PS_RetropieLateralHSGrados$footIndex\" class=\"medida\" > grados"; break; } break; case 31: $row['fields'] = array('TI_PS_RetropieRecrecido','TI_PS_RetropieRecrecidoMM','TI_PS_RetropieRecrecidoPoron'); 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['html'] = "escape($this->insoleOptions['TI_PS_RetropieRecrecidoMM'][0][$footValue]))."\" name=\"TI_PS_RetropieRecrecidoMM[$footIndex]\" id=\"TI_PS_RetropieRecrecidoMM$footIndex\" class=\"medida\" > mm"; break; case 2: case 6: $cell['html'] = "insoleOptions['TI_PS_RetropieRecrecidoPoron'][0][$footValue]=='1')?('checked'):(''))." /> ".JText::_('Relleno de porón 3mm').""; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 32: $row['fields'] = array('TI_PS_RetropiePostEsta0'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    insoleOptions['TI_PS_RetropiePostEsta'][0][$footValue]==''||$this->insoleOptions['TI_PS_RetropiePostEsta'][0][$footValue]=='0')?'checked':'')." value=\"0\" />".JText::_('Sin posteado estabilizador'); break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 33: $row['fields'] = array('TI_PS_RetropiePostEsta1'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    insoleOptions['TI_PS_RetropiePostEsta'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Posteado estabilizador EVA alta densidad'); break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 34: $row['fields'] = array('TI_PS_RetropiePostEsta2'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    insoleOptions['TI_PS_RetropiePostEsta'][0][$footValue]=='2'?'checked':'')." value=\"2\" />"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 35: $row['fields'] = array('TI_PS_RetropieTaloCorta','TI_PS_RetropieTaloCortaMM'); 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 36: $row['fields'] = array('TI_PS_RetropieAlza','TI_PS_RetropieAlzaMM'); 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\" > 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 37: // opcion sin cazoleta $row['fields'] = array('ChkNoCazoleta'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    ".JText::_('Sin cazoletas'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 38: $row['fields'] = array('TI_PS_RetropieInternalHeelCup','TI_PS_RetropieInternalHeelCupMM'); switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_RetropieInternalHeelCup'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_RetropieInternalHeelCup[$footIndex]\" id=\"TI_PS_RetropieInternalHeelCup$footIndex\" > ".JText::_('Internal Heel Cup (cazoleta interna)'); 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 39: $row['fields'] = array('TI_PS_RetropieExternalHeelCup','TI_PS_RetropieExternalHeelCupMM'); switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_RetropieExternalHeelCup'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_RetropieExternalHeelCup[$footIndex]\" id=\"TI_PS_RetropieExternalHeelCup$footIndex\" > ".JText::_('External Heel Cup (cazoleta externa)'); 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 40: $row['fields'] = array('TI_PS_RetropieTotalHeelCup','TI_PS_RetropieTotalHeelCupMM'); switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_RetropieTotalHeelCup'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_RetropieTotalHeelCup[$footIndex]\" id=\"TI_PS_RetropieTotalHeelCup$footIndex\" > ".JText::_('Total Heel Cup (cazoleta total)'); 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 41: $row['startTable'] = true; $row['tableId'] = 'divMediopie'; $row['addToPages'] = true; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = "header"; $cell['html'] = JText::_('Mediopié'); 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: $row['fields'] = array('termopostmedio3'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "insoleOptions['termopostmedio'][$footIndex])?'checked':'')." value=\"TERMOPOSTMEDIFASCIAL\" />".JText::_('Acomodación fascial'); $cell['html'] .= " insoleOptions['TI_PS_MediopieRellenoAFascial'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_MediopieRellenoAFascial[$footIndex]\" id=\"TI_PS_MediopieRellenoAFascial$footIndex\" > ".JText::_('Relleno de porón').""; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 44: $row['fields'] = array('termopostmedio1'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "insoleOptions['termopostmedio'][$footIndex])?'checked':'')." value=\"TERMOPOSTMEDIALI\" /> "; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 45: $row['fields'] = array('TI_PS_MediopieRefArcoSolMM','TI_PS_MediopieRefArco1'); switch($colIndex) { case 0: case 4: $cell['html'] = "  insoleOptions['TI_PS_MediopieRefArco'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Refuerzo de arco sólido'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = " mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 46: $row['fields'] = array('TI_PS_MediopieRefArcoWaveMM','TI_PS_MediopieRefArco2'); switch($colIndex) { case 0: case 4: $cell['html'] = "  insoleOptions['TI_PS_MediopieRefArco'][0][$footValue]=='2'?'checked':'')." value=\"2\" />".JText::_('Refuerzo de arco medial waves'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = " mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 47: $row['fields'] = array('termopostmedio2'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "insoleOptions['termopostmedio'][$footIndex])?'checked':'')." value=\"TERMOPOSTMEDICACU\" /> "; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 48: // Refuerzo de arco solido para ALE $row['fields'] = array('TI_PS_MediopieEstALEMM'); switch($colIndex) { case 0: case 4: $cell['html'] = '  '.JText::_('Refuerzo sólido'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = " mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 49: // Balance $row['fields'] = array('TI_PS_MediopieBalanceEVA','TI_PS_MediopieBalanceEVATipo','TI_PS_MediopieBalanceEVAGrados','TI_PS_MediopieBalanceEVAInt'); switch($colIndex) { case 0: case 4: $cell['html'] = "insoleOptions['TI_PS_MediopieBalanceEVA'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Balance').""; $cell['html'] .= "
  insoleOptions['TI_PS_MediopieBalanceEVATipo'][0][$footValue])?('checked'):(''))." name=\"TI_PS_MediopieBalanceEVATipo[$footIndex]\" id=\"TI_PS_MediopieBalanceEVATipo0$footIndex\" value=\"0\" />".JText::_('Invertido').""; $cell['html'] .= "
  insoleOptions['TI_PS_MediopieBalanceEVATipo'][0][$footValue])?('checked'):(''))." name=\"TI_PS_MediopieBalanceEVATipo[$footIndex]\" id=\"TI_PS_MediopieBalanceEVATipo1$footIndex\" value=\"1\" />".JText::_('Evertido').""; break; case 1: case 5: $cell['colspan'] = 1; $cell['html'] = "escape($this->insoleOptions['TI_PS_MediopieBalanceEVAGrados'][0][$footValue]))."\" name=\"TI_PS_MediopieBalanceEVAGrados[$footIndex]\" id=\"TI_PS_MediopieBalanceEVAGrados$footIndex\" class=\"medida\" > ". JText::_('grados'); break; case 2: case 6: $cell['colspan'] = 1; $cell['html'] = " "; $cell['html'] = ""; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 50: // Descenso de arco ALI $row['fields'] = array('TI_PS_MediopieDescensoArcoALI','TI_PS_MediopieDescensoArcoALIMM'); switch($colIndex) { case 0: case 4: $cell['html'] = "insoleOptions['TI_PS_MediopieDescensoArcoALI'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Ajuste altura arco interno'); 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; $html = " mm"; $cell['html'] =$html; /* $cell['html'] = ""; */ break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 51: // Descenso de arco ALE $row['fields'] = array('TI_PS_MediopieDescensoArcoALE','TI_PS_MediopieDescensoArcoALEMM'); switch($colIndex) { case 0: case 4: $cell['html'] = "insoleOptions['TI_PS_MediopieDescensoArcoALE'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Ajuste altura arco externo'); 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; $html = " mm"; $cell['html'] =$html; /* $cell['html'] = ""; */ break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 52: $row['fields'] = array('TI_PS_MediopieAletaInterna'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "insoleOptions['TI_PS_MediopieAletaInterna'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_MediopieAletaInterna[$footIndex]\" id=\"TI_PS_MediopieAletaInterna$footIndex\" > ".JText::_('Aleta interna'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 53: $row['fields'] = array('TI_PS_MediopieAletaExterna'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "insoleOptions['TI_PS_MediopieAletaExterna'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_MediopieAletaExterna[$footIndex]\" id=\"TI_PS_MediopieAletaExterna$footIndex\" > ".JText::_('Aleta externa'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 54: $row['startTable'] = true; $row['tableId'] = 'divAntepie'; $row['addToPages'] = true; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = "header"; $cell['html'] = JText::_('Antepié'); break; default: $cell['colspan'] = 0; } break; case 55: 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 56: $row['fields'] = array('TI_PS_AntepieBarra','TI_PS_AntepieBarraMM'); 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\" > "; break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = "escape($this->insoleOptions['TI_PS_AntepieBarraMM'][0][$footValue]))."\" name=\"TI_PS_AntepieBarraMM[$footIndex]\" id=\"TI_PS_AntepieBarraMM$footIndex\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 57: // Barra metatarsal extrinseca $row['fields'] = array('TI_PS_AntepieBarraMetaExt','TI_PS_AntepieBarraMetaExtMetas'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 2; $cell['html'] = "    insoleOptions['TI_PS_AntepieBarraMetaExt'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_AntepieBarraMetaExt[$footIndex]\" id=\"TI_PS_AntepieBarraMetaExt$footIndex\" > ".JText::_('Barra Metatarsal extrínseca semiblanda (5 mm)'); break; case 1: case 5: $selects = " "; $cell['html'] = $selects; break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 58: $row['fields'] = array('TI_PS_AntepieAlmendra','TI_PS_AntepieAlmendraMM'); 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\" > "; break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = "escape($this->insoleOptions['TI_PS_AntepieAlmendraMM'][0][$footValue]))."\" name=\"TI_PS_AntepieAlmendraMM[$footIndex]\" id=\"TI_PS_AntepieAlmendraMM$footIndex\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 59: // Almendra metatarsal extrinseca $row['fields'] = array('TI_PS_AntepieAlmendraMetaExt','TI_PS_AntepieAlmendraMetaExtMetas'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 2; $cell['html'] = "    insoleOptions['TI_PS_AntepieAlmendraMetaExt'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_AntepieAlmendraMetaExt[$footIndex]\" id=\"TI_PS_AntepieAlmendraMetaExt$footIndex\" > ".JText::_('Almendra Metatarsal extrínseca semiblanda (5 mm)'); break; case 1: case 5: $selects = " "; $cell['html'] = $selects; break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 60: // pieza de expansión $row['fields'] = array('TI_PS_AntepieExpansion'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $texto = "Prolongación en EVA desde el límite distal del armazón hasta el sulcus de los dedos. Abarca desde M2-M5 dejando libre la cabeza del primer metatarsiano. Indicado para pacientes con Hallux Limitus funcional, antepies valgos rígidos o fascitis plantares en pies excesivamente pronados."; $cell['html'] = "    insoleOptions['TI_PS_AntepieExpansion'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_AntepieExpansion[$footIndex]\" id=\"TI_PS_AntepieExpansion$footIndex\" > ". JText::_('Expansión de 2º-5º mtt hasta sulcus en 3 mm') . " ". JHTML::_('tooltip',$texto,'Info'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 61: $row['fields'] = array('TI_PS_AntepieCunaPro','TI_PS_AntepieCunaProMM'); switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_AntepieCunaPro'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Cuña pronadora')." 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]\" id=\"TI_PS_AntepieCunaProMM$footIndex\" class=\"medida\" > 3 mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 62: $row['fields'] = array('TI_PS_AntepieCunaSup','TI_PS_AntepieCunaSupMM'); switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_AntepieCunaSup'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Cuña supinadora')." 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]\" id=\"TI_PS_AntepieCunaSupMM$footIndex\" class=\"medida\" > 3 mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 63: $row['fields'] = array('TI_PS_AntepieMortonRigid'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    insoleOptions['TI_PS_AntepieMortonRigid'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_AntepieMortonRigid[$footIndex]\" id=\"TI_PS_AntepieMortonRigid$footIndex\" > ".JText::_('Extensión de Morton de material rígido'); break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 64: $row['fields'] = array('TI_PS_AntepieMortonEVA','TI_PS_AntepieMortonEVAMM'); switch($colIndex) { case 0: case 4: $cell['html'] = "    insoleOptions['TI_PS_AntepieMortonEVA'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_AntepieMortonEVA[$footIndex]\" id=\"TI_PS_AntepieMortonEVA$footIndex\" > ".JText::_('Extensión de Morton de EVA 65º sore'); break; case 1: case 5: $cell['colspan'] = 2; $cell['html'] = " mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 65: $row['fields'] = array('TI_PS_AntepieBalanceInv','TI_PS_AntepieBalanceInvGrados','TI_PS_AntepieBalanceInvInt'); 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]\" id=\"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 66: $row['fields'] = array('TI_PS_AntepieBalanceEver','TI_PS_AntepieBalanceEverGrados','TI_PS_AntepieBalanceEverInt'); 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]\" id=\"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 67: $row['fields'] = array('TI_PS_AntepieBajarALI','TI_PS_AntepieBajarALIInt'); 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 68: // Kinetic Wedge $row['fields'] = array('TI_PS_AntepieKineticWedge'); 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 69: $row['fields'] = array(); foreach($this->attypes['TI_PS_MecaArmazonGaitPlateType']->values as $mat) { $row['fields'][] = 'TI_PS_MecaArmazonGaitPlateType'.$mat['id']; } switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] =""; $cell['html'] .= "insoleOptions['TI_PS_MecaArmazonGaitPlateType'][0][$footValue])==0)?'checked':'')." value=\"\" />".JText::_('Ninguno'); foreach($this->attypes['TI_PS_MecaArmazonGaitPlateType']->values as $mat) { $cell['html'] .= '
'; $cell['html'] .= "insoleOptions['TI_PS_MecaArmazonGaitPlateType'][0][$footValue])==$mat['id'])?'checked':'')." value=\"".$mat['id']."\" />".JText::_($mat['name']); } break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 70: switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = 'header2'; $cell['html'] = JText::_('Descargas subcapitales'); break; default: $cell['colspan'] = 0; } break; case 71: $row['fields'] = array('TI_PS_AntepieDescargas0'); 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 72: $row['fields'] = array('TI_PS_AntepieDescargas1'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    insoleOptions['TI_PS_AntepieDescargas'][0][$footValue]=='1'?'checked':'')." value=\"1\" />".JText::_('Herradura con material rígido'); break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 73: $row['fields'] = array('TI_PS_AntepieDescargas2','TI_PS_AntepieDescHerrEVAMM','TI_PS_AntepieDescHerrEVAMetas','TI_PS_AntepieDescHerrEVAPoron'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    insoleOptions['TI_PS_AntepieDescargas'][0][$footValue]=='2'?'checked':'')." value=\"2\" />".JText::_('Herradura semidura'); $selects = "
       mm"; $selects .= " "; $selects .= "
      insoleOptions['TI_PS_AntepieDescHerrEVAPoron'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_AntepieDescHerrEVAPoron[$footIndex]\" id=\"TI_PS_AntepieDescHerrEVAPoron$footIndex\" > ".JText::_('Relleno de porón'); $cell['html'] .= $selects; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 74: $row['fields'] = array('TI_PS_AntepieDescargas3','TI_PS_AntepieDescSubDecMM','TI_PS_AntepieDescSubDecPoron'); 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 75: $row['fields'] = array('TI_PS_AntepieCabezaM1', 'TI_PS_AntepieCabezaM2', 'TI_PS_AntepieCabezaM3', 'TI_PS_AntepieCabezaM4', 'TI_PS_AntepieCabezaM5'); 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 76: // Descarga subcapital tipo cut-out $row['fields'] = array('TI_PS_AntepieDescargas5','TI_PS_AntepieDescSubCutOutMM','TI_PS_AntepieDescSubCutOutPoron'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    insoleOptions['TI_PS_AntepieDescargas'][0][$footValue]=='5'?'checked':'')." value=\"5\" />".JText::_('Descarga subcapital tipo Cut-out'); $selects = "
       mm"; $selects .= " insoleOptions['TI_PS_AntepieDescSubCutOutPoron'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_AntepieDescSubCutOutPoron[$footIndex]\" id=\"TI_PS_AntepieDescSubCutOutPoron$footIndex\" > ".JText::_('Relleno de porón'); $cell['html'] .= $selects; break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 77: $row['fields'] = array('TI_PS_AntepieCabezaCutOutM1', 'TI_PS_AntepieCabezaCutOutM2', 'TI_PS_AntepieCabezaCutOutM3', 'TI_PS_AntepieCabezaCutOutM4', 'TI_PS_AntepieCabezaCutOutM5'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['style'] = 'text-align:center'; $cell['html'] = JText::_('Cabezas'). "
insoleOptions['TI_PS_AntepieCabezaCutOutM1'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M1 insoleOptions['TI_PS_AntepieCabezaCutOutM2'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M2 insoleOptions['TI_PS_AntepieCabezaCutOutM3'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M3 insoleOptions['TI_PS_AntepieCabezaCutOutM4'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M4 insoleOptions['TI_PS_AntepieCabezaCutOutM5'][0][$footValue]=='1'?'checked':'')." value=\"1\" /> M5"; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 78: $row['fields'] = array('TI_PS_AntepieDescargas4'); 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 79: // Descarga en herradura de EVA $row['fields'] = array('TI_PS_AntepieDescHerraEVA'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $cell['html'] = "    insoleOptions['TI_PS_AntepieDescHerraEVA'][0][$footValue]=='1')?('checked'):(''))." name=\"TI_PS_AntepieDescHerraEVA[$footIndex]\" id=\"TI_PS_AntepieDescHerraEVA$footIndex\" > ".JText::_('Descarga en herradura de metatarsianos centrales'); break; case 3: $cell['colspan'] = 1; $cell['html'] = " "; break; default: $cell['colspan'] = 0; } break; case 80: $row['startTable'] = true; $row['tableId'] = 'divPalmilla'; $row['addToPages'] = true; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = "header"; $cell['html'] = JText::_('Palmilla'); break; default: $cell['colspan'] = 0; } break; case 81: 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 82: $row['fields'] = array('TI_PS_PalmillaAlza','TI_PS_PalmillaAlzaMM'); 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 83: $row['fields'] = array('TI_PS_PalmillaBarra','TI_PS_PalmillaBarraMM'); 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]\" id=\"TI_PS_PalmillaBarraMM$footIndex\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 84: $row['fields'] = array('TI_PS_PalmillaAlmendra','TI_PS_PalmillaAlmendraMM'); 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]))."\" id=\"TI_PS_PalmillaAlmendraMM$footIndex\" name=\"TI_PS_PalmillaAlmendraMM[$footIndex]\" class=\"medida\" > mm"; break; case 3: $cell['colspan'] = 1; $cell['html'] = ""; break; default: $cell['colspan'] = 0; } break; case 85: $row['fields'] = array('TI_PS_PalmillaHerradura'); 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 86: $row['fields'] = array('TI_PS_PalmillaDescargaM1','TI_PS_PalmillaDescargaM2','TI_PS_PalmillaDescargaM3','TI_PS_PalmillaDescargaM4','TI_PS_PalmillaDescargaM5'); 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 87: $row['startTable'] = true; $row['tableId'] = 'divForrado'; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = "header"; $cell['html'] = JText::_('Forrado'); break; default: $cell['colspan'] = 0; } break; case 88: 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 89: $row['fields'] = array('TI_PS_FORRADO34'); 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 90: $row['fields'] = array('forrado0','TI_PS_FORRADOColorEVA2'); 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 40º sore A"; $selects = "
    "; $cell['html'] .= $selects; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 91: $row['fields'] = array('forrado1','TI_PS_FORRADOColorEVA3'); 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 40º sore A"; $selects = "
    "; $cell['html'] .= $selects; break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 92: // forrado shockicel transpira $row['fields'] = array('forrado4','TI_PS_FORRADOColorShockIcel'); 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 93: // forrado poron memory $row['fields'] = array('forrado5'); 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 94: $row['fields'] = array('forrado3'); 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 95: $row['fields'] = array('TI_PS_RetropieTaloPoron'); 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 96: $row['fields'] = array('TI_PS_FORRADOEvaGrip25_3mm'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'La elección de este tipo de forro incrementa el precio de la plantilla en 1,2 €'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOEvaGrip25_3mm'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOEvaGrip25_3mm[$footIndex]\" id=\"TI_PS_FORRADOEvaGrip25_3mm$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro Técnico EVAGRIP 25 3mm. Color Naranja'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 97: $row['fields'] = array('TI_PS_FORRADOTEC35RF25GRIS'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'La elección de este tipo de forro incrementa el precio de la plantilla en 1,2 €'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOTEC35RF25GRIS'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOTEC35RF25GRIS[$footIndex]\" id=\"TI_PS_FORRADOTEC35RF25GRIS$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro técnico de EVA modificado RF25 GRIS de espesor 3,5mm'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 98: $row['fields'] = array('TI_PS_FORRADOTEC2SANVERDE'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'La elección de este tipo de forro técnico con tratamiento ANTIBACTERIANO, incrementa el precio de la plantilla en 2,2 €'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOTEC2SANVERDE'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOTEC2SANVERDE[$footIndex]\" id=\"TI_PS_FORRADOTEC2SANVERDE$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro técnico de EVA modificado SANIT VERDE de espesor de 2mm'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 99: $row['fields'] = array('TI_PS_FORRADOTEC3SANVERDE'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'La elección de este tipo de forro técnico con tratamiento ANTIBACTERIANO, incrementa el precio de la plantilla en 2,2 €'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOTEC3SANVERDE'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOTEC3SANVERDE[$footIndex]\" id=\"TI_PS_FORRADOTEC3SANVERDE$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro técnico de EVA modificado SANIT VERDE de espesor de 3mm'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 100: $row['fields'] = array('TI_PS_FORRADOTEC3AZULCOB'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'La elección de este tipo de forro incrementa el precio de la plantilla en 1,2 €'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOTEC3AZULCOB'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOTEC3AZULCOB[$footIndex]\" id=\"TI_PS_FORRADOTEC3AZULCOB$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro técnico de EVA modificado AC25 AZUL COBALTO de espesor de 3mm'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 101: $row['fields'] = array('TI_PS_FORRADOTEC3VARIOS'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'La elección de este tipo de forro incrementa el precio de la plantilla en 1,2 €. Consultar disponibilidad'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOTEC3VARIOS'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOTEC3VARIOS[$footIndex]\" id=\"TI_PS_FORRADOTEC3VARIOS$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro técnico de EVA modificado Varios Colores de espesor de 3mm (Consultar)'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 102: $row['fields'] = array('TI_PS_FORRADOEST2VARIOS'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'Consultar disponibilidad'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOEST2VARIOS'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOEST2VARIOS[$footIndex]\" id=\"TI_PS_FORRADOEST2VARIOS$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro de EVA estándar varios colores sin especificar, de espesor 2mm (Consultar)'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 103: $row['fields'] = array('TI_PS_FORRADOEST3VARIOS'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'Consultar disponibilidad'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOEST3VARIOS'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOEST3VARIOS[$footIndex]\" id=\"TI_PS_FORRADOEST3VARIOS$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro de EVA estándar varios colores sin especificar, de espesor 3mm (Consultar)'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 104: $row['fields'] = array('TI_PS_FORRADOMICFCAMEL'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'La elección de este tipo de forro incrementa el precio de la plantilla en 2 €'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOMICFCAMEL'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOMICFCAMEL[$footIndex]\" id=\"TI_PS_FORRADOMICFCAMEL$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro de microfibra textil color Camel'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 105: $row['fields'] = array('TI_PS_FORRADOMICFTABACO'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'La elección de este tipo de forro incrementa el precio de la plantilla en 2 €'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOMICFTABACO'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOMICFTABACO[$footIndex]\" id=\"TI_PS_FORRADOMICFTABACO$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro de microfibra textil color Tabaco'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 106: $row['fields'] = array('TI_PS_FORRADOMICFCRUDO'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'La elección de este tipo de forro incrementa el precio de la plantilla en 2 €'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOMICFCRUDO'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOMICFCRUDO[$footIndex]\" id=\"TI_PS_FORRADOMICFCRUDO$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro de microfibra textil color Blanco Crudo'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 107: $row['fields'] = array('TI_PS_FORRADOMICFPERFBEIGE'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'La elección de este tipo de forro incrementa el precio de la plantilla en 3 €'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOMICFPERFBEIGE'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOMICFPERFBEIGE[$footIndex]\" id=\"TI_PS_FORRADOMICFPERFBEIGE$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro de microfibra textil perforada color Beige'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 108: $row['fields'] = array('TI_PS_FORRADOMICFVARIOS'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'La elección de este tipo de forro incrementa el precio de la plantilla en 2 €. Consultar disponibilidad'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOMICFVARIOS'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOMICFVARIOS[$footIndex]\" id=\"TI_PS_FORRADOMICFVARIOS$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro de microfibra textil colores varios sin especificar (Consultar)'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 109: $row['fields'] = array('TI_PS_FORRADOPIEL'); switch($colIndex) { case 0: case 4: $cell['colspan'] = 3; $evagripInfo = 'La elección de este tipo de forro incrementa el precio de la plantilla en 3 €'; $cell['html'] = "  insoleOptions['TI_PS_FORRADOPIEL'][0][$footValue]=='1')?('checked'):('')). " name=\"TI_PS_FORRADOPIEL[$footIndex]\" id=\"TI_PS_FORRADOPIEL$footIndex\" > ". JHTML::_('tooltip',$evagripInfo,'Info').' '. JText::_('Forro de PIEL calidad superior'); break; case 3: $cell['colspan'] = 1; break; default: $cell['colspan'] = 0; } break; case 110: $row['startTable'] = true; $row['tableId'] = 'divComments'; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = "header"; $cell['html'] = JText::_('Comments'); break; default: $cell['colspan'] = 0; } break; case 111: 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 112: 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; case 113: $row['startTable'] = true; if (!$canPutAddressByOrder) { $cell['style'].= 'display:none'; } $row['tableId'] = 'divShipping'; switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['class'] = "header"; $cell['html'] = JText::_('Shipping address')."
(".JText::_('Complete only if different than usual').")"; break; default: $cell['colspan'] = 0; } break; case 114: if (!$canPutAddressByOrder) { $cell['style'].= 'display:none;'; } switch($colIndex) { case 0: $cell['colspan'] = 7; $cell['style'] .= 'text-align:center'; //$cell['html'] = ""; $cell['html'] = ''; if (!$readOnly) { if (!$this->order->shipping_address) $cell['html'] .= "order->id.'&userId='.$this->order->user.'&tmpl=component&cid[]=')). "\" rel=\"{handler: 'iframe', size: {x:800,y:600}}\" class='modalSearch' >".JText::_('Add')."
"; else $cell['html'] .= "order->id.'&userId='.$this->order->user.'&tmpl=component&cid[]='.$this->order->shipping_address)). "\" rel=\"{handler: 'iframe', size: {x:800,y:600}}\" class='modalSearch' >".JText::_('Edit')."
"; } if ($this->order->shipping_address) { $infoArray = array(); if ($this->order->address_company) $infoArray[] = $this->order->address_company; if ($this->order->address_address) $infoArray[] = $this->order->address_address; if ($this->order->address_city) $infoArray[] = $this->order->address_city; if ($this->order->address_province) $infoArray[] = $this->order->address_province; if ($this->order->address_pcode) $infoArray[] = $this->order->address_pcode; if ($this->order->address_country) $infoArray[] = $this->order->address_country; if ($this->order->address_phone) $infoArray[] = $this->order->address_phone; $cell['html'] .= implode(' ', $infoArray); $cell['html'] .= " ".JText::_('Delete').""; } break; default: $cell['colspan'] = 0; } break; } $cells[] = $cell; } $row['cells'] = $cells; $manuOptsTable[] = $row; } $tableOpen = false; $rowNumber = 0; $generalRowNumber =0; $pages = array(); $jsRowsInfo=array(); foreach($manuOptsTable as $row) { if ($row['startTable']) { if ($tableOpen) // ya hay una tabla abierta { echo "
"; } $tableIdStr = ''; if ($row['tableId']) { $tableIdStr = "id=\"".$row['tableId']."\""; if ($row['addToPages']==true) $pages[] = $row['tableId']; } echo " "; $tableOpen = true; $rowNumber = 0; } $rowIndex = $rowNumber%2; if ($rowIndex==0) $rowColor = '#E0F8F7'; else $rowColor = '#E0ECF8'; if (!$row['id']) $row['id'] = 'row'.$generalRowNumber; echo ""; $hideRow = false; foreach($row['cells'] as $cell) { if ($cell['colspan']!=0) { if ($cell['style']=='display:none') $hideRow = true; echo ""; } } if (!$hideRow) { if (!$row['disableAutoHide']) $jsRowsInfo[] = array('id'=>$row['id'],'fields'=>$row['fields']); $rowNumber++; $generalRowNumber++; } echo ""; } if ($tableOpen) echo "
"; if (!$cell['html']) echo " "; else echo $cell['html']; echo "
"; ?>