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&order=$order&sort=$sort">Show All Tournaments</a></td></tr>
<tr><td class="vbmenu_option"><a href="competitions.php?do=tournaments&order=$order&sort=$sort&filter=1">Show Tournaments Awaiting Players Only</a></td></tr>
<tr><td class="vbmenu_option"><a href="competitions.php?do=tournaments&order=$order&sort=$sort&filter=2">Show Tournaments In Progress Only</a></td></tr>
<tr><td class="vbmenu_option"><a href="competitions.php?do=tournaments&order=$order&sort=$sort&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&order=DESC">Created</a></span>
<a href="competitions.php?do=tournaments&order=ASC&sort=title">$vbphrase[tmnt_name]</a><if condition="$sort == 'title'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&order=DESC&sort=date">$vbphrase[tmnt_date]</a><if condition="$sort == 'date'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&order=DESC&sort=type">$vbphrase[tmnt_type]</a><if condition="$sort == 'type'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&order=DESC&sort=noplayers">$vbphrase[tmnt_players]</a><if condition="$sort == 'noplayers'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&order=DESC&sort=views">$vbphrase[tmnt_views]</a><if condition="$sort == 'views'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&order=DESC&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>