commentForm.php 1.6 KB

12345678910111213141516171819202122
  1. <div class="ny_join7">
  2. <form method="post" id="contact-form" action="<?php echo admin_url('admin-ajax.php'); ?>">
  3. <ul>
  4. <h3>感谢您的选择!<p>箭冠汽配连锁的大门为您敞开</p></h3>
  5. <li><input type="text" id="rename" name="comment_author" required placeholder="请输入您的姓名 * "></li>
  6. <li><input type="text" id="phone" name="comment_author_phone" required maxlength="11" placeholder="请输入您的电话号码 * "></li>
  7. <li><input type="text" name="comment_author_email" placeholder="请输入您的电子邮箱"></li>
  8. <li><input type="text" name="comment_compname" maxlength="250" placeholder="请输入您的主营项目"></li>
  9. <li>
  10. <input type="text" name="comment_provinces" placeholder="请输入省份 " maxlength="50" style="width: 267px;height: 45px;">
  11. <input type="text" name="comment_city" placeholder="请输入城市 " maxlength="50" style="width: 268px;height: 45px;float: right;">
  12. </li>
  13. <li><input type="text" name="comment_address" maxlength="100" placeholder="请输入您的地址"></li>
  14. <li><textarea name="comment" maxlength="300" placeholder="留言内容"></textarea></li>
  15. <input type="hidden" name="action" value="submit_custom_comment">
  16. <!-- <input type="hidden" name="comment_post_ID" value="367" id="comment_post_ID"> -->
  17. <input type="hidden" name="comment_author_IP" value="<? echo $_SERVER['REMOTE_ADDR']; ?>" id="comment_author_IP">
  18. <button type="submit">马上提交</button>
  19. </ul>
  20. </form>
  21. </div>