sum stuff :3
This commit is contained in:
parent
aaa9eb154c
commit
369a66073b
6 changed files with 52 additions and 15 deletions
|
@ -56,7 +56,7 @@
|
|||
// echo "<!--\tforeach() called!\t\$key:\t$key\t\t\t\$val:\t$val\t-->\n";
|
||||
if($key!="GLOBALS"){
|
||||
row($kn."/$".$key,$val);
|
||||
if(gettype($val)=="array"){
|
||||
if(gettype($val)=="array" or gettype($val)=="object"){
|
||||
loop($kn."/\$".$key,$val);
|
||||
}
|
||||
}else{
|
||||
|
|
|
@ -1,14 +1,28 @@
|
|||
<?php
|
||||
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>"
|
||||
<?php //require __DIR__.'/../../debug/dumpSuperGlobals.php';
|
||||
echo "<h1 title=\"".$strings['misc_stslogohover']."\">".file_get_contents("data/misc/icon/html.html")."</h1><br>";
|
||||
?>
|
||||
<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="footeri right">
|
||||
</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…
Add table
Add a link
Reference in a new issue