/************************************************************************************/
            ?>
			<div class='nss-admin-form-row'>
				<label>URL</label>
				<input type='text' class='text' name='url' value='<?php 
            echo $channel['url'];
            ?>
'>
			</div>
			<div class='nss-admin-form-row'>
				<label>Status</label>
				<div class="field-area channel-status">
					<?php 
            $id = substr($channel['url'], strrpos($channel['url'], "/") + 1);
            $id = urlencode($id);
            echo getChannelStatus('nss', $id);
            ?>
				</div>
			</div>
		<?php 
            break;
    }
    ?>
	
		<div class="nss-admin-form-row">
			<span class="nss-admin-test button">Test</span>
			<span class="nss-admin-remove button">Remove</span>
		</div>
		<div class='nss-admin-form-row hl'>
			<a href='?cancel' class='cancel button'>Cancel changes</a>
			<a class='submit save-channels' href='#channel-start' data-pos="<?php 
						</tr>
						<?php 
    foreach ($nss->get('channel_list') as $channelArray => $channel) {
        $type = $channel['type'];
        ?>
							<tr>
								<td class="channel-<?php 
        echo $type;
        ?>
">
									<?php 
        echo $channel['id'];
        ?>
								</td>
								<td><?php 
        echo getChannelStatus($type, $channel['id']);
        ?>
</td>
								<td width="270"><?php 
        if ($type == 'facebook') {
            ?>
									<input type="hidden" value="<?php 
            echo $channel['access_token_expires'];
            ?>
" name="access_token_expires">
									<input type="hidden" value="<?php 
            echo $channel['access_token'];
            ?>
" name="access_token">
									<span class="expires_in_real_time"></span>
									<?php