Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[分享] 最新Kan023修改完整,免费下载!有问题跟帖

[复制链接]
zmrw 发表于 2009-4-10 23:28:44 | 显示全部楼层
支持下,哈哈((em:06))((em:06))
回复

使用道具 举报

zmrw 发表于 2009-4-10 23:29:30 | 显示全部楼层
谢谢 楼主 也给我一份吧 675677@qq.com



http://bbs.0797.cn/
回复

使用道具 举报

yushine 发表于 2009-4-10 23:38:03 | 显示全部楼层

RE: 我的平湖版已经全部完整上线,有问题请跟帖

其实这模板没有什么问题
最主要还是分类和模型的数据调用
firefox下你的头部错位仍未解决
未命名.jpg
解决方法如下:
我修改的通用版复制代码  粘贴进根目录下 batch.panel.php
  1. <?php

  2. /*
  3.         [SupeSite] (C) 2007-2009 Comsenz Inc.
  4.         $Id: batch.panel.php 11538 2009-03-09 08:15:35Z zhaofei $
  5. */

  6. include_once('./common.php');
  7. include_once(S_ROOT.'./language/batch.lang.php');

  8. $uid = $_SGLOBAL['supe_uid'];
  9. $ucurl = avatar($uid);
  10. $siteurl = S_URL_ALL;
  11. if(!empty($uid)) {
  12.         if($channels['menus']['bbs']) {
  13.                 $bbshtml = ' | <a href="'.$_SC['bbsurl'].'" target="_blank">'.$blang['forum_visit'].'</a>';
  14.         }
  15.         if($channels['menus']['uchblog'] || $channels['menus']['uchimage']) {
  16.                 $uchhtml = ' | <a href="'.$_SC['uchurl'].'" target="_blank">'.$blang['home_visit'].'</a>';
  17.         }
  18.         $showpost = 0;
  19.         $showposturl = '';
  20.         $divhtml = '<div id="contribute_op" style="display:none;"><ul>';
  21.         if(!in_array('news', $_SCONFIG['closechannels']) && !empty($_SGLOBAL['group']['managespacenews'])) {
  22.                 $divhtml .= '<li><a href="'.$siteurl.'/admincp.php?action=spacenews&op=add" target="_blank" onclick="hidendivop();">'.$lang['news'].'</a></li>';
  23.                 $showpost++;
  24.                 $showposturl = $siteurl.'/admincp.php?action=spacenews&op=add';
  25.         }
  26.        
  27.         include_once(S_ROOT.'./function/model.func.php');
  28.         $midarr = getuserspacemid();
  29.         if(!empty($midarr)) {
  30.                 foreach($midarr as $tmpkey => $tmpvalue) {               
  31.                         $divhtml .= '<li><a href="'.$siteurl.'/admincp.php?action=modelmanages&mid='.$tmpvalue['mid'].'&op=add" onclick="hidendivop();" target="_blank">'.$tmpvalue['modelalias'].'</a></li>';
  32.                         $showpost++;
  33.                         $showposturl = $siteurl.'/admincp.php?action=modelmanages&mid='.$tmpvalue['mid'].'&op=add';
  34.                 }
  35.         }
  36.        
  37.         if($showpost == 1) {
  38.                 $showposturl = "document.write('<div class="user_op"> <a href="$showposturl" class="contribute_txt" target="_blank">$lang[pannel_contribution]</a> ');";
  39.         } elseif($showpost > 1) {
  40.                 $showposturl = "document.write('<div class="user_op"> <a href="javascript:contributeop();" class="contribute_txt">$lang[pannel_contribution]</a> ');";
  41.         }
  42.        
  43.         $divhtml .= '</ul></div>';
  44.        
  45.         print <<<END
  46.         function contributeop() {
  47.                 if($('contribute_op').style.display != 'block') {
  48.                         $('contribute_op').style.display = 'block';
  49.                 } else {
  50.                         $('contribute_op').style.display = 'none';
  51.                 }       
  52.         }
  53.         function hidendivop(){
  54.                 $('contribute_op').style.display = 'none';
  55.         }
  56.         document.write('<div class="login_ext">');
  57.         document.write('<p>欢迎回来 <a href="http://home.pinghu.net/space.php?uid=$uid">$_SGLOBAL[supe_username]</a> [<a href="$siteurl/batch.login.php?action=logout">$blang[safe_logout]</a>]');
  58.         document.write('<a href="http://home.pinghu.net/space.php?uid=$uid" target="_blank">$blang[my_space]</a>');
  59.         document.write('| <a href="$siteurl/admincp.php" target="_blank">管理我的信息</a>');
  60.         document.write('</div>');
  61. END;
  62. } else {

  63.         $formhash = formhash();
  64.         print <<<END
  65.         var noseccode = $_SCONFIG[noseccode];
  66.         document.write('<form id="login_box" action="$siteurl/batch.login.php?action=login" method="post">');
  67.         document.write('<input type="hidden" name="formhash" value="$formhash" />');
  68.         document.write('<label>统一认证:</label> <input type="text"  name="username" class="input_tx" size="18" onfocus="addseccode();" />');
  69.         document.write('<label>密码:</label> <input type="password" name="password" class="input_tx" size="18" onfocus="addseccode();" />');
  70.         document.write('<p id="login_authcode_input" style="display:none"><label>$lang[verification_code]:</label> <input type="text" class="input_tx" name="seccode" size="10" onfocus="showseccode()"; /> <a href="javascript:updateseccode();">$lang[changge_verification_code]</a></p>');
  71.         document.write('<div id="login_showclose" style="display:none"><a href="javascript:hidesec();">&nbsp;</a></div>');
  72.         document.write('<label>');
  73.         document.write('<input id="cookietime" type="checkbox" value="315360000" name="cookietime" class="input_remember"/>');
  74.     document.write('</label>');
  75.         document.write('<label class="label_remember" for="cookietime">$blang[i_remember]</label>');
  76.         document.write('<input type="submit" name="loginsubmit" class="input_sub" value="$blang[login]" />');
  77.         document.write('<a href="$siteurl/do.php?action=register">入住信息港</a> | <a href="$siteurl/do.php?action=lostpasswd">找回密码</a>');
  78.         document.write('</form>');
  79. END;
  80. }

  81. /**
  82. * 取得用户后台模型mid
  83. * return array
  84. */
  85. function getuserspacemid() {
  86.        
  87.         $cachefile = S_ROOT.'./cache/model/model.cache.php';
  88.         $cacheinfo = '';
  89.         if(file_exists($cachefile)) {
  90.                 include_once($cachefile);
  91.         }
  92.         if(!empty($cacheinfo) && is_array($cacheinfo)) {
  93.                 return $cacheinfo;
  94.         } else {
  95.                 include_once(S_ROOT.'./function/cache.func.php');
  96.                 return updateuserspacemid();
  97.         }
  98. }

  99. ?>
复制代码
回复

使用道具 举报

守望者家园 发表于 2009-4-11 00:03:43 | 显示全部楼层
很好啊  楼主
回复

使用道具 举报

SkInLeE 发表于 2009-4-11 00:10:53 | 显示全部楼层
谢谢 楼主 也给我一份吧 47043158@qq.com
回复

使用道具 举报

wjh211 发表于 2009-4-11 00:57:50 | 显示全部楼层
也来一份给我吧 楼主  satanwjh@gmail.com  谢谢
回复

使用道具 举报

kt10180927 发表于 2009-4-11 00:58:26 | 显示全部楼层
兄弟也给我来份啊395202984@qq.com
回复

使用道具 举报

kt10180927 发表于 2009-4-11 01:00:08 | 显示全部楼层
有点问题噢
未命名.jpg
回复

使用道具 举报

kt10180927 发表于 2009-4-11 01:01:50 | 显示全部楼层
许多不够美观了 也没有填写表情什么的 汗!不过还是支持了
未命名地方.jpg
回复

使用道具 举报

 楼主| cctao 发表于 2009-4-11 01:01:56 | 显示全部楼层
谢谢13楼的兄弟。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-14 01:24 , Processed in 0.107090 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表