<?xml version="1.0" ?> <opt:root> <opt:prolog /> <opt:dtd template="xhtml10transitional" /> <html> <head> <title>OPT Layout example</title> <!-- an example, how to use opt:selector to create a dynamic CSS chooser --> <opt:selector name="css"> <opt:standard> <link rel="stylesheet" href="main.css" type="text/css" media="screen" /> <link rel="stylesheet" href="text.css" type="text/css" media="screen" /> </opt:standard> <opt:printable> <link rel="stylesheet" href="printable.css" type="text/css" media="print" /> </opt:printable> <opt:default> <link rel="stylesheet" parse:href="$css.file" type="text/css" /> </opt:default> </opt:selector> </head> <body> <div id="header"> <h1>Layout example</h1> <p>This example file shows, how to manage the more advanced layouts with OPT views and sections.</p> <p>Select a module:</p> <ol> <li><a href="index.php?cmd=1">Module A</a></li> <li><a href="index.php?cmd=2">Module B</a></li> <li><a href="index.php?cmd=3">Module C</a></li> <li><a href="index.php?cmd=4">Module A + C</a></li> <li><a href="index.php?cmd=5">Module A + B + C</a></li> </ol> </div> <div id="content"> <opt:section name="modules"> <opt:include from="modules"> <p>We are sorry, but the requested view has not been found.</p> </opt:include> </opt:section> </div> <div id="footer"> <p>Copyright © Invenzzia Group 2009</p> </div> </body> </html> </opt:root>