2 if(isset($_POST["page-style"])){
3 setcookie("page-style", $_POST["page-style"]);
4 header("Location: http://boards.verniy.xyz/?display=" . $_GET["display"]);
9 <base href
="boards.verniy.xyz">
10 <link rel
="stylesheet" type
="text/css" href
="/board-style.css?1" />
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
>
26 <script src
="/board-script.js?3"></script
>
28 <?php
require("class/queue-database-construction.php");
29 echo " <div id='style-settings'>
30 <form action='' method='post'>
31 <label>Native View: </label><input type='radio' name='page-style' value='native' checked=1>
32 <label>Embeded View: </label><input type='radio' name='page-style' value='embeded'". ($_COOKIE["page-style"] == "embeded" ?
"checked=1" : "") . ">
36 echo "<div id='queue-form-container'>";
37 $construction = new QueueDatabaseConstruction();
38 $construction->buildQueueForm();
39 echo "</div></div>";//top settings end
41 echo "<div id='posts-container'>";
42 //function builds all posts inside container
43 $construction->buildThreadPosts($_COOKIE["page-style"], $_COOKIE["display"]);