1
I just want to share something with you, I have finished setting up my module demonstration again at
http://2.5.xoops.demo.labs.coop -- but to finish it off I added just a block below the menu that people can turn of for the demo; that constantly changes the Lorea Ipsum each refresh; this not only help with the score of the page or way visiblely to the search engines changing, it will also provide some control on the physical environment.
The code for that block is:-
for($y=1;$y<=2;$y++)
if (mt_rand(-1,4)>=1)
{
$rows = 1;
echo ""
. implode(""
, json_decode(file_get_contents("http://lipsum.labs.coop/v1/paragraphs/any/1/".$rows."/json.api"), true)) . "";
} else {
$rows = 1;
foreach(json_decode(file_get_contents("http://lipsum.labs.coop/v1/lists/any/".($items = mt_rand(1,4))."/".$rows."/json.api"), true) as $list) {
$liststyle = mt_rand(0, 1)!=1?"ol":"ul";
echo "<$liststyle style='margin: 9px; padding: 3px; font-size: 0.89em; text-align: justify; text-shadow: 2px 1px -2px #e0033a;'>" . implode("", $list) . "$liststyle>";
}
}
Thanks Enjoye !~ wishcraft