From 6191db70f7f3eda81a80418776e123c3eabb6880 Mon Sep 17 00:00:00 2001
From: Varun <31084854+Borumer@users.noreply.github.com>
Date: Mon, 20 Jan 2020 18:19:43 -0500
Subject: [PATCH 1/7] Add comment tr and start ruleset
---
css/profile.css | 3 +++
pages/question.php | 62 +++++++++++++++++++++++++---------------------
2 files changed, 37 insertions(+), 28 deletions(-)
diff --git a/css/profile.css b/css/profile.css
index 0ba867c..cad1798 100644
--- a/css/profile.css
+++ b/css/profile.css
@@ -72,3 +72,6 @@ div.page-with-form-body > form > p.form-inputs {
background-color: #eeeeee;
}
+#question-page-table div.comment-section {
+ text-align:left;
+}
diff --git a/pages/question.php b/pages/question.php
index ec09269..bdfbb64 100644
--- a/pages/question.php
+++ b/pages/question.php
@@ -1,12 +1,12 @@
+?>
-
+
-
{$rowCorr[1]}\n";
echo $votedownbtn;
- ?>
+ ?>
|
-
+
|
- '>
'>
-
+
@@ -123,8 +123,15 @@ function getNoAccountButton($way) {
-
-
+
+
+ |
+
+ $uparrow\n" : $noAccountVoteUpBtn;
- $votedownbtn = isset($_SESSION['id']) ? "\t\t\n" : $noAccountVoteDownBtn;
-
+ $votedownbtn = isset($_SESSION['id']) ? "\t\t\n" : $noAccountVoteDownBtn;
+
echo "";
echo "";
echo $voteupbtn;
-
+
$voteCount = $row2['votes'] == null ? 0 : $row2['votes'];
-
+
echo "\t\t
$voteCount ";
echo $votedownbtn;
echo " | ";
@@ -173,7 +180,7 @@ function getNoAccountButton($way) {
-
+
";
$counter++;
@@ -206,7 +213,6 @@ function getNoAccountButton($way) {
}
}
- mysqli_close($dbc);
+ mysqli_close($dbc);
include('includes/footer.html');
?>
-
From fe17e2a1f8be6a135ce1ade23a22f086202ce109 Mon Sep 17 00:00:00 2001
From: Varun <31084854+Borumer@users.noreply.github.com>
Date: Mon, 20 Jan 2020 20:38:42 -0500
Subject: [PATCH 2/7] Fix social media icon disappearing bug
---
pages/includes/footer.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pages/includes/footer.html b/pages/includes/footer.html
index 597748f..1ad22b4 100644
--- a/pages/includes/footer.html
+++ b/pages/includes/footer.html
@@ -11,9 +11,9 @@