Пример #1
0
include 'includes/utility.php';
?>
<!-- $Id: wizard_step2.php 2943 2009-08-25 20:58:43Z slemoine $ -->

<div id="sub-header">
	<?php 
include 'includes/userbar.php';
?>
</div><!-- end #sub-header -->

<?php 
include 'includes/nav.php';
?>

<?php 
$ret = init_psmMode("Gateway > Home Network Wizard - Step 2", "nav-wizard");
if ("" != $ret) {
    echo $ret;
    return;
}
?>

<script type="text/javascript">
$(document).ready(function() {
    comcast.page.init("Gateway > Home Network Wizard - Step 2", "nav-wizard");

    /*
     *  Manage password field: open wep networks don't use passwords
     */

    $("#security").change(function() {
include 'includes/header.php';
include 'includes/utility.php';
?>

<div id="sub-header">
	<?php 
include 'includes/userbar.php';
?>
</div><!-- end #sub-header -->

<?php 
include 'includes/nav.php';
?>

<?php 
$ret = init_psmMode("Connected Devices - Devices", "nav-cdevices");
if ("" != $ret) {
    echo $ret;
    return;
}
?>

<style>
table a:link, table a:visited {
	text-decoration: none;
	color: #808080;
}
</style>

<script type="text/javascript">
$(document).ready(function() {
Пример #3
0
include 'includes/utility.php';
?>
<!-- $Id: managed_devices.php 3158 2010-01-08 23:32:05Z slemoine $ -->

<div  id="sub-header">
	<?php 
include 'includes/userbar.php';
?>
</div><!-- end #sub-header -->

<?php 
include 'includes/nav.php';
?>

<?php 
$ret = init_psmMode("Parental Control > Managed Devices", "nav-devices");
if ("" != $ret) {
    echo $ret;
    return;
}
?>

<?php 
$enableMD = getStr("Device.X_Comcast_com_ParentalControl.ManagedDevices.Enable");
$allowAll = getStr("Device.X_Comcast_com_ParentalControl.ManagedDevices.AllowAll");
if ($_DEBUG) {
    $enableMD = 'true';
    $allowAll = 'true';
}
//add by shunjie
"" == $enableMD && ($enableMD = "false");
Пример #4
0
include 'includes/utility.php';
?>
<!-- $Id: managed_services.php 2943 2009-08-25 20:58:43Z slemoine $ -->

<div  id="sub-header">
	<?php 
include 'includes/userbar.php';
?>
</div><!-- end #sub-header -->

<?php 
include 'includes/nav.php';
?>

<?php 
$ret = init_psmMode("Parental Control > Managed Services", "nav-services");
if ("" != $ret) {
    echo $ret;
    return;
}
?>

<?php 
$enableMS = getStr("Device.X_Comcast_com_ParentalControl.ManagedServices.Enable");
if ($_DEBUG) {
    $enableMS = "true";
}
// $enableMS = "false";
//add by shunjie
"" == $enableMS && ($enableMS = "false");
?>
Пример #5
0
include 'includes/utility.php';
?>
<!-- $Id: connected_devices_computers.php 3158 2010-01-08 23:32:05Z slemoine $ -->

<div id="sub-header">
	<?php 
include 'includes/userbar.php';
?>
</div><!-- end #sub-header -->

<?php 
include 'includes/nav.php';
?>

<?php 
$ret = init_psmMode("Connected Devices - Range Extenders", "nav-range-extenders");
if ("" != $ret) {
    echo $ret;
    return;
}
?>

<?php 
/*
//Fetch enabled SSID (no more than 4) per radio
$radio_2G = array();
$radio_5G = array();
$ids = explode(",", getInstanceIds("Device.WiFi.SSID."));
foreach ($ids as $i)
{
	if ("true" == getStr("Device.WiFi.SSID.$i.Enable"))
Пример #6
0
include 'includes/utility.php';
?>
<!-- $Id: wireless_network_configuration.usg.php 3159 2010-01-11 20:10:58Z slemoine $ -->

<div id="sub-header">
	<?php 
include 'includes/userbar.php';
?>
</div><!-- end #sub-header -->

<?php 
include 'includes/nav.php';
?>

<?php 
$ret = init_psmMode("Gateway > Connection > MoCA", "nav-moca");
if ("" != $ret) {
    echo $ret;
    return;
}
$moca_enable = getStr("Device.MoCA.Interface.1.Enable");
$qos_enable = "true";
?>

<style type="text/css">

label{
	margin-right: 10px !important;
}

#content {
Пример #7
0
<div id="sub-header">
	<?php 
include 'includes/userbar.php';
?>
</div><!-- end #sub-header -->

<?php 
include 'includes/nav.php';
$isManageEnabled = getStr("Device.X_Comcast_com_ParentalControl.ManagedSites.Enable");
if ($_DEBUG) {
    $isManageEnabled = "true";
}
?>

<?php 
$ret = init_psmMode("Parental Control > Managed Sites", "nav-sites");
if ("" != $ret) {
    echo $ret;
    return;
}
?>

<script  type="text/javascript">

$(document).ready(function() {
	comcast.page.init("Parental Control > Managed Sites", "nav-sites");
    
    jQuery.validator.addMethod("url2", function(value, element, param) {
       if (value.indexOf('//www.') > 0) {
            value = value.replace("//www.","//");
        }
include 'includes/utility.php';
?>
<!-- $Id: wireless_network_configuration.usg.php 3159 2010-01-11 20:10:58Z slemoine $ -->

<div id="sub-header">
	<?php 
include 'includes/userbar.php';
?>
</div><!-- end #sub-header -->

<?php 
include 'includes/nav.php';
?>

<?php 
$ret = init_psmMode("Gateway > Connection > Wi-Fi", "nav-wifi-config");
if ("" != $ret) {
    echo $ret;
    return;
}
?>

<?php 
/*********************get WiFi parameters***************************/
$wifi_param = array("radio_enable" => "Device.WiFi.SSID.1.Enable", "network_name" => "Device.WiFi.SSID.1.SSID", "feq_band" => "Device.WiFi.Radio.1.OperatingFrequencyBand", "mac_address" => "Device.WiFi.SSID.1.BSSID", "encrypt_mode" => "Device.WiFi.AccessPoint.1.Security.ModeEnabled", "encrypt_method" => "Device.WiFi.AccessPoint.1.Security.X_CISCO_COM_EncryptionMethod", "wireless_mode" => "Device.WiFi.Radio.1.OperatingStandards", "transmit_power" => "Device.WiFi.Radio.1.TransmitPower", "channel_automatic" => "Device.WiFi.Radio.1.AutoChannelEnable", "channel_number" => "Device.WiFi.Radio.1.Channel", "BG_protect_mode" => "Device.WiFi.Radio.1.X_CISCO_COM_CTSProtectionMode", "operation_mode" => "Device.WiFi.Radio.1.X_CISCO_COM_11nGreenfieldEnabled", "channel_bandwidth" => "Device.WiFi.Radio.1.OperatingChannelBandwidth", "guard_interval" => "Device.WiFi.Radio.1.GuardInterval", "reverse_enabled" => "Device.WiFi.Radio.1.X_CISCO_COM_ReverseDirectionGrant", "ext_channel" => "Device.WiFi.Radio.1.ExtensionChannel", "MSDU_enabled" => "Device.WiFi.Radio.1.X_CISCO_COM_AggregationMSDU", "blockACK_enabled" => "Device.WiFi.Radio.1.X_CISCO_COM_AutoBlockAck", "blockBA_enabled" => "Device.WiFi.Radio.1.X_CISCO_COM_DeclineBARequest", "HT_TxStream" => "Device.WiFi.Radio.1.X_CISCO_COM_HTTxStream", "HT_RxStream" => "Device.WiFi.Radio.1.X_CISCO_COM_HTRxStream", "STBC_enabled" => "Device.WiFi.Radio.1.X_CISCO_COM_STBCEnable", "WMM_power_save" => "Device.WiFi.AccessPoint.1.UAPSDEnable", "enableWMM" => "Device.WiFi.AccessPoint.1.WMMEnable", "possible_channels" => "Device.WiFi.Radio.1.PossibleChannels", "radio_enable1" => "Device.WiFi.SSID.2.Enable", "network_name1" => "Device.WiFi.SSID.2.SSID", "feq_band1" => "Device.WiFi.Radio.2.OperatingFrequencyBand", "mac_address1" => "Device.WiFi.SSID.2.BSSID", "encrypt_mode1" => "Device.WiFi.AccessPoint.2.Security.ModeEnabled", "encrypt_method1" => "Device.WiFi.AccessPoint.2.Security.X_CISCO_COM_EncryptionMethod", "wireless_mode1" => "Device.WiFi.Radio.2.OperatingStandards", "transmit_power1" => "Device.WiFi.Radio.2.TransmitPower", "channel_automatic1" => "Device.WiFi.Radio.2.AutoChannelEnable", "channel_number1" => "Device.WiFi.Radio.2.Channel", "BG_protect_mode1" => "Device.WiFi.Radio.2.X_CISCO_COM_CTSProtectionMode", "operation_mode1" => "Device.WiFi.Radio.2.X_CISCO_COM_11nGreenfieldEnabled", "channel_bandwidth1" => "Device.WiFi.Radio.2.OperatingChannelBandwidth", "guard_interval1" => "Device.WiFi.Radio.2.GuardInterval", "reverse_enabled1" => "Device.WiFi.Radio.2.X_CISCO_COM_ReverseDirectionGrant", "ext_channel1" => "Device.WiFi.Radio.2.ExtensionChannel", "MSDU_enabled1" => "Device.WiFi.Radio.2.X_CISCO_COM_AggregationMSDU", "blockACK_enabled1" => "Device.WiFi.Radio.2.X_CISCO_COM_AutoBlockAck", "blockBA_enabled1" => "Device.WiFi.Radio.2.X_CISCO_COM_DeclineBARequest", "HT_TxStream1" => "Device.WiFi.Radio.2.X_CISCO_COM_HTTxStream", "HT_RxStream1" => "Device.WiFi.Radio.2.X_CISCO_COM_HTRxStream", "STBC_enabled1" => "Device.WiFi.Radio.2.X_CISCO_COM_STBCEnable", "WMM_power_save1" => "Device.WiFi.AccessPoint.2.UAPSDEnable", "enableWMM1" => "Device.WiFi.AccessPoint.2.WMMEnable", "possible_channels1" => "Device.WiFi.Radio.2.PossibleChannels");
$wifi_value = KeyExtGet("Device.WiFi.", $wifi_param);
$radio_enable = $wifi_value['radio_enable'];
$network_name = $wifi_value['network_name'];
$feq_band = $wifi_value['feq_band'];
$mac_address = $wifi_value['mac_address'];
$encrypt_mode = $wifi_value['encrypt_mode'];