" . $i["time"] . "
");
@@ -74,4 +74,4 @@ foreach (array_reverse($rows) as $i){
}
}
-?>
\ No newline at end of file
+?>
diff --git a/admin/respond.php b/admin/respond.php
index aed9d20..1c2a7e0 100644
--- a/admin/respond.php
+++ b/admin/respond.php
@@ -46,7 +46,7 @@ if ($arr["ispublic"] === "f") {
echo("");
if ($arr["iscwed"] === "t") {
- echo("
cw: " . $arr["cw"] . "
");
+ echo("
cw: " . htmlspecialchars($arr["cw"]) . "
");
}
echo(htmlspecialchars($arr["text"]));
echo("
" . $arr["time"] . "
");
@@ -60,4 +60,4 @@ if ($arr["ispublic"] === "f") {
echo("
");
}
-?>
\ No newline at end of file
+?>
diff --git a/fetch.php b/fetch.php
index c3b043d..505d24e 100644
--- a/fetch.php
+++ b/fetch.php
@@ -28,7 +28,7 @@ if (pg_num_rows($qresp) === 0 || $arr["ispublic"] === "f" || $arr["isrespondedto
echo("
(go back?)");
echo("
");
if ($arr["iscwed"] === "t") {
- echo("
cw: " . $arr["cw"] . "
");
+ echo("cw: " . htmlspecialchars($arr["cw"]) . "
");
}
echo(htmlspecialchars($arr["text"]));
echo("" . $arr["time"] . "
");
@@ -36,4 +36,4 @@ if (pg_num_rows($qresp) === 0 || $arr["ispublic"] === "f" || $arr["isrespondedto
echo("" . $arr["responsetime"] . "
");
}
-?>
\ No newline at end of file
+?>
diff --git a/index.php b/index.php
index 6146864..999474d 100644
--- a/index.php
+++ b/index.php
@@ -36,7 +36,7 @@ foreach (array_reverse($rows) as $i){
if ($i["ispublic"] === "t" && $i["isrespondedto"] === "t") {
echo("