将image文件内的图片上传到 你的论坛/images/ 目录下.
---------------------------------------------------------------------
修改方法如下:
修改你当前正在用的默认风格中的index_header.htm文件,现在以templates/default/index_header.htm为例说明:
在此代码{lang home_welcome_guest}
复制代码之后插入如下代码:
----------------------------------------------------------------------- <!--GIMPBOX.COM 首页登录框-->
- <style>
- .txtz { padding-left:20px;background-repeat:no-repeat;background-position: 2px 2px; border:1px solid;width:120px;height:18px;border-color:#6eb1d5 #D3E8F2 #D3E8F2 #6eb1d5;}
- .grey { font-size: 12px;color:#444444;float: left;font-weight: bold; }
- .mima { float: right;margin-right: 5px; }
- .zhuce { float: right;margin-right: 5px;margin-top: 7px; }
- .denglu { width: 40px;height:23px;float: left;margin-top: 3px;margin-bottom: 2px;margin-right: 10px;}
- </style>
- <form id="loginform" method="post" name="login" action="logging.php?action=login&loginsubmit=true">
- <table>
- <tr>
- <td>
- <input type="hidden" name="formhash" value="{FORMHASH}">
- <input type="hidden" name="cookietime" value="2592000">
- <input type="hidden" id="fl_qid_inp" name="questionid" value="0">
- <input type="hidden" name="referer" value="index.php">
- 用户名:<input type="text" name="username" size="10" class="txtz" autocomplete="off" style="background-image:url('./images/username.gif')" tabindex="0">
- 密码:<input type="password" name="password" size="10" class="txtz" autocomplete="off" style="background-image:url('./images/password.gif')" tabindex="0">
- </td>
- <td>
- <p style="color:#999999;margin-top: 7px;"><span id="fl_qid_hover" class="dropmenu" onmouseover="showMenu(this.id, 0, 0, 2, 250, 0, 'fl_qid')">{lang security_question}</span></p>
- <p id="fl_qid" style="margin-left:-6px"></p>
- <ul id="fl_qid_menu" class="popupmenu_popup headermenu_popup" style="width:100px;display:none">
- <li><a href="javascript:;" onclick="switchqid(0, this)" id="qid0">无{lang security_question}</a></li>
- <li><a href="javascript:;" onclick="switchqid(1, this)">1.{lang security_question_1}</a></li>
- <li><a href="javascript:;" onclick="switchqid(2, this)">2.{lang security_question_2}</a></li>
- <li><a href="javascript:;" onclick="switchqid(3, this)">3.{lang security_question_3}</a></li>
- <li><a href="javascript:;" onclick="switchqid(4, this)">4.{lang security_question_4}</a></li>
- <li><a href="javascript:;" onclick="switchqid(5, this)">5.{lang security_question_5}</a></li>
- <li><a href="javascript:;" onclick="switchqid(6, this)">6.{lang security_question_6}</a></li>
- <li><a href="javascript:;" onclick="switchqid(7, this)">7.{lang security_question_7}</a></li>
- </ul>
- </td>
- <td><p id="fl_qa" style="display:none"><input type="text" name="answer" class="txtz" autocomplete="off" style="background-image:url('./images/warning.gif')" tabindex="1"></p>
- </div>
- <script>
- function switchqid(id, obj) {
- $('fl_qid_hover').innerHTML = id > 0 ? '{lang security_question} ' + id : '{lang security_question}';
- $('fl_qid_inp').value = id;
- hideMenu();
- $('fl_qa').style.display = id > 0 ? '' : 'none';
- lastqid.style.fontWeight = '';
- lastqid = obj;
- lastqid.style.fontWeight = 'bold';
- }
- var lastqid = $('qid0');
- lastqid.style.fontWeight = 'bold';
- </script>
- </td>
- <td><input type="image" src="./images/login.gif" id="login" name="loginsubmit" alt="登陆" /></td>
- <td><a href="$regname" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder"><img src="./images/reg.gif" alt="注册"></a></td>
- </tr>
- </table>
- </form>
- <!--GIMPBOX 首页登录框结束-->
复制代码 复制代码 |