Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/06/2012, 15:58
Psicopata17
 
Fecha de Ingreso: junio-2012
Mensajes: 18
Antigüedad: 11 años, 10 meses
Puntos: 0
Respuesta: ¿Donde esta el problema?

Ultima parte de perfil.php

Código PHP:
Ver original
  1. <?php if($ver_perfil == true || $ver_admin == true){?>                                                                                              
  2.     <tr>                                           
  3.         <th class="th-label" width="20%"><?php echo $info['perfil_telefono']; ?></th>
  4.         <td><input name="txtPerfilTelefono" id="txtPerfilTelefono" type="text" size="30" value="<?php echo $perfil_telefono; ?>" disabled="disabled"></td>  
  5.     </tr>                                        
  6.  <?php }?>                          
  7.     <tr>
  8.         <th class="th-label" width="20%"><?php echo $info['perfil_altura']; ?></th>
  9.         <td><input name="txtPerfilAltura" id="txtPerfilAltura" type="text" size="30" maxlength="3" value="<?php echo $perfil_altura; ?>"
  10.         <?php if($ver_perfil == false && $ver_admin == false){ echo "disabled='disabled'";}?>></td>
  11.     </tr>
  12.     <tr>
  13.         <th class="th-label" width="20%"><?php echo $info['perfil_peso']; ?></th>
  14.         <td><input name="txtPerfilPeso" id="txtPerfilPeso" type="text" size="30" maxlength="3" value="<?php echo $perfil_peso; ?>"
  15.         <?php if($ver_perfil == false && $ver_admin == false){ echo "disabled='disabled'";}?>></td>
  16.     </tr>
  17.     <tr>
  18.         <th class="th-label" width="20%"><?php echo $info['perfil_ojos']; ?></th>
  19.         <td>
  20.             <select id="txtPerfilOjos" name="txtPerfilOjos" <?php if($ver_perfil == false && $ver_admin == false){ echo "disabled='disabled'";}?>>                                     
  21.                 <option value="Azules">Azules</option>
  22.                 <option value="Cafe" <?php if($perfil_ojos == 'Cafe'){echo "selected"; }?>>Caf&eacute;</option>
  23.                 <option value="Grises" <?php if($perfil_ojos == 'Grises'){echo "selected"; }?>>Grises</option>                                     
  24.                 <option value="Verdes" <?php if($perfil_ojos == 'Verdes'){echo "selected"; }?>>Verdes</option>
  25.                 <option value="Otro" <?php if($perfil_ojos == 'Otro'){echo "selected"; }?>>Otro</option>
  26.           </select>
  27.         </td>
  28.     </tr>
  29.     <tr>
  30.         <th class="th-label" width="20%"><?php echo $info['perfil_pelo']; ?></th>
  31.         <td>
  32.             <select id="txtPerfilPelo" name="txtPerfilPelo" <?php if($ver_perfil == false && $ver_admin == false){ echo "disabled='disabled'";}?>>
  33.                 <option value="Castaño">Casta&ntilde;o</option>
  34.                 <option value="Negro"  <?php if($perfil_pelo == 'Negro'){echo "selected"; }?>>Negro</option>
  35.                 <option value="Pelirojo"  <?php if($perfil_pelo == 'Pelirojo'){echo "selected"; }?>>Pelirojo</option>
  36.                 <option value="Rubio"  <?php if($perfil_pelo == 'Rubio'){echo "selected"; }?>>Rubio</option>
  37.                 <option value="Otro"  <?php if($perfil_pelo == 'Otro'){echo "selected"; }?>>Otro</option>
  38.           </select>
  39.         </td>
  40.     </tr>                                        
  41.     <tr>
  42.         <th class="th-label" width="20%"><?php echo $info['perfil_origen']; ?></th>
  43.         <td><input name="txtPerfilOrigen" id="txtPerfilOrigen" type="text" size="30" value="<?php echo $perfil_origen; ?>" disabled="disabled"></td>
  44.     </tr>
  45.     <tr>
  46.         <th class="th-label" width="20%"><?php echo $info['perfil_rango']; ?></th>
  47.         <td><input name="txtRango" id="txtPerfilRango" type="text" size="30" value="<?php echo $perfil_rango; ?>" disabled="disabled"></td>
  48.     </tr>
  49.     <tr>
  50.         <th class="th-label" width="20%"><?php echo $info['perfil_nivel']; ?></th>
  51.         <td><input name="txtPerfilNivel" id="txtPerfilNivel" type="text" size="30" value="<?php echo $perfil_nivel; ?>" disabled="disabled"></td>
  52.     </tr>
  53.     <tr>
  54.         <th class="th-label" width="20%"><?php echo $info['perfil_horas_jugadas']; ?></th>
  55.         <td><input name="txtPerfilHorasJugadas" id="txtPerfilHorasJugadas" type="text" size="30" value="<?php echo $perfil_horas_jugadas; ?>" disabled="disabled"></td>
  56.     </tr>
  57. <?php if($ver_perfil == true || $ver_admin == true){?>
  58.     <tr>
  59.         <th class="th-label" width="20%"><?php echo $info['perfil_carkey']; ?></th>
  60.         <td><input name="txtPerfilCarKey" id="txtPerfilCarKey" type="text" size="30" value="<?php echo $perfil_carkey ?>" disabled="disabled"></td>
  61.     </tr>
  62.     <tr>
  63.         <th class="th-label" width="20%"><?php echo $info['perfil_housekey']; ?></th>
  64.         <td><input name="txtPerfilHouseKey" id="txtPerfilHouseKey" type="text" size="30" value="<?php echo $perfil_housekey ?>" disabled="disabled"></td>
  65.     </tr>  
  66.     <tr>
  67.         <th class="th-label" width="20%"><?php echo $info['perfil_banco']; ?></th>
  68.         <td><input name="txtPerfilBanco" id="txtPerfil" type="text" size="30" value="<?php echo $perfil_banco; ?>" disabled="disabled"></td>
  69.     </tr>
  70.     <tr>
  71.         <th class="th-label" width="20%"><?php echo $info['perfil_materiales']; ?></th>
  72.         <td><input name="txtPerfilMateriales" id="txtPerfilMateriales" type="text" size="30" value="<?php echo $perfil_materiales; ?>" disabled="disabled"></td>
  73.     </tr>  
  74.     <tr>
  75.         <th class="th-label" width="20%"><?php echo $info['perfil_drogas']; ?></th>
  76.         <td><input name="txtPerfilDrogas" id="txtPerfilDrogas" type="text" size="30" value="<?php echo $perfil_drogas; ?>" disabled="disabled"></td>
  77.     </tr>
  78.     <tr>
  79.         <th class="th-label" width="20%"><?php echo $info['perfil_crimenes']; ?></th>
  80.         <td><input name="txtPerfilCrimenes" id="txtPerfilCrimenes" type="text" size="30" value="<?php echo $perfil_crimenes; ?>" disabled="disabled"></td>
  81.     </tr>
  82.     <tr>
  83.         <th class="th-label" width="20%"><?php echo $info['perfil_arrestos']; ?></th>
  84.         <td><input name="txtPerfilArrestos" id="txtPerfilArrestos" type="text" size="30" value="<?php echo $perfil_arrestos; ?>" disabled="disabled"></td>
  85.     </tr>
  86. <?php }?>
  87.     <tr>
  88.          <th class="th-label" colspan="3">
  89.              <?php echo $info['perfil_descripcion_psicologica']; ?><br />
  90.             <textarea id="txaPerfilDescripcionPsicologica" name="txaPerfilDescripcionPsicologica" cols="95" rows="5" <?php if($ver_perfil == false && $ver_admin == false){ echo "disabled='disabled'";}?>><?php echo $perfil_descripcion_psicologica; ?></textarea>
  91.          </th>
  92.     </tr>                              
  93.     <tr>
  94.         <th class="th-label" colspan="3">
  95.              <?php echo $info['perfil_historia']; ?><br />
  96.         <textarea id="txaPerfilHistoria" name="txaPerfilHistoria" cols="95" rows="10" <?php if($ver_perfil == false && $ver_admin == false){ echo "disabled='disabled'";}?>><?php echo $perfil_historia; ?></textarea>
  97.       </th>
  98.     </tr>                            
  99.     <?php if($ver_perfil == true || $ver_admin == true){?>                          
  100.     <tr>
  101.          <th class="th-label" width="20%"><?php echo $info['perfil_email']; ?></th>
  102.          <td><input name="txtPerfilEmail" id="txtPerfilEmail" type="text" size="30"
  103.             value="<?php echo $perfil_email; ?>" style="width:200px"
  104.             <?php if($ver_perfil == false && $ver_admin == false){ echo "disabled='disabled'";}?>>
  105.          </td>
  106.     </tr>
  107.     <?php }?>                          
  108.     <tr>
  109.          <th class="th-label" width="20%"><?php echo $info['perfil_fecha_registro']; ?></th>
  110.          <td><input name="txtPerfilFechaRegistro" id="txtPerfilFechaRegistro" type="text" size="30"
  111.             value="<?php echo $perfil_fecha_registro; ?>" style="width:200px" disabled="disabled">
  112.          </td>
  113.     </tr>                              
  114.     <tr>
  115.         <?php if($ver_perfil == true){?>
  116.             <td><br /><br /><input type='submit' id='btnPerfilAceptar' name='btnPerfilAceptar' value='Guardar Cambios'></td>            
  117.         <?php } ?>    
  118.     </tr>
  119. </table>
  120. </form>
  121. <?php }?>