Extmail天气预报和验证码

extmail验证码

/var/www/extsuite/extman/webman.cf

clip_image001

sys_captcha_on = 1是启用验证码,0是关闭验证码

sys_captcha_key后面是验证码的字符

sys_captcha_len是验证码的长度

clip_image002

天气预报

/var/www/extsuite/extmail/html/default/welcome.html

clip_image004

找到coolweather那部分

<TD  valign=top style=""> <div class="panelout" id="coolweather_div"> <div class="paneltit"> <%weatherinfo%></div> <div class="panelin" id="coolweather_container"> </div> <script type="text/javascript"> coolweather_iconspath = '/extmail/plugins/coolweather/icons/'; coolweather_init(); </script> </div> </TD> <TD width=10px></TD>

把div那部分改成

<TD  valign=top style=""><iframe src=\'#\'" //m.weather.com.cn/m/pn11/weather.htm " width="470" height="80" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe></TD><TD width=10px></TD>

clip_image006

clip_image007

看看效果

clip_image009

定制天气

clip_image010

clip_image011

你可能感兴趣的:(天气预报,验证码,ExtMail)