本帖最后由 bkai2008 于 2010-7-3 16:42 编辑
原帖 地址 XI 专版 https://discuz.dismall.com/forum. ... ead&tid=1779831
演示地址 http://www.nokia86.cn/thread-46031-1-1.html
打开使用模版
viewthread_node.htm
找到- <!--{if $lastmod['magicname']}--><div class="modact"><a href="misc.php?
复制代码 在其上方加入- <!--{if $post['first']}-->
- <div align="center">
- <a href="javascript:(function(){window.open('http://v.t.sina.com.cn/share/share.php?title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent
- (location.href)+'&source=bookmark','_blank');})()" title="新浪微博分享"><img src="{STATICURL}image/common/1.png" alt="新浪微博分享" border="0"></a>
- <a title="转贴到校内网" href="javascript:void((function(s,d,e){if(/xiaonei\.com/.test(d.location))return;var%20f='http://share.xiaonei.com/share/buttonshare.do?
- link=',u=d.location,l=d.title,p=[e(u),'&title=',e(l)].join('');function%20a(){if(!window.open([f,p].join(''),'xnshare',
- ['**=0,status=0,resizable=1,width=626,height=436,left=',(s.width-626)/2,',top=',(s.height-436)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))
- setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent));"><img src="{STATICURL}image/common/4.png" alt="分享到人人网" border="0"></a>
- <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(kaixin=window.open
- ('http://www.kaixin001.com/~repaste/repaste.php?&rurl='+escape(d.location.href)+'&rtitle='+escape(d.title)+'&rcontent='+escape(d.title),'kaixin'));kaixin.focus();" title="转贴到开心网"><img src="{STATICURL}image/common/3.png" alt="转贴到开心网" border="0"></a>
- <a title="添加到QQ书签" href="javascript:window.open('http://shuqian.qq.com/post?from=3&title='+encodeURIComponent(document.title)+'&uri='+encodeURIComponent
- (document.location.href)+'&jumpback=2&noui=1','favit','width=930,height=470,left=50,top=50,**=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');vo
- id(0)"><img src="{STATICURL}image/common/2.png" alt="QQ书签" border="0"></a>
- <a rel="nofollow" class="fav_douban" href="javascript:void(function(){var%20d=document,e=encodeURIComponent,s1=window.getSelection,s2=d.getSelection,s3=d.selection,s=s1?s1
- ():s2?s2():s3?s3.createRange().text:'',r='http://www.douban.com/recommend/?url='+e(d.location.href)+'&title='+e(d.title)+'&sel='+e(s)+'&v=1',x=function(){if(!window.open
- (r,'douban','**=0,resizable=1,scrollbars=yes,status=1,width=450,height=330'))location.href=r+'&r=1'};if(/Firefox/.test(navigator.userAgent)){setTimeout(x,0)}else{x()}})
- ()"><img src="{STATICURL}image/common/6.png" alt="分享到豆瓣" border="0"></a>
- <script language="JavaScript">
- function copyUrl(url){
- var content='';
- window.clipboardData.setData("Text",url);
- alert("复制成功,您可以用Ctrl+V粘贴到你的QQ/MSN上推荐给你的好友了");}
- </script>
- <a href="javascript:void(0)" onclick="javascript:copyUrl('{$post[subject]}\n{$_G[siteurl]}forum.php?mod=viewthread&tid=$_G[tid]$fromuid');return false;"><img src="{STATICURL}image/common/5.png" alt="复制帖子标题和地址" border="0"></a></div>
- <!--{/if}-->
复制代码 图片上传对应目录
|