コード例 #1
0
ファイル: abmipfija.php プロジェクト: B-Rich/zafiro
            $ipsfijasint = $fila['ipsfijasint'];
        }
    }
    ?>

    <script>
        function guardar() {
            document.datos.submit();
        }
    </script>
    <form name="datos" action="?mod=ABMipfija&ac=guardar" method="post">
        <table>
            <tr>
                <td>IP</td>
                <td>
                    <? f_HTML_Hidden("ipsfijasid", $ipsfijasid); ?>
                    <? f_HTML_TextBoxIP("ipsfijasip", $ipsfijasip, $extras["TextBoxABM"], 4); ?>
                </td>
            </tr>
            <tr>
                <td>Cliente</td>
                <td>
                    <?
                    $sql = "select clientesid as id, clientesnom as nombre, clientesest as estado "
                            . " from clientes "
                            . " where clientesest=0 "
                            . " order by 2";
                    f_HTML_SelectObjeto("ipsfijascli", $ipsfijascli, $extras["SelectABM"], $sql);
                    ?>
                </td>
            </tr>
コード例 #2
0
ファイル: abmnodovpn.php プロジェクト: B-Rich/zafiro
                <td>
<?
$readonly = "";
if ($accion == "editar") {
    $readonly = " readonly=yes";
}
f_HTML_TextBox("nombre", $nombre, $extras["TextBoxABM"] . $readonly, 254)
?>
                </td>
                <td rowspan=12>
                    <textarea name='llave' rows=20 cols=38><? echo $llave; ?></textarea>
                </td>
            </tr>
            <tr>
                <th>Remoto</th>
                <td><? f_HTML_Hidden("remoto", $remoto); ?><? f_HTML_TextBox("remoto", $remoto, $extras["TextBoxABM"], 254); ?></td>
            </tr>
            <tr>
                <th>IP Izquierda</th>
                <td><? f_HTML_TextBox("iptunelleft", $iptunelleft, $extras["TextBoxABM"], 254); ?></td>
            </tr>
            <tr>
                <th>IP Derecha</th>
                <td><? f_HTML_TextBox("iptunelright", $iptunelright, $extras["TextBoxABM"], 254); ?></td>
            </tr>
            <tr>
                <th>M&aacute;scara del t&uacute;nel</th>
                <td><? f_HTML_TextBox("mascaratunel", $mascaratunel, $extras["TextBoxABM"], 254); ?></td>
            </tr>
            <tr>
                <th>Enruta hacia (red o IP)</th>
コード例 #3
0
ファイル: abmdyndns.php プロジェクト: B-Rich/zafiro
    }
    if (!$servidor) {
        $servidor = "members.dyndns.org";
    }
    ?>

    <script>
        function guardar() {
            document.datos.submit();
        }
    </script>
    <form name="datos" action="?mod=ABMdyndns&ac=guardar" method="post">
        <table align=center>
            <tr><th>Dominio</td><td><? f_HTML_TextBox("dominio", $dominio, $extras["TextBoxABM"], 254); ?></td></tr>
            <tr><th>Usuario</td><td><? f_HTML_TextBox("usuario", $usuario, $extras["TextBoxABM"], 254); ?></td></tr>
            <tr><th>Password</td><td><? f_HTML_TextBoxPassword("password", $password, $extras["TextBoxABM"], 254); ?></td></tr>
            <tr><th>Servidor</td><td><!--<? f_HTML_Hidden("id", $id); ?>--><? f_HTML_TextBox("servidor", $servidor, $extras["TextBoxABM"], 254); ?></td></tr>
            <tr><th>Protocolo</td><td><? f_HTML_TextBox("protocolo", $protocolo, $extras["TextBoxABM"], 254); ?></td></tr>
            <tr><th>Interface</td><td><? f_HTML_TextBox("interface", $interface, $extras["TextBoxABM"], 4); ?></td></tr>
            <!--<tr><th>Estado</td><td>
            <?
//f_HTML_Hidden("id", $id);
            f_HTML_Estado("estado", $estado, $extras["EstadoABM"]);
            ?>
            </td>
            </tr>-->
            <tr align=center><td colspan=4><? f_HTML_Button("boGuardar", "Guardar", $extras["ButtonABM"] . " onclick=\"guardar();\""); ?></td></tr>
        </table>
    </form>
</body>
コード例 #4
0
ファイル: abmcanal.php プロジェクト: B-Rich/zafiro
        }
    }
    ?>

    <script>
        function guardar() {
            document.datos.submit();
        }
    </script>

    <form name="datos" action="?ac=guardar" method="post">
        <table>
            <tr>
                <th>Nombre</th>
                <td>
                    <? f_HTML_Hidden("canalesid", $canalesid); ?>
                    <? f_HTML_TextBox("canalesnom", $canalesnom, $extras["TextBoxABM"], 45); ?>
                </td>
            </tr>
            <tr>
                <th>Subida</th>
                <td><? f_HTML_SelectCantidad("canalessub", $canalessub, $extras["SelectCantidadABM"], 1, 4096); ?></td>
            </tr>
            <tr>
                <th>Bajada</th>
                <td><? f_HTML_SelectCantidad("canalesbaj", $canalesbaj, $extras["SelectCantidadABM"], 1, 4096); ?></td>
            </tr>
            <tr>
                <th>Estado</th>
                <td><? f_HTML_Estado("canalesest", $canalesest, $extras["EstadoABM"]); ?></td>
            </tr>
コード例 #5
0
ファイル: abmfiltros.php プロジェクト: B-Rich/zafiro
 <table align=center width=50%>
     <tr>
         <th>Nombre</th>
         <td colspan=3><? f_HTML_TextBox("nombre", $nombre, $extras["TextBoxABM"], 254, 45); ?></td>
         <th>Tipo de trafico</th>
         <td>
             <select name=tipo>
                 <option value="ICMP" <? echo ($tipo == "ICMP") ? "selected":""; ?>>ICMP</option>
                 <option value="TCP" <? echo ($tipo == "TCP") ? "selected":""; ?>>TCP</option>
                 <option value="UDP" <? echo ($tipo == "UDP") ? "selected":""; ?>>UDP</option>
             </select>
         </td>
         <th>Estado</th>
         <td>
             <?
             f_HTML_Hidden("id", $id);
             f_HTML_Estado("estado", $estado, $extras["EstadoABM"]);
             ?>
         </td>
     </tr>
     <tr>
         <th colspan=6>Origen</th>
     </tr>
     <tr>
         <th>IP</th>
         <td><? f_HTML_TextBox("ipsource", $ipsource, $extras["TextBoxABM"], 254, 15); ?></td>
         <th>Puertos</th>
         <td> <? f_HTML_TextBox("puertosource", $puertosource, $extras["TextBoxABM"], 254, 20); ?></td>
         <th>Interface</th>
         <td>
             <select name=interfaceentrada>
コード例 #6
0
ファイル: abmplan.php プロジェクト: B-Rich/zafiro
                    f[i].checked = valor;
                }
            }
        }

        function chequearTodoHoras(valor) {
            f = document.datos.elements;
            for(i=0; i<f.length; i++) {
                if (f[i].name.substr(0,8)=="chkHora_"){
                    f[i].checked = valor;
                }
            }
        }
    </script>
    <form name="datos" action="?mod=ABMplan&ac=guardar" method="post">
        <? f_HTML_Hidden("planesid", $planesid);?>
        <table align=center>
            <tr>
                <th>Nombre</th>
                <td><? f_HTML_TextBox("planesnom", $planesnom, $extras["TextBoxABM"], 45); ?></td>
                <th>Estado</th>
                <td><? f_HTML_Estado("planesest", $planesest, $extras["EstadoABM"]); ?></td>
                <th>Valor</th>
                <td><? f_HTML_TextBox("valor", $valor, $extras["TextBoxABM"], 5); ?></td>
            </tr>
        </table>
        <br>
        <? if ($planesid > 0) { ?>
            <table align=center>
                <caption>D&iacute;as</caption>
                <tr>