I need a PHP script to generate unlimited unique web templates. Template samples will be provided.
My requirements:
1. Each template should be as different as possible so randomness for the web elements like CSS class names would be essential.
2. Each template has different background and bullet image.
3. Each template has random color palette.
4. Each template has randomly generated HTML element names. Also, the HTML has spaces and line breaks thrown in randomly to make it look unique. The CSS is also scrambled and unique.
5. Generate a set of CSS files for each template. It will be explained in details.
6. Each template has random padding margins and borders, random nav elements, and random nav positions, sometimes the header, sometimes the top nav bar, sometimes the sidebar, and sometimes the footer.
7. Tokens, for example {%custom01%}, should be available in the template so that I can put custom codes in the template.
8. A control panel is required so that I can enter the number of templates to be generated and input the custom codes for the tokens.
9. Export the templates and CSS files in specific folders.
All the requirements are presented in the sample templates.