本文整理汇总了PHP中ConsoleOption::getConsoleLinkByName方法的典型用法代码示例。如果您正苦于以下问题:PHP ConsoleOption::getConsoleLinkByName方法的具体用法?PHP ConsoleOption::getConsoleLinkByName怎么用?PHP ConsoleOption::getConsoleLinkByName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ConsoleOption
的用法示例。
在下文中一共展示了ConsoleOption::getConsoleLinkByName方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: ConsoleOption
$addCSS = "";
}
$counter++;
$tournamentObj->objTeam->select($teamID);
$dispTeamName = $tournamentObj->getPlayerName();
if ($dispTeamName == "") {
$dispTeamName = "<i>Empty Spot</i>";
}
$dispTeamRecord = $tournamentObj->objTournamentPool->getTeamRecord($teamID);
$dispPools .= "<tr><td class='tinyFont" . $addCSS . "' valign='top' style='width: 65%'>" . $counter . ". " . $dispTeamName . "</td><td class='tinyFont" . $addCSS . "' style='width: 35%' valign='top'>" . $dispTeamRecord . "</td></tr>";
}
$dispPoolLetter++;
$dispPools .= "<tr><td colspan='2' class='tinyFont'><br></td></tr>";
}
echo "\n\t\t\t\t\n\t\t\t\t<span class='tournamentProfileTitle'>POOLS</span>\n\t\t\t\t<div class='dashedBox main' style='height: 400px; overflow-y: auto; padding: 5px'>\n\t\t\t\t\t<table class='formTable' style='margin-left: 3px; margin-top: 3px; width: 95%; border-spacing: 0px'>\n\t\t\t\t\t\t" . $dispPools . "\n\t\t\t\t\t</table>\n\t\t\t\t</div>\n\t\t\t\t<p class='tournamentProfileTitle' align='center'>\n\t\t\t\t\t<a href='" . $MAIN_ROOT . "tournaments/poolmatches.php?tID=" . $tID . "' target='_blank'>View Matches</a>\n\t\t\t\t</p>\n\t\t\t\t\n\t\t\t";
}
if ($tournamentInfo['seedtype'] != 3) {
echo "\n\t\t\t<span class='tournamentProfileTitle'>MATCHES</span>\n\t\t\t<div class='dashedBox main' style='height: 400px; overflow-y: auto; padding: 5px'>\n\t\t\t\n\t\t\t\t<b>Select Round:</b> <select id='roundSelect' class='textBox'>" . $roundoptions . "</select>\n\t\t\t\t<div class='loadingSpiral' id='loadingSpiral'>\n\t\t\t\t\t<p align='center'>\n\t\t\t\t\t\t<img src='" . $MAIN_ROOT . "themes/" . $THEME . "/images/loading-spiral.gif'><br>Loading\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t\t<div id='matchDiv'>\n\t\t\t\t\n\t\t\t\t\t";
include "include/listmatches.php";
echo "\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<p class='tournamentProfileTitle' align='center'>\n\t\t\t\t<a href='" . $MAIN_ROOT . "tournaments/bracket.php?tID=" . $tID . "' target='_blank'>View Bracket</a>\n\t\t\t</p>\n\t\t\t\n\t\t\t";
if ($tournamentObj->checkForPools()) {
echo "\n\t\t\t\t\t<p class='tournamentProfileTitle' align='center'>\n\t\t\t\t\t\t<a href='" . $MAIN_ROOT . "tournaments/poolmatches.php?tID=" . $tID . "' target='_blank'>View Pool Matches</a>\n\t\t\t\t\t</p>\n\t\t\t\t";
}
if ($tournamentObj->memberCanJoin($memberInfo['member_id'])) {
$tConsoleObj = new ConsoleOption($mysqli);
$joinTournamentLink = $tConsoleObj->getConsoleLinkByName("Join a Tournament", false);
echo "\n\t\t\t\t\t<p class='tournamentProfileTitle' align='center'>\n\t\t\t\t\t\t<a href='" . $joinTournamentLink . "&tID=" . $tID . "'>Join Tournament</a>\n\t\t\t\t\t</p>\n\t\t\t\t";
}
}
echo "\t\n\t\t</div>\n\t\n\t</div>\n\t\n\t<script type='text/javascript'>\n\t\n\t\t\$(document).ready(function() {\n\t\n\t\t\t\$('#roundSelect').change(function() {\n\t\n\t\t\t\t\$('#roundNumSpan').html(\$('#roundSelect').val());\n\t\n\t\t\t\t\$('#matchDiv').hide();\n\t\t\t\t\$('#loadingSpiral').show();\n\t\t\t\t\$.post('" . $MAIN_ROOT . "tournaments/include/listmatches.php', { tID: " . $tID . ", roundSelected: \$('#roundSelect').val() }, function(data) {\n\t\t\t\t\t\$('#matchDiv').html(data);\n\t\t\t\t\t\n\t\t\t\t\t\$('#loadingSpiral').hide();\n\t\t\t\t\t\$('#matchDiv').fadeIn(250);\n\t\t\t\t});\n\t\n\t\t\t});\n\t\t\t\n\t\t});\n\t\n\t\n\t</script>\n\t\n";
include $prevFolder . "themes/" . $THEME . "/_footer.php";