本文整理汇总了PHP中getTimeZoneDateTime函数的典型用法代码示例。如果您正苦于以下问题:PHP getTimeZoneDateTime函数的具体用法?PHP getTimeZoneDateTime怎么用?PHP getTimeZoneDateTime使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getTimeZoneDateTime函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: while
do {
$s[] = $row_stewards['uid'];
} while ($row_stewards = mysql_fetch_assoc($stewards));
do {
$st[] = $row_staff['uid'];
} while ($row_staff = mysql_fetch_assoc($staff));
do {
$o[] = $row_organizer['uid'];
} while ($row_organizer = mysql_fetch_assoc($organizer));
$filename = str_replace(" ", "_", $_SESSION['contestName']) . "_BJCP_Points_Report.xml";
$output = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n";
$output .= "<OrgReport>\n";
$output .= "\t<CompData>\n";
$output .= "\t\t<CompID>" . $_SESSION['contestID'] . "</CompID>\n";
$output .= "\t\t<CompName>" . $_SESSION['contestName'] . "</CompName>\n";
$output .= "\t\t<CompDate>" . getTimeZoneDateTime($_SESSION['prefsTimeZone'], $row_judging['judgingDate'], $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], "system", "date-no-gmt") . "</CompDate>\n";
$output .= "\t\t<CompEntries>" . $total_entries . "</CompEntries>\n";
$output .= "\t\t<CompDays>" . $total_days . "</CompDays>\n";
$output .= "\t\t<CompSessions>" . total_sessions() . "</CompSessions>\n";
$output .= "\t\t<CompFlights>" . total_flights() . "</CompFlights>\n";
$output .= "\t</CompData>\n";
$output .= "\t<BJCPpoints>\n";
//$st_running_total[] = 0;
// Judges with a properly formatted BJCP IDs in the system
foreach (array_unique($j) as $uid) {
$judge_info = explode("^", brewer_info($uid));
$judge_points = judge_points($uid, $judge_info['5']);
if ($judge_points > 0) {
$bos_judge = bos_points($uid);
if ($bos_judge) {
$assignment = "Judge+BOS";
示例2: str_replace
$header1_400 .= "<h4 class=\"panel-title\">Judging Location/Date</h4>";
}
$header1_400 .= "</div>";
$page_info400 .= "<div class=\"panel-body\">";
if ($totalRows_judging == 0) {
$page_info400 .= "<p>Competition judging dates are yet to be determined. Please check back later.</p>";
} else {
do {
$page_info400 .= "<p>";
if ($row_judging['judgingLocation'] != "") {
$page_info400 .= "<a href=\"" . $base_url . "output/maps.output.php?section=driving&id=" . str_replace(' ', '+', $row_judging['judgingLocation']) . "\" target=\"_blank\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Map to " . $row_judging['judgingLocName'] . " at " . $row_judging['judgingLocation'] . "\">" . $row_judging['judgingLocName'] . "</a> <span class=\"fa fa-map-marker\"></span>";
} else {
$page_info400 .= $row_judging['judgingLocName'];
}
if ($row_judging['judgingDate'] != "") {
$page_info400 .= "<br />" . getTimeZoneDateTime($_SESSION['prefsTimeZone'], $row_judging['judgingDate'], $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], "short", "date-time");
}
$page_info400 .= "</p>";
} while ($row_judging = mysql_fetch_assoc($judging));
}
$page_info400 .= "</div>";
$page_info400 .= "</div>";
// --------------------------------------------------------------
// Display
// --------------------------------------------------------------
if ($_SESSION['contestLogo'] != "" && file_exists(USER_IMAGES . $_SESSION['contestLogo'])) {
echo $competition_logo;
}
echo $page_info;
if ($_SESSION['prefsUseMods'] == "Y") {
include INCLUDES . 'mods_sidebar_top.inc.php';
示例3: getTimeZoneDateTime
if ($section == "brew") {
include SECTIONS . 'brew.sec.php';
}
if ($section == "pay") {
include SECTIONS . 'pay.sec.php';
}
if ($section == "list") {
include SECTIONS . 'list.sec.php';
}
}
?>
</div>
</div>
<div id="footer">
<div id="footer-inner">Printed <?php
echo getTimeZoneDateTime($_SESSION['prefsTimeZone'], time(), $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], "long", "date-time");
?>
.</div>
</div>
</div>
<!--
<script src="<?php
echo $base_url;
?>
js_includes/jQuery.print.js"></script>
<script type='text/javascript'>
$(function() {
$("#printable").find('.print').on('click', function() {
$.print("#printable");
});
});
示例4: table_choose
<button class="btn btn-default dropdown-toggle" type="button" id="cardsMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">For Table...<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="cardsMenu1">
<?php
echo table_choose("table-cards", "judging_tables", $action, $filter, $view, "output/print.output.php", "thickbox");
?>
</ul>
</div>
<div class="dropdown bcoem-admin-dashboard-select">
<button class="btn btn-default dropdown-toggle" type="button" id="cardsMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">For Location...<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="cardsMenu2">
<?php
do {
for ($round = 1; $round <= $row_judging2['judgingRounds']; $round++) {
$location_date = getTimeZoneDateTime($_SESSION['prefsTimeZone'], $row_judging2['judgingDate'], $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], "short", "date-time-no-gmt");
?>
<li class="small"><a id="modal_window_link" href="<?php
echo $base_url;
?>
output/print.output.php?section=table-cards&go=judging_locations&location=<?php
echo $row_judging2['id'];
?>
&round=<?php
echo $round;
?>
" data-toggle="tooltip" data-placement="top" title="Print Table Cards for <?php
echo $row_judging2['judgingLocName'] . " - " . $location_date . ", Round " . $round;
?>
"><?php
echo $row_judging2['judgingLocName'] . " - " . $location_date . ", Round " . $round;
示例5: table_assignments
function table_assignments($uid, $method, $time_zone, $date_format, $time_format, $method2 = 0)
{
// Gather and output the judging or stewarding assignments for a user
require CONFIG . 'config.php';
mysql_select_db($database, $brewing);
$output = "";
$query_table_assignments = sprintf("SELECT assignTable FROM %s WHERE bid='%s' AND assignment='%s'", $prefix . "judging_assignments", $uid, $method);
$table_assignments = mysql_query($query_table_assignments, $brewing) or die(mysql_error());
$row_table_assignments = mysql_fetch_assoc($table_assignments);
$totalRows_table_assignments = mysql_num_rows($table_assignments);
if ($totalRows_table_assignments > 0) {
do {
$table_info = explode("^", get_table_info(1, "basic", $row_table_assignments['assignTable'], "default", "default"));
$location = explode("^", get_table_info($table_info[2], "location", $row_table_assignments['assignTable'], "default", "default"));
//$output .= "\t<table class='dataTableCompact' style='margin-left: -5px'>\n";
$output .= "\t\t<tr>\n";
if ($method2 == 0) {
$output .= "\t\t\t<td class='dataList'>" . $location[2] . "</td>\n";
$output .= "\t\t\t<td class='dataList'>" . getTimeZoneDateTime($time_zone, $location[0], $date_format, $time_format, "long", "date-time") . "</td>\n";
$output .= "\t\t\t<td class='dataList'>Table #" . $table_info[0] . " - " . $table_info[1] . "</td>\n";
} else {
$output .= "\t\t\t<td class='dataList bdr1B'>" . $location[2] . "</td>\n";
$output .= "\t\t\t<td class='dataList bdr1B'>" . getTimeZoneDateTime($time_zone, $location[0], $date_format, $time_format, "long", "date-time") . "</td>\n";
$output .= "\t\t\t<td class='dataList bdr1B'>Table #" . $table_info[0] . " - " . $table_info[1] . "</td>\n";
}
$output .= "\t\t</tr>\n";
//$output .= "\t</table>\n";
} while ($row_table_assignments = mysql_fetch_assoc($table_assignments));
}
return $output;
}
示例6: getTimeZoneDateTime
<h4>Table <?php
echo $row_tables['tableNumber'] . " <small>– " . $row_tables['tableName'];
?>
<a href="<?php
echo $base_url;
?>
index.php?section=admin&go=judging_flights&filter=define&action=edit&id=<?php
echo $flight_table;
?>
" data-toggle="tooltip" data-placement="top" title="Define/Edit the <?php
echo $row_tables['tableName'];
?>
Flights"><span class="fa fa-pencil-square-o"></span></a></small></h4>
<p><strong>Location:</strong> <?php
echo $row_table_location['judgingLocName'] . " – " . getTimeZoneDateTime($_SESSION['prefsTimeZone'], $row_table_location['judgingDate'], $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], "long", "date-time");
?>
(<?php
echo $row_table_location['judgingRounds'];
?>
rounds <a href="<?php
echo $base_url;
?>
index.php?section=admin&go=judging&action=edit&id=<?php
echo $row_table_location['id'];
?>
" title="Edit the <?php
echo $row_table_location['judgingLocName'];
?>
location">defined for this location</a>).</p>
<?php
示例7: getTimeZoneDateTime
<td class="data">
<select name="judge_loc" id="judge_loc" onchange="jumpMenu('self',this,0)">
<option value=""></option>
<?php
do {
?>
<option value="index.php?section=admin&go=styles&filter=judging&bid=<?php
echo $row_judging['id'];
?>
"><?php
echo $row_judging['judgingLocName'] . " (";
echo getTimeZoneDateTime($_SESSION['prefsTimeZone'], $row_judging['judgingDate'], $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], "long", "date-time") . ")";
?>
</option>
<?php
} while ($row_judging = mysql_fetch_assoc($judging));
?>
</select>
</td>
</tr>
</table>
示例8: styles_active
include 'judge_closed.sec.php';
include DB . 'winners.db.php';
$style_types_active = styles_active(1);
if ($style_types_active > 0) {
$header1_1 .= "<h2>Best of Show Winners";
if ($section == "past_winners") {
$header1_1 .= ": " . $trimmed;
}
$header1_1 .= "</h2>";
}
$header1_2 .= "<h2>Winning Entries";
if ($section == "past_winners") {
$header1_2 .= ": " . $trimmed;
}
$header1_2 .= "</h2>";
$page_info .= sprintf("<h2>Winning Entries</h2><p>Winners will be posted on or after %s.</p>", getTimeZoneDateTime($_SESSION['prefsTimeZone'], $row_check['judgingDate'] + $delay, $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], "long", "date-time"));
} else {
if (!isset($_SESSION['loginUsername'])) {
$page_info .= "<p>You only need to register your information once and can return to this site to enter more brews or edit the brews you've entered.";
if ($_SESSION['prefsPaypal'] == "Y") {
$page_info .= " You can even pay your entry fees online if you wish.";
}
$page_info .= "</p>";
}
if ($_SESSION['prefsSponsors'] == "Y" && $totalRows_sponsors > 0) {
$header1_1 .= "<h2>Sponsors</h2>";
$page_info1 .= sprintf("<p>%s is proud to have the following ", $_SESSION['contestHost']);
if ($_SESSION['prefsSponsorLogos'] == "Y") {
$page_info1 .= sprintf("<a href='%s'>sponsors</a>", build_public_url("sponsors", "default", "default", $sef, $base_url));
} else {
$page_info1 .= "sponsors";
示例9: date_created
function date_created($uid, $date_format, $time_format, $timezone, $dbTable)
{
include CONFIG . 'config.php';
mysql_select_db($database, $brewing);
if ($dbTable != "default") {
$dbTable = $dbTable;
} else {
$dbTable = $prefix . "users";
}
$result1 = mysql_query(sprintf("SHOW COLUMNS FROM %s LIKE 'userCreated'", $dbTable));
$exists = mysql_num_rows($result1) ? TRUE : FALSE;
if ($exists) {
$query_user = sprintf("SELECT userCreated FROM %s WHERE id = '%s'", $dbTable, $uid);
$user = mysql_query($query_user, $brewing) or die(mysql_error());
$row_user = mysql_fetch_assoc($user);
$totalRows_user = mysql_num_rows($user);
if ($totalRows_user == 1 && $row_user['userCreated'] != "") {
$result = getTimeZoneDateTime($timezone, strtotime($row_user['userCreated']), $date_format, $time_format, "short", "date-time-no-gmt");
} else {
$result = " ";
}
} else {
$result = " ";
}
return $result;
}
示例10: elseif
$reg_panel_display = "panel-default";
}
if ($entry_window_open == 0) {
$entry_panel_display = "panel-default";
} elseif ($entry_window_open == 1) {
$entry_panel_display = "panel-success";
} elseif ($entry_window_open == 2) {
$entry_panel_display = "panel-danger";
} else {
$entry_panel_display = "panel-default";
}
// Competition Status Panel
$header1_100 .= "<div class=\"panel panel-info\">";
$header1_100 .= "<div class=\"panel-heading\">";
$header1_100 .= "<h4 class=\"panel-title\">Competition Status<span class=\"fa fa-bar-chart text-info pull-right\"></span></h4>";
$header1_100 .= "<span class=\"small text-muted\">As of " . getTimeZoneDateTime($_SESSION['prefsTimeZone'], time(), $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], "short", "date-time") . "</span>";
$header1_100 .= "</div>";
$page_info100 .= "<div class=\"panel-body\">";
$page_info100 .= "<div class=\"bcoem-sidebar-panel\">";
$page_info100 .= "<strong class=\"text-info\">Confirmed Entries</strong>";
$page_info100 .= "<span class=\"pull-right\"><a href=\"" . $base_url . "index.php?section=admin&go=entries\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"View all entries\">" . $totalRows_log_confirmed . "</a>";
if (!empty($row_limits['prefsEntryLimit'])) {
$page_info100 .= " of " . $row_limits['prefsEntryLimit'];
}
$page_info100 .= "</span>";
$page_info100 .= "</div>";
$page_info100 .= "<div class=\"bcoem-sidebar-panel\">";
$page_info100 .= "<strong class=\"text-info\">Unconfirmed Entries</strong>";
$page_info100 .= "<span class=\"pull-right\">" . $entries_unconfirmed . "</span>";
$page_info100 .= "</div>";
$page_info100 .= "<div class=\"bcoem-sidebar-panel\">";
示例11: sprintf
$page_info1 .= sprintf("<p>There are <strong>%s</strong> registered entries and <strong>%s</strong> registered participants, judges, and stewards.</p>", get_entry_count('none'), get_participant_count('default'));
$page_info1 .= sprintf("<p>There are <strong>%s</strong> received and processed entries (this number will update as entries are picked up from drop-off locations and organized for judging).</p>", get_entry_count('received'));
}
$header1_2 .= "<h2>Judging Date";
if ($totalRows_judging > 1) {
$header1_2 .= "s";
}
$header1_2 .= "</h2>";
if ($totalRows_judging == 0) {
$page_info2 .= "<p>Competition judging dates are yet to be determined. Please check back later.</p>";
} else {
do {
$page_info2 .= "<p>";
$page_info2 .= "<strong>" . $row_judging['judgingLocName'] . "</strong>";
if ($row_judging['judgingLocation'] != "") {
$page_info2 .= "<br />" . $row_judging['judgingLocation'];
}
if ($row_judging['judgingLocation'] != "" && $action != "print") {
$page_info2 .= " <span class='icon'><a id='modal_window_link' href='" . $base_url . "output/maps.php?section=map&id=" . str_replace(' ', '+', $row_judging['judgingLocation']) . "' title='Map to " . $row_judging['judgingLocName'] . "'><img src='" . $base_url . "images/map.png' border='0' alt='Map " . $row_judging['judgingLocName'] . "' title='Map " . $row_judging['judgingLocName'] . "' /></a></span>";
$page_info2 .= "<span class='icon'><a href='" . $base_url . "output/maps.php?section=driving&id=" . str_replace(' ', '+', $row_judging['judgingLocation']) . "' title='Driving Directions to " . $row_judging['judgingLocName'] . "' target='_blank'><img src='" . $base_url . "images/car.png' border='0' alt='Driving Directions to " . $row_judging['judgingLocName'] . "' title='Driving Direcitons to " . $row_judging['judgingLocName'] . "' /></a></span>";
}
if ($row_judging['judgingDate'] != "") {
$page_info2 .= "<br />" . getTimeZoneDateTime($_SESSION['prefsTimeZone'], $row_judging['judgingDate'], $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], "long", "date-time") . "<br />";
}
$page_info2 .= "</p>";
} while ($row_judging = mysql_fetch_assoc($judging));
}
echo $header1_1;
echo $page_info1;
echo $header1_2;
echo $page_info2;
示例12: arsort
arsort($a);
foreach ($a as $value) {
if ($value != "0-0") {
$b = substr($value, 2);
$judging_location_info = judging_location_info($b);
$judging_location_info = explode("^", $judging_location_info);
if ($judging_location_info[0] > 0) {
$steward_info .= "<tr>\n";
$steward_info .= "<td>";
$steward_info .= yes_no(substr($value, 0, 1), $base_url);
$steward_info .= "</td>\n";
$steward_info .= "<td>";
$steward_info .= $judging_location_info[1];
$steward_info .= "</td>\n";
$steward_info .= "<td>";
$steward_info .= getTimeZoneDateTime($_SESSION['prefsTimeZone'], $judging_location_info[2], $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], "short", "date-time");
$steward_info .= "</tr>";
}
} else {
$steward_info .= "";
}
}
if ($action == "print") {
$table_assign_judge = table_assignments($_SESSION['user_id'], "J", $_SESSION['prefsTimeZone'], $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], 1);
} else {
$table_assign_judge = table_assignments($_SESSION['user_id'], "J", $_SESSION['prefsTimeZone'], $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], 0);
}
if ($action == "print") {
$table_assign_steward = table_assignments($_SESSION['user_id'], "S", $_SESSION['prefsTimeZone'], $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], 1);
} else {
$table_assign_steward = table_assignments($_SESSION['user_id'], "S", $_SESSION['prefsTimeZone'], $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], 0);
示例13: session_start
<?php
session_start();
require '../paths.php';
require CONFIG . 'bootstrap.php';
require LIB . 'output.lib.php';
include CLASSES . 'tiny_but_strong/tbs_class_php5.php';
include DB . 'output_entry.db.php';
$entry_closed = getTimeZoneDateTime($_SESSION['prefsTimeZone'], $row_contest_dates['contestEntryDeadline'], $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], "long", "date-no-gmt");
if (NHC && $prefix == "final_") {
$contest_name = date('Y') . " NHC Final Round";
} else {
$contest_name = $contest_info['contestName'];
}
// Check access restrictions
if ($brewer_info['brewerEmail'] != $_SESSION['loginUsername'] && $row_logged_in_user['userLevel'] > 1) {
echo "<html><head><title>Error</title></head><body>";
echo "<p>You do not have sufficient access priveliges to view this page.</p>";
echo "</body>";
exit;
}
if (!pay_to_print($_SESSION['prefsPayToPrint'], $brewing_info['brewPaid']) && $go != "recipe") {
echo "<html><head><title>Error</title></head><body>";
echo "<p>You must pay for your entry to print its entry form and bottle labels.</p>";
echo "</body>";
exit;
}
if ($_SESSION['prefsStyleSet'] == "BJCP2008") {
$category_end = 23;
} else {
$category_end = 34;
示例14: sprintf
$header1_13 .= "<a name='awards'></a><h2>Awards</h2>";
$page_info13 .= $row_contest_info['contestAwards'];
}
if ($_SESSION['contestAwardsLocName'] != "") {
$header1_14 .= "<a name='ceremony'></a><h2>Award Ceremony</h2>";
$page_info14 .= "<p>";
$page_info14 .= sprintf("<strong>%s</strong>", $_SESSION['contestAwardsLocName']);
if ($_SESSION['contestAwardsLocation'] != "") {
$page_info14 .= sprintf("<br />%s", $_SESSION['contestAwardsLocation']);
}
if ($_SESSION['contestAwardsLocation'] != "" && $action != "print") {
$page_info14 .= " <span class='icon'><a id='modal_window_link' href='" . $base_url . "output/maps.php?section=map&id=" . str_replace(' ', '+', $_SESSION['contestAwardsLocation']) . "' title='Map to " . $_SESSION['contestAwardsLocName'] . "'><img src='" . $base_url . "images/map.png' border='0' alt='Map " . $_SESSION['contestAwardsLocName'] . "' title='Map " . $_SESSION['contestAwardsLocName'] . "' /></a></span>";
$page_info14 .= "<span class='icon'><a href='" . $base_url . "output/maps.php?section=driving&id=" . str_replace(' ', '+', $_SESSION['contestAwardsLocation']) . "' target='_blank' title='Map to " . $_SESSION['contestAwardsLocName'] . "'><img src='" . $base_url . "images/car.png' border='0' alt='Map " . $_SESSION['contestAwardsLocName'] . "' title='Map " . $_SESSION['contestAwardsLocName'] . "' /></a></span>";
}
if ($_SESSION['contestAwardsLocTime'] != "") {
$page_info14 .= sprintf("<br />%s", getTimeZoneDateTime($_SESSION['prefsTimeZone'], $_SESSION['contestAwardsLocTime'], $_SESSION['prefsDateFormat'], $_SESSION['prefsTimeFormat'], "long", "date-time"));
}
$page_info14 .= "</p>";
}
// Circuit Qualification
if ($row_contest_info['contestCircuit'] != "") {
$header1_15 .= "<a name='circuit'></a><h2>Circuit Qualification</h2>";
$page_info15 .= $row_contest_info['contestCircuit'];
}
// --------------------------------------------------------------
// Display
// --------------------------------------------------------------
if ($action != "print" && $msg != "default") {
echo $msg_output;
}
if ($_SESSION['contestLogo'] != "" && file_exists($_SERVER['DOCUMENT_ROOT'] . $sub_directory . '/user_images/' . $_SESSION['contestLogo']) && (judging_date_return() > 0 || NHC)) {
示例15: table_assignments
function table_assignments($uid, $method, $time_zone, $date_format, $time_format, $method2 = 0)
{
// Gather and output the judging or stewarding assignments for a user
require CONFIG . 'config.php';
mysql_select_db($database, $brewing);
$output = "";
$output_extend = "";
$query_table_assignments = sprintf("SELECT assignTable FROM %s WHERE bid='%s' AND assignment='%s'", $prefix . "judging_assignments", $uid, $method);
$table_assignments = mysql_query($query_table_assignments, $brewing) or die(mysql_error());
$row_table_assignments = mysql_fetch_assoc($table_assignments);
$totalRows_table_assignments = mysql_num_rows($table_assignments);
if ($totalRows_table_assignments > 0) {
do {
$table_info = explode("^", get_table_info(1, "basic", $row_table_assignments['assignTable'], "default", "default"));
$location = explode("^", get_table_info($table_info[2], "location", $row_table_assignments['assignTable'], "default", "default"));
//$output .= "\t<table class='dataTableCompact' style='margin-left: -5px'>\n";
if ($method2 == 0) {
$output .= "\t\t<tr>\n";
$output .= "\t\t\t<td class='dataList'>" . $location[2] . "</td>\n";
$output .= "\t\t\t<td class='dataList'>" . getTimeZoneDateTime($time_zone, $location[0], $date_format, $time_format, "long", "date-time") . "</td>\n";
$output .= "\t\t\t<td class='dataList'>Table #" . $table_info[0] . " - " . $table_info[1] . "</td>\n";
$output .= "\t\t</tr>\n";
} elseif ($method2 == "1") {
if ($method == "J") {
$output .= "<a href='" . $base_url . "index.php?section=admin&action=assign&go=judging_tables&filter=judges&id=" . $table_info[3] . "' title='Assign/Unassign Judges to " . $table_info[0] . " - " . $table_info[1] . "'>" . $table_info[0] . "</a>, ";
}
if ($method == "S") {
$output .= "<a href='" . $base_url . "index.php?section=admin&action=assign&go=judging_tables&filter=stewards&id=" . $table_info[3] . "' title='Assign/Unassign Stewards to " . $table_info[0] . " - " . $table_info[1] . "'>" . $table_info[0] . "</a>, ";
}
} else {
$output .= "\t\t\t<td class='dataList bdr1B'>" . $location[2] . "</td>\n";
$output .= "\t\t\t<td class='dataList bdr1B'>" . getTimeZoneDateTime($time_zone, $location[0], $date_format, $time_format, "long", "date-time") . "</td>\n";
$output .= "\t\t\t<td class='dataList bdr1B'>Table #" . $table_info[0] . " - " . $table_info[1] . "</td>\n";
$output .= "\t\t</tr>\n";
}
//$output .= "\t</table>\n";
} while ($row_table_assignments = mysql_fetch_assoc($table_assignments));
}
if ($totalRows_table_assignments == 0 && $method2 == "1") {
$output_extend = "No assignment(s)";
}
return $output . $output_extend;
}