sum stuff :3
This commit is contained in:
parent
aaa9eb154c
commit
369a66073b
6 changed files with 52 additions and 15 deletions
|
@ -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,3 +1,4 @@
|
||||||
|
alerts_privacy_instance = "Despite %s being geared towards user privacy, this instance might not respect such values..."
|
||||||
interactions_adv_aboutx = "About $"
|
interactions_adv_aboutx = "About $"
|
||||||
interactions_basic_about = "About"
|
interactions_basic_about = "About"
|
||||||
interactions_basic_cancel = "Cancel"
|
interactions_basic_cancel = "Cancel"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
if($_GET['content']=='aboutserver'){
|
if($_GET['content']=='aboutserver'){
|
||||||
require 'src/pages/aboutPage.php';
|
require 'src/pages/modern/dynamic/aboutPage.php';
|
||||||
echo '<html><head>';
|
echo '<html><head>';
|
||||||
echo "<link rel=\"stylesheet\" href=\"assets/themes/".$_COOKIE['sts_theme']."/main.css\">";
|
echo "<link rel=\"stylesheet\" href=\"assets/themes/".$_COOKIE['sts_theme']."/main.css\">";
|
||||||
echo '</head><body>';
|
echo '</head><body>';
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
// echo "<!--\tforeach() called!\t\$key:\t$key\t\t\t\$val:\t$val\t-->\n";
|
// echo "<!--\tforeach() called!\t\$key:\t$key\t\t\t\$val:\t$val\t-->\n";
|
||||||
if($key!="GLOBALS"){
|
if($key!="GLOBALS"){
|
||||||
row($kn."/$".$key,$val);
|
row($kn."/$".$key,$val);
|
||||||
if(gettype($val)=="array"){
|
if(gettype($val)=="array" or gettype($val)=="object"){
|
||||||
loop($kn."/\$".$key,$val);
|
loop($kn."/\$".$key,$val);
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
|
|
@ -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>";
|
||||||
?>
|
?>
|
||||||
|
<center>
|
||||||
|
<div class="searchbox">
|
||||||
|
<form id="searchbox">
|
||||||
<?php
|
<?php
|
||||||
echo "<div class=\"searchbox\"><form id=\"searchbox\">\n";
|
echo "<input class=\"sbox\" type=\"".$_COOKIE['sts_flags']->any->sbox->input_type->__toString()."\" placeholder=\"".$strings['interactions_searcharea_hint']."\" name=\"query\">\n";
|
||||||
echo "<input class=\"sbox\" type=\"".$_COOKIE['sts_flags']['index']['sbox_type']."\" placeholder=\"".$strings['interactions_searcharea_hint']."\" name=\"query\">";
|
echo "\t<input type=\"submit\" action=\"search.php\" formmethod=\"get\" value=\"".$strings['interactions_basic_search']."\">\n";
|
||||||
echo "<input type=\"submit\" action=\"search.php\" formmethod=\"get\" value=\"".$strings['interactions_basic_search']."\">\n";
|
|
||||||
echo "</form></div>"
|
|
||||||
?>
|
?>
|
||||||
|
</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>
|
||||||
|
|
8
src/privacyCheck.php
Normal file
8
src/privacyCheck.php
Normal file
|
@ -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 a new issue