<?php include '../config.php';?>

<form action="write.php" method="post">
    Your Name:  <input type="text" value="<?php echo $yourname ?>" name="YN" /><br />
	Server Address:  <input type="text" value="<?php echo $base ?>" name="YB" /><br />
	<br />
	Username:  <input type="text" value="<?php echo $user ?>" name="user" /><br />
	Password:  <input type="text" value="<?php echo $pass ?>" name="pass" /><br />
	<br />
	SAB Enabled:  <input name="sabvisible" id="id" type="checkbox" <?php if($sabvisible > "0")  echo "checked=checked; "; ?> /><br />
	SAB Port:  <input type="text" value="<?php echo $sabport ?>" name="sabport" /><br />
	SAB Name:  <input type="text" value="<?php echo $sabname ?>" name="sabname" /><br />
	SAB Pic:  <input type="text" value="<?php echo $sabpicname ?>" name="sabpicname" /><br />   
	<br />
	Sick Enabled:  <input name="sickvisible" id="id" type="checkbox" <?php if($sickvisible > "0")  echo "checked=checked; "; ?> /><br />
	Sick Type : <input type="radio" name="sicktype" value="1" <?php if($sicktype < "2")  echo "checked=checked; "; ?>>SickBeard / <input type="radio" name="sicktype" value="2" <?php if($sicktype > "1")  echo "checked=checked; "; ?>>SickRage<br />
	Sick Port:  <input type="text" value="<?php echo $sickport ?>" name="sickport" /><br />
	Sick Name:  <input type="text" value="<?php echo $sickname ?>" name="sickname" /><br />
	Sick Pic:  <input type="text" value="<?php echo $sickpicname ?>" name="sickpicname" /><br />   
	<br />
	Couch Enabled:  <input name="couchvisible" id="id" type="checkbox" <?php if($couchvisible > "0")  echo "checked=checked; "; ?> /><br />
	Couch Adults : <input type="radio" name="cpadultsvisible" value="1" <?php if($cpadultsvisible > "0")  echo "checked=checked; "; ?>>Enabled / <input type="radio" name="cpadultsvisible" value="2" <?php if($cpadultsvisible < "1")  echo "checked=checked; "; ?>>Disabled<br />
	Couch Adults Port:  <input type="text" value="<?php echo $cpadults ?>" name="cpadults" /><br />
	Couch Adults Name:  <input type="text" value="<?php echo $cpadultsname ?>" name="cpadultsname" /><br />
	Couch Adults Pic:  <input type="text" value="<?php echo $cpadultspicname ?>" name="cpadultspicname" /><br />   
	Couch Kids : <input type="radio" name="cpkidsvisible" value="1" <?php if($cpkidsvisible > "0")  echo "checked=checked; "; ?>>Enabled / <input type="radio" name="cpkidsvisible" value="2" <?php if($cpkidsvisible < "1")  echo "checked=checked; "; ?>>Disabled<br />
	Couch Kids Port:  <input type="text" value="<?php echo $cpkids ?>" name="cpkids" /><br />
	Couch Kids Name:  <input type="text" value="<?php echo $cpkidsname ?>" name="cpkidsname" /><br />
	Couch Kids Pic:  <input type="text" value="<?php echo $cpkidspicname ?>" name="cpkidspicname" /><br />   
   <input type="submit"  name="submit" value="Update" />
</form>