<?php if (!defined('ROOT_PATH')) { exit('Access Denied'); } ?>
<div class="ab_msg" id="ab_msg">
    <?php $formAction = !empty($formAction) ? $formAction : getUrl('guestbook'); ?>
    <form action="<?php echo tpl_e($formAction); ?>" method="post" class="tpl-guestbook-form">
        <input type="hidden" name="k620_guestbook" value="1">
        <input type="hidden" name="return_url" value="<?php echo tpl_e($formAction); ?>">
        <h3>留言框</h3>
        <?php if (!empty($formFeedback)): ?><div class="form-feedback"><?php echo tpl_e($formFeedback); ?></div><?php endif; ?>
        <?php if (!empty($_GET['sent'])): ?><div class="form-feedback success">提交成功，我们会尽快与您联系。</div><?php endif; ?>
        <ul>
            <li><h4 class="xh">您的姓名：</h4><div class="msg_ipt1"><input class="textborder" name="name" required maxlength="50" placeholder="请输入您的姓名"></div></li>
            <li><h4 class="xh">联系电话：</h4><div class="msg_ipt1"><input class="textborder" name="phone" type="tel" required maxlength="30" placeholder="请输入您的联系电话"></div></li>
            <li><h4>常用邮箱：</h4><div class="msg_ipt12"><input class="textborder" name="email" type="email" maxlength="100" placeholder="请输入您的常用邮箱"></div></li>
            <li><h4>详细地址：</h4><div class="msg_ipt12"><input class="textborder" name="address" maxlength="180" placeholder="请输入您的详细地址"></div></li>
            <li><h4>补充说明：</h4><div class="msg_ipt12 msg_ipt0"><textarea class="areatext" name="content" rows="8" maxlength="2000" required placeholder="请输入您的任何要求、意见或建议"></textarea></div></li>
            <li><h4></h4><div class="msg_btn"><input type="submit" value="提 交" class="msg_btn1"><input type="reset" value="重 填"></div></li>
        </ul>
    </form>
</div>
