Пример #1
0
            ?>
					<h1>Flags: <?php 
            echo $content ? $content->headline : $user->nick;
            ?>
</h1>

					<p>No flags</p>
					
					<?php 
        } else {
            ?>
					
						<h1>Flags:</h1>			
						<ul class="flag_list">		
						<?php 
            $flags = $POD->getFlagList();
            foreach ($flags as $flag) {
                ?>
								<li><a href="<?php 
                $POD->podRoot();
                ?>
/admin/flags/?flag=<?php 
                echo $flag['name'];
                ?>
&type=<?php 
                echo $flag['type'];
                ?>
"><?php 
                if ($flag['type'] == "content") {
                    echo $POD->pluralize($flag['count'], '@number piece of content', '@number pieces of content');
                } else {