Exemple #1
0
						<?php 
}
?>
						<?php 
if (!$reportme || count($_SESSION['user']) > 0) {
    ?>
							<?php 
    foreach ($reports as $item) {
        ?>
								<div class="review">
									<span class="stars st<?php 
        echo $item['stars'];
        ?>
"></span>
									<span class="r_date"><?php 
        echo Funcs::convertDate($item['create_date']);
        ?>
										<?php 
        if (count($_SESSION['user']) > 0) {
            ?>
<a href="/catalog/delreport/?id=<?php 
            echo $item['id'];
            ?>
&tree=<?php 
            echo $id;
            ?>
" title="Удалить" onclick="return confirm('Удалить отзыв?');">[x]</a><?php 
        }
        ?>
									</span>
									<h5><?php 
Exemple #2
0
<div class="right-block-content">
    <?php 
CrumbsWidget::run();
?>
	<h1><?php 
echo $name;
?>
</h1>
	<div class="news">
		<?php 
foreach ($list as $item) {
    ?>
		<div class="one-new">
			<span class="date"><?php 
    echo Funcs::convertDate($item['udate']);
    ?>
</span><br/>
			<a href="<?php 
    echo $item['path'];
    ?>
"><?php 
    echo $item['name'];
    ?>
</a>
		</div>
		<?php 
}
?>
	</div>
	<?php 
PaginationWidget::run();