Exemple #1
0
					if ($('#email').val())
					{
						$('#email').validationEngine('validate'); 
					}
                    <?php 
if ($this->amount == 0 && !empty($showPaymentInformation)) {
    //The event is free because of discount, so we need to hide payment information
    ?>
                    $('.payment_information').css('display', 'none');
                    <?php 
}
?>
				})
			});		
			var siteUrl = "<?php 
echo EventbookingHelper::getSiteUrl();
?>
";			
			<?php 
echo os_payments::writeJavascriptObjects();
?>
				

			function updateCart(){
				location.href = '<?php 
echo JRoute::_(EventbookingHelperRoute::getViewRoute('cart', $this->Itemid));
?>
' ;
			}																
		</script>	
		<?php 
Exemple #2
0
								</a>
							</div>
						<?php 
                }
                echo "</li>\n";
                break;
        }
        $dn++;
    }
}
?>
	</ul>
</div>
<?php 
if ($config->show_calendar_legend && empty($categoryId)) {
    $categories = EventbookingHelper::getCategories($eventIds);
    ?>
		<div id="eb-calendar-legend" class="clearfix">
			<ul>
				<?php 
    foreach ($categories as $category) {
        ?>
						<li>
							<span class="eb-category-legend-color" style="background: #<?php 
        echo $category->color_code;
        ?>
"></span>
							<a href="<?php 
        echo JRoute::_(EventbookingHelperRoute::getCategoryRoute($category->id, $Itemid));
        ?>
"><?php 
Exemple #3
0
 btn-default" href="<?php 
        echo $link;
        ?>
">
								<i class="<?php 
        echo $class;
        ?>
"></i>
								<?php 
        echo $text;
        ?>
							</a>
						</li>
					<?php 
    }
    if ($event->total_registrants && EventbookingHelper::canExportRegistrants($event->id)) {
        ?>
						<li>
							<a class="<?php 
        echo $btnClass;
        ?>
 btn-default" href="<?php 
        echo JRoute::_('index.php?option=com_eventbooking&task=registrant.export&event_id=' . $event->id . '&Itemid=' . $Itemid);
        ?>
">
								<i class="<?php 
        echo $iconDownloadClass;
        ?>
"></i>
								<?php 
        echo JText::_('EB_EXPORT_REGISTRANTS');
Exemple #4
0
		<div id="itp-social-buttons-box" class="row-fluid">
			<div id="eb-share-text"><?php 
    echo JText::_('EB_SHARE_THIS_EVENT');
    ?>
</div>
			<div id="eb-share-button">
				<?php 
    $title = $item->title;
    $html = EventbookingHelper::getDeliciousButton($title, $socialUrl);
    $html .= EventbookingHelper::getDiggButton($title, $socialUrl);
    $html .= EventbookingHelper::getFacebookButton($title, $socialUrl);
    $html .= EventbookingHelper::getGoogleButton($title, $socialUrl);
    $html .= EventbookingHelper::getStumbleuponButton($title, $socialUrl);
    $html .= EventbookingHelper::getTechnoratiButton($title, $socialUrl);
    $html .= EventbookingHelper::getTwitterButton($title, $socialUrl);
    $html .= EventbookingHelper::getLinkedInButton($title, $socialUrl);
    echo $html;
    ?>
			</div>
		</div>
	<?php 
}
?>
	</div>
</div>

<form name="adminForm" id="adminForm" action="index.php" method="post">
	<input type="hidden" name="option" value="com_eventbooking" />
	<input type="hidden" name="task" value="" />
	<input type="hidden" name="id" value="" />
	<input type="hidden" name="Itemid" value="<?php