<?php _JS('scaleimage'); ?> <?php foreach ($content['notes'] as $note) { _X('note-pre'); ?> <article> <h3 class="article-name"><?php echo _A('<a href="' . $note['href'] . '">' . $note['title'] . '</a>'); ?> </h3> <div class="article-menu"> <?php if (array_key_exists('favourite-toggle-href', $note)) { ?> <a href="<?php echo $note['favourite-toggle-href']; ?> " class="e2-favourite-toggle"> <img src="<?php echo _IMGSRC('star-' . ($note['favourite?'] ? 'set' : 'unset') . '.png'); ?> " alt="Избранное" title="Избранное" /></a> <?php } else { ?>
<?php _CSS('main'); ?> <?php _CSS('style'); ?> <?php _JS('script'); ?> <?php if ($content['sign-in']['done?']) { ?> <?php _JS('admin'); ?> <?php _CSS('admin'); ?> <?php } ?> <e2:head-data /> <!--<script src="script/script.js"></script>--> <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body>