Exemplo n.º 1
0
        ?>
&seccion=<?php 
        echo $_GET['seccion'];
        ?>
&pag=directorio&directorio=<?php 
        echo $rs;
        ?>
&dominio=<?php 
        echo $_GET['dominio'];
        ?>
&id=<?php 
        echo $x;
        ?>
"> 
                  <?php 
        if (filesystem_htaccessread($_GET['dominio'], $rs, "estado")) {
            ?>
                  <img src="images/icn_protegeron.gif" width="30" height="30" border="0"> 
                  <?php 
        } else {
            ?>
                  <img src="images/icn_protegeroff.gif" width="30" height="30" border="0"> 
                  <?php 
        }
        ?>
                  </a></td>
              </tr>
              <tr align="center"> 
                <td colspan="3" align="left" bgcolor="#d6d6d6"><img src="#" width="1" height="1"> 
                </td>
              </tr>
Exemplo n.º 2
0
                <td align="left" bgcolor="#d6d6d6"><span class="Estilo5">&nbsp;&nbsp;activar</span></td>
                <td align="left" bgcolor="#d6d6d6">nombre recurso</td>
                <td bgcolor="#d6d6d6" align="right" width="15%">&nbsp; </td>
              </tr>
              <tr align="center"> 
                <td align="left"> 	
                  <input type="checkbox" name="frmActivar" value="true" <?php 
if (filesystem_htaccessread($_GET['dominio'], $_GET['directorio'], "estado")) {
    echo "checked";
}
?>
>
                  activar protecci&oacute;n</td>
                <td align="left">
                  <input type="text" name="frmNombre" class="boxBlur" onFocus="this.className='boxFocus'"  onBlur="this.className='boxBlur'" size="25" value="<?php 
echo filesystem_htaccessread($_GET['dominio'], $_GET['directorio'], "cadena");
?>
">
                </td>
                <td width="15%" align="center"><a href="#"><img src="images/icn_grabar.gif" width="25" height="25" border="0" onclick="document.formhtaccess.submit()"></a></td>
              </tr>
              <tr align="center"> 
                <td colspan="3" align="left" bgcolor="#d6d6d6"><img src="#" width="1" height="1"> 
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
</form>
      <br>