<form class="form-horizontal" method="POST" id="contactform" style="margin-top:45px;">
        <fieldset>
            <input type="hidden" name="cid" id="cid" value="<?php echo $cid;?>">
            <input type="hidden" name="listingid" id="listingid">
          <div class="error" id="err_msg" style="display:none;text-align:center;"></div>  
<div class="control-group">
            <label for="input01" class="control-label">Your Name : </label>
            <div class="controls">
              <input type="text" id="cname" name="cname" class="input-xlarge" value="<?php echo $cname;?>">
              
            </div>
          </div>
<div class="control-group">
            <label for="input01" class="control-label">Your Email : </label>
            <div class="controls">
              <input type="text" id="cemail" name="cemail" class="input-xlarge" value="<?php echo $cemail;?>">
             
            </div>
          </div>
<div class="control-group">
            <label for="input01" class="control-label">Your Contact No. : </label>
            <div class="controls">
              <input type="text" id="contact" name="contact" class="input-xlarge">
             
            </div>
          </div>
          <div class="control-group">
            <label for="textarea" class="control-label">Comment : </label>
            <div class="controls">
              <textarea rows="3" id="comment" name="comment" class="input-xlarge"></textarea>
            </div>
          </div>
<div class="form-actions" style="background-color:#fff;">
            <button class="btn btn-primary" type="submit">Submit</button>
            <button class="btn" id="cancel" type="reset" >Cancel</button>
          </div>
        </fieldset>
      </form>
