Loading .idea/workspace.xml +1 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ </component> <component name="ChangeListManager"> <list default="true" id="2b17b81e-3e24-4cf6-9007-df4d9df4df30" name="Changes" comment=""> <change afterPath="$PROJECT_DIR$/components/footer.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/components/recent.php" beforeDir="false" afterPath="$PROJECT_DIR$/components/recent.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.php" afterDir="false" /> Loading Loading @@ -66,7 +65,7 @@ <option name="presentableId" value="Default" /> <updated>1754973409416</updated> <workItem from="1754973410430" duration="2774000" /> <workItem from="1754976392084" duration="10289000" /> <workItem from="1754976392084" duration="13007000" /> </task> <servers /> </component> Loading components/recent.php +5 −5 Original line number Diff line number Diff line <h3>Recent Wastes</h3> <ul> <H3>Recent Wastes</H3> <UL> <?php $connection = mysqli_connect($db['host'], $db['user'], $db['pass'], $db['db']); if (mysqli_connect_errno()) { Loading @@ -11,8 +11,8 @@ while ($row = mysqli_fetch_assoc($result)) { ?> <LI> <a href="/viewpaste.php?p=<?= $row['slug']; ?>"><i><?= ($row["title"] == "") ? "Untitled" : htmlentities($row["title"]) ?></i></a> <br> <A href="/viewpaste.php?p=<?= $row['slug']; ?>"><I><?= ($row["title"] == "") ? "Untitled" : htmlentities($row["title"]) ?></I></A> <BR> <?= $row['timestamp']; ?> </LI> <?php Loading @@ -20,4 +20,4 @@ ?> </ul> </UL> index.php +3 −3 Original line number Diff line number Diff line Loading @@ -2,9 +2,9 @@ include_once 'components/header.php'; require_once 'includes/globals.php'; ?> <h2>Welcome to Wastebin!</h2> <p>It's like Pastebin, but probably HTML3 compliant! I'm not sure, I didn't check.</p> <p>Max size 1MB</p> <H2>Welcome to Wastebin!</H2> <P></P>It's like Pastebin, but probably HTML3 compliant! I'm not sure, I didn't check.</p> <P>Max size 1MB</P> <FORM action="paste.php" method="POST"> <TABLE> Loading viewpaste.php +2 −2 Original line number Diff line number Diff line Loading @@ -17,8 +17,8 @@ if(!$result){ } ?> <h2><?= ($result["title"] == "") ? "Untitled" : $result["title"] ?></h2> <p><?= $result['timestamp']; ?></p> <H2><?= ($result["title"] == "") ? "Untitled" : $result["title"] ?></H2> <P><?= $result['timestamp']; ?></P> <TABLE> <TR> <TD WIDTH="600"> Loading Loading
.idea/workspace.xml +1 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ </component> <component name="ChangeListManager"> <list default="true" id="2b17b81e-3e24-4cf6-9007-df4d9df4df30" name="Changes" comment=""> <change afterPath="$PROJECT_DIR$/components/footer.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/components/recent.php" beforeDir="false" afterPath="$PROJECT_DIR$/components/recent.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.php" afterDir="false" /> Loading Loading @@ -66,7 +65,7 @@ <option name="presentableId" value="Default" /> <updated>1754973409416</updated> <workItem from="1754973410430" duration="2774000" /> <workItem from="1754976392084" duration="10289000" /> <workItem from="1754976392084" duration="13007000" /> </task> <servers /> </component> Loading
components/recent.php +5 −5 Original line number Diff line number Diff line <h3>Recent Wastes</h3> <ul> <H3>Recent Wastes</H3> <UL> <?php $connection = mysqli_connect($db['host'], $db['user'], $db['pass'], $db['db']); if (mysqli_connect_errno()) { Loading @@ -11,8 +11,8 @@ while ($row = mysqli_fetch_assoc($result)) { ?> <LI> <a href="/viewpaste.php?p=<?= $row['slug']; ?>"><i><?= ($row["title"] == "") ? "Untitled" : htmlentities($row["title"]) ?></i></a> <br> <A href="/viewpaste.php?p=<?= $row['slug']; ?>"><I><?= ($row["title"] == "") ? "Untitled" : htmlentities($row["title"]) ?></I></A> <BR> <?= $row['timestamp']; ?> </LI> <?php Loading @@ -20,4 +20,4 @@ ?> </ul> </UL>
index.php +3 −3 Original line number Diff line number Diff line Loading @@ -2,9 +2,9 @@ include_once 'components/header.php'; require_once 'includes/globals.php'; ?> <h2>Welcome to Wastebin!</h2> <p>It's like Pastebin, but probably HTML3 compliant! I'm not sure, I didn't check.</p> <p>Max size 1MB</p> <H2>Welcome to Wastebin!</H2> <P></P>It's like Pastebin, but probably HTML3 compliant! I'm not sure, I didn't check.</p> <P>Max size 1MB</P> <FORM action="paste.php" method="POST"> <TABLE> Loading
viewpaste.php +2 −2 Original line number Diff line number Diff line Loading @@ -17,8 +17,8 @@ if(!$result){ } ?> <h2><?= ($result["title"] == "") ? "Untitled" : $result["title"] ?></h2> <p><?= $result['timestamp']; ?></p> <H2><?= ($result["title"] == "") ? "Untitled" : $result["title"] ?></H2> <P><?= $result['timestamp']; ?></P> <TABLE> <TR> <TD WIDTH="600"> Loading