Only the random part isn´t implemented. - And {SHOW_ID_IMAGE} is a frontend_render script.
Please don´t use outboarded php scripts. (Secure).
The better solution is a frontend_render script.
And have a look:
Code: Select all
// ----------------------------------------------------------------
// obligate check for phpwcms constants
if (!defined('PHPWCMS_ROOT')) {
die("You Cannot Access This Script Directly, Have a Nice Day.");
}
// ----------------------------------------------------------------