<?php
$navloc = '';
$title = 'Add Build';
include ('includes/func_vars_inc.php');
include ('includes/auth_check.php');
include ('templates/template_top.inc.php');
if (isset($_GET['msg'])){
echo "<p style=\"color:red;\" >".$_GET['msg']."</p>";
}
$query = "SELECT * FROM `builds` WHERE `buildID` = '".$_POST['buildID']."' LIMIT 1;";
$result = dbase_query($query);
$row = mysql_fetch_array($result);
?>
<form action="mod_build_process.php" method="post">
<input type="hidden" name="buildID" value="<?php echo $row['buildID']; ?>">
Build Name<br />
<input type="text" name="buildname" size="20" maxlength="200" value="<?php echo $row['buildname']; ?>"><br />
Comments<br />
<textarea name="comments" rows="5" cols="60"><?php echo $row['comments']; ?></textarea><br />
Certificate<br />
<textarea name="certificate" rows="20" cols="60"><?php echo $row['certificate']; ?></textarea><br />
CA<br />
<textarea name="ca" rows="20" cols="60"><?php echo $row['ca']; ?></textarea><br />
<br />
<input type="submit">
</form>
<?php
include ('templates/template_bottom.inc.php');
?>