<div class="main_content">
  <div class="innercontent_outerbox">
      
      <h1>Contact Us</h1>
      <table width="885" border="0" cellspacing="0" cellpadding="0">
        <tr>
    <td width="454" align="left" valign="top">
        <?php
            foreach(Yii::app()->user->getFlashes() as $key => $message) {
            echo '<div class="flash flash-' . $key . '">' . $message . "</div>\n";
            }
            ?>
                <?php $form=$this->beginWidget('CActiveForm', array(
            'id'=>'contact-form',
            'enableAjaxValidation'=>false,
            )); ?>
      <table width="538" border="0" cellspacing="5" cellpadding="5">
        <tr>
          <td width="132">Name*</td>
          <td width="371">
            <?php echo $form->textField($model,'name',array()); ?>
              <?php echo $form->error($model,'name'); ?>
          </td>
        </tr>
        <tr>
          <td>Phone*</td>
          <td>
              <?php echo $form->textField($model,'phone',array()); ?>
              <?php echo $form->error($model,'phone'); ?>
          </td>
        </tr>
        <tr>
          <td>E-mail*</td>
          <td><?php echo $form->textField($model,'email',array()); ?>
              <?php echo $form->error($model,'email'); ?></td>
        </tr>
        <tr>
          <td>Country*</td>
          <td><label for="select"></label>
            <?php 
            /*echo $form->dropDownList($model,'country',array(
		  'UAE'=>'UAE',
		  'Egypt'=>'Egypt',
		  'KSA'=>'KSA',
		  'Pakistan'=>'Pakistan',
		  'Iran'=>'Iran',
		  'Morocco'=>'Morocco',
		  'Lebanon'=>'Lebanon',
		  'Kenya'=>'Kenya',
		  'Nigeria'=>'Nigeria',
		  'Others'=>'Others',
		  )); */
		  
		  echo $form->dropDownList($model,'country',array(
		  'UAE'=>'UAE',
		  'Egypt'=>'Egypt',
		  'KSA'=>'KSA',
		  'Pakistan'=>'Pakistan',
		  'Morocco'=>'Morocco',
		  'Lebanon'=>'Lebanon',
		  'Kenya'=>'Kenya',
		  'Nigeria'=>'Nigeria',
		  'Others'=>'Others',
		  ));
		  
		  ?>
          </td>
        </tr>
        <tr>
          <td>Query*</td>
          <td><label for="textarea"></label>
              <?php echo $form->textArea($model,'body',array("cols"=>35,"rows"=>5)); ?>
              <?php echo $form->error($model,'body'); ?>
            </td>
        </tr>
        
       
        <tr>
          <td>&nbsp;</td>
          <td>
            <div class="recapcha">
              <div class="g-recaptcha" data-sitekey="6Lfg2yQTAAAAAC7pcIczGBSS1MCrc140A1XQ3fta" data-callback="enableBtn"></div>
            </div>
          </td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td><input name="button" id="button" value="Submit" type="submit" class="login_button"></td>
        </tr>
      </table>
    <?php $this->endWidget(); ?>
    <script type="text/javascript">
              $(function(){
                document.getElementById("button").disabled = true;
              });
              function enableBtn() {
                document.getElementById("button").disabled = false;
              }
            </script>
    </td>
    <td width="461" align="center" valign="top">
    <h2>D-Link Middle East &amp; Africa</h2>
     
    <b>Physical Address</b><br />
    <?php echo $pageContents->physical_address; ?>
    <br />
    <b>Support Number:</b><br />
    <?php echo $pageContents->support_numbers; ?>
    <br />
   
    </td>
  </tr>
  <tr>
    <td colspan="2" align="center" valign="middle"><br />
<br />
<?php echo $pageContents->bottom_line; ?>
    </td>
    </tr>
</table>
    </div>
    
<?php echo $this->renderPartial('_bottom_common_user_product_group'); ?> 