Example #1
0
    ?>
				<div class="contest-introtext">
					<?php 
    echo $contest_intro_text;
    ?>
				</div>
				<div class="contest-fulltext">
					<?php 
    echo $contest_full_text;
    ?>
				</div>				
			</div>
		</div>

		<?php 
    if (AkrecipesFrontendHelper::isContestLive($this->item) && $this->item->add_recipe == 1) {
        ?>
			<?php 
        $add_recipe_url = JRoute::_(AkrecipesHelperRoute::getAddRecipeRoute());
        ?>

			<div class="row contest-participate">
				<div class="col-md-10 col-md-offset-1">
					<div class="btn-group btn-group-justified">
						<a class="btn btn-primary" role="button" href="<?php 
        echo $add_recipe_url;
        ?>
" title="<?php 
        echo 'Add New Recipe & Participate in  ' . $this->item->contest_name;
        ?>
">
Example #2
0
									<h3><?php 
    echo $item->contest_name;
    ?>
</h3>
								</a>
								<?php 
    echo $contest_state;
    ?>

								<p><?php 
    echo $contest_introtext;
    ?>
</p>

								<?php 
    if (AkrecipesFrontendHelper::isContestLive($item)) {
        ?>
									<div class="contest-participate-btn">
										<a class="btn btn-primary btn-xs" role="button" href="<?php 
        echo $contest_url;
        ?>
" title="<?php 
        echo 'Add New Recipe & Participate in  ' . $item->contest_name;
        ?>
">
																		Participate Now
										</a>
										<p>Contest Ends : <?php 
        echo JHtml::_('date', $contest_start_date, JText::_('DATE_FORMAT_LC3'));
        ?>
</p>