function getfirstRow($query) { $rs = mysql_query($query, conecDb()); checkForError(); $data = mysql_fetch_row($rs); return $data; }
</fieldset> </div> <div class="btngrp"> <fieldset> <legend>Meine Anfrage betrifft</legend> <input name="betreff" type="radio" value="Datenbank" <?php if ($betreff == "Datenbank") echo "checked=checked"; ?>/>Datenbank <input name="betreff" type="radio" value="Transfer" <?php if ($betreff == "Transfer") echo "checked=checked"; ?>/>Transfer <input name="betreff" type="radio" value="Zeichnung" <?php if ($betreff == "Zeichnung") echo "checked=checked"; ?>/>Zeichnung <input name="betreff" type="radio" value="Rücknahme" <?php if ($betreff == "Rücknahme") echo "checked=checked"; ?>/>Rücknahme </fieldset> </div> <div> <fieldset> <legend><?php checkForError("Nachricht", $errors); ?></legend> <textarea id="nachricht" name="nachricht" rows="7" cols="4"><?php echo $nachricht; ?></textarea> </fieldset> </div> <div> <fieldset> <legend></legend> <input style="float:left;" type="submit" value="senden" /> <input style="float:right;" type="reset" value="löschen" onclick="resetAll();" /> </fieldset> <span style="clear:both;"></span> </div> <div> <fieldset>
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Criar personagem</title> <link rel="stylesheet" href="../CSS/mainStyle.css"> </head> <body> <form action="insertCharacter.php" method="post" enctype="multipart/form-data"> <?php require "../Classes/quickElements.php"; createInputText("Nome: ", "name"); createInputText("Classe: ", "class"); createInputImage("Imagem: ", "img"); ?> <input type="submit" value="Cadastrar" name="submit"><br> <!-- DOING: Implement photo support --> <?php checkForError(); ?> </form> <a href="characters.php" class="greenLink">Ir até a página de personagens</a> </body> </html>
<input name="messagetopic" type="radio" value="Service_Feedback" <?php if ($messagetopic == "Service_Feedback") echo "checked=checked"; ?>/> Service Feedback <input name="messagetopic" type="radio" value="Suggestions_Complaints" <?php if ($messagetopic == "Suggestions_Complaints") echo "checked=checked"; ?>/> Suggestions / Complaints </fieldset> </div> <div> <fieldset> <legend><?php checkForError("Message", $errors); ?></legend> <textarea id="message" name="message" rows="7" cols="4"><?php echo $message; ?></textarea> </fieldset> </div> <div> <fieldset> <legend></legend>
</fieldset> </div> <div class="btngrp"> <fieldset> <legend>Message Topic</legend> <input name="subject" type="radio" value="Database" <?php if ($subject == "Database") echo "checked=checked"; ?>/>Database <input name="subject" type="radio" value="Transfer" <?php if ($subject == "Transfer") echo "checked=checked"; ?>/>Transfer <input name="subject" type="radio" value="Subscription" <?php if ($subject == "Subscription") echo "checked=checked"; ?>/>Subscription <input name="subject" type="radio" value="Redemption" <?php if ($subject == "Redemption") echo "checked=checked"; ?>/>Redemption </fieldset> </div> <div> <fieldset> <legend><?php checkForError("comment", $errors); ?></legend> <textarea id="comment" name="comment" rows="7" cols="4"><?php echo $comment; ?></textarea> </fieldset> </div> <div> <fieldset> <legend></legend> <input style="float:left;" type="submit" value="submit" /> <input style="float:right;" type="reset" value="reset" onclick="resetAll();" /> </fieldset> <span style="clear:both;"></span> </div> <div> <fieldset>