东方星雨

简单网络

一个爱好网络的80后男站长。

关注我东方星雨个人微信号:476847113

您现在的位置是:首页 > 站长日志

帝国模板留言板增加自定义字段教程

2010-08-25 站长 站长日志

下面这段是加在form内的,把原form内的替换掉:

<table width="92%" border="0" align="center" cellpadding="4" cellspacing="1"class="tableborder">
                            <tr class="header">
                              <td colspan="2" bgcolor="#F4F9FD"><strong>请您留言:</strong></td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td width="20%">网站域名:</td>
                              <td width="722" height="23"><input name="ZD_web" type="text" id="ZD_web" />
                                *</td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td>您的姓名:</td>
                              <td height="23"><input name="name" type="text" id="name" />
                                *</td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td>电 话:</td>
                              <td height="11"><input name="call" type="text" id="call" /></td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td>电子邮箱:</td>
                              <td height="-2"><input name="email" type="text" id="email" /></td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td>传 真:</td>
                              <td height="-1"><input name="ZD_fax" type="text" id="ZD_fax" /></td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td>通讯地址:</td>
                              <td height="0"><input name="ZD_add" type="text" id="ZD_add" /></td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td>公司名称:</td>
                              <td height="0"><input name="ZD_company" type="text" id="ZD_company" /></td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td>报告接收方式:</td>
                              <td height="1"><input id="radio" value="传真" type="radio" name="ZD_fangsi" />
                                传真
                                <label>
                      <input id="radio2" value="电子邮件" checked="checked" type="radio" name="ZD_fangsi" />
                                  电子邮件 </label></td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td>网站的症状:</td>
                              <td height="2"><input id="ZD_zhengzhuang" value="无流量" type="checkbox" name="ZD_zhengzhuang" />
                                无流量
                                <input id="ZD_zhengzhuang" value="无排名" type="checkbox" name="ZD_zhengzhuang" />
                                无排名
                                <input id="ZD_zhengzhuang" value="无收益" type="checkbox" name="ZD_zhengzhuang" />
                                无收益</td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td>后续服务: </td>
                              <td height="5"><input id="ZD_fuwu" value="网站优化" type="checkbox" name="ZD_fuwu" />
                                网站优化
                                <input id="ZD_fuwu" value="网站改版" type="checkbox" name="ZD_fuwu" />
                                网站改版</td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td>其他问题或意见(*):</td>
                              <td height="23"><textarea name="lytext" cols="60" rows="12" id="lytext"></textarea></td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td height="23">&nbsp;</td>
                              <td height="23"><input type="submit" name="Submit3" value="提交" />
                                  <input name="bid" type="hidden" value="1" />
                                  <input type="reset" name="Submit22" value="重置" />
                                  <input name="enews" type="hidden" id="enews" value="AddGbook" /></td>
                            </tr>
                          </table>



详细介绍请点击查看

文章评论