<div id="selReportBugs"  class="clsCommonContent">
<div class="clsCommonTopAnalystRoundedCorner">
  <!--rounded corners-->
  <h2 class="clsInboxReadHeading">{$LANG.reportbugs_title}</h2>
       <div class="clsShadedBg">
  <div class="lbtopanalyst">
    <div class="rbtopanalyst">
      <div class="bbtopanalyst">
        <div class="blctopanalyst">
          <div class="brctopanalyst">
            <div class="tbtopanalyst">
              <div class="tlctopanalyst">
                <div class="trctopanalyst">
  	
   	<div class="clsInboxReadTbl">
  		{include file='../general/information.tpl'}
  		{ if $myobj->isShowPageBlock('block_reportbugs')}
  		<form name="form_reportbugs_show" id="form_reportbugs_show" method="post" action="{$myobj->getCurrentUrl()}">
        <!-- clsFormSection - starts here -->
    		{include file='box.tpl' opt='form_top'}
    		<table class="clsMailReadTbl">
      			<tr class="clsFormRow">
			        <td class="{$myobj->getCSSFormLabelCellClass('username')}">
			        	<label for="username">{$LANG.reportbugs_username}</label>{$myobj->ShowHelpTip('reportbugs_username', 'username')}
			        </td>
			        <td class="{$myobj->getCSSFormFieldCellClass('username')}">{$myobj->getFormFieldErrorTip('username')}
			        	<input type="text" class="clsTextBox" name="username" id="username" tabindex="{smartyTabIndex}" value="{$myobj->getFormField('username')}" />
			        </td>
			    </tr>
	  			<tr class="clsFormRow">
			        <td class="{$myobj->getCSSFormLabelCellClass('useremail')}">
			        	<label for="useremail">{$LANG.reportbugs_user_email}</label>{$myobj->ShowHelpTip('reportbugs_useremail', 'useremail')}
			        </td>
			        <td class="{$myobj->getCSSFormFieldCellClass('useremail')}">{$myobj->getFormFieldErrorTip('useremail')}
						<input type="text" class="clsTextBox" name="useremail" id="useremail" tabindex="{smartyTabIndex}" value="{$myobj->getFormField('useremail')}" />
			        </td>
		        </tr>
      			<tr class="clsFormRow">
			        <td class="{$myobj->getCSSFormLabelCellClass('subject')}">
			        	<label for="subject">{$LANG.reportbugs_subject}<span class="clsMandatory">*</span></label>{$myobj->ShowHelpTip('reportbugs_subject', 'subject')}
			        </td>
			        <td class="{$myobj->getCSSFormFieldCellClass('subject')}">
			          	<select name="subject" id="subject" tabindex="{smartyTabIndex}" value="{$myobj->getFormField('subject')}">
					  	{$myobj->generalPopulateArray($CFG.lists_array.bug_category, $myobj->getFormField('subject'))}
					  	</select>
					  	{$myobj->getFormFieldElementErrorTip('subject')}
			        </td>
			    </tr>
      			<tr class="clsFormRow">
			        <td class="{$myobj->getCSSFormLabelCellClass('message')}">
			        	<label for="message">{$LANG.reportbugs_message}<span class="clsMandatory">*</span></label>{$myobj->ShowHelpTip('reportbugs_message', 'message')}
			        </td>
			        <td class="{$myobj->getCSSFormFieldCellClass('message')}">
			          	<textarea name="message" id="message" tabindex="{smartyTabIndex}" rows="4" cols="45">{$myobj->getFormField('message')}</textarea>
						{$myobj->getFormFieldElementErrorTip('message')}
			        </td>
			    </tr>
      			<tr>
			        <td class="{$myobj->getCSSFormLabelCellClass('default')}"></td>
			        <td class="{$myobj->getCSSFormFieldCellClass('default')}">
					<div class="clsSubmitLeft">
				    	<div class="clsSubmitRight">
			        <input type="submit" class="clsSubmitButton" name="submit_reportbugs" id="submit_reportbugs" value="{$LANG.reportbugs_submit}" tabindex="{smartyTabIndex}" />
					</div></div>
			        </td>
			    </tr>
    		</table>
    		{include file='box.tpl' opt='form_bottom'}
    	<!-- clsFormSection - ends here -->
  		</form>
  		{/if}
		 {literal}
			 <script type="text/javascript">
				needLiveValidation('subject',Array('Presence'));
				needLiveValidation('message',Array('Presence'));
			</script>
		 {/literal}
	</div>
     </div></div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
	</div>
  </div>
  <!--end of rounded corners-->
</div>