Esempio n. 1
0
?>
			</a>
		<? } ?>
	</span>
	<span class="date">
		<?php 
echo $thread['pretty_date'];
?>
	</span>
	<div class="tbody<?php 
echo empty($thread['multi_content']) ? '' : ' multi';
?>
">
		<? if (!empty($thread['content']['video'])) {
			foreach ($thread['content']['video'] as $video_key => $video) { ?>
				<? if (!sets::board('embedvideo')) { ?>
					<div class="video video_frame" style="height:<?php 
echo $video['height'];
?>
px;">
						<br />
						<input type="button" class="open_video margin10" rel="<?php 
echo $id . '-' . $video_key;
?>
" value="Показать видео">
						<br />
						<input type="button" class="always_embed_video" value="Всегда показывать">
					</div>
				<? } else { ?>
					<div class="video">
						<?php 
Esempio n. 2
0
?>
>5</option>
	<option value="7"<?php 
echo sets::pp('board_posts') == 7 ? ' selected="yes"' : '';
?>
>7</option>
	<option value="10"<?php 
echo sets::pp('board_posts') == 10 ? ' selected="yes"' : '';
?>
>10</option>
	<option value="15"<?php 
echo sets::pp('board_posts') == 15 ? ' selected="yes"' : '';
?>
>15</option>
	<option value="20"<?php 
echo sets::pp('board_posts') == 20 ? ' selected="yes"' : '';
?>
>20</option>
</select>
<br />
Все треды на главной: 
<input type="checkbox" class="settings" rel="board.allthreads" value="1"<?php 
echo sets::board('allthreads') ? ' checked' : '';
?>
>
<br />
Сразу показывать видео: 
<input type="checkbox" class="settings" rel="board.embedvideo" value="1"<?php 
echo sets::board('embedvideo') ? ' checked' : '';
?>
>