Reply for default theme
This commit is contained in:
parent
06368a3fe9
commit
889a48b971
|
@ -44,14 +44,18 @@ $question = $db->query("SELECT * FROM questions WHERE id = '" . $_GET["q"] . "';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<?php include("../themes/$theme_name/reply.php"); ?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h3><?= $question["question"] ?></h3>
|
<div class="main-container">
|
||||||
|
<h3 class="question"><?= $question["question"] ?></h3>
|
||||||
<form action="" method="post">
|
<form action="" method="post">
|
||||||
<textarea cols=100 rows=10 name="answer_body" placeholder="Write your answer."></textarea><br/>
|
<textarea cols=100 rows=10 name="answer_body" placeholder="Write your answer."></textarea><br/>
|
||||||
<input type="submit" name="answered"/>
|
<input type="submit" name="answered"/>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
.main-container{
|
||||||
|
margin: 20px;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.question{
|
||||||
|
margin-bottom: 20px;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.25pc;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="submit"]{
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
<?php
|
||||||
|
chdir("..");
|
||||||
|
include("main.php");
|
||||||
|
include_css("css/reply.css");
|
||||||
|
?>
|
Loading…
Reference in New Issue