欢迎访问 舍力博客(www.shuyong.net)
<script type="text/javascript"> function setDingDan(){ var ddInfo = ''; var ddName = $("#dingdanform input[name=dd_name]").val(); var ddCall = $("#dingdanform input[name=dd_call]").val(); var ddAdd = $("#dingdanform input[name=dd_add]").val(); var ddStart = $("#dingdanform input[name=dd_start]").val(); var ddEnd = $("#dingdanform input[name=dd_end]").val(); var ddNum = $("#dingdanform input[name=dd_num]").val(); var ddMore = $("#dingdanform input[name=dd_more]").val(); if(ddName=='' || ddCall==''){ alert('请将必要信息填写完整,谢谢合作!'); return false;} ddInfo = '客户姓名:'+ddName+';联系电话:'+ddCall+';客户地址:'+ddAdd+';租车日期:'+ddStart+';还车日期:'+ddEnd+';租车数量:'+ddNum+';备注:'+ddMore; $("#dingdanform input[name=comname]").val(ddName); $("#dingdanform input[name=comurl]").val('http://www.shuyong.net'); $("#dingdanform input[name=comment]").val(ddInfo); } </script> <form method="post" id="dingdanform" action="<?php echo BLOG_URL; ?>index.php?action=addcom" onsubmit="return setDingDan();"> <input type="hidden" name="gid" value="<?php echo $logid; ?>" /> <div class="inner"> <table cellspacing="0"> <tr><td align="center" width="100">客户姓名</td><td><input type="text" name="dd_name" maxlength="49" value="<?php echo $ckname; ?>" size="22" /></td><td>*</td></tr> <tr><td align="center" width="100">联系电话</td><td><input type="text" name="dd_call" maxlength="49" size="22" /></td><td>*</td></tr> <tr><td align="center" width="100">邮箱地址</td><td><input type="text" name="commail" maxlength="128" value="<?php echo $ckmail; ?>" size="22" /></td><td></td></tr> <tr><td align="center" width="100">客户地址</td><td colspan="2"><input type="text" name="dd_add" size="50" /></td></tr> <tr><td align="center" width="100">租车日期</td><td><input type="text" name="dd_start" maxlength="49" size="22" /></td><td></td></tr> <tr><td align="center" width="100">还车日期</td><td><input type="text" name="dd_end" maxlength="49" size="22" /></td><td></td></tr> <tr><td align="center" width="100">租车数量</td><td><input type="text" name="dd_num" maxlength="49" size="10" /> 台</td><td></td></tr> <tr><td align="center" width="100">备 注</td><td colspan="2"><input type="text" name="dd_more" size="50" /></td></tr> <tr><td align="center" width="100"></td><td><?php echo $verifyCode; ?> <input type="submit" value="提交" class="sbtn"/></td><td></td></tr> </table> </div> <p> <input type="hidden" name="comname" /> <input type="hidden" name="comurl" /> <input type="hidden" name="comment" /> <input type="hidden" name="pid" value="0" /> </p> </form>
留言/评论:◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。