sum stuff :3
parent
aaa9eb154c
commit
369a66073b
@ -1,21 +1,35 @@
|
|||||||
h1 {
|
h1 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 15%;
|
margin-top: 15%;
|
||||||
font-size: 14vw;
|
font-size: 11vw;
|
||||||
}
|
}
|
||||||
div {
|
div {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: auto;
|
width: auto;
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: 30%;
|
/*margin-left: 30%;
|
||||||
margin-right: 30%;
|
margin-right: 30%; */
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
div.quotebox {
|
||||||
|
width: fit-content;
|
||||||
|
display: block;
|
||||||
|
color: slateblue;
|
||||||
|
text-align: center;
|
||||||
|
border: 3px solid darkblue;
|
||||||
|
}
|
||||||
|
div.quotebox p#qoti{
|
||||||
|
margin: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
input[type="submit"]{
|
input[type="submit"]{
|
||||||
/*margin: 0;*/
|
/*margin: 0;*/
|
||||||
margin-right: 30;
|
margin-right: 30;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
input[type="text"]{
|
input[type="text"]{
|
||||||
width: 85%;
|
width: 43vw;
|
||||||
}
|
}
|
@ -1,14 +1,28 @@
|
|||||||
<?php
|
<?php //require __DIR__.'/../../debug/dumpSuperGlobals.php';
|
||||||
echo "<h1 title=\"".$strings['misc_stslogohover']."\">".file_get_contents("data/misc/icon/html.html")."</h1><br>";
|
echo "<h1 title=\"".$strings['misc_stslogohover']."\">".file_get_contents("data/misc/icon/html.html")."</h1><br>";
|
||||||
?>
|
|
||||||
<?php
|
|
||||||
echo "<div class=\"searchbox\"><form id=\"searchbox\">\n";
|
|
||||||
echo "<input class=\"sbox\" type=\"".$_COOKIE['sts_flags']['index']['sbox_type']."\" placeholder=\"".$strings['interactions_searcharea_hint']."\" name=\"query\">";
|
|
||||||
echo "<input type=\"submit\" action=\"search.php\" formmethod=\"get\" value=\"".$strings['interactions_basic_search']."\">\n";
|
|
||||||
echo "</form></div>"
|
|
||||||
?>
|
?>
|
||||||
|
<center>
|
||||||
|
<div class="searchbox">
|
||||||
|
<form id="searchbox">
|
||||||
|
<?php
|
||||||
|
echo "<input class=\"sbox\" type=\"".$_COOKIE['sts_flags']->any->sbox->input_type->__toString()."\" placeholder=\"".$strings['interactions_searcharea_hint']."\" name=\"query\">\n";
|
||||||
|
echo "\t<input type=\"submit\" action=\"search.php\" formmethod=\"get\" value=\"".$strings['interactions_basic_search']."\">\n";
|
||||||
|
?>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<div class="quotebox">
|
||||||
|
<p id="qtoi">
|
||||||
|
<?php
|
||||||
|
require __DIR__.'/../../privacyCheck.php';
|
||||||
|
if(checkPrivacy()){
|
||||||
|
echo sprintf($strings['alerts_privacy_instance'],$strings['meta_project_name']);
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</center>
|
||||||
|
|
||||||
<iframe style="position:absolute;bottom:30px;right:10px;" src="dynamicGen.php?content=aboutserver" width="376" height="276"></iframe>
|
<!--<iframe style="position:absolute;bottom:30px;right:10px;" src="dynamicGen.php?content=aboutserver" width="376" height="276"></iframe>-->
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="footeri right">
|
<div class="footeri right">
|
||||||
</div>
|
</div>
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
<?php $GLOBALS;$_SERVER;$_REQUEST;$_SESSION;$_ENV;
|
||||||
|
function checkPrivacy(){
|
||||||
|
// check if host is replit
|
||||||
|
if(isset($_ENV['REPLIT_DB_URL'])){
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
Loading…
Reference in New Issue