当前位置: 首页>>代码示例>>PHP>>正文


PHP cal_url函数代码示例

本文整理汇总了PHP中cal_url函数的典型用法代码示例。如果您正苦于以下问题:PHP cal_url函数的具体用法?PHP cal_url怎么用?PHP cal_url使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了cal_url函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: my_menu_user

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>';
}
开发者ID:pvidali,项目名称:BCSR-1,代码行数:8,代码来源:hacks.php

示例2: exit

<?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>
开发者ID:pvidali,项目名称:BCSR-1,代码行数:31,代码来源:map.php

示例3: cal_url

 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 
开发者ID:pvidali,项目名称:BCSR-1,代码行数:31,代码来源:index.php

示例4: exit

/**
 * @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();
?>
	
开发者ID:pvidali,项目名称:BCSR-1,代码行数:29,代码来源:user.php

示例5: exit

 */
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();
开发者ID:pvidali,项目名称:BCSR-1,代码行数:31,代码来源:newsletter.php

示例6: event_lang

?>
" 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>
			
开发者ID:pvidali,项目名称:BCSR-1,代码行数:30,代码来源:event.php

示例7: digest_location_list

?>
		</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();
开发者ID:pvidali,项目名称:BCSR-1,代码行数:31,代码来源:digest.php

示例8: exit

<?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>
开发者ID:pvidali,项目名称:BCSR-1,代码行数:25,代码来源:footer.php

示例9: array

<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">
开发者ID:pvidali,项目名称:BCSR-1,代码行数:31,代码来源:event.php

示例10: series_meta

$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];
开发者ID:pvidali,项目名称:BCSR-1,代码行数:31,代码来源:series.php

示例11: series_map

/**
 * 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);
}
开发者ID:pvidali,项目名称:BCSR-1,代码行数:21,代码来源:events.php


注:本文中的cal_url函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。