未登陆只能查看小图,提醒注册、登陆看大图

1, 后台--》用户--》用户组--》系统用户组--》游客 编辑附件查看权限,可以查看图片。

2, 将/bbs/template/default/forum/ 下的 discuzcode.htm 内容替换成下文:(注意备份)

(该内容为GBK版本 没有安装新浪微博插件:)

{eval
function tpl_hide_credits_hidden($creditsrequire) {
global $_G;
}
<!--{block return}--><div class="locked"><!--{if $_G[uid]}-->{$_G[username]}<!--{else}-->{lang guest}<!--{/if}-->{lang post_hide_credits_hidden}</div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function tpl_hide_credits($creditsrequire, $message) {
}
<!--{block return}--><div class="locked">{lang post_hide_credits}</div>
$message<br /><br />
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function tpl_codedisp($code) {
$randomid = ‘code_‘.random(3);
}
<!--{block return}--><div class="blockcode"><div id="$randomid"><ol><li>$code</ol></div><em onclick="copycode($(‘$randomid‘));">{lang discuzcode_copyclipboard}</em></div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function tpl_quote() {
}
<!--{block return}--><div class="quote"><blockquote>\\1</blockquote></div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function tpl_free() {
}
<!--{block return}--><div class="quote"><blockquote>\\1</blockquote></div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function tpl_hide_reply() {
global $_G;
}
<!--{block return}--><div class="showhide"><h4>{lang post_hide}</h4>\\1</div>
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function tpl_hide_reply_hidden() {
global $_G;
}
<!--{block return}--><div class="locked"><!--{if $_G[uid]}-->{$_G[username]}<!--{else}-->{lang guest}<!--{/if}-->{lang post_hide_reply_hidden}</div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function attachlist($attach) {
global $_G;
$attach[‘refcheck‘] = (!$attach[‘remote‘] && $_G[‘setting‘][‘attachrefcheck‘]) || ($attach[‘remote‘] && ($_G[‘setting‘][‘ftp‘][‘hideurl‘] || ($attach[‘isimage‘] && $_G[‘setting‘][‘attachimgpost‘] && strtolower(substr($_G[‘setting‘][‘ftp‘][‘attachurl‘], 0, 3)) == ‘ftp‘)));
$aidencode = packaids($attach);
$widthcode = attachwidth($attach[‘width‘]);
$is_archive = $_G[‘forum_thread‘][‘is_archived‘] ? "&fid=".$_G[‘fid‘]."&archiveid=".$_G[forum_thread][archiveid] : ‘‘;
}
<!--{block return}-->
<ignore_js_op>
<dl class="tattl">
<dt>
$attach[attachicon]
</dt>
<dd>
<p class="attnm">
<!--{if !$attach[‘price‘] || $attach[‘payed‘]}-->
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode" onmouseover="showMenu({‘ctrlid‘:this.id,‘pos‘:‘12‘})" id="aid$attach[aid]" target="_blank">$attach[filename]</a>
<!--{else}-->
<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow(‘attachpay‘, this.href)">$attach[filename]</a>
<!--{/if}-->
<div class="tip tip_4" id="aid$attach[aid]_menu" style="display: none">
<div class="tip_c">
<p class="y">$attach[dateline] {lang upload}</p>
<p>{lang downloads}: $attach[downloads]</p>
<!--{if !$attach[‘attachimg‘] && $_G[‘getattachcredits‘]}-->{lang attachcredits}: $_G[getattachcredits]<br /><!--{/if}-->
</div>
<div class="tip_horn"></div>
</div>
</p>
<p>$attach[attachsize]<!--{if $attach[‘readperm‘]}-->, {lang readperm}: <strong>$attach[readperm]</strong><!--{/if}-->, {lang downloads}: $attach[downloads]<!--{if !$attach[‘attachimg‘] && $_G[‘getattachcredits‘]}-->, {lang attachcredits}: $_G[getattachcredits]<!--{/if}--></p>
<p>
<!--{if $attach[‘price‘]}-->
{lang price}: <strong>$attach[price] {$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][unit]}{$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][title]}</strong> &nbsp;[<a href="forum.php?mod=misc&action=viewattachpayments&aid=$attach[aid]" onclick="showWindow(‘attachpay‘, this.href)" target="_blank">{lang pay_view}</a>]
<!--{if !$attach[‘payed‘]}-->
&nbsp;[<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow(‘attachpay‘, this.href)">{lang attachment_buy}</a>]
<!--{/if}-->
<!--{/if}-->
</p>
<!--{if $attach[‘description‘]}--><p class="xg2">{$attach[description]}</p><!--{/if}-->
</dd>
</dl>
</ignore_js_op>
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function imagelist($attach, $firstpost = 0) {
global $_G;
$attach[‘refcheck‘] = (!$attach[‘remote‘] && $_G[‘setting‘][‘attachrefcheck‘]) || ($attach[‘remote‘] && ($_G[‘setting‘][‘ftp‘][‘hideurl‘] || ($attach[‘isimage‘] && $_G[‘setting‘][‘attachimgpost‘] && strtolower(substr($_G[‘setting‘][‘ftp‘][‘attachurl‘], 0, 3)) == ‘ftp‘)));
$aidencode = packaids($attach);
$widthcode = attachwidth($attach[‘width‘]);
$is_archive = $_G[‘forum_thread‘][‘is_archived‘] ? "&fid=".$_G[‘fid‘]."&archiveid=".$_G[forum_thread][archiveid] : ‘‘;
$attachthumb = getimgthumbname($attach[‘attachment‘]);
}
<!--{block return}-->
<!--{if $attach[‘attachimg‘] && $_G[‘setting‘][‘showimages‘] && ($_G[‘group‘][‘allowgetimage‘] || $_G[‘uid‘] == $attach[‘uid‘])}-->
<ignore_js_op>
<!--{if !IS_ROBOT}-->
<dl class="tattl attm">
<dt></dt>
<dd>
<p class="mbn">
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode&nothumb=yes" onmouseover="showMenu({‘ctrlid‘:this.id,‘pos‘:‘12‘})" id="aid$attach[aid]" class="xw1" target="_blank">$attach[filename]</a>
<em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em>
<!--{if $firstpost && $_G[‘fid‘] && $_G[‘forum‘][‘picstyle‘] && ($_G[‘forum‘][‘ismoderator‘] || $_G[‘uid‘] == $attach[‘uid‘])}-->
<a href="forum.php?mod=ajax&action=setthreadcover&aid=$attach[aid]&fid=$_G[fid]" onclick="showWindow(‘setcover{$attach[aid]}‘, this.href)">{lang set_cover}</a>
<!--{/if}-->
</p>
<div class="tip tip_4" id="aid$attach[aid]_menu" style="display: none">
<div class="tip_c">
<p class="y">$attach[dateline] {lang upload}</p>
<p>{lang downloads}: $attach[downloads]</p>
<p>
<a href="javascript:;" onclick="imageRotate(‘aimg_$attach[aid]‘, 1)"><img src="{STATICURL}image/common/rleft.gif" /></a>
<a href="javascript:;" onclick="imageRotate(‘aimg_$attach[aid]‘, 2)"><img src="{STATICURL}image/common/rright.gif" /></a>
</p>
</div>
<div class="tip_horn"></div>
</div>
<p class="mbn">
<!--{if $attach[‘readperm‘]}-->{lang readperm}: <strong>$attach[readperm]</strong><!--{/if}-->
<!--{if $attach[‘price‘]}-->{lang price}: <strong>$attach[price] {$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][unit]}{$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][title]}</strong> &nbsp;[<a href="forum.php?mod=misc&action=viewattachpayments&aid=$attach[aid]" onclick="showWindow(‘attachpay‘, this.href)" target="_blank">{lang pay_view}</a>]
<!--{if !$attach[‘payed‘]}-->
&nbsp;[<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow(‘attachpay‘, this.href)" target="_blank">{lang attachment_buy}</a>]
<!--{/if}-->
<!--{/if}-->
</p>
<!--{if $attach[‘description‘]}--><p class="mbn xg2">{$attach[description]}</p><!--{/if}-->
<!--{if !$attach[‘price‘] || $attach[‘payed‘]}-->
<p class="mbn">
<!--{if $_G[‘setting‘][‘thumbstatus‘] && $attach[‘thumb‘]}-->
<!--{if $_G[‘uid‘]}--><a href="javascript:;"><img id="aimg_$attach[aid]" src="{STATICURL}image/common/none.gif" onclick="zoom(this, this.getAttribute(‘zoomfile‘))" zoomfile="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach[url]}$attach[attachment]{/if}" file="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode{else}{$attach[url]}$attachthumb{/if}" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" w="$attach[width]" /></a><!--{else}--><a href="member.php?mod=logging&action=login" onclick="showWindow(‘login‘, this.href)" class="xi2"><img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode{else}{$attach[url]}$attachthumb{/if}" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" style="width:150px;height:170px;" /></a><div style="width:620px;text-align:center; font-size:12px;line-height:35px;border:10px solid #E5EDF2">游客只能查看小图,看高清大图请 <a href="member.php?mod=logging&action=login"><font color="#FF0000"><B>登陆</B></font></a>,没有账号请先 <a href="member.php?mod=register"><font color="#FF0000"><B>注册</B></font></a>,也可以用QQ号直接登陆本站<br/> <a href="$_G[connect][login_url]&statfrom=login_simple"><img src="{IMGDIR}/qq_login.gif" class="vm" alt="{lang qqconnect:connect_header_login}" /></a></div><!--{/if}-->
<!--{else}-->
<!--{if $_G[‘uid‘]}--><img id="aimg_$attach[aid]" src="{STATICURL}image/common/none.gif" zoomfile="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach[url]}$attach[attachment]{/if}" file="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" $widthcode id="aimg_$attach[aid]" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" w="$attach[width]" /><!--{else}--><a href="member.php?mod=logging&action=login" onclick="showWindow(‘login‘, this.href)" class="xi2"><img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" style="width:150px;height:170px;" /></a><div style="width:620px;text-align:center; font-size:12px;line-height:35px; border:10px solid #E5EDF2">游客只能查看小图,看高清大图请 <a href="member.php?mod=logging&action=login"><font color="#FF0000"><B>登陆</B></font></a>,没有账号请先 <a href="member.php?mod=register"><font color="#FF0000"><B>注册</B></font></a>,也可以用QQ号直接登陆本站<br/> <a href="$_G[connect][login_url]&statfrom=login_simple"><img src="{IMGDIR}/qq_login.gif" class="vm" alt="{lang qqconnect:connect_header_login}" /></a></div><!--{/if}-->
<!--{/if}-->
</p>
<!--{/if}-->
</dd>
</dl>
<!--{else}-->
<dl class="tattl attm">
<!--{if !$attach[‘price‘] || $attach[‘payed‘]}-->
<dd>
<!--{if $attach[‘description‘]}--><p>{$attach[description]}</p><!--{/if}-->
<img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" alt="$attach[imgalt]" title="$attach[imgalt]" />
</dd>
<!--{/if}-->
</dl>
<!--{/if}-->
</ignore_js_op>
<!--{/if}-->
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function attachinpost($attach, $firstpost = 0) {
global $_G;
$attach[‘refcheck‘] = (!$attach[‘remote‘] && $_G[‘setting‘][‘attachrefcheck‘]) || ($attach[‘remote‘] && ($_G[‘setting‘][‘ftp‘][‘hideurl‘] || ($attach[‘isimage‘] && $_G[‘setting‘][‘attachimgpost‘] && strtolower(substr($_G[‘setting‘][‘ftp‘][‘attachurl‘], 0, 3)) == ‘ftp‘)));
$aidencode = packaids($attach);
$widthcode = attachwidth($attach[‘width‘]);
$is_archive = $_G[‘forum_thread‘][‘is_archived‘] ? ‘&fid=‘.$_G[‘fid‘].‘&archiveid=‘.$_G[forum_thread][archiveid] : ‘‘;
$attachthumb = getimgthumbname($attach[‘attachment‘]);
}
<!--{block return}-->
<ignore_js_op>

<!--{if $attach[‘attachimg‘] && $_G[‘setting‘][‘showimages‘] && (!$attach[‘price‘] || $attach[‘payed‘]) && ($_G[‘group‘][‘allowgetimage‘] || $_G[‘uid‘] == $attach[‘uid‘])}-->
<!--{if !IS_ROBOT}-->
<!--{if $_G[‘setting‘][‘thumbstatus‘] && $attach[‘thumb‘]}-->
<!--{if $_G[‘uid‘]}--><img{if $attach[‘price‘] && $_G[‘forum_attachmentdown‘] && $_G[‘uid‘] != $attach[‘uid‘]} class="attprice"{/if} style="cursor:pointer" id="aimg_$attach[aid]" src="{STATICURL}image/common/none.gif" onclick="zoom(this, this.getAttribute(‘zoomfile‘))" zoomfile="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach[url]}$attach[attachment]{/if}" file="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode{else}{$attach[url]}$attachthumb{/if}" inpost="1" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]"/><!--{else}--><a href="member.php?mod=logging&action=login" onclick="showWindow(‘login‘, this.href)" class="xi2"><img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode{else}{$attach[url]}$attachthumb{/if}" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" style="width:150px;height:170px;" /></a><div style="width:620px;text-align:center;font-size:12px;line-height:35px;border:10px solid #E5EDF2">游客只能查看小图,看高清大图请先 <a href="member.php?mod=logging&action=login"><font color="#FF0000"><B>登陆</B></font></a>,没有账号请 <a href="member.php?mod=register"><font color="#FF0000"><B>注册</B></font></a>,也可以用QQ号直接登陆本站<br/> <a href="$_G[connect][login_url]&statfrom=login_simple"><img src="{IMGDIR}/qq_login.gif" class="vm" alt="{lang qqconnect:connect_header_login}" /></a></div><!--{/if}-->
<!--{else}-->
<!--{if $_G[‘uid‘]}--><img{if $attach[‘price‘] && $_G[‘forum_attachmentdown‘] && $_G[‘uid‘] != $attach[‘uid‘]} class="attprice"{/if} id="aimg_$attach[aid]" src="{STATICURL}image/common/none.gif" zoomfile="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach[url]}$attach[attachment]{/if}" file="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" $widthcode id="aimg_$attach[aid]" inpost="1" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" /><!--{else}--><a href="member.php?mod=logging&action=login" onclick="showWindow(‘login‘, this.href)" class="xi2"><img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" style="width:150px;height:170px;" /></a><div style="width:620px;text-align:center;font-size:12px;line-height:35px;border:10px solid #E5EDF2">游客只能查看小图,看高清大图请先 <a href="member.php?mod=logging&action=login"><font color="#FF0000"><B>登陆</B></font></a>,没有账号请 <a href="member.php?mod=register"><font color="#FF0000"><B>注册</B></font></a>,也可以用QQ号直接登陆本站<br/> <a href="$_G[connect][login_url]&statfrom=login_simple"><img src="{IMGDIR}/qq_login.gif" class="vm" alt="{lang qqconnect:connect_header_login}" /></a></div><!--{/if}-->
<!--{/if}-->
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none">
<div class="tip_c xs0">
<div class="y">$attach[dateline] {lang upload}</div>
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode&nothumb=yes" title="$attach[filename] {lang downloads}:$attach[downloads]" target="_blank"><strong>{lang download}</strong> <span class="xs0">($attach[attachsize])</span></a>
<!--{if $attach[description]}--><br />$attach[description]<!--{/if}-->
<!--{if $firstpost && $_G[‘fid‘] && $_G[‘forum‘][‘picstyle‘] && ($_G[‘forum‘][‘ismoderator‘] || $_G[‘uid‘] == $attach[‘uid‘])}-->
<br /><a href="forum.php?mod=ajax&action=setthreadcover&aid=$attach[aid]&fid=$_G[fid]" onclick="showWindow(‘setcover{$attach[aid]}‘, this.href)">{lang set_cover}</a>
<!--{/if}-->
<!--{else}-->
<!--{if $attach[‘description‘]}--><p>{$attach[description]}</p><!--{/if}-->
<img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" alt="$attach[imgalt]" title="$attach[imgalt]" />
<div style="display: none">
<!--{/if}-->
<!--{else}-->
$attach[attachicon]
<span style="white-space: nowrap" id="attach_$attach[aid]" onmouseover="showMenu({‘ctrlid‘:this.id,‘pos‘:‘12‘})">
<!--{if !$attach[‘price‘] || $attach[‘payed‘]}-->
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode" target="_blank">$attach[filename]</a>
<!--{else}-->
<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow(‘attachpay‘, this.href)">$attach[filename]</a>
<!--{/if}-->
<em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads]<!--{if $attach[‘price‘]}-->, {lang price}: $attach[price] {$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][unit]}{$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][title]}<!--{/if}-->)
</em>
</span>
<div class="tip tip_4" id="attach_$attach[aid]_menu" style="position: absolute; display: none">
<div class="tip_c xs0">
<div class="y">$attach[dateline] {lang upload}</div>
{lang downloads}: $attach[downloads]
<!--{if $attach[‘description‘]}--><br />$attach[description]<!--{/if}-->
<!--{if $attach[‘readperm‘]}--><br />{lang readperm}: $attach[readperm]<!--{/if}-->
<!--{/if}-->
<!--{if $attach[‘price‘]}-->
<br />{lang price}: $attach[price] {$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][unit]}{$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][title]} &nbsp;<a href="forum.php?mod=misc&action=viewattachpayments&aid=$attach[aid]" onclick="showWindow(‘attachpay‘, this.href)" target="_blank">[{lang pay_view}]</a>
<!--{if !$attach[‘payed‘]}-->
&nbsp;[<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow(‘attachpay‘, this.href)" target="_blank">{lang attachment_buy}</a>]
<!--{/if}-->
<!--{/if}-->
<!--{if !$attach[‘attachimg‘] && $_G[‘getattachcredits‘]}--><br />{lang attachcredits}: $_G[getattachcredits]<!--{/if}-->
</div>
<div class="tip_horn"></div>
</div>
</ignore_js_op>
<!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

}-->

================================

GBK版本安装新浪微博的discuzcode.htm内容替换:

{eval
function tpl_hide_credits_hidden($creditsrequire) {
global $_G;
}
<!--{block return}--><div class="locked"><!--{if $_G[uid]}-->{$_G[username]}<!--{else}-->{lang guest}<!--{/if}-->{lang post_hide_credits_hidden}</div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function tpl_hide_credits($creditsrequire, $message) {
}
<!--{block return}--><div class="locked">{lang post_hide_credits}</div>
$message<br /><br />
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function tpl_codedisp($code) {
$randomid = ‘code_‘.random(3);
}
<!--{block return}--><div class="blockcode"><div id="$randomid"><ol><li>$code</ol></div><em onclick="copycode($(‘$randomid‘));">{lang discuzcode_copyclipboard}</em></div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function tpl_quote() {
}
<!--{block return}--><div class="quote"><blockquote>\\1</blockquote></div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function tpl_free() {
}
<!--{block return}--><div class="quote"><blockquote>\\1</blockquote></div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function tpl_hide_reply() {
global $_G;
}
<!--{block return}--><div class="showhide"><h4>{lang post_hide}</h4>\\1</div>
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function tpl_hide_reply_hidden() {
global $_G;
}
<!--{block return}--><div class="locked"><!--{if $_G[uid]}-->{$_G[username]}<!--{else}-->{lang guest}<!--{/if}-->{lang post_hide_reply_hidden}</div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function attachlist($attach) {
global $_G;
$attach[‘refcheck‘] = (!$attach[‘remote‘] && $_G[‘setting‘][‘attachrefcheck‘]) || ($attach[‘remote‘] && ($_G[‘setting‘][‘ftp‘][‘hideurl‘] || ($attach[‘isimage‘] && $_G[‘setting‘][‘attachimgpost‘] && strtolower(substr($_G[‘setting‘][‘ftp‘][‘attachurl‘], 0, 3)) == ‘ftp‘)));
$aidencode = packaids($attach);
$widthcode = attachwidth($attach[‘width‘]);
$is_archive = $_G[‘forum_thread‘][‘is_archived‘] ? "&fid=".$_G[‘fid‘]."&archiveid=".$_G[forum_thread][archiveid] : ‘‘;
}
<!--{block return}-->
<ignore_js_op>
<dl class="tattl">
<dt>
$attach[attachicon]
</dt>
<dd>
<p class="attnm">
<!--{if !$attach[‘price‘] || $attach[‘payed‘]}-->
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode" onmouseover="showMenu({‘ctrlid‘:this.id,‘pos‘:‘12‘})" id="aid$attach[aid]" target="_blank">$attach[filename]</a>
<!--{else}-->
<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow(‘attachpay‘, this.href)">$attach[filename]</a>
<!--{/if}-->
<div class="tip tip_4" id="aid$attach[aid]_menu" style="display: none">
<div class="tip_c">
<p class="y">$attach[dateline] {lang upload}</p>
<p>{lang downloads}: $attach[downloads]</p>
<!--{if !$attach[‘attachimg‘] && $_G[‘getattachcredits‘]}-->{lang attachcredits}: $_G[getattachcredits]<br /><!--{/if}-->
</div>
<div class="tip_horn"></div>
</div>
</p>
<p>$attach[attachsize]<!--{if $attach[‘readperm‘]}-->, {lang readperm}: <strong>$attach[readperm]</strong><!--{/if}-->, {lang downloads}: $attach[downloads]<!--{if !$attach[‘attachimg‘] && $_G[‘getattachcredits‘]}-->, {lang attachcredits}: $_G[getattachcredits]<!--{/if}--></p>
<p>
<!--{if $attach[‘price‘]}-->
{lang price}: <strong>$attach[price] {$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][unit]}{$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][title]}</strong> &nbsp;[<a href="forum.php?mod=misc&action=viewattachpayments&aid=$attach[aid]" onclick="showWindow(‘attachpay‘, this.href)" target="_blank">{lang pay_view}</a>]
<!--{if !$attach[‘payed‘]}-->
&nbsp;[<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow(‘attachpay‘, this.href)">{lang attachment_buy}</a>]
<!--{/if}-->
<!--{/if}-->
</p>
<!--{if $attach[‘description‘]}--><p class="xg2">{$attach[description]}</p><!--{/if}-->
</dd>
</dl>
</ignore_js_op>
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function imagelist($attach, $firstpost = 0) {
global $_G;
$attach[‘refcheck‘] = (!$attach[‘remote‘] && $_G[‘setting‘][‘attachrefcheck‘]) || ($attach[‘remote‘] && ($_G[‘setting‘][‘ftp‘][‘hideurl‘] || ($attach[‘isimage‘] && $_G[‘setting‘][‘attachimgpost‘] && strtolower(substr($_G[‘setting‘][‘ftp‘][‘attachurl‘], 0, 3)) == ‘ftp‘)));
$aidencode = packaids($attach);
$widthcode = attachwidth($attach[‘width‘]);
$is_archive = $_G[‘forum_thread‘][‘is_archived‘] ? "&fid=".$_G[‘fid‘]."&archiveid=".$_G[forum_thread][archiveid] : ‘‘;
$attachthumb = getimgthumbname($attach[‘attachment‘]);
}
<!--{block return}-->
<!--{if $attach[‘attachimg‘] && $_G[‘setting‘][‘showimages‘] && ($_G[‘group‘][‘allowgetimage‘] || $_G[‘uid‘] == $attach[‘uid‘])}-->
<ignore_js_op>
<!--{if !IS_ROBOT}-->
<dl class="tattl attm">
<dt></dt>
<dd>
<p class="mbn">
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode&nothumb=yes" onmouseover="showMenu({‘ctrlid‘:this.id,‘pos‘:‘12‘})" id="aid$attach[aid]" class="xw1" target="_blank">$attach[filename]</a>
<em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em>
<!--{if $firstpost && $_G[‘fid‘] && $_G[‘forum‘][‘picstyle‘] && ($_G[‘forum‘][‘ismoderator‘] || $_G[‘uid‘] == $attach[‘uid‘])}-->
<a href="forum.php?mod=ajax&action=setthreadcover&aid=$attach[aid]&fid=$_G[fid]" onclick="showWindow(‘setcover{$attach[aid]}‘, this.href)">{lang set_cover}</a>
<!--{/if}-->
</p>
<div class="tip tip_4" id="aid$attach[aid]_menu" style="display: none">
<div class="tip_c">
<p class="y">$attach[dateline] {lang upload}</p>
<p>{lang downloads}: $attach[downloads]</p>
<p>
<a href="javascript:;" onclick="imageRotate(‘aimg_$attach[aid]‘, 1)"><img src="{STATICURL}image/common/rleft.gif" /></a>
<a href="javascript:;" onclick="imageRotate(‘aimg_$attach[aid]‘, 2)"><img src="{STATICURL}image/common/rright.gif" /></a>
</p>
</div>
<div class="tip_horn"></div>
</div>
<p class="mbn">
<!--{if $attach[‘readperm‘]}-->{lang readperm}: <strong>$attach[readperm]</strong><!--{/if}-->
<!--{if $attach[‘price‘]}-->{lang price}: <strong>$attach[price] {$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][unit]}{$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][title]}</strong> &nbsp;[<a href="forum.php?mod=misc&action=viewattachpayments&aid=$attach[aid]" onclick="showWindow(‘attachpay‘, this.href)" target="_blank">{lang pay_view}</a>]
<!--{if !$attach[‘payed‘]}-->
&nbsp;[<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow(‘attachpay‘, this.href)" target="_blank">{lang attachment_buy}</a>]
<!--{/if}-->
<!--{/if}-->
</p>
<!--{if $attach[‘description‘]}--><p class="mbn xg2">{$attach[description]}</p><!--{/if}-->
<!--{if !$attach[‘price‘] || $attach[‘payed‘]}-->
<p class="mbn">
<!--{if $_G[‘setting‘][‘thumbstatus‘] && $attach[‘thumb‘]}-->
<!--{if $_G[‘uid‘]}--><a href="javascript:;"><img id="aimg_$attach[aid]" src="{STATICURL}image/common/none.gif" onclick="zoom(this, this.getAttribute(‘zoomfile‘))" zoomfile="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach[url]}$attach[attachment]{/if}" file="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode{else}{$attach[url]}$attachthumb{/if}" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" w="$attach[width]" /></a><!--{else}--><a href="member.php?mod=logging&action=login" onclick="showWindow(‘login‘, this.href)" class="xi2"><img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode{else}{$attach[url]}$attachthumb{/if}" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" style="width:150px;height:170px;" /></a><div style="width:620px;text-align:center; font-size:12px;line-height:35px;border:10px solid #E5EDF2">游客只能查看小图,看高清大图请 <a href="member.php?mod=logging&action=login"><font color="#FF0000"><B>登陆</B></font></a>,没有账号请先 <a href="member.php?mod=register"><font color="#FF0000"><B>注册</B></font></a>,也可以用QQ号或新浪微博账号直接登陆本站<br/> <a href="$_G[connect][login_url]&statfrom=login_simple"><img src="{IMGDIR}/qq_login.gif" class="vm" alt="{lang qqconnect:connect_header_login}" /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="xwb.php?m=xwbAuth.login"><img src="xwb/images/bgimg/sina_login_btn.png" class="vm"/></a></div><!--{/if}-->
<!--{else}-->
<!--{if $_G[‘uid‘]}--><img id="aimg_$attach[aid]" src="{STATICURL}image/common/none.gif" zoomfile="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach[url]}$attach[attachment]{/if}" file="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" $widthcode id="aimg_$attach[aid]" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" w="$attach[width]" /><!--{else}--><a href="member.php?mod=logging&action=login" onclick="showWindow(‘login‘, this.href)" class="xi2"><img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" style="width:150px;height:170px;" /></a><div style="width:620px;text-align:center; font-size:12px;line-height:35px; border:10px solid #E5EDF2">游客只能查看小图,看高清大图请 <a href="member.php?mod=logging&action=login"><font color="#FF0000"><B>登陆</B></font></a>,没有账号请先 <a href="member.php?mod=register"><font color="#FF0000"><B>注册</B></font></a>,也可以用QQ号或新浪微博账号直接登陆本站<br/> <a href="$_G[connect][login_url]&statfrom=login_simple"><img src="{IMGDIR}/qq_login.gif" class="vm" alt="{lang qqconnect:connect_header_login}" /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="xwb.php?m=xwbAuth.login"><img src="xwb/images/bgimg/sina_login_btn.png" class="vm"/></a></div><!--{/if}-->
<!--{/if}-->
</p>
<!--{/if}-->
</dd>
</dl>
<!--{else}-->
<dl class="tattl attm">
<!--{if !$attach[‘price‘] || $attach[‘payed‘]}-->
<dd>
<!--{if $attach[‘description‘]}--><p>{$attach[description]}</p><!--{/if}-->
<img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" alt="$attach[imgalt]" title="$attach[imgalt]" />
</dd>
<!--{/if}-->
</dl>
<!--{/if}-->
</ignore_js_op>
<!--{/if}-->
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}

function attachinpost($attach, $firstpost = 0) {
global $_G;
$attach[‘refcheck‘] = (!$attach[‘remote‘] && $_G[‘setting‘][‘attachrefcheck‘]) || ($attach[‘remote‘] && ($_G[‘setting‘][‘ftp‘][‘hideurl‘] || ($attach[‘isimage‘] && $_G[‘setting‘][‘attachimgpost‘] && strtolower(substr($_G[‘setting‘][‘ftp‘][‘attachurl‘], 0, 3)) == ‘ftp‘)));
$aidencode = packaids($attach);
$widthcode = attachwidth($attach[‘width‘]);
$is_archive = $_G[‘forum_thread‘][‘is_archived‘] ? ‘&fid=‘.$_G[‘fid‘].‘&archiveid=‘.$_G[forum_thread][archiveid] : ‘‘;
$attachthumb = getimgthumbname($attach[‘attachment‘]);
}
<!--{block return}-->
<ignore_js_op>

<!--{if $attach[‘attachimg‘] && $_G[‘setting‘][‘showimages‘] && (!$attach[‘price‘] || $attach[‘payed‘]) && ($_G[‘group‘][‘allowgetimage‘] || $_G[‘uid‘] == $attach[‘uid‘])}-->
<!--{if !IS_ROBOT}-->
<!--{if $_G[‘setting‘][‘thumbstatus‘] && $attach[‘thumb‘]}-->
<!--{if $_G[‘uid‘]}--><img{if $attach[‘price‘] && $_G[‘forum_attachmentdown‘] && $_G[‘uid‘] != $attach[‘uid‘]} class="attprice"{/if} style="cursor:pointer" id="aimg_$attach[aid]" src="{STATICURL}image/common/none.gif" onclick="zoom(this, this.getAttribute(‘zoomfile‘))" zoomfile="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach[url]}$attach[attachment]{/if}" file="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode{else}{$attach[url]}$attachthumb{/if}" inpost="1" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]"/><!--{else}--><a href="member.php?mod=logging&action=login" onclick="showWindow(‘login‘, this.href)" class="xi2"><img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode{else}{$attach[url]}$attachthumb{/if}" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" style="width:150px;height:170px;" /></a><div style="width:620px;text-align:center;font-size:12px;line-height:35px;border:10px solid #E5EDF2">游客只能查看小图,看高清大图请先 <a href="member.php?mod=logging&action=login"><font color="#FF0000"><B>登陆</B></font></a>,没有账号请 <a href="member.php?mod=register"><font color="#FF0000"><B>注册</B></font></a>,也可以用QQ号或新浪微博账号直接登陆本站<br/> <a href="$_G[connect][login_url]&statfrom=login_simple"><img src="{IMGDIR}/qq_login.gif" class="vm" alt="{lang qqconnect:connect_header_login}" /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="xwb.php?m=xwbAuth.login"><img src="xwb/images/bgimg/sina_login_btn.png" class="vm"/></a></div><!--{/if}-->
<!--{else}-->
<!--{if $_G[‘uid‘]}--><img{if $attach[‘price‘] && $_G[‘forum_attachmentdown‘] && $_G[‘uid‘] != $attach[‘uid‘]} class="attprice"{/if} id="aimg_$attach[aid]" src="{STATICURL}image/common/none.gif" zoomfile="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach[url]}$attach[attachment]{/if}" file="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" $widthcode id="aimg_$attach[aid]" inpost="1" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" /><!--{else}--><a href="member.php?mod=logging&action=login" onclick="showWindow(‘login‘, this.href)" class="xi2"><img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" alt="$_G[forum_thread][subject]" title="$_G[forum_thread][subject]" style="width:150px;height:170px;" /></a><div style="width:620px;text-align:center;font-size:12px;line-height:35px;border:10px solid #E5EDF2">游客只能查看小图,看高清大图请先 <a href="member.php?mod=logging&action=login"><font color="#FF0000"><B>登陆</B></font></a>,没有账号请 <a href="member.php?mod=register"><font color="#FF0000"><B>注册</B></font></a>,也可以用QQ号或新浪微博账号直接登陆本站<br/> <a href="$_G[connect][login_url]&statfrom=login_simple"><img src="{IMGDIR}/qq_login.gif" class="vm" alt="{lang qqconnect:connect_header_login}" /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="xwb.php?m=xwbAuth.login"><img src="xwb/images/bgimg/sina_login_btn.png" class="vm"/></a></div><!--{/if}-->
<!--{/if}-->
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none">
<div class="tip_c xs0">
<div class="y">$attach[dateline] {lang upload}</div>
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode&nothumb=yes" title="$attach[filename] {lang downloads}:$attach[downloads]" target="_blank"><strong>{lang download}</strong> <span class="xs0">($attach[attachsize])</span></a>
<!--{if $attach[description]}--><br />$attach[description]<!--{/if}-->
<!--{if $firstpost && $_G[‘fid‘] && $_G[‘forum‘][‘picstyle‘] && ($_G[‘forum‘][‘ismoderator‘] || $_G[‘uid‘] == $attach[‘uid‘])}-->
<br /><a href="forum.php?mod=ajax&action=setthreadcover&aid=$attach[aid]&fid=$_G[fid]" onclick="showWindow(‘setcover{$attach[aid]}‘, this.href)">{lang set_cover}</a>
<!--{/if}-->
<!--{else}-->
<!--{if $attach[‘description‘]}--><p>{$attach[description]}</p><!--{/if}-->
<img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" alt="$attach[imgalt]" title="$attach[imgalt]" />
<div style="display: none">
<!--{/if}-->
<!--{else}-->
$attach[attachicon]
<span style="white-space: nowrap" id="attach_$attach[aid]" onmouseover="showMenu({‘ctrlid‘:this.id,‘pos‘:‘12‘})">
<!--{if !$attach[‘price‘] || $attach[‘payed‘]}-->
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode" target="_blank">$attach[filename]</a>
<!--{else}-->
<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow(‘attachpay‘, this.href)">$attach[filename]</a>
<!--{/if}-->
<em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads]<!--{if $attach[‘price‘]}-->, {lang price}: $attach[price] {$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][unit]}{$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][title]}<!--{/if}-->)
</em>
</span>
<div class="tip tip_4" id="attach_$attach[aid]_menu" style="position: absolute; display: none">
<div class="tip_c xs0">
<div class="y">$attach[dateline] {lang upload}</div>
{lang downloads}: $attach[downloads]
<!--{if $attach[‘description‘]}--><br />$attach[description]<!--{/if}-->
<!--{if $attach[‘readperm‘]}--><br />{lang readperm}: $attach[readperm]<!--{/if}-->
<!--{/if}-->
<!--{if $attach[‘price‘]}-->
<br />{lang price}: $attach[price] {$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][unit]}{$_G[‘setting‘][‘extcredits‘][$_G[‘setting‘][‘creditstransextra‘][1]][title]} &nbsp;<a href="forum.php?mod=misc&action=viewattachpayments&aid=$attach[aid]" onclick="showWindow(‘attachpay‘, this.href)" target="_blank">[{lang pay_view}]</a>
<!--{if !$attach[‘payed‘]}-->
&nbsp;[<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow(‘attachpay‘, this.href)" target="_blank">{lang attachment_buy}</a>]
<!--{/if}-->
<!--{/if}-->
<!--{if !$attach[‘attachimg‘] && $_G[‘getattachcredits‘]}--><br />{lang attachcredits}: $_G[getattachcredits]<!--{/if}-->
</div>
<div class="tip_horn"></div>
</div>
</ignore_js_op>
<!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

}-->

时间: 2024-10-14 06:37:07

未登陆只能查看小图,提醒注册、登陆看大图的相关文章

android asmack 注册 登陆 聊天 多人聊天室 文件传输

XMPP协议简介 XMPP协议(Extensible Messaging and PresenceProtocol,可扩展消息处理现场协议)是一种基于XML的协议,目的是为了解决及时通信标准而提出来的,最早是在Jabber上实现的.它继承了在XML环境中灵活的发展性.因此,基于XMPP的应用具有超强的可扩展性.并且XML很易穿过防火墙,所以用XMPP构建的应用不易受到防火墙的阻碍.利用XMPP作为通用的传输机制,不同组织内的不同应用都可以进行有效的通信. 这篇文章有基本的介绍,http://bl

163手机邮箱如何注册登陆?

邮箱是目前通讯方式中经济实惠且方便快捷的工具,是企业内部及客户通联的重要纽带,相信这一点,很多商务人士都能达成共识.当你在出差或地铁上,领导急需你处理一个紧急邮件,怎么办?小编以TOMVIP邮箱为例,给大家分享一下如何注册登陆163手机邮箱,帮你快速处理邮件.br/>第一步:拥有一个@163.net的邮箱账号,如果没有,可以去官网注册一下. 第二步:点击注册,选择套餐,填写邮箱信息即可完成注册.第三步:打开手机微信,搜索随心邮,点击关注公众号 第四步:关注后,可以通过以下两种方式进行登录1.点击

python django学习一:简单注册/登陆/session

注册 登陆 session user.html 未使用{{useform}}而使用{{ userform.password }}形式便于后期css样式 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <form act

EL表达式 JSTL的标签库 EL的函数 自定义EL函数 自定义标签 JSP的开发模式 注册登陆案例

EL表达式 JSTL的标签库 EL的函数 自定义EL函数 自定义标签 JSP的开发模式 注册登陆案例 EL表达式 1.获取域对象中的值 2.EL表达式支持运算 ${ num1 + num2 } EL获取常用的WEB对象 1.pageScope 获取page域对象的值 2.requestScope 获取request域对象的值 3.sessionScope 获取session域对象的值 4.applicationScope 获取application域对象的值 * 例子:向某个域中来存入值 req

【原创】android——SQLite实现简单的注册登陆(已经美化)

1,Main_activity的xmL配置 1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 android:layout_width="match_parent" 4 android:layout_height="match_pa

nodejs基础运用——模拟注册登陆

正如维基百科 所说:"Node.js 是谷歌 V8 引擎.libuv平台抽象层 以及主体使用 Javscript 编写的核心库三者集合的一个包装外壳." 除此之外,值得注意的是,Node.js 的作者瑞恩·达尔 (Ryan Dahl) 的目标是创建具有实时推送能力的网站.在 Node.js 中,他给了开发者一个使用事件驱动来实现异步开发的优秀解决方案. 今天就来分享一个基础的nodejs运用----------模拟注册登陆.现在都是用的第三方,几乎没人用原生的来自己写.不过如果你是初学

[case分享]Exchange 2010 登陆OWA查看邮件出现Rights managem operation failed

环境: AD+Exchange 2010(all in one) 故障现象: 客户端登陆OWA查看任意一封邮件,出现Rights management operation failed  的错误.   如图所示: 解决方法: 在EMS输入:get-owavirtualdirectory | set-owavirtualdirectory -irmenable $false,重启下IIS. PS:irmenable是启用信息权限管理 (IRM) 功能,因为用户现在随处都可以访问他们的电子邮件,所以

注册登陆时动态获取Host IP

当我们要AFNetWorking获取注册登陆网址时,有些时候会发现Host 提供的是一个动态IP,每次所获取的网址都不相同,特意封装了一个获取IP的方法 #import <Foundation/Foundation.h> #import "FQinterface.h" #import "AFNetworking.h" /**  这是一个用来封装这个项目网络请求的类别  */ @interface AFHTTPRequestOperationManager

SSH2注册登陆

原文:SSH2注册登陆 源代码下载地址:http://www.zuidaima.com/share/1550463696620544.htm 注册页面 访问地址:localhost:端口/项目名称/reg.jsp 注册成功 登陆页面 访问地址:localhost:端口/项目名称/login.jsp 登陆成功