Hochladen aller Dateien des Projekts.

This commit is contained in:
2024-06-13 22:21:23 +02:00
parent 8af145816f
commit 2e0cd7dee3
650 changed files with 97218 additions and 0 deletions

25
plugins/us_plugin_zitate.php Executable file
View File

@@ -0,0 +1,25 @@
<?php
$ergebnis = liefere_wertemenge_elemente( $_SESSION[ "mandant_name" ], "zitate" );
$anzahl = count( $ergebnis[ 2 ] );
$z_nr = rand( 0, bcsub( $anzahl, 1 ) );
$zitat = $ergebnis[ 2 ][ $z_nr ];
echo "<center><div style='max-width:1000px;'><br /><b>".$zitat[ "text_01" ]."</b><br /><br />";
if ( strlen( $zitat[ "alpha_02" ] ) > 0 )
{
$zitat_erw = ", ".$zitat[ "alpha_02" ];
}
else
{
$zitat_erw = "";
}
echo "(".$zitat[ "alpha_01" ].$zitat_erw.")</div></center><br />";
?>