Пример #1
0
?>
</a><br />
			<a target="_blank" href="http://readyshoppingcart.com/product/coming-soon-plugin-pro-version/"><?php 
echo CSP_VERSION;
?>
</a><br />
		</div>
		<div class="clear"></div>
		<div class="spacer"></div>

		<h2>Where did you find us?</h2>
		<?php 
foreach ($this->askOptions as $askId => $askOpt) {
    ?>
			<label><?php 
    echo htmlCsp::radiobutton('where_find_us', array('value' => $askId));
    ?>
&nbsp;<?php 
    echo $askOpt['label'];
    ?>
</label>
			<?php 
    if ($askId == 4) {
        ?>
				<label id="toeFindUsUrlShell" style="display: none;">Please, post url: <?php 
        echo htmlCsp::text('find_on_web_url');
        ?>
</label>
			<?php 
    } elseif ($askId == 5) {
        ?>
                    <?php 
echo htmlCsp::radiobutton('opt_values[bg_img_show_type]', array('value' => 'stretch', 'attrs' => 'id="cspBgImgShowType-stretch"', 'checked' => $this->optModel->get('bg_img_show_type') == 'stretch'));
?>
                    <label for="cspBgImgShowType-stretch" class="button button-large"><?php 
langCsp::_e('Stretch');
?>
</label>
                    <?php 
echo htmlCsp::radiobutton('opt_values[bg_img_show_type]', array('value' => 'center', 'attrs' => 'id="cspBgImgShowType-center"', 'checked' => $this->optModel->get('bg_img_show_type') == 'center'));
?>
                    <label for="cspBgImgShowType-center" class="button button-large"><?php 
langCsp::_e('Center');
?>
</label>
                    <?php 
echo htmlCsp::radiobutton('opt_values[bg_img_show_type]', array('value' => 'tile', 'attrs' => 'id="cspBgImgShowType-tile"', 'checked' => $this->optModel->get('bg_img_show_type') == 'tile'));
?>
                    <label for="cspBgImgShowType-tile" class="button button-large"><?php 
langCsp::_e('Tile');
?>
</label>
                </div>
                <div class="cspTip cspTipArrowUp">
                    <?php 
langCsp::_e('Choose a one of way how to display the site background.');
?>
                </div>
                <?php 
echo htmlCsp::button(array('value' => langCsp::_('Remove image'), 'attrs' => 'id="cspImgBgRemove" class="button button-large" style="width:100%;"'));
?>
				<?php