<?php defined('_JEXEC') or die('Restricted access'); ?>

		<form action="index.php" method="post" name="adminForm" id="adminForm">
		<table class="adminheading">
		<tr>
            <th class='billets_ticket'>
            		<div class='componentheading'>
                    <?php echo _BILLETS_CREATETICKET; ?>
            		</div>
            </th>            
		</tr>
		</table>
                        
        <div class="note"><?php echo _BILLETS_CHOOSESUPPORTTICKETSUBJECTANDCOMMENTS; ?></div>
        

			<table class="userlist">
            <thead>
                <tr>
                    <th colspan="2">
                    <?php echo _BILLETS_DETAILS; ?>
                    </th>
                </tr>
            </thead>

			<tbody>
                <tr>
                  <td class='title'><?php echo _BILLETS_TYPE; ?>: *</td>
                  <td class="input">
					<?php echo $this->types; ?>
                  </td>
                </tr>
                <tr>
                  <td class='title'><?php echo _BILLETS_SUBJECT; ?>: *</td>
                    <td class="input">
                    <input name="subject" type="text" class="text_area" size='50' />
                    </td>
                </tr>
                <tr>
                  <td class='title'><?php echo _BILLETS_BRIEFCOMMENTS; ?>: *</td>
                    <td class="input">
                    <textarea name="description" class="text_area" cols="40" rows="10" style="width:500px" width="500px" ></textarea>
                    </td>
                </tr>
            </tbody>
	        </table>

			<p>* <?php echo _BILLETS_REQUIREDFIELD; ?></p>
			<input type='button' class='button' onclick='submitForm(document.adminForm, "savenew")' value='<?php echo _BILLETS_SUBMIT; ?>' />
	        <input type='button' class='button' onclick='window.location="index.php?option=<?php echo $option; ?>&Itemid=<?php echo $this->Itemid; ?>"' value='<?php echo _BILLETS_CANCEL; ?>' />



		<input type="hidden" name="option" value="<?php echo $option;?>" />
		<input type="hidden" name="controller" value="<?php echo $this->_name;?>" />		
		<input type="hidden" name="task" value="" />
		<input type="hidden" name="id" value="<?php echo $this->row->id; ?>" />
		<input type="hidden" name="Itemid" value="<?php echo $this->Itemid;?>" />
        <?php echo JHTML::_( 'form.token' ); ?>
		</form>