Thread: Major Additions - Forum Tournaments & Ladders
View Single Post
  #1342  
Old 02-09-2009, 03:08 AM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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&amp;filter=1">$vbphrase[tmnt_showwaiting]</a></td>
		</tr>
		<tr>
            <td class="vbmenu_option"><a href="competitions.php?do=tournaments&amp;filter=2">$vbphrase[tmnt_showinprogress]</a></td>
		</tr>
		<tr>
            <td class="vbmenu_option"><a href="competitions.php?do=tournaments&amp;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&amp;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&amp;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&amp;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&amp;pid=tournament2008">Tournament &amp; Ladder Script</a> $tmnt_version Copyright by <a href="https://vborg.vbsupport.ru/member.php?u=223075"> BananaLive </a> </div>

$footer
</body>
</html>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01359 seconds
  • Memory Usage 1,859KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete