11
Quick, more simple fix here...
In the line:
le="color: #000000"><?php $result = $db->query("SELECT * FROM ".$db->prefix("rmmf_works")." ORDER BY id_w DESC LIMIT 0,$options[0]");
You should be able to change the
le="color: #000000"><?php ORDER BY id_w DESC
to simply
le="color: #000000"><?php ORDER BY RAND()
Hope that works, enjoy!