<?php echo $header;?>
<div id="dashboard">
	<div class="container">
<div class="row"><br/></div>
<div class="panel">

	<div class="panel-header">
	<?php if ( empty ( $channel ) ) { ?>
		<?php echo $LANG["WBS_PUB_CHANNEL_NEW"];?>
	<?php } else { ?>
		<?php echo $LANG["WBS_PUB_CHANNEL_UPDATE"];?>
	<?php } ?>
	</div>

<div class="panel-content">
<div class="row"><br/></div>
<div id="campaign-form" class="col-md-12">


	<div class="col-md-12 input-group margin-bottom-10">
		<label><?php echo $LANG["WBS_PUB_CHANNEL_NAME"];?></label>
		<input id="channel-id" name="channel-id" type="text" value="<?php echo $channel['0']['pc_id'];?>" style="display:none;"/>
		<input id="channel-title" type="text" class="form-control" placeholder="<?php echo $LANG["WBS_PUB_CHANNEL_NAME_PLACEHOLDER"];?>" value="<?php echo $channel['0']['pc_title'];?>">
	</div>



<div class="col-md-12 input-group margin-bottom-10">
	<label><?php echo $LANG["WBS_PUB_CHANNEL_DESCRIPTION"];?></label>
	<textarea id="channel-description" rows="5" class="form-control" placeholder="<?php echo $LANG["WBS_PUB_CHANNEL_DESCRIPTION_PLACEHOLDER"];?>"><?php echo $channel['0']['pc_details'];?></textarea>
</div>


<div class="col-md-12 input-group margin-bottom-10">
	<label><?php echo $LANG["WBS_PUB_CHANNEL_DOMAIN"];?></label>
	<input value="<?php echo $channel['0']['pc_domain'];?>"	id="channel-domain" name="channel-domain" class="form-control" placeholder="<?php echo $LANG["WBS_PUB_CHANNEL_DOMAIN_PLACEHOLDER"];?>"/>
</div>





<div class="col-md-12 input-group margin-bottom-10">
	<div id="channel-loader"></div>
</div>

<div class="col-md-12 input-group margin-bottom-10">
	<button id="channel-submit" type="submit" class="btn blue-btn pull-right"><?php echo $LANG["WBS_PUB_CHANNEL_SUBMIT"];?></button>
</div>


</div>
<div class="row"><br/></div>
</div>

</div>
</div>
</div>
<?php echo $footer;?>