Example #1
0
&copy;&nbsp; <span id="e2-blog-author"><?php 
echo @$content['blog']['author'];
?>
</span>, <?php 
echo $content['blog']['years-range'];
?>
 
<?php 
if (array_key_exists('admin-hrefs', $content) and array_key_exists('name-and-author', $content['admin-hrefs']) and !_AT($content['admin-hrefs']['name-and-author'])) {
    ?>
  <a href="<?php 
    echo $content['admin-hrefs']['name-and-author'];
    ?>
"><img src="<?php 
    echo _IMGSRC('edit-small.png');
    ?>
" alt="Править" title="Править" /></a>
<?php 
}
Example #2
0
    }
    ?>
	
	<?php 
    if (!@$note['published?']) {
        ?>
	<div class="toolbar">
	  <?php 
        if (array_key_exists('edit-href', $note)) {
            ?>
	    <a href="<?php 
            echo @$note['edit-href'];
            ?>
"><button type="button" class="button">
	      <img src="<?php 
            echo _IMGSRC('edit.png');
            ?>
" alt="" width="16" height="16" />Править
	    </button></a>
	  <?php 
        }
        ?>
	  <div class="toolbar-end"></div>
	</div>
	<?php 
    }
    ?>
	
</article>
<?php 
    _X('note-post');
Example #3
0
<?php

_X('footer-pre');
?>
<footer>
	<hr/>
	<div class="copyright">
		<?php 
if (!$content['sign-in']['done?'] and !$content['sign-in']['necessary?']) {
    ?>
		<a id="e2-visual-login" href="<?php 
    echo $content['hrefs']['sign-in'];
    ?>
"><img src="<?php 
    echo _IMGSRC('login.png');
    ?>
" class="icon" alt="¬ход под паролем" width="16" height="16" /></a>
		<?php 
}
?>
		<?php 
_T('copyrights');
?>
		<div class="authors">
			<?php 
_T('engine-info');
?>
, дизайн &mdash; <a href="http://nikitin.cc/e2_literra">Literra</a>.
		</div>
	</div>
	<div class="searchform">
Example #4
0
<form
  id="e2-form-search"
  class="e2-enterable"
  action="<?php 
    echo @$content['form-search']['form-action'];
    ?>
"
  method="post"
>

<div>
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
	<tr valign="middle">
		<td align="right"><img class="loupe" src="<?php 
    echo _IMGSRC('search.gif');
    ?>
" alt="Поиск"
		  width="16" height="16" align="absmiddle"
		  onclick="searchSubmit();"
    /></td>
		<td width="100%">
		<input
		  style="width: 100%" type="search" class="text" name="query" id="query"
		  value="<?php 
    echo @$content['form-search']['query'];
    ?>
"
		/>
		</td>
		<td></td>