Exemple #1
0
?>
';
			OBJ("priority1").innerHTML = '<input id="priority_dsc1" type="text" size="3" maxlength="3" />% <?php 
drawlabel("priority_dsc1");
?>
';
			OBJ("priority2").innerHTML = '<input id="priority_dsc2" type="text" size="3" maxlength="3" />% <?php 
drawlabel("priority_dsc2");
?>
';
			OBJ("priority3").innerHTML = '<input id="priority_dsc3" type="text" size="3" maxlength="3" />% <?php 
drawlabel("priority_dsc3");
?>
';
			OBJ("priority4").innerHTML = '<input id="priority_dsc4" type="text" size="3" maxlength="3" />% <?php 
drawlabel("priority_dsc4");
?>
';					
			OBJ("priority_dsc1").value	=	XG(bwcqd1p+"/weight");
			OBJ("priority_dsc2").value	=	XG(bwcqd2p+"/weight");
			OBJ("priority_dsc3").value	=	XG(bwcqd3p+"/weight");
			OBJ("priority_dsc4").value	=	XG(bwcqd4p+"/weight");			
		}
	},	
	OnChangeProt: function(idx)
	{
		OBJ("pro_"+idx).value	=	OBJ("select_pro_"+idx).value;
	},
	OnChangeAppPort: function(idx)
	{
		OBJ("app_port_"+idx).value	=	OBJ("select_app_port_"+idx).value;
	$i--;
}
*/
?>
		</select>
	</td>
</tr>
<?php 
if ($ROUTING_INDEX % 2 == 0) {
    echo '<tr class="light_bg">';
} else {
    echo '<tr class="gray_bg">';
}
?>
	<td class="border_left gray_border_btm">Netmask<br/><input type=text id="<?php 
echo 'netmask_' . $ROUTING_INDEX;
?>
" size=16 maxlength=15><?php 
drawlabel("<? echo 'netmask_'.{$ROUTING_INDEX};?>");
?>
</td>
	<td class="border_left gray_border_btm">Gateway<br/><input type=text id="<?php 
echo 'gateway_' . $ROUTING_INDEX;
?>
" size=16 maxlength=15><?php 
drawlabel("<? echo 'gateway_'.{$ROUTING_INDEX};?>");
?>
</td>
</tr>

Exemple #3
0
				<td width="674">
					<input id="ssid_11a" type="text" class="text_block" size="40" />
					<?php 
drawlabel("ssid_11a");
?>
				</td>
			</tr>
			<tr>
				<td width="106" nowrap="nowrap" class="td_right"><b><?php 
echo I18N("h", "Key");
?>
 :</b></td>
				<td width="674">
					<input id="key_11a" type="text" class="text_block" size="40" maxlength="63" />
					<?php 
drawlabel("key_11a");
?>
<br />
					<span class="ashy"><?php 
echo i18n('<a href="javascript:PAGE.GenKey(\'_11a\');">Generate a random key</a> or enter a security key with 8-63 characters.');
?>
</span>
				</td>
			</tr>
			</table>
			</div>
		</div>
		</div>
<!-- End of Guset Zone: CONFIG -->
		<div class="rc_gradient_submit">
			<button id="b_exit" type="button" class="submitBtn floatLeft" onclick="self.location.href='./home.php';">
Exemple #4
0
?>
" onClick="PAGE.OnClickDownload();" />
			</span>
		</form>
        <br/>
		<form id="ulcfgbin" action="seama.cgi" method="post" enctype="multipart/form-data">
			<span class="name_l"><?php 
echo I18N("h", "Load Settings From Local Hard Drive");
?>
</span>
			<span class="delimiter">:</span>
			<span>
				<input type="hidden" name="REPORT_METHOD" value="301" />
				<input type="hidden" name="REPORT" value="tools_sys_ulcfg.php" />
				<input type="file" id="ulcfg" name="sealpac" size="20" /><?php 
drawlabel("ulcfg");
?>
			</span>
			<span class="name_l"></span>
			<span class="delimiter"></span>
			<span>
				<input type="button" value="<?php 
echo I18N("h", "Restore Configuration");
?>
" onClick="PAGE.OnClickUpload();" />
			</span>
		</form>
		<br/>
		<form>
			<span class="name_l"><?php 
echo I18N("h", "Restore To Factory Default Settings");
?>
			</td>
			<td class="gray_bg gray_border_btm <?php 
if ($FEATURE_NOSCH == "0") {
    echo 'border_right';
}
?>
"<?php 
if ($FEATURE_NOSCH == "0") {
    echo ' colspan="2"';
}
?>
>
				<?php 
echo I18N("h", "Port Range");
?>
<br>
				<input id="dst_startport_<?php 
echo $INDEX;
?>
" type="text"  maxlength="5" size="6"/>~
				<input id="dst_endport_<?php 
echo $INDEX;
?>
" type="text" maxlength="5" size="6" /><?php 
drawlabel("dst_startport_" + $INDEX);
drawlabel("dst_endport_" + $INDEX);
?>
			</td>
		</tr>
Exemple #6
0
?>
				</td>
			</tr>
			<tr>
				<td colspan="2" nowrap="nowrap" class="td_right gray_bg border_left"></td>
				<td colspan="<?php 
if ($FEATURE_NOSCH == "1") {
    echo '3';
} else {
    echo '4';
}
?>
" class="gray_bg border_right">
					<?php 
DRAW_select_dhcpclist("LAN-1", "hostlist", I18N("h", "Computer Name"), "", "", "1", "selectSty");
drawlabel("hostlist");
?>
				</td>
			</tr>

<!-- ALG checking -->
			<tr>
				<td colspan="<?php 
if ($FEATURE_NOSCH == "1") {
    echo '5';
} else {
    echo '6';
}
?>
" class="gray_bg border_2side"><p class="subitem"><?php 
echo I18N("h", "Application Level Gateway (ALG) Configuration");
Exemple #7
0
					<td width="562">
						<input type="text" class="text_block" id="gz_ssid" size="40" />
						<?php 
drawlabel("gz_ssid");
?>
					</td>
				</tr>
				<tr>
					<td nowrap="nowrap" class="td_right"><strong><?php 
echo I18N("h", "Key");
?>
 :</strong></td>
					<td>
						<input type="text" class="text_block" id="gz_key" size="40" />
						<?php 
drawlabel("gz_key");
?>
<br />
						<span class="ashy"><?php 
echo i18n('<a href="javascript:PAGE.GenKey(\'gz_\');">Generate a random key</a> or enter a security key with 8-63 characters.');
?>
</span>
					</td>
				</tr>
				</table>
			</div>
		</div>
		</div>
<!-- INITIAL: End of WLAN -->
<!-- INITIAL: Start of Final Status -->
		<div id="init_status" style="display:none;">
Exemple #8
0
            </td>
		</tr>
        <tr>
			<td nowrap="nowrap" class="td_right gray_bg border_left"><?php 
echo I18N("h", "MAC Address");
?>
 :</td>
			<td class="gray_bg border_right">
            	<!--<input type="text" id="reserv_macaddr" maxlength="17" size="25">-->
                <input name="reserv_macaddr_" type="text" id="reserv_macaddr_1" maxlength="2" class="mac_add text_block" />-
                <input name="reserv_macaddr_" type="text" id="reserv_macaddr_2" maxlength="2" class="mac_add text_block" />-
                <input name="reserv_macaddr_" type="text" id="reserv_macaddr_3" maxlength="2" class="mac_add text_block" />-
                <input name="reserv_macaddr_" type="text" id="reserv_macaddr_4" maxlength="2" class="mac_add text_block" />-
                <input name="reserv_macaddr_" type="text" id="reserv_macaddr_5" maxlength="2" class="mac_add text_block" />-
                <input name="reserv_macaddr_" type="text" id="reserv_macaddr_6" maxlength="2" class="mac_add text_block" /><?php 
drawlabel("reserv_macaddr_1");
?>
                <br />
                <input id="ipv4_mac_button" type="button" value="<?php 
echo I18N("h", "Clone Your PC's MAC Address");
?>
" onclick="PAGE.OnClickMacButton();" /><br />
                <input type="button" value="<?php 
echo I18N("h", "Add / Update");
?>
" onclick="PAGE.AddDHCPReserv();" />
                <input type="button" value="<?php 
echo I18N("h", "Clear");
?>
" onclick="PAGE.ClearDHCPReserv();" />
			</td>
Exemple #9
0
echo $INDEX;
?>
');" />
				<?php 
DRAW_select_dhcpclist("LAN-1", "pc_" . $INDEX, I18N("h", "Computer Name"), "", "", "1", "broad");
?>
			</td>
			<td class="gray_bg gray_border_btm">
				<?php 
echo I18N("h", "UDP");
?>
<br />
				<input id="port_udp_<?php 
echo $INDEX;
?>
" type="text" size="15" /><?php 
drawlabel("port_udp_" + $INDEX);
?>
 
			</td>
			<?php 
if ($FEATURE_INBOUNDFILTER == "1") {
    echo '<td class="gray_bg gray_border_btm border_right">';
    echo I18N("h", "Inbound Filter") . '<br />\\n';
    DRAW_select_inbfilter("inbfilter_" . $INDEX, I18N("h", "Allow All"), "-1", I18N("h", "Deny All"), "denyall", "", 0, "narrow");
    echo '</td>\\n';
}
?>
		</tr>

Exemple #10
0
echo $INDEX;
?>
');" modified="ignore" />
				<?php 
DRAW_select_dhcpclist("LAN-1", "pc_" . $INDEX, I18N("h", "Computer Name"), "", "", "1", "broad");
?>
			</td>
			<td class="gray_bg gray_border_btm">
				<?php 
echo I18N("h", "Private Port");
?>
				<br />
				<input id="priport_<?php 
echo $INDEX;
?>
" type="text" size="4" maxlength="5" /><?php 
drawlabel("priport_" + $INDEX);
?>
			</td>
			<td class="gray_bg gray_border_btm">
				<br />
				<input id="pronum_<?php 
echo $INDEX;
?>
" type="text" size="4" maxlength="5" /><?php 
drawlabel("pronum_" + $INDEX);
?>
			</td>
		</tr>

Exemple #11
0
				<td nowrap="nowrap" class="td_right gray_bg border_left"><?php 
echo I18N("h", "Password");
?>
 :</td>
				<td class="gray_bg border_right"><input id="passwd" type="password" size="20" maxlength="64" /><?php 
drawlabel("passwd");
?>
</td>
			</tr>
			<tr>
				<td nowrap="nowrap" class="td_right gray_bg border_left"><?php 
echo I18N("h", "Verify Password");
?>
 :</td>
				<td class="gray_bg border_right"><input id="verify_passwd" type="password" size="20" maxlength="64" /><?php 
drawlabel("verify_passwd");
?>
								<input id="sendmail" type="button" value="<?php 
echo I18N("h", "Send Mail Now");
?>
" onClick="PAGE.OnClickSendMail();"/></td>
			</tr>
			<tr>
				<td nowrap="nowrap" class="td_right gray_bg border_left"></td>
				<td class="gray_bg border_right">
					<div class="textinput" id="send_msg" style="display:none">
						<span class="name"></span>
						<span class="value"><font color="red"><?php 
echo I18N("h", "(Mail sent already!)");
?>
</font></span>
Exemple #12
0
					<option value="HTTP_AUDIO">HTTP_AUDIO</option>
					<option value="HTTP_VIDEO">HTTP_VIDEO</option>
					<option value="HTTP_DOWNLOAD">HTTP_DOWNLOAD</option>
					<option value="HTTP">HTTP</option>
					<option value="FTP">FTP</option>
					<option value="P2P">P2P</option>
				</select><?php 
drawlabel("app_port_" + $INDEX);
?>
			</td>
		</tr>
		<tr>
			<td colspan="2" class="gray_bg gray_border_btm dent_padding border_2side">
				<?php 
echo I18N("h", "Remote IP Range");
?>
<br>
				<input id="dst_startip_<?php 
echo $INDEX;
?>
" type="text" maxlength="15" size="27" />  to 
				<input id="dst_endip_<?php 
echo $INDEX;
?>
" type="text" maxlength="15" size="27" /><?php 
drawlabel("dst_startip_" + $INDEX);
drawlabel("dst_endip_" + $INDEX);
?>
			</td>
		</tr>
Exemple #13
0
			<td class="gray_bg border_right">
				<input id="radius_srv_port_11a" type="text" size="5" maxlength="5" class="text_block" />
				<?php 
drawlabel("radius_srv_port_11a");
?>
			</td>
		</tr>
		<tr id="wpaeap_11a" name="wpaeap_11a">
			<td nowrap="nowrap" class="td_right gray_bg border_left"><?php 
echo I18N("h", "RADIUS Server Shared Secret");
?>
 :</td>
			<td class="gray_bg border_right">
				<input id="radius_srv_sec_11a" type="password" size="50" maxlength="64" class="text_block" />
				<?php 
drawlabel("radius_srv_sec_11a");
?>
			</td>
		</tr>
<!-- 5G: END-->
		<tr id="11a_end">
			<td colspan="2" class="rc_gray5_ft">
				<button value="submit" class="submitBtn floatRight" onclick="BODY.OnSubmit();"><b><?php 
echo I18N("h", "Save");
?>
</b></button>
				<button value="submit" class="submitBtn floatLeft" onclick="location.href='./advanced.php';"><b><?php 
echo I18N("h", "Cancel");
?>
</b></button>
			</td>
Exemple #14
0
			<td class="gray_bg border_right">
				<input type="password" id="passwd_verify" maxlength="16" size="40" class="text_block" />
			</td>
		</tr>
		<tr>
			<td nowrap="nowrap" class="td_right gray_bg border_left"><?php 
echo I18N("h", "Timeout");
?>
 : </td>
			<td class="gray_bg border_right">
				<input type="text" id="timeout" maxlength="4" size="10" class="text_block" />
				<?php 
echo I18N("h", "(hours)");
?>
				<?php 
drawlabel("timeout");
?>
			</td>
		</tr>
		<tr>
			<td nowrap="nowrap" class="td_right gray_bg border_left"><?php 
echo I18N("h", "Status");
?>
 : </td>
			<td class="gray_bg border_right">
				<span id="report" ></span>
			</td>
		</tr>
		<tr>
			<td colspan="2" class="rc_gray5_ft">
				<button value="submit" class="submitBtn floatRight" onclick="BODY.OnSubmit();"><b><?php 
Exemple #15
0
				<cite><?php 
echo I18N("h", 'Ping Test sends "ping" packets to a device on the Internet to test its accessibility.');
?>
</cite>
			</td>
		</tr>
		<tr>
			<td nowrap="nowrap" class="td_right gray_bg border_left"><?php 
echo I18N("h", "Host Name or IP Address");
?>
 :</td>
			<td class="gray_bg border_right">
				<input type="text" id="dst_v4" maxlength="63" size="20" class="text_block" />
				<input type="button" id="ping_v4" value="Ping" onclick='PAGE.OnClick_Ping("_v4");' />
				<?php 
drawlabel("dst_v4");
?>
			</td>
		</tr>
		<tr>
			<td colspan="2" class="gray_bg border_2side"><p class="subitem"><?php 
echo I18N("h", "Ping Result");
?>
</p></td>
		</tr>
		<tr>
			<td colspan="2" class="gray_bg border_2side">
				<cite id="report"><?php 
echo I18N("h", "Enter a host name or IP address above and click 'Ping'.");
?>
</cite>
Exemple #16
0
		</tr>
<?php 
if ($INDEX % 2 == 0) {
    echo '<tr class="light_bg">';
} else {
    echo '<tr class="gray_bg">';
}
?>
			<td class="border_left gray_border_btm"><?php 
echo I18N("h", "Firewall ");
?>
<br /><input id="pubport_<?php 
echo $INDEX;
?>
" type="text" size="6" maxlength="60" /><?php 
drawlabel("<? echo 'pubport_'.{$INDEX};?>");
?>
</td>
			<td class="border_left gray_border_btm"><!--<?php 
echo I18N("h", "Protocol");
?>
<br/>-->
			<br />	
				<select id="pubpro_<?php 
echo $INDEX;
?>
">
				        <option value="TCP+UDP"><?php 
echo I18N("h", "All");
?>
</option>
Exemple #17
0
				<table border="0" cellspacing="0" cellpadding="0" class="gradient_form_content">
				<tr>
					<td width="106" nowrap="nowrap" class="td_right"><strong><?php 
echo I18N("h", "MAC address");
?>
 :</strong></td>
					<td width="674">
						<?php 
drawinputmac("macclone");
?>
 (<?php 
echo I18N("h", "optional");
?>
)
						<?php 
drawlabel("macclone");
?>
<br />
						<button id="button" title="<?php 
echo I18N("h", "You can use this button to automatically copy the MAC address to your device.");
?>
"
							onclick="PAGE.OnClickMacClone();"><?php 
echo I18N("h", "Clone MAC Address");
?>
</button>
					</td>
				</tr>
				</table>
			</div>
		</div>