diff --git a/admin/all.php b/admin/all.php index f9896ee..b30d53d 100644 --- a/admin/all.php +++ b/admin/all.php @@ -59,10 +59,10 @@ foreach (array_reverse($rows) as $i){ if ($i["isrespondedto"] === "f" && $i["ispublic"] == "t") { echo("
"); if ($i["iscwed"] === "t") { - echo("
cw: " . htmlspecialchars($i["cw"]) . "
"); + echo("
cw: " . htmlspecialchars($i["cw"]) . ""); } echo(htmlspecialchars($i["text"])); - echo("
" . $i["time"] . "
"); + echo("
" . $i["time"] . "
"); echo("respond / delete"); } } @@ -72,10 +72,10 @@ foreach (array_reverse($rows) as $i){ if ($i["ispublic"] === "f" && $i["isprivread"] === "f") { echo("
"); if ($i["iscwed"] === "t") { - echo("
cw: " . htmlspecialchars($i["cw"]) . "
"); + echo("
cw: " . htmlspecialchars($i["cw"]) . ""); } echo(htmlspecialchars($i["text"])); - echo("
" . $i["time"] . "
"); + echo("
" . $i["time"] . "
"); echo("mark read / delete"); } } @@ -85,10 +85,10 @@ foreach (array_reverse($rows) as $i){ if ($i["ispublic"] === "t" && $i["isrespondedto"] === "t") { echo("
"); if ($i["iscwed"] === "t") { - echo("
cw: " . htmlspecialchars($i["cw"]) . "
"); + echo("
cw: " . htmlspecialchars($i["cw"]) . ""); } echo(htmlspecialchars($i["text"])); - echo("
" . $i["time"] . "
"); + echo("
" . $i["time"] . "
"); echo("
" . htmlspecialchars($i["responsetext"]) . ""); echo("
" . $i["responsetime"] . "
"); echo("edit response / delete"); @@ -100,10 +100,10 @@ foreach (array_reverse($rows) as $i){ if ($i["ispublic"] === "f" && $i["isprivread"] === "t") { echo("
"); if ($i["iscwed"] === "t") { - echo("
cw: " . htmlspecialchars($i["cw"]) . "
"); + echo("
cw: " . htmlspecialchars($i["cw"]) . ""); } echo(htmlspecialchars($i["text"])); - echo("
" . $i["time"] . "
"); + echo("
" . $i["time"] . "
"); echo("mark unread / delete"); } } diff --git a/fetch.php b/fetch.php index f294af8..0c55a04 100644 --- a/fetch.php +++ b/fetch.php @@ -31,10 +31,10 @@ if (pg_num_rows($qresp) === 0 || $arr["ispublic"] === "f" || $arr["isrespondedto echo("(go back?)"); echo("
"); if ($arr["iscwed"] === "t") { - echo("
cw: " . htmlspecialchars($arr["cw"]) . "
"); + echo("
cw: " . htmlspecialchars($arr["cw"]) . ""); } echo(htmlspecialchars($arr["text"])); - echo("
" . $arr["time"] . "
"); + echo("
" . $arr["time"] . "
"); echo("
" . $arr["responsetext"] . ""); echo("
" . $arr["responsetime"] . "
"); } diff --git a/index.php b/index.php index 83f962b..e59bfe7 100644 --- a/index.php +++ b/index.php @@ -40,10 +40,10 @@ foreach (array_reverse($rows) as $i){ if ($i["ispublic"] === "t" && $i["isrespondedto"] === "t") { echo("
"); if ($i["iscwed"] === "t") { - echo("
cw: " . htmlspecialchars($i["cw"]) . "
"); + echo("
cw: " . htmlspecialchars($i["cw"]) . ""); } echo(htmlspecialchars($i["text"])); - echo("
" . $i["time"] . "
"); + echo("
" . $i["time"] . "
"); echo("
" . htmlspecialchars($i["responsetext"]) . ""); echo("
" . $i["responsetime"] . "
"); echo("permalink");