1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
| <script
type="text/javascript" src="/js/jquery.js"></script>
<script
type="text/javascript" src="/js/jquery.table.addrow.js"></script>
<script type="text/javascript">
$("document").ready(function(){
$(".ReseauEdit").tableAutoAddRow({autoAddRow:true});
$(".delRow").btnDelRow();
});
</script>
<script type="text/javascript">
function checklength(element, element_suivant)
{
if (element.value.length==element.maxLength)
{
element_suivant.focus();
}
}
</script>
<table border="1" class="ReseauEdit">
<tr>
<td align="center">Adresse MAC :</td>
<td align="center">Adresse IPV4 :</td>
<td align="center">Adresse IPV6 :</td>
<td align="center">AD :</td>
<td align="center">Zone physique :</td>
<td align="center">Type machine :</td>
<td align="center">Mode :</td>
<td align="center">OS :</td>
<td align="center">Machine :</td>
<td align="center">Port physique :</td>
</tr>
<tr>
<td><input type="text" name="mac1" maxlength="2" id="mac1" size="1"
onkeyup="checklength(this, document.getElementById('mac2'))" />: <input
type="text" name="mac2" maxlength="2" id="mac2" size="1"
onkeyup="checklength(this, document.getElementById('mac3'))" />: <input
type="text" name="mac3" maxlength="2" id="mac3" size="1"
onkeyup="checklength(this, document.getElementById('mac4'))" />: <input
type="text" name="mac4" maxlength="2" id="mac4" size="1"
onkeyup="checklength(this, document.getElementById('mac5'))" />: <input
type="text" name="mac5" maxlength="2" id="mac5" size="1"
onkeyup="checklength(this, document.getElementById('mac6'))" />: <input
type="text" name="mac6" maxlength="2" id="mac6" size="1" /></td>
<td align="center"><input type="text" name="ipv41" maxlength="3"
id="ipv41"
onkeyup="checklength(this, document.getElementById('ipv42'))"
size="1.5" />. <input type="text" name="ipv42" maxlength="3"
id="ipv42" onkeypress="checknum(this);"
onkeyup="checklength(this, document.getElementById('ipv43'))"
size="1.5" />. <input type="text" name="ipv43" maxlength="3"
id="ipv43" onkeypress="checknum(this);"
onkeyup="checklength(this, document.getElementById('ipv44'))"
size="1.5" />. <input type="text" name="ipv44" maxlength="3"
id="ipv44" size="1.5" /></td>
<td><input type="text" name="ipv61" maxlength="4" size="2" id="ipv61"
onkeyup="checklength(this, document.getElementById('ipv62'))" />: <input
type="text" name="ipv62" maxlength="4" size="2" id="ipv62"
onkeyup="checklength(this, document.getElementById('ipv63'))" />: <input
type="text" name="ipv63" maxlength="4" size="2" id="ipv63"
onkeyup="checklength(this, document.getElementById('ipv64'))" />: <input
type="text" name="ipv64" maxlength="4" size="2" id="ipv64"
onkeyup="checklength(this, document.getElementById('ipv65'))" />: <input
type="text" name="ipv65" maxlength="4" size="2" id="ipv65"
onkeyup="checklength(this, document.getElementById('ipv66'))" />: <input
type="text" name="ipv66" maxlength="4" size="2" id="ipv66"
onkeyup="checklength(this, document.getElementById('ipv67'))" />: <input
type="text" name="ipv67" maxlength="4" size="2" id="ipv67"
onkeyup="checklength(this, document.getElementById('ipv68'))" />: <input
type="text" name="ipv68" maxlength="4" size="2" id="ipv68" /></td>
<td><select name="ad">
<option value="Grenoble">Grenoble</option>
<option value="AOFR">AOFR</option>
<option value="Aucun">Aucun</option>
</select></td>
<td><select name="zone">
<option value="DMZ-Internet Vlan 304 ">DMZ-Internet Vlan 304</option>
<option value="DMZ-Internet Vlan 303">DMZ-Internet Vlan 303</option>
<option value="DMZ-SERVEUR Vlan 305">DMZ-SERVEUR Vlan 305</option>
<option value="DMZ-AMM">DMZ-AMM</option>
<option value="DMZ-CHINE">DMZ-CHINE</option>
<option value="DMZ-VICTOR">DMZ-VICTOR</option>
<option value="DMZ-SCALA">DMZ-SCALA</option>
<option value="DMZ-CORYS">DMZ-CORYS</option>
<option value="DMZ-GEB2">DMZ-GEB2</option>
<option value="DMZ?ITER">DMZ?ITER</option>
<option value="DMZ-SRA">DMZ-SRA</option>
<option value="DMZ-N4">DMZ-N4</option>
<option value="DMZ-4KARL">DMZ-4KARL</option>
<option value="DMZ-AGREG">DMZ-AGREG</option>
<option value="DMZ-GEC-SAR">DMZ-GEC-SAR</option>
<option value="DMZ-ADACS">DMZ-ADACS</option>
<option value="DMZ-SNC">DMZ-SNC</option>
<option value="DMZ-WPM">DMZ-WPM</option>
<option value="DMZ-ADACSFRW">DMZ-ADACSFRW</option>
<option value="DMZ-DNBFRW">DMZ-DNBFRW</option>
<option value="DMZ-DNBGTW">DMZ-DNBGTW</option>
</select></td>
<td><input name='type_machine[1]' type='radio' value='1' />Virtuelle <input
name='type_machine[1]' type='radio' value='0' />Physique</td>
<td><input name='mode[1]' type='radio' value='1' />NAT <input name='mode[1]'
type='radio' value='0' />Bridge</td>
<td><input type="text" name="os_machine" size="10" /></td>
<td align="center"><?php echo $this->_qrid; ?></td>
<td><input type="text" name="port" size="5" /></td>
<td><input type="button" value="Delete" class="delRow" /></td>
</tr>
</table> |