?> </h2> <form action="classes-view.php?sid=<?php echo $_GET['sid']; ?> " method="post"> <input type="hidden" value="<?php echo $updateclass->id; ?> " name="cls_id" /> Class Date: <input type="datetime" maxlength="40" name="class-date" value="<?php echo DateManager::displaydatefromtmstp($updateclass->c_date); ?> "/> MM/DD/YY Class Time: <input type="text" maxlength="40" name="class-time" value="<?php echo DateManager::backdisplaytimefromtmstp($updateclass->c_date); ?> "/>HH:MM<br /> Available Spots: <input type="text" maxlength="40" name="spots" value="<?php echo $updateclass->spots; ?> "/> <br />Note:<br /> <textarea rows="2" cols="60" name="note"> <?php echo $updateclass->note; ?> </textarea><br /> <input type="submit" name="Update" value="Update" /> </form> <?php } else {