Beispiel #1
0
function my_menu_user()
{
    echo !user_check_status() ? '
		<li><a href="' . cal_url() . '/index.php?com=signin">Sign In</a></li>' : '
		<li><a href="' . cal_url() . '/index.php?com=acc&amp;sec=edit" class="user_menu">Edit Acc.</a></li>
		<li><a href="' . cal_url() . '/index.php?com=acc&amp;sec=list" class="user_menu">My Events</a></li>
		<li><a href="' . cal_url() . '/signout.php" class="user_menu">Sign Out</a></li>';
}
Beispiel #2
0
<?php

/**
 * @package Helios Calendar
 * @subpackage Default Mobile Theme
 */
if (!defined('isHC')) {
    exit(-1);
}
get_header();
get_map_js(map_venue_lat(), map_venue_lon(), 2, cal_url() . '/img/pins/default.png');
?>

</head>
<body onload="map_init()">
	<?php 
my_menu(2);
?>
	
	<nav class="sub">
		<ul>
			<li>&nbsp;</li>
			<li><a href="javascript:;" id="me_link" onclick="map_near_me();">Near Me</a></li>
			<li><a href="javascript:;" id="list_link" onclick="map_list();">Show List</a></li>
			<li><a href="javascript:;" id="reset_link" onclick="map_reset();">Reset</a></li>
		</ul>
	</nav>
	<section>
		<div id="map_list" style="display:none;"></div>
		<div id="map_canvas"></div>
	</section>
Beispiel #3
0
 value="<?php 
echo cal_url();
?>
/index.php?b=1">Monthly</option>
					<option<?php 
echo $_SESSION['BrowseType'] == 0 && !isset($_GET['m']) ? ' selected="selected"' : '';
?>
 value="<?php 
echo cal_url();
?>
/index.php?b=0">Weekly</option>
					<option<?php 
echo $_SESSION['BrowseType'] == 2 || isset($_GET['m']) ? ' selected="selected"' : '';
?>
 value="<?php 
echo cal_url();
?>
/index.php?b=2">Daily</option>
				</select>
			</li>
		</ul>
	</nav>
	
	<section>
		<?php 
event_browse();
?>

	</section>
	
	<?php 
Beispiel #4
0
/**
 * @package Helios Calendar
 * @subpackage Default Theme
 */
if (!defined('isHC')) {
    exit(-1);
}
get_header();
?>

</head>
<body id="top" itemscope itemtype="http://schema.org/WebPage">
	<a name="top"></a>
<?php 
$crumbs = array_merge(array(cal_url() . '/index.php?com=digest' => 'Home', cal_url() => 'Calendar'), $crmbAdd);
build_breadcrumb($crumbs);
?>
	
	<section>	
		<?php 
user_menu();
user_account();
?>
		
	</section>
	
	<?php 
get_side();
?>
	
Beispiel #5
0
 */
if (!defined('isHC')) {
    exit(-1);
}
get_header();
?>

</head>
<body id="top" class="bcsr-cal no-hero" itemscope itemtype="http://schema.org/WebPage">
	<?php 
include 'head.php';
?>
	<a name="top"></a>
<?php 
//$crumbs = array_merge(array(cal_url().'/index.php?com=digest' => 'Home', cal_url() => 'Calendar'),$crmbAdd);
$crumbs = array_merge(array(cal_url() => 'Events'), $crmbAdd);
build_breadcrumb($crumbs);
?>
	<div class="container-fluid">
    <div class="row-fluid">
    <div class="col-md-8">
	<section>	
		
		<?php 
echo news_lang('Welcome');
?>

		<fieldset style="text-align:center;">
			<br />
			<?php 
news_link_signup();
Beispiel #6
0
?>
" class="icon live" target="_blank"><?php 
echo event_lang('CalendarW');
?>
</a><br />

		<?php 
$link = urlencode($myLnks['This']);
$title = urlencode($myEvnt['Title']);
?>
			<h2><?php 
echo event_lang('Share');
?>
</h2>
			<a href="<?php 
echo cal_url() . '/index.php?com=send&amp;eID=' . $myEvnt['EventID'];
?>
" class="icon email"><?php 
echo event_lang('EmailToFriend');
?>
</a><br />
			<?php 
echo $myEvnt['Bitly'] != '' ? '
			<a href="' . $myEvnt['Bitly'] . '.qrcode" target="_blank" rel="nofollow" class="icon qr">' . event_lang('QRCode') . '</a><br />' : '';
?>
			
			<h2><?php 
echo event_lang('Social');
?>
</h2>
			
Beispiel #7
0
?>
		</article>
		
		<hr />
		
		<article class="dgst">
			<h3>Recent Venue Updates:</h3>
			<?php 
digest_location_list(10);
?>
		
		</article>
		
		<hr />
		
		<article class="dgst_news">
			<h3>Recent Newsletters:</h3>
			<?php 
digest_newsletter_list(5, '%B %d');
?>
		
		</article>
		
		<?php 
get_comments('', cal_url() . '/index.php?com=digest', cal_name() . ' Recent Updates', 1);
?>
		
	</section>
	
	<?php 
get_footer();
Beispiel #8
0
<?php

/**
 * @package Helios Calendar
 * @subpackage Default Mobile Theme
 */
if (!defined('isHC')) {
    exit(-1);
}
global $hc_cfg;
?>
	<footer>
		<p>
			<a href="<?php 
echo cal_url() . '/index.php?theme=' . $hc_cfg[83];
?>
" style="float:right;margin-right:10%;">Desktop Theme</a>	
			<a href="http://helioscalendar.org">Powered by Helios Calendar <?php 
echo HCVersion;
?>
</a>
		</p>
	</footer>
</body>
</html>
Beispiel #9
0
<body id="top" itemscope itemtype="http://schema.org/WebPage" class="bcsr-cal no-hero">
	<?php 
include 'head.php';
?>
	<a name="top"></a>
	<div id="fb-root"></div>
	<script>(function(d, s, id) {
	  var js, fjs = d.getElementsByTagName(s)[0];
	  if (d.getElementById(id)) return;
	  js = d.createElement(s); js.id = id;
	  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
	  fjs.parentNode.insertBefore(js, fjs);
	}(document, 'script', 'facebook-jssdk'));</script>
<?php 
//$crumbs = array(cal_url().'/index.php?com=digest' => 'Events', cal_url() => 'Calendar',$myLnks['This'] => $myEvnt['Title']);
$crumbs = array(cal_url() => 'Events', $myLnks['This'] => $myEvnt['Title']);
build_breadcrumb($crumbs, 50);
?>
	<div class="container-fluid">
        <div class="row-fluid">
        <div class="col-md-8">
	<section>
		<article itemscope itemtype="http://schema.org/Event">
			<header>
				<h1 itemprop="name"><?php 
echo $myEvnt['Title'];
?>
</h1>
			</header>
			<div id="evernote">
				<div id="location" itemscope itemprop="location" itemtype="http://schema.org/Place">
Beispiel #10
0
$myMeta = series_meta($mySeries);
get_header();
series_map($mySeries);
?>

	<meta property="og:title" content="<?php 
echo event_lang('SeriesTitle') . ' ' . $myMeta[0];
?>
"/>
	<meta property="og:type" content="article"/>
	<meta property="og:url" content="<?php 
echo cal_url() . '/index.php?com=series&amp;sID=' . $myMeta[2];
?>
"/>
	<meta property="og:image" content="<?php 
echo cal_url() . '/img/like/event.png';
?>
"/>
	<meta property="og:site_name" content="<?php 
echo cal_name();
?>
"/>
	<meta property="og:description" content="<?php 
echo str_replace('"', "'", cleanBreaks(strip_tags($myMeta[1])));
?>
"/>
</head>
<body onload="map_init()" itemscope itemtype="http://schema.org/WebPage">
	<div id="fb-root"></div>
	<script>(function(d, s, id) {
	  var js, fjs = d.getElementsByTagName(s)[0];
Beispiel #11
0
/**
 * Output JavaScript required for current embedded map provider (configured within admin console settings). Activate map by adding call to map_init() in page onload event. Series unique wrapper for get_map_js()
 * @since 2.2.0
 * @version 2.2.0
 * @param resource $result MySQL result set (Requires: ID, Title, Date, Start Time, End Time & TBD, Description, Location ID, Location Name, Location Lat, Location Lon)
 * @return void
 */
function series_map($result)
{
    global $hc_cfg;
    $venues = array();
    $found = array();
    mysql_data_seek($result, 0);
    while ($row = mysql_fetch_row($result)) {
        if (!in_array($row[7], $found)) {
            $venues[] = array($row[7], $row[8], $row[9], $row[10], "", "", "", "", "", "", "", "", "", "");
            $found[] = $row[7];
        }
    }
    get_map_js($venues[0][2], $venues[0][3], 3, cal_url() . '/img/pins/pushpin.png', 0, NULL, $venues);
}