tmnt_shell:
Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $pagetitle</title>
<if condition="$_REQUEST['do'] == 'view' OR $_REQUEST['do'] == 'edit' OR $_REQUEST['do'] == 'viewteam' OR $_REQUEST['do'] == 'viewannouncement'">
<script language="javascript" type="text/javascript">
function deletetmnt(id, title)
{
if (confirm("Are you sure you want to delete '" + title + "'")) {
window.location.href = '?do=kill&id=' + id;
}
}
function deleteteam(id)
{
if (confirm("Are you sure you want to delete this team?")) {
window.location.href = '?do=killteam&id=' + id;
}
}
function deleteann(id)
{
if (confirm("Are you sure you want to delete this announcement?")) {
window.location.href = '?do=killann&id=' + id;
}
}
function jointeam(id)
{
if (confirm("Are you sure you want to join this team?")) {
window.location.href = '?do=reqjointeam&id=' + id;
}
}
function rejectrecruit(id)
{
if (confirm("Are you sure you want to reject this recruit?")) {
window.location.href = '?do=rejectrecruit&id=' + id;
}
}
function confirmrecruit(id)
{
if (confirm("Are you sure you want to confirm this recruit?")) {
window.location.href = '?do=confirmrecruit&id=' + id;
}
}
function deleteplayer(id, tid, userid)
{
if (confirm("Are you sure you remove this player from this tournament?")) {
window.location.href = '?do=killplayer&id=' + id + '&tid=' + tid + '&userid=' + userid;
}
}
function deleteteamplayer(id)
{
if (confirm("Are you sure you want to remove this player from your team?")) {
window.location.href = '?do=killteamplayer&id=' + id;
}
}
function makeleader(id)
{
if (confirm("Are you sure you want to make this team member a leader?")) {
window.location.href = '?do=makeleader&id=' + id;
}
}
function makecoleader(id)
{
if (confirm("Are you sure you want to make this team player a co-leader?")) {
window.location.href = '?do=makecoleader&id=' + id;
}
}
function deletecomment(id, tid, userid)
{
if (confirm("Are you sure you want to delete this comment?")) {
window.location.href = '?do=killcomment&id=' + id + '&tid=' + tid +'&userid=' + userid;
}
}
function finishtmnt(id, title, topscore)
{
if (confirm("Are you sure you want to finish '" + title + "'")) {
window.location.href = '?do=finish&id=' + id + '&topscore=' + topscore;
}
}
function progress(id, userid, username, round, slot)
{
if (confirm("Are you sure you want to progress '" + username + "' to next round?")) {
window.location.href = '?do=progress&id=' + id + '&userid=' + userid + '&round=' + round + '&slot=' + slot;
}
}
function regress(id, userid, username, round)
{
if (confirm("Are you sure you want to regress '" + username + "' to previous round?")) {
window.location.href = '?do=progress&id=' + id + '&userid=' + userid + '&round=' + round + '&slot=0';
}
}
function progressfinish(id, userid, username, round, slot)
{
if (confirm("Are you sure you want to progress '" + username + "' to next round?")) {
window.location.href = '?do=progressfinish&id=' + id + '&userid=' + userid + '&round=' + round + '&slot=' + slot;
}
}
function showhide(value, divid)
{
if (value=="1") {
document.getElementById(divid).style.display=""
}
if (value=="0")
{
document.getElementById(divid).style.display="none"
}
}
</script>
</if>
$memberinfo_css
</head>
<body>
$header
$navbar
<div class="vbmenu_popup" id="tmntnew_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[new]...</td>
</tr>
<if condition="$cancreateteam"><tr>
<td class="vbmenu_option"><a href="competitions.php?do=addteam">$vbphrase[tmnt_newteam_short]</a></td>
</tr></if>
<if condition="$canedittmnt"><tr>
<td class="vbmenu_option"><a href="competitions.php?do=addannouncement">$vbphrase[tmnt_newannouncement]</a></td>
</tr></if>
<if condition="$cancreateladder"><tr>
<td class="vbmenu_option"><a href="competitions.php?do=addladder">$vbphrase[tmnt_newladder]</a></td>
</tr></if>
<if condition="$cancreatetmnt"><tr>
<td class="vbmenu_option"><a href="competitions.php?do=addtmnt">$vbphrase[tmnt_newtmnt]</a></td>
</tr></if>
</table>
</div>
<div class="vbmenu_popup" id="tmntnmt_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[tmnts]</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="competitions.php?do=tournaments">$vbphrase[tmnt_tmntlist]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="competitions.php?do=tournaments&filter=1">$vbphrase[tmnt_showwaiting]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="competitions.php?do=tournaments&filter=2">$vbphrase[tmnt_showinprogress]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="competitions.php?do=tournaments&filter=3">$vbphrase[tmnt_showfinished]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="competitions.php?do=hof">$vbphrase[tmnt_hof_short]</a></td>
</tr>
<if condition="$cancreatetmnt"><tr>
<td class="vbmenu_option"><a href="competitions.php?do=addtmnt">$vbphrase[tmnt_newtmnt]</a></td>
</tr></if>
</table>
</div>
<div class="vbmenu_popup" id="tmntlmt_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[ladders]</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="competitions.php?do=ladders">$vbphrase[ladder_list]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="competitions.php?do=ladderchallenges">$vbphrase[ladder] $vbphrase[ladder_chlls]</a></td>
</tr>
<if condition="$cancreateladder"><tr>
<td class="vbmenu_option"><a href="competitions.php?do=addladder">$vbphrase[tmnt_newladder]</a></td>
</tr></if>
</table>
</div>
<if condition="$vboptions[tmnt_navtop]==1">
<table class="tborder" width="100%" align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]">
<tbody><tr align="center">
<td class="vbmenu_control"><a href="competitions.php?">$modname</a></td>
<td class="vbmenu_control"><a href="competitions.php?do=announcements">$vbphrase[announcements]</a></td>
<td class="vbmenu_control"><a href="competitions.php?do=rules">$vbphrase[tmnt_rules]</a></td>
<td class="vbmenu_control" id="tmntnmt">$vbphrase[tmnts] <script type="text/javascript">vbmenu_register("tmntnmt");</script></td>
<if condition="$canviewladder">
<td class="vbmenu_control" id="tmntlmt">$vbphrase[ladders] <script type="text/javascript">vbmenu_register("tmntlmt");</script></td>
</if>
<td class="vbmenu_control"><a href="competitions.php?do=teams">$vbphrase[tmnt_teamlist]</a></td>
<if condition="$cancreateteam OR $cancreatetmnt OR $canedittmnt OR $cancreateladder">
<td id="tmntnew" class="vbmenu_control">$vbphrase[new] <script type="text/javascript">vbmenu_register("tmntnew");</script></td>
</if>
</tr>
</tbody>
</table>
<br />
</if>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <if condition="$vboptions[tmnt_navleft]==1">
<td valign="top" width="150" align="left">
<table class="tborder" width="140" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]">
<tr>
<td class="tcat">$modname</td>
</tr>
<tr>
<td class="thead">$vbphrase[tmnt_general]</td>
</tr>
<tr>
<td class="alt2 smallfont" nowrap="nowrap"><a href="competitions.php?do=announcements">$vbphrase[announcements]</a></td>
</tr>
<tr>
<td class="alt2 smallfont" nowrap="nowrap"><a href="competitions.php?do=rules">$vbphrase[tmnt_rules]</a></td>
</tr>
<tr>
<td class="alt2 smallfont" nowrap="nowrap"><a href="competitions.php?do=teams">$vbphrase[tmnt_teamlist]</a></td>
</tr>
<tr>
<td class="thead">$vbphrase[tmnts]</td>
</tr>
<tr>
<td class="alt2 smallfont">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="smallfont">
<thead>
<tr>
<td height="20" colspan="2" class="smallfont" style="padding-bottom: 4px;">
<a href="#top" onclick="return toggle_collapse('tmnt_displayoptions')"><img id="collapseimg_tmnt_displayoptions" src="$stylevar[imgdir_button]/collapse_alt_collapsed.gif" class="inlineimg" alt="" border="0" /></a>
<a href="competitions.php?do=tournaments">$vbphrase[tmnt_tmntlist]</a></td>
</tr>
</thead>
<tbody id="collapseobj_tmnt_displayoptions" style="display: none;">
<tr>
<td width="22" align="left" valign="top" style="background: url($stylevar[imgdir_misc]/tree_i.gif) repeat-y left top"><img style="width: 20px; height: 20px;" src="$stylevar[imgdir_misc]/tree_t.gif" alt="" class="inlineimg" border="0" /></td>
<td align="left" valign="top" class="smallfont" style="padding-bottom: 4px;"><a href="competitions.php?do=tournaments&filter=1">$vbphrase[tmnt_showwaiting]</a></td>
</tr>
<tr>
<td width="22" align="left" valign="top" style="background: url($stylevar[imgdir_misc]/tree_i.gif) repeat-y left top"><img style="width: 20px; height: 20px;" src="$stylevar[imgdir_misc]/tree_t.gif" alt="" class="inlineimg" border="0" /></td>
<td align="left" valign="top" class="smallfont" style="padding-bottom: 2px;"><a href="competitions.php?do=tournaments&filter=2">$vbphrase[tmnt_showinprogress]</a></td>
</tr>
<tr>
<td width="22" height="20" align="left" valign="top"><img style="width: 20px; height: 20px;" src="$stylevar[imgdir_misc]/tree_ltr.gif" alt="" class="inlineimg" border="0" /></td>
<td align="left" valign="top" class="smallfont"><a href="competitions.php?do=tournaments&filter=3">$vbphrase[tmnt_showfinished]</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td class="alt2 smallfont" nowrap="nowrap"><a href="competitions.php?do=hof">$vbphrase[tmnt_hof_short]</a></td>
</tr>
<if condition="$canviewladder">
<tr>
<td class="thead">$vbphrase[ladders]</td>
</tr>
<tr>
<td class="alt2 smallfont" nowrap="nowrap"><a href="competitions.php?do=ladders">$vbphrase[ladder_list]</a></td>
</tr>
<tr>
<td class="alt2 smallfont" nowrap="nowrap"><a href="competitions.php?do=ladderchallenges">$vbphrase[ladder] $vbphrase[ladder_chlls]</a></td>
</tr>
</if>
<if condition="$cancreateteam OR $cancreatetmnt OR $canedittmnt OR $cancreateladder">
<tr>
<td class="tcat" nowrap="nowrap">$vbphrase[tmnt_modmenu]</td>
</tr>
<if condition="$cancreateteam">
<tr>
<td class="alt2 smallfont" nowrap="nowrap"><a href="competitions.php?do=addteam">$vbphrase[tmnt_newteam_short]</a></td>
</tr>
</if>
<if condition="$canedittmnt">
<tr>
<td class="alt2 smallfont" nowrap="nowrap"><a href="competitions.php?do=addannouncement">$vbphrase[tmnt_newannouncement]</a></td>
</tr>
</if>
<if condition="$cancreateladder">
<tr>
<td class="alt2 smallfont" nowrap="nowrap"><a href="competitions.php?do=addladder">$vbphrase[tmnt_newladder]</a></td>
</tr>
</if>
<if condition="$cancreatetmnt">
<tr>
<td class="alt2 smallfont" nowrap="nowrap"><a href="competitions.php?do=addtmnt">$vbphrase[tmnt_newtmnt]</a></td>
</tr>
</if>
</if>
</table>
</td></if>
<td valign="top" align="left">$tlhtml</td>
</tr>
</table>
<br />
<div class="smallfont" align="center"> <a href="https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=tournament2008">Tournament & Ladder Script</a> $tmnt_version Copyright by <a href="https://vborg.vbsupport.ru/member.php?u=223075"> BananaLive </a> </div>
$footer
</body>
</html>