2 if(isset($_POST["page-style"])){
3 setcookie("page-style", $_POST["page-style"]);
4 header("Location: http://boards.verniy.xyz/?thread=" . $_GET["thread"]);
9 <base href
="boards.verniy.xyz">
10 <link rel
="stylesheet" type
="text/css" href
="/board-style.css?4" />
12 <body
class="page-properties">
13 <div id
="top-settings">
14 <ul
class="header-list">
15 <li
><h1
>Anonymous Twitter Project
</h1
></li
>
16 <li
><h2
><a href
="https://twitter.com/Qazoku">Connecting Twitter Page
: @Qazoku
</a
></h2
></li
>
21 <div id
='timer-container'><strong
>Time Until Next Update
: </strong
>
22 <span id
='time'></span
>
24 <!--<a href
="/?display=catalog">Catalog View
</a
> <a href
="/?display=list">List View
</a
>-->
25 <a href
="javascript:void(0);" id
="catalog-link">Catalog View
</a
> <a href
="javascript:void(0);" id
="list-link">List View
</a
>
27 <script src
="/board-script.js?1"></script
>
29 <?php
require("class/queue-database-construction.php");
30 echo " <div id='style-settings'>
31 <form action='' method='post'>
32 <label>Embeded View: </label><input type='radio' name='page-style' value='embeded' checked=1>
33 <label>Native View: </label><input type='radio' name='page-style' value='native'" . ($_COOKIE["page-style"] == "native" ?
"checked=1" : "") . ">
38 $construction = new QueueDatabaseConstruction();
39 if(isset($_GET["thread"]) && $_GET["thread"] !== ""){
40 echo "</div><div id='posts-container'>";
41 $construction->buildThread($_COOKIE["page-style"], "list", $_GET["thread"]);
45 echo "<div id='queue-form-container'>";
46 $construction->buildQueueForm($_COOKIE["page-style"], $_COOKIE["display"]);
47 echo "</div></div>";//top settings end
49 echo "<div id='posts-container'>";
50 //function builds all posts inside container
51 $construction->buildAllThreads($_COOKIE["page-style"], $_COOKIE["display"]);
55 <script src
="/form-script.js?53442544r65"></script
>