Přidání ikon sociálních sítí do každého příspěvku
Zobraz si zdrojový kód přikladu a zkopíruj jej včetně .css do šablony entry-default.tpl
redakční systém bez MySQL
Zobraz si zdrojový kód přikladu a zkopíruj jej včetně .css do šablony entry-default.tpl
Ukázky použití pluginu inlinephp
[ exec]$datum = StrFTime("%d.%m.%Y %H:%M:%S", Time()); echo($datum);[/exec] [ exec]$ip = $_SERVER['HTTP_CLIENT_IP'] ? $_SERVER['HTTP_CLIENT_IP'] : ($_SERVER['HTTP_X_FORWARDED_FOR'] ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']); echo "IP: ".($ip);[/exec] [ exec]header('Refresh: 60');[/exec] [ exec] echo "random ".(rand(10,100))."<br>"; echo "PHP ".PHP_VERSION."<br>"; echo "FLATPRESS ".$smarty.SYSTEM_VER."<br>"; $locale = locale_accept_from_http($_SERVER['HTTP_ACCEPT_LANGUAGE']); echo $locale."<br>"; echo dirname( __FILE__ )."<br>"; [/exec] [ exec]echo password_hash("loginpassword", PASSWORD_DEFAULT);[/exec] you can run file: /fp-plugins/locale.php [ exec]require_once('../locale.php');[/exec]
Add random “Lorem ipsum” z https://loripsum.net/api/5/medium
Parametery jsou (short, medium, long, verylong)
$themeReplace['description'] = file_get_contents('http://loripsum.net/api');
Deprecated: Function strftime() is deprecated in /home/eywjamcd/flatpress.cz/fp-plugins/inlinephp/exec_php.php5(4) : eval()’d code on line 1
01.07.2025 03:08:25
Warning: Undefined array key “HTTP_CLIENT_IP” in /home/eywjamcd/flatpress.cz/fp-plugins/inlinephp/exec_php.php5(4) : eval()’d code on line 1
IP: 10.1.70.73
random 79
PHP 8.2.28
Warning: Undefined variable $smarty in /home/eywjamcd/flatpress.cz/fp-plugins/inlinephp/exec_php.php5(4) : eval()’d code on line 4
FLATPRESS 1.3.1
Warning: Undefined array key “HTTP_ACCEPT_LANGUAGE” in /home/eywjamcd/flatpress.cz/fp-plugins/inlinephp/exec_php.php5(4) : eval()’d code on line 5
Deprecated: locale_accept_from_http(): Passing null to parameter #1 ($header) of type string is deprecated in /home/eywjamcd/flatpress.cz/fp-plugins/inlinephp/exec_php.php5(4) : eval()’d code on line 5
/home/eywjamcd/flatpress.cz/fp-plugins/inlinephp
$2y$10$RkSZOvs.mwAX5DyxYQqK..Lxp4YRA4hHNiuFEE37fVIwRHE8Rwisa
všechny odkazy se otevřou v novém okně [html]<base target="_blank">[/html] <pre>Chorus: Em A A common love for each other F#m Bm A common gift to the Saviour </pre> Odpočet [html]<script> var start = 60; var interval = setInterval(function() { start--; if (start == 0) { clearInterval( interval ); } document.getElementById("time").innerHTML = start; },1000); </script> <span id="time">60</span><p>[/html] [html]<table border="1"> <tr> <td>Buňka 1</td> <td>Buňka 2</td> <td>Buňka 3</td> </tr> <tr> <td>Buňka 4</td> <td>Buňka 5</td> <td>Buňka 6</td> </tr> </table>[/html] iframe [html]<iframe src="http://mohelno.cz/radar.html" style="border:none" width="200" height="400"></iframe>[/html] rolující text [html]<marquee bgcolor="#999999" behavior=alternate scrolldelay=250 width=50%> <strong><font face="verdana" color="#ffffff">rolující text</font></strong></marquee>[/html] <div class="col-lg-6 col-md-6 col-sm-14" style="background-color: red"> Column 1 </div> <div class="col-lg-6 col-md-6 col-sm-16" style="background-color: green"> Column 2 </div> move to the previous page [html]<a href="javascript:history.back(1)">Back</a>[/html] open new window [html]<a href="#" onClick="window.open('http://mohelno.cz/radar.html', 'titulek','resizable, status, width=480,height=360,')">Open new window</a>[/html]
Chorus: Em A A common love for each other F#m Bm A common gift to the Saviour
Odpočet 60
Buňka 1 | Buňka 2 | Buňka 3 |
Buňka 4 | Buňka 5 | Buňka 6 |
Nemůžete se přihlásit do administrace?
$2y$10$OWt9NEdACiqbGvjKY5K30.NQ31IPBeByOOBzcZmro/jM0TcG7HJMu
Zde si vygenerujte nový hash ze svého jména a hesla (vložte bez mezer loginpassword) a tento hash vložte do souboru /fp-content/users/userid.php Jde o php funkci password_hash(”loginpassword”)
Nebo můžete znovu spustit setup smazáním souboru: /fp-content/%%setup.lock