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

tmnt_list_top:
Code:
<div class="vbmenu_popup" id="tmnt_display_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr><td class="thead">Tournament Display Options</td></tr>
		<tr><td class="vbmenu_option"><a href="competitions.php?do=tournaments&amp;order=$order&amp;sort=$sort">Show All Tournaments</a></td></tr>
		<tr><td class="vbmenu_option"><a href="competitions.php?do=tournaments&amp;order=$order&amp;sort=$sort&amp;filter=1">Show Tournaments Awaiting Players Only</a></td></tr>
		<tr><td class="vbmenu_option"><a href="competitions.php?do=tournaments&amp;order=$order&amp;sort=$sort&amp;filter=2">Show Tournaments In Progress Only</a></td></tr>
		<tr><td class="vbmenu_option"><a href="competitions.php?do=tournaments&amp;order=$order&amp;sort=$sort&amp;filter=3">Show Finished Tournaments Only</a></td></tr>
		</table>
</div>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
		<td class="tcat" width="100%" colspan="9"><strong>$vbphrase[tmnts]</strong> <span class="smallfont">($filter)</span></td>
</tr>
<tr align="center">
<td class="thead" align="left" width="100%" nowrap="nowrap">
<span style="float: right;"><a href="competitions.php?do=tournaments&amp;order=DESC">Created</a></span>
<a href="competitions.php?do=tournaments&amp;order=ASC&amp;sort=title">$vbphrase[tmnt_name]</a><if condition="$sort == 'title'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&amp;order=DESC&amp;sort=date">$vbphrase[tmnt_date]</a><if condition="$sort == 'date'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&amp;order=DESC&amp;sort=type">$vbphrase[tmnt_type]</a><if condition="$sort == 'type'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&amp;order=DESC&amp;sort=noplayers">$vbphrase[tmnt_players]</a><if condition="$sort == 'noplayers'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&amp;order=DESC&amp;sort=views">$vbphrase[tmnt_views]</a><if condition="$sort == 'views'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&amp;order=DESC&amp;sort=status">$vbphrase[tmnt_status]</a><if condition="$sort == 'status'"> $reverse</if>
</td>
<td class="vbmenu_control" nowrap="nowrap" id="tmnt_display"><a href="#tmnt_display"></a><script type="text/javascript">vbmenu_register("tmnt_display");</script>
</td>
</tr>
tmnt_new:
Code:
$vBeditTemplate[clientscript]
<form action="" method="post" enctype="multipart/form-data" name="vbform" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 5)"</if>>
<input type="hidden" name="do" value="inserttmnt" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="posthash" value="$posthash" />
<input type="hidden" name="poststarttime" value="$poststarttime" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input name="userid" type="hidden" value="$bbuserinfo[userid]" />
<input name="username" type="hidden" value="$bbuserinfo[username]" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr>
    <td class="tcat"> $vbphrase[tmnt_newtmnt] </td>
  </tr>
  <tr>
    <td class="panelsurround" align="center"><div class="panel">
        <div style="width:$stylevar[formwidth]" align="left">
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont">$vbphrase[tmnt_title]:</td>
            </tr>
            <tr>
              <td><input name="title" type="text" id="title" class="bginput" size="60" />
              </td>
            </tr>
          </table>
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont" nowrap="nowrap">$vbphrase[tmnt_pot_long]:</td>
			  <td class="smallfont" nowrap="nowrap" style="padding-left: 30px;">$vbphrase[tmnt_noplayersteams]:</td>
            </tr>
            <tr>
              <td>		<select name="pot" id="pot">
						<option value="0" selected="selected">$vbphrase[tmnt_players]</option>
						<option value="1">$vbphrase[tmnt_teams_short]</option>
					</select>
              </td>
			  <td style="padding-left: 30px;">
					<select name="noplayers" id="noplayers">
						<option title="noplayers">2</option>
						<option title="noplayers">4</option>
						<option title="noplayers">8</option>
						<option title="noplayers">16</option>
						<option title="noplayers">32</option>
						<option title="noplayers">64</option>
						<option title="noplayers">128</option>
						<option title="noplayers">256</option>
					</select>
              </td>
            </tr>
          </table>
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
			<tr>
              <td class="smallfont">$vbphrase[tmnt_type]:</td>
            </tr>
            <tr>
              <td>		<select name="type" id="type">
						<option value="1v1">$vbphrase[tmnt_1v1]</option>
						<option value="LMS">$vbphrase[tmnt_lms]</option>
					</select>
              </td>
            </tr>
          </table>
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td>
              <fieldset class="fieldset">
					<legend>$vbphrase[tmnt_date]</legend>
              <!-- start / end date / time -->
					<select name="month" title="Month" tabindex="1">
						<option value="1" title="Month">January</option>
						<option value="2" title="Month">February</option>
						<option value="3" title="Month">March</option>
						<option value="4" title="Month">April</option>
						<option value="5" title="Month">May</option>
						<option value="6" title="Month">June</option>
						<option value="7" title="Month">July</option>
						<option value="8" title="Month">August</option>
						<option value="9" title="Month">September</option>
						<option value="10" title="Month">October</option>
						<option value="11" title="Month">November</option>
						<option value="12" title="Month">December</option>
					</select>
					<input class="bginput" style="font-size: 11px;" name="day" value="$thisday" size="3" maxlength="2" title="Day" tabindex="1" type="text" />
					<select name="year" title="year" tabindex="1">
						<option title="year" value="2009">2009</option>
						<option title="year" value="2010">2010</option>
						<option title="year" value="2011">2011</option>
						<option title="year" value="2012">2012</option>
					</select>
					<select name="time" title="time" tabindex="1">
						<option title="time" value="0">Midnight</option>
						<option title="time" value="1">01:00 am</option>
						<option title="time" value="2">02:00 am</option>
						<option title="time" value="3">03:00 am</option>
						<option title="time" value="4">04:00 am</option>
						<option title="time" value="5">05:00 am</option>
						<option title="time" value="6">06:00 am</option>
						<option title="time" value="7">07:00 am</option>
						<option title="time" value="8">08:00 am</option>
						<option title="time" value="9">09:00 am</option>
						<option title="time" value="10">10:00 am</option>
						<option title="time" value="11">11:00 am</option>
						<option title="time" value="12">Midday</option>
						<option title="time" value="13">01:00 pm</option>
						<option title="time" value="14">02:00 pm</option>
						<option title="time" value="15">03:00 pm</option>
						<option title="time" value="16">04:00 pm</option>
						<option title="time" value="17">05:00 pm</option>
						<option title="time" value="18">06:00 pm</option>
						<option title="time" value="19">07:00 pm</option>
						<option title="time" value="20">08:00 pm</option>
						<option title="time" value="21">09:00 pm</option>
						<option title="time" value="22">10:00 pm</option>
						<option title="time" value="23">11:00 pm</option>
					</select>
					<div class="smallfont"> $vbphrase[tmnt_gmt] </div>
				<!-- / start / end date / time -->
                </fieldset>
              </td>
            </tr>
          </table>
          <div class="smallfont">$vbphrase[tmnt_desc]:</div>
          $messagearea </div>
      </div>
      <div style="margin-top:6px"><input name="add" type="submit" id="add" value="$vbphrase[tmnt_add]" /> <input value="$vbphrase[tmnt_cancel]" onclick="window.location.href='competitions.php?do=tournaments'" type="button" /></div></td>
  </tr>
</table>
</form>
tmnt_newannouncement:
Code:
$vBeditTemplate[clientscript]
<form action="" method="post" enctype="multipart/form-data" name="vbform" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 4)"</if>>
<input type="hidden" name="do" value="insertannouncement" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input name="userid" type="hidden" value="$bbuserinfo[userid]" />
<input name="username" type="hidden" value="$bbuserinfo[username]" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr>
    <td class="tcat"> $vbphrase[tmnt_newannouncement] </td>
  </tr>
  <tr>
    <td class="panelsurround" align="center"><div class="panel">
        <div style="width:$stylevar[formwidth]" align="left">
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont">$vbphrase[title]:</td>
            </tr>
            <tr>
              <td><input name="title" type="text" id="title" class="bginput" size="60" maxlength="85" />
              </td>

            </tr>
          </table>
          <div class="smallfont">$vbphrase[announcement]:</div>
          $messagearea
      </div>
      <div style="margin-top:6px"><input name="add" type="submit" id="add" value="$vbphrase[tmnt_add]" /> <input value="$vbphrase[tmnt_cancel]" onclick="window.location.href='competitions.php?do=announcements'" type="button" /></div></div></td>
  </tr>
</table>
</form>
tmnt_newteam:
Code:
$vBeditTemplate[clientscript]
<form action="" method="post" enctype="multipart/form-data" name="vbform" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 0)"</if>>
<input type="hidden" name="do" value="insertteam" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input name="userid" type="hidden" value="$bbuserinfo[userid]" />
<input name="username" type="hidden" value="$bbuserinfo[username]" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr>
    <td class="tcat"> $vbphrase[tmnt_newteam] </td>
  </tr>
  <tr>
    <td class="panelsurround" align="center"><div class="panel">
        <div style="width:$stylevar[formwidth]" align="left">
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont">$vbphrase[tmnt_teamname]:</td>
            </tr>
            <tr>
              <td><input name="title" type="text" id="title" class="bginput" size="60" maxlength="85" />
              </td>

            </tr>
          </table>
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont">$vbphrase[tmnt_teamslogan]:</td>
            </tr>
            <tr>
              <td><input type="text" class="bginput" name="slogan" id="slogan" size="60" />
              </td>
            </tr>
          </table>
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont">$vbphrase[tmnt_teamtags]:</td>
            </tr>
            <tr>
              <td><input type="text" class="bginput" name="tag" id="tag" size="60" />
              </td>
            </tr>
          </table>
          <div class="smallfont">$vbphrase[tmnt_shortteamdescription]:</div>
          <div id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</div> </div>
      </div>
      <div style="margin-top:6px"><input name="add" type="submit" id="add" value="$vbphrase[tmnt_add]" /> <input value="$vbphrase[tmnt_cancel]" onclick="window.location.href='competitions.php?do=teams'" type="button" /></div></td>
  </tr>
</table>
</form>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01270 seconds
  • Memory Usage 1,851KB
  • 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
  • (4)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