本文整理汇总了PHP中generatetime函数的典型用法代码示例。如果您正苦于以下问题:PHP generatetime函数的具体用法?PHP generatetime怎么用?PHP generatetime使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了generatetime函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: generatetime
generatetime("20:15:00", "");
generatetime("20:30:00", "");
generatetime("20:45:00", "");
generatetime("21:00:00", "");
generatetime("21:15:00", "");
generatetime("21:30:00", "");
generatetime("21:45:00", "");
generatetime("22:00:00", "Late Evening");
generatetime("22:15:00", "");
generatetime("22:30:00", "");
generatetime("22:45:00", "");
generatetime("23:00:00", "");
generatetime("23:15:00", "");
generatetime("23:30:00", "");
generatetime("23:45:00", "");
generatetime("23:59:00", "Midnight-ish");
?>
</select>
<br><em>Within each day, the calendar will list events sorted
by this time. This should generally be the start time of
your event. If your event has multiple times (e.g., a
"meet time" and a "ride time"), I suggest you put the first
time here and describe the later times in the details field,
below.</em>
</td>
</tr>
<tr id="rowduration">
<td class="lbl">Duration:</td>
<td class="in">
<select name=eventduration onChange="previewonline();">
<option value="0" <?php
开发者ID:CorySpitzer,项目名称:shiftcal,代码行数:31,代码来源:calform.php
示例2: while
$markerCount = 0;
while ($mm_get = _fetch($mm_qry)) {
if ($mm_lastCoord != $mm_get['gmaps_koord']) {
if ($i > 0) {
$mm_coords .= ',';
$mm_infos .= "</tr>','<tr>";
}
$mm_infos .= '<td><b style="font-size:13px"> ' . re($mm_get['city']) . '</td></tr><tr>';
$mm_coords .= 'new google.maps.LatLng' . $mm_get['gmaps_koord'];
$realCount++;
} else {
if ($markerCount > 0) {
$mm_markerIcon .= ',';
}
$mm_markerIcon .= $realCount - 1 . ':true';
$markerCount++;
}
$userInfos = '<b>' . rawautor($mm_get['id']) . '</b><br /><b>' . _position . ':</b> ' . getrank($mm_get['id']) . '<br />' . userpic($mm_get['id']);
$mm_infos .= '<td><div id="memberMapInner">' . $userInfos . '</div></td>';
$mm_lastCoord = $mm_get['gmaps_koord'];
$i++;
}
$mm_infos .= "</tr>'";
$index = show($dir . "/membermap", array('head' => _membermap, 'mm_coords' => $mm_coords, 'mm_infos' => $mm_infos, 'mm_markerIcon' => $mm_markerIcon));
## SETTINGS ##
$title = $pagetitle . " - " . $where . "";
$time_end = generatetime();
$time = round($time_end - $time_start, 4);
page($index, $title, $where, $time);
## OUTPUT BUFFER END ##
gz_output();
开发者ID:nopuls,项目名称:dzcp,代码行数:31,代码来源:index.php
示例3: generatetime
<?php
## OUTPUT BUFFER START ##
include "../inc/buffer.php";
## INCLUDES ##
$ajaxJob = true;
include basePath . "/inc/config.php";
include basePath . "/inc/bbcode.php";
## FUNCTIONS ##
require_once basePath . "/inc/menu-functions/server.php";
require_once basePath . "/inc/menu-functions/shout.php";
require_once basePath . "/inc/menu-functions/teamspeak.php";
require_once basePath . "/inc/menu-functions/kalender.php";
require_once basePath . "/inc/menu-functions/team.php";
## SETTINGS ##
$time_start = generatetime();
lang($language);
$dir = "sites";
## SECTIONS ##
if (!isset($_GET['i'])) {
$action = "";
} else {
$action = $_GET['i'];
}
switch ($action) {
case 'kalender':
echo kalender($_GET['month'], $_GET['year']);
break;
case 'teams':
echo team($_GET['tID']);
break;
开发者ID:nopuls,项目名称:dzcp,代码行数:31,代码来源:ajax.php
注:本文中的generatetime函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论