<div class="index_connection">
	<!-- placeholder -->
	<span>Connect to Server</span>
	<input type="input" class="connectionIP" name="" <?php if($_connectType[2]=='listen') echo "disabled='disabled' value='".$_connectType[3]."'"; else echo "value='127.0.0.1';"?>>
	<!-- <?php if($_connectType[2]=='listen') echo "disabled='disabled' value='".$_connectType[3]."'"?> -->
	<input type="input" class="connectionPort" name="" <?php if($_connectType[2]=='listen') echo "disabled='disabled' value='".$_connectType[4]."'"; else echo "value='6970';"?>>
	<!-- <?php if($_connectType[2]=='listen') echo "disabled='disabled' value='".$_connectType[4]."'"?> -->
	<a class="connectionToServerBtn" href="javascript:ConnectToServer();">
	 	<?php 
		 	if($_connectType[2]=='listen') 
		 		echo "<div>Disconnect</div>";
			else
				echo "<div>Connect</div>";
		?>
	</a>
	<div class="connection_undo">
		<!-- <a class="connectionUndoBtn">Undo</a> -->
	</div>
</div>
<link rel="stylesheet" type="text/css" href="css/index_connect.css" />
<script type="text/javascript" src="js/GetJsonData.js"></script>
<script type="text/javascript" src="js/index_connect.js"></script>
<script type="text/javascript" src="js/DeviceToChangePosition.js"></script>





