<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$language.lblBusiness} : {$language.lblAddNewMessage}</title>
{include file='CommonStyles.tpl'}
<link href="{$view_styles}/popup.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="{$common_js}/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="{$common_js}/jquery-migrate-1.4.1.js"></script>
</head>
<body class="{$languageDirection}" class=>
<div class="popup-block">
      
        <div id="common_message" ></div>
        <!--End: Right Block-->      
          {form->start name="formSubmitMessage" action=""  method="post" enctype="multipart/form-data"}
        <div class="form_listing msg-form">
			{form->hidden value='Merchant' name="sentBy"}          
          <ul>
            <li class="clearfix">
              <div class="col-md-12 col-xs-12 padding-vertical font-bold"> <strong>{$language.lblMessageType}</strong> </div>
              <!--End:Left-->
              <div class="col-md-6 col-xs-12">  
              <div class="select-box">{form->select name="msgtype" class="form-control" caption="->{$language.lblSelect}" options="brand->{$language.lblBrand}~*feature->{$language.lblFeature}~*varient->{$language.lblVarient}~*sub category->{$language.lblSubCategory}" validate="required" error=$language.errMessageType} </div></div>              <!--End:right-->              
            </li>
             <li class="clearfix">
              <div class="col-md-12 col-xs-12 padding-vertical"> <strong>{$language.lblSubject}</strong> </div>
              <!--End:Left-->
              <div class="col-md-6 col-xs-12">   {form->textbox  name="subject" tabindex="1" class="form-control" validate="required"  error=$language.errSubject} </div>
              <!--End:right-->
              
            </li>
             <li class="clearfix">
              <div class="col-md-12 col-xs-12 padding-vertical"> <strong>{$language.lblMessage}</strong> </div>
              <!--End:Left-->
              <div class="col-md-6 col-xs-12"> {form->textarea name="message" id="message" class="form-control" validate="required" error=$language.errDescription maxlength="500" tabindex="2"} </div>
              <!--End:right-->              
            </li>      
            <li>
            <div class="submit-block margin-top clearfix">
            <div class="col-md-12 col-xs-12">
              {form->submit name="submitMessage" tabindex="1" id="submitMessage"  class="btn btn-primary btn-sm" form="formSubmitMessage" value=$language.lblSave}<span class="or-block or-block margin-horizontal">{$language.lblOr} </span>
                
			  {html->anchor onclick="top.location.reload();$.colorbox.close()" name="cancel" class="btn btn-default btn-sm" id="cancel" tabindex="1" caption=$language.lblCancel}
               </div> 	
          </div>               
              <!--End:right-->              
            </li>
          </ul>
          {form->close} 
        <!--End:From Listing--> 
      </div>
</div>

{form->basepath_script}

{form->validate_script form="formSubmitMessage"} 
<script type="text/javascript">
    var lblSelect = '{$language.lblSelect}';
</script> 
<script type="text/javascript" src="{$common_js}/validate.plugin.js"></script>
</body>
</html>