Browse Source

移除会员中心不需要的功能

tags/6.0.0
tianya 3 years ago
parent
commit
1705c1bc6f
100 changed files with 0 additions and 3105 deletions
  1. +0
    -57
      src/member/ajax_membergroup.php
  2. +0
    -73
      src/member/caicai.php
  3. +0
    -98
      src/member/edit_fullinfo.php
  4. +0
    -492
      src/member/inc/space_action.php
  5. +0
    -135
      src/member/myfriend.php
  6. +0
    -86
      src/member/myfriend_group.php
  7. +0
    -81
      src/member/search.php
  8. +0
    -116
      src/member/space/coffee/blog.htm
  9. BIN
      src/member/space/coffee/demo.png
  10. +0
    -8
      src/member/space/coffee/footer.htm
  11. +0
    -82
      src/member/space/coffee/guestbook.htm
  12. +0
    -48
      src/member/space/coffee/header.htm
  13. BIN
      src/member/space/coffee/images/addto.gif
  14. BIN
      src/member/space/coffee/images/albumn-bg.gif
  15. BIN
      src/member/space/coffee/images/bg.jpg
  16. BIN
      src/member/space/coffee/images/bgm.gif
  17. BIN
      src/member/space/coffee/images/bodybg.jpg
  18. BIN
      src/member/space/coffee/images/close.jpg
  19. BIN
      src/member/space/coffee/images/del.png
  20. BIN
      src/member/space/coffee/images/jian.png
  21. BIN
      src/member/space/coffee/images/message.gif
  22. BIN
      src/member/space/coffee/images/rss.png
  23. BIN
      src/member/space/coffee/images/save.jpg
  24. BIN
      src/member/space/coffee/images/sigline.gif
  25. +0
    -180
      src/member/space/coffee/images/style.css
  26. BIN
      src/member/space/coffee/images/tag.jpg
  27. BIN
      src/member/space/coffee/images/tag1.jpg
  28. BIN
      src/member/space/coffee/images/talk.gif
  29. BIN
      src/member/space/coffee/images/team.gif
  30. BIN
      src/member/space/coffee/images/wap.png
  31. BIN
      src/member/space/coffee/images/write.gif
  32. +0
    -67
      src/member/space/coffee/index.htm
  33. +0
    -4
      src/member/space/coffee/info.txt
  34. +0
    -59
      src/member/space/coffee/infos.htm
  35. +0
    -37
      src/member/space/coffee/listalbum.htm
  36. +0
    -60
      src/member/space/coffee/listarchives.htm
  37. +0
    -57
      src/member/space/coffee/listarticle.htm
  38. +0
    -42
      src/member/space/coffee/side_class.htm
  39. +0
    -35
      src/member/space/coffee/side_icon.htm
  40. +0
    -8
      src/member/space/coffee/side_news.htm
  41. +0
    -14
      src/member/space/coffee/side_search.htm
  42. +0
    -11
      src/member/space/coffee/side_visitor.htm
  43. +0
    -116
      src/member/space/company/blog.htm
  44. +0
    -34
      src/member/space/company/contact.htm
  45. BIN
      src/member/space/company/demo.png
  46. +0
    -8
      src/member/space/company/footer.htm
  47. +0
    -100
      src/member/space/company/guestbook.htm
  48. +0
    -59
      src/member/space/company/header.htm
  49. BIN
      src/member/space/company/images/addto.gif
  50. BIN
      src/member/space/company/images/albumn-bg.gif
  51. BIN
      src/member/space/company/images/bgm.gif
  52. BIN
      src/member/space/company/images/bodybg.jpg
  53. BIN
      src/member/space/company/images/bodybg.png
  54. BIN
      src/member/space/company/images/close.jpg
  55. BIN
      src/member/space/company/images/del.png
  56. BIN
      src/member/space/company/images/download.gif
  57. BIN
      src/member/space/company/images/h.png
  58. BIN
      src/member/space/company/images/img.gif
  59. BIN
      src/member/space/company/images/jian.png
  60. BIN
      src/member/space/company/images/listen.gif
  61. BIN
      src/member/space/company/images/message.gif
  62. BIN
      src/member/space/company/images/music.gif
  63. BIN
      src/member/space/company/images/new-msg-tips.png
  64. BIN
      src/member/space/company/images/none.gif
  65. BIN
      src/member/space/company/images/nopic.gif
  66. BIN
      src/member/space/company/images/rss.png
  67. BIN
      src/member/space/company/images/save.jpg
  68. BIN
      src/member/space/company/images/sigline.gif
  69. +0
    -204
      src/member/space/company/images/style.css
  70. BIN
      src/member/space/company/images/tag.jpg
  71. BIN
      src/member/space/company/images/tag1.jpg
  72. BIN
      src/member/space/company/images/talk.gif
  73. BIN
      src/member/space/company/images/team.gif
  74. BIN
      src/member/space/company/images/tips-close.png
  75. BIN
      src/member/space/company/images/txt.gif
  76. BIN
      src/member/space/company/images/user-info-co.png
  77. BIN
      src/member/space/company/images/wap.png
  78. BIN
      src/member/space/company/images/write.gif
  79. BIN
      src/member/space/company/images/zip.gif
  80. +0
    -67
      src/member/space/company/index.htm
  81. +0
    -4
      src/member/space/company/info.txt
  82. +0
    -59
      src/member/space/company/infos.htm
  83. +0
    -46
      src/member/space/company/introduce.htm
  84. +0
    -37
      src/member/space/company/listalbum.htm
  85. +0
    -60
      src/member/space/company/listarchives.htm
  86. +0
    -57
      src/member/space/company/listarticle.htm
  87. +0
    -37
      src/member/space/company/listproducts.htm
  88. +0
    -42
      src/member/space/company/side_class.htm
  89. +0
    -38
      src/member/space/company/side_icon.htm
  90. +0
    -8
      src/member/space/company/side_news.htm
  91. +0
    -14
      src/member/space/company/side_search.htm
  92. +0
    -11
      src/member/space/company/side_visitor.htm
  93. +0
    -116
      src/member/space/flower/blog.htm
  94. BIN
      src/member/space/flower/demo.png
  95. +0
    -8
      src/member/space/flower/footer.htm
  96. +0
    -82
      src/member/space/flower/guestbook.htm
  97. +0
    -48
      src/member/space/flower/header.htm
  98. BIN
      src/member/space/flower/images/addto.gif
  99. BIN
      src/member/space/flower/images/albumn-bg.gif
  100. BIN
      src/member/space/flower/images/bg.jpg

+ 0
- 57
src/member/ajax_membergroup.php View File

@@ -1,57 +0,0 @@
<?php
/**
* @version $Id: ajax_membergroup.php 1 8:38 2010年7月9日Z tianya $
* @package DedeCMS.Member
* @copyright Copyright (c) 2007 - 2020, DesDev, Inc.
* @license http://help.dedecms.com/usersguide/license.html
* @link http://www.dedecms.com
*/
require_once(dirname(__FILE__).'/config.php');
$mid = isset($mid) && is_numeric($mid) ? $mid : 0;
AjaxHead();
//显示分组
if($action == 'show')
{
$sql = "SELECT * FROM #@__member_group WHERE mid={$cfg_ml->M_ID} ORDER BY id DESC";
$dsql->Execute('me',$sql);
echo "<select name='membergroup' id='m_{$mid}' style='width:100px'>";
while($arr = $dsql->GetArray('me'))
{
echo " <option value='{$arr['id']}'>{$arr['groupname']}</option>\r\n";
}
echo "</select>";
echo '<button onclick="postMemberGroup(\''.$mid.'\')" class="bt3">提交</button> <button type="button" onclick="location.reload();" class="bt3">取消</button>';
}
//编辑分组
elseif($action == 'post')
{
if(empty($membergroup)){
echo "您还没有设置分组!";
exit;
}
$membergroup = preg_repalce("#[^0-9]#", "", $membergroup);
$sql = "UPDATE `#@__member_friends` SET `groupid`='{$membergroup}' WHERE `fid`='{$mid}' AND `mid`='{$cfg_ml->M_ID}';";
$dsql->ExecuteNoneQuery($sql);
$row = $dsql->GetOne("SELECT groupname FROM #@__member_group WHERE mid = {$cfg_ml->M_ID} AND id={$membergroup}");
echo "&nbsp;".$row['groupname']."&nbsp;&nbsp;<a href='#' onclick='EditMemberGroup($mid);return false;'>修改</a>";
}
//显示描述
elseif($action == 'desshow')
{
$sql = "SELECT * FROM #@__member_friends WHERE `fid`='{$mid}' AND `mid`='{$cfg_ml->M_ID}'";
$row = $dsql->getone($sql);
echo '<input id="m_'.$mid.'" name="mdescription" value="'.$row['description'].'" class="intxt" style="width:100px;"/>';
echo '<button onclick="postDescription(\''.$mid.'\')" class="bt3">提交</button> <button type="button" onclick="location.reload();" class="bt3">取消</button>';
}
//编辑描述
elseif($action == 'despost')
{
$sql = "UPDATE `#@__member_friends` SET `description`='{$mdescription}' WHERE `fid`='{$mid}' AND `mid`='{$cfg_ml->M_ID}'";
$dsql->ExecuteNoneQuery($sql);
$row = $dsql->GetOne("SELECT description FROM #@__member_friends WHERE `fid`='{$mid}' AND `mid`='{$cfg_ml->M_ID}'");
echo "&nbsp;".$row['description']."&nbsp;&nbsp;<a href='#' onclick='EditDescription($mid);return false;'>修改</a>";
}

+ 0
- 73
src/member/caicai.php View File

@@ -1,73 +0,0 @@
<?php
/**
* @version $Id: caicai.php 1 8:38 2010年7月9日Z tianya $
* @package DedeCMS.Member
* @copyright Copyright (c) 2007 - 2020, DesDev, Inc.
* @license http://help.dedecms.com/usersguide/license.html
* @link http://www.dedecms.com
*/
require_once(dirname(__FILE__)."/config.php");
require_once(DEDEINC."/arc.caicai.class.php");
$sort = trim(empty($sort) ? 'lastpost' : preg_replace("#[^0-9a-z]#i", '', $sort));
if(!preg_match("#^(scores|badpost|goodpost)$#", $sort)) $sort = 'lastpost';
$tid = (isset($tid) ? intval($tid) : 0);
$t1 = ExecTime();
$typequery = '';
$menutype = 'mydede';
$menutype_son = 'cc';
//获取栏目的子类、交叉分类
if($tid!=0)
{
$arr = $dsql->GetOne("SELECT * FROM `#@__arctype` WHERE id='$tid' AND corank=0 ");
if($cfg_list_son=='Y')
{
$CrossID = GetSonIds($tid,$arr['channeltype']);
}
else
{
$CrossID = $tid;
}
if($arr['cross']>0)
{
$selquery = '';
if($arr['cross']==1)
{
$selquery = "SELECT id,topid FROM `#@__arctype` WHERE typename LIKE '{$arr['typename']}' AND id<>'{$tid}' AND topid<>'{$tid}' ";
}
else
{
$arr['crossid'] = preg_replace("#[^0-9,]#", '', trim($arr['crossid']));
if($arr['crossid']!='')
{
$selquery = "SELECT id,topid FROM `#@__arctype` WHERE id in('{$arr['crossid']}') AND id<>'{$tid}' AND topid<>'{$tid}' ";
}
}
if($selquery!='')
{
$dsql->SetQuery($selquery);
$dsql->Execute();
while($arr = $dsql->GetArray())
{
$CrossID .= ($CrossID=='' ? $arr['id'] : ','.$arr['id']);
}
}
}
$typequery = " arc.typeid in($CrossID) And ";
}
$dlist = new Caicai();
$dlist->pageSize = 15;
$dlist->maxPageSize = 100;
$maxrc = $dlist->pageSize * $dlist->maxPageSize;
$query = "Select arc.*,m.userid,m.face,
tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule,tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepath
From `#@__archives` arc left join `#@__arctype` tp on tp.id=arc.typeid left join `#@__member` m on m.mid=arc.mid
where $typequery arc.arcrank>-1
order by arc.`{$sort}` desc limit $maxrc ";
$dlist->SetParameter('tid',$tid);
$dlist->SetParameter('sort',$sort);
$dlist->SetTemplate(DEDEMEMBER.'/templets/caicai.htm');
$dlist->SetSource($query);
$dlist->Display();
//echo ExecTime() - $t1;
?>

+ 0
- 98
src/member/edit_fullinfo.php View File

@@ -1,98 +0,0 @@
<?php
/**
* @version $Id: edit_fullinfo.php 1 8:38 2010年7月9日Z tianya $
* @package DedeCMS.Member
* @copyright Copyright (c) 2007 - 2020, DesDev, Inc.
* @license http://help.dedecms.com/usersguide/license.html
* @link http://www.dedecms.com
*/
require_once(dirname(__FILE__) . '/config.php');
require_once DEDEINC . '/membermodel.cls.php';
require_once(DEDEINC . "/userlogin.class.php");
CheckRank(0, 0);
require_once(DEDEINC . '/enums.func.php');
$menutype = 'config';
if (!isset($dopost)) $dopost = '';
if ($dopost == '') {
$membermodel = new membermodel($cfg_ml->M_MbType);
$modelform = $dsql->GetOne("SELECT * FROM #@__member_model WHERE id='$membermodel->modid' ");
if (!is_array($modelform)) {
showmsg('模型表单不存在', '-1');
exit();
}
$row = $dsql->GetOne("SELECT * FROM " . $modelform['table'] . " WHERE mid=$cfg_ml->M_ID");
if (!is_array($row)) {
showmsg("你访问的记录不存在或未经审核", '-1');
exit();
}
$postform = $membermodel->getForm('edit', $row, 'membermodel');
include(DEDEMEMBER . "/templets/edit_fullinfo.htm");
exit();
}
/*------------------------
function __Save()
------------------------*/
if ($dopost == 'save') {
// 校验CSRF
CheckCSRF();
$membermodel = new membermodel($cfg_ml->M_MbType);
$postform = $membermodel->getForm(true);
//这里完成详细内容填写
$dede_fields = empty($dede_fields) ? '' : trim($dede_fields);
$dede_fieldshash = empty($dede_fieldshash) ? '' : trim($dede_fieldshash);
$modid = empty($modid) ? 0 : intval(preg_replace("/[^\d]/", '', $modid));
if (!empty($dede_fields)) {
if ($dede_fieldshash != md5($dede_fields . $cfg_cookie_encode)) {
showMsg('数据校验不对,程序返回', '-1');
exit();
}
}
$modelform = $dsql->GetOne("SELECT * FROM #@__member_model WHERE id='$modid' ");
if (!is_array($modelform)) {
showmsg('模型表单不存在', '-1');
exit();
}
$inadd_f = '';
if (!empty($dede_fields)) {
$fieldarr = explode(';', $dede_fields);
if (is_array($fieldarr)) {
foreach ($fieldarr as $field) {
if ($field == '') continue;
$fieldinfo = explode(',', $field);
if ($fieldinfo[1] == 'textdata') {
${$fieldinfo[0]} = FilterSearch(stripslashes(${$fieldinfo[0]}));
${$fieldinfo[0]} = addslashes(${$fieldinfo[0]});
} else if ($fieldinfo[1] == 'img') {
${$fieldinfo[0]} = addslashes(${$fieldinfo[0]});
} else {
if (empty(${$fieldinfo[0]})) ${$fieldinfo[0]} = '';
${$fieldinfo[0]} = GetFieldValue(${$fieldinfo[0]}, $fieldinfo[1], 0, 'add', '', 'diy', $fieldinfo[0]);
}
if ($fieldinfo[0] == "birthday") ${$fieldinfo[0]} = GetDateMk(${$fieldinfo[0]});
${$fieldinfo[0]} = HtmlReplace(${$fieldinfo[0]}, -1);
$inadd_f .= ',' . $fieldinfo[0] . " ='" . ${$fieldinfo[0]} . "'";
}
}
}
$inadd_f = preg_replace('/,/', '', $inadd_f, 1);
$query = "UPDATE `{$membermodel->table}` set {$inadd_f} WHERE mid='{$cfg_ml->M_ID}'";
// 清除缓存
$cfg_ml->DelCache($cfg_ml->M_ID);
if (!$dsql->ExecuteNoneQuery($query)) {
ShowMsg("更新附加表 `{$membermodel->table}` 时出错,请联系管理员!", "javascript:;");
exit();
} else {
ShowMsg('成功更新你的详细资料!', 'edit_fullinfo.php', 0, 5000);
exit();
}
}

+ 0
- 492
src/member/inc/space_action.php View File

@@ -1,492 +0,0 @@
<?php if(!defined('DEDEMEMBER')) exit('dedecms');
/**
* 空间操作
*
* @version $Id: space_action.php 1 15:18 2010年7月9日Z tianya $
* @package DedeCMS.Member
* @copyright Copyright (c) 2007 - 2020, DesDev, Inc.
* @license http://help.dedecms.com/usersguide/license.html
* @link http://www.dedecms.com
*/
//是否允许用户空间显示未审核文档
$addqSql = '';
if($cfg_mb_allowncarc=='N') $addqSql .= " And arc.arcrank > -1 ";
if(isset($mtype)) $mtype = intval($mtype);
if(!empty($mtype)) $addqSql .= " And arc.mtype = '$mtype' ";
/*---------------------------------
文章列表
function list_article(){ }
-------------------------------------*/
if($action=='article')
{
if(empty($mtype)) $mtype = 0;
include_once(DEDEINC.'/arc.memberlistview.class.php');
include_once(DEDEINC.'/channelunit.func.php');
$query = "SELECT arc.*,mt.mtypename,addt.body,tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule,tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepath
FROM `#@__archives` arc
LEFT JOIN `#@__addonarticle` addt ON addt.aid=arc.id
LEFT JOIN `#@__arctype` tp ON tp.id=arc.typeid
LEFT JOIN `#@__mtypes` mt ON mt.mtypeid=arc.mtype
WHERE arc.mid='{$_vars['mid']}' $addqSql AND arc.channel=1 ORDER BY arc.id DESC";
$dlist = new MemberListview();
$dlist->pageSize = $_vars['pagesize'];
$dlist->SetParameter("mtype",$mtype);
$dlist->SetParameter("uid",$_vars['userid']);
$dlist->SetParameter("action",$action);
$dlist->SetTemplate(DEDEMEMBER."/space/{$_vars['spacestyle']}/listarticle.htm");
$dlist->SetSource($query);
$dlist->Display();
exit();
}
/*---------------------------------
单篇文章显示
function view_archives(){ }
-------------------------------------*/
else if($action=='viewarchives' && !empty($aid) && is_numeric($aid))
{
if(empty($mtype)) $mtype = 0;
include_once(DEDEINC.'/arc.memberlistview.class.php');
include_once(DEDEINC.'/channelunit.func.php');
//读取文章的评论
$sql = "SELECT fb.*,mb.userid,mb.face as mface,mb.spacesta,mb.scores FROM `#@__feedback` fb
LEFT JOIN `#@__member` mb ON mb.mid = fb.mid
WHERE fb.aid='$aid' and fb.ischeck='1' ORDER BY fb.id DESC LIMIT 0, 50";
$msgs = array();
$dsql->Execute('fb', $sql);
while ($row = $dsql->GetArray('fb'))
{
$msgs[] = $row;
}
//读取文章内容
$query = "SELECT arc.*,tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule,tp.namerule2,
tp.ispart,tp.moresite,tp.siteurl,tp.sitepath,ar.body FROM `#@__archives` arc
LEFT JOIN `#@__arctype` tp ON arc.typeid=tp.id
LEFT JOIN `#@__addonarticle` ar ON ar.aid=arc.id
WHERE arc.mid='{$_vars['mid']}' AND arc.channel=1 AND ar.typeid=tp.id AND ar.aid='$aid' ";
$arcrow = $dsql->GetOne($query);
if( !is_array($arcrow) )
{
ShowMsg(' 读取文档时发生未知错误! ', '-1');
exit();
}
//解析模板
$dlist = new MemberListview();
$dlist->SetTemplate(DEDEMEMBER."/space/{$_vars['spacestyle']}/blog.htm");
$dlist->Display();
exit();
}
/*---------------------------------
所有文档列表
function list_archives(){ }
-------------------------------------*/
else if($action=='archives')
{
if(empty($mtype)) $mtype = 0;
include_once(DEDEINC.'/arc.memberlistview.class.php');
include_once(DEDEINC.'/channelunit.func.php');
//如果没指定频道ID的情况下,列出所有非单表模型文档
if($cfg_mb_spaceallarc > 0 && empty($channelid)) $channelid = intval($cfg_mb_spaceallarc);
if(empty($channelid))
{
$channelid = 0;
$query = "SELECT arc.*,mt.mtypename,tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule,tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepath
FROM `#@__archives` arc
LEFT JOIN `#@__arctype` tp ON arc.typeid=tp.id
LEFT JOIN `#@__mtypes` mt ON mt.mtypeid=arc.mtype
WHERE arc.mid='{$_vars['mid']}' $addqSql ORDER BY arc.id DESC";
}
else
{
$channelid = intval($channelid);
$chRow = $dsql->GetOne("SELECT issystem,addtable,listfields From `#@__channeltype` WHERE id='$channelid' ");
if(!is_array($chRow)) die(' Channel Error! ');
if($chRow['issystem']==-1)
{
$addtable = trim($chRow['addtable']);
$listfields = explode(',', $chRow['listfields']);
$listfields_str = 'arc.'.join(',arc.', $listfields);
if($listfields_str!='arc.')
{
$listfields_str = $listfields_str.',';
}
else {
$listfields_str = '';
}
$query = "SELECT arc.aid,arc.aid as id,arc.typeid,'' as mtypename,1 as ismake,0 as money,'' as filename,{$listfields_str}
tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule,tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepath
FROM `{$addtable}` arc
LEFT JOIN `#@__arctype` tp ON arc.typeid=tp.id
WHERE arc.mid='{$_vars['mid']}' And arc.channel='$channelid' $addqSql ORDER BY arc.aid DESC";
}
else
{
$query = "SELECT arc.*,mt.mtypename,tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule,tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepath
from `#@__archives` arc
LEFT JOIN `#@__arctype` tp on arc.typeid=tp.id
LEFT JOIN `#@__mtypes` mt on mt.mtypeid=arc.mtype
WHERE arc.mid='{$_vars['mid']}' And arc.channel='$channelid' $addqSql order by arc.id desc";
}
}
$dlist = new MemberListview();
$dlist->pageSize = $_vars['pagesize'];
$dlist->SetParameter("mtype", $mtype);
$dlist->SetParameter("uid", $_vars['userid']);
$dlist->SetParameter("channelid", $channelid);
$dlist->SetParameter("action", $action);
$dlist->SetTemplate(DEDEMEMBER."/space/{$_vars['spacestyle']}/listarchives.htm");
$dlist->SetSource($query);
$dlist->Display();
exit();
}
/*---------------------------------
所有文档列表
function list_album(){ }
-------------------------------------*/
else if($action=='album')
{
if(empty($mtype)) {
$mtype = 0;
}
include_once(DEDEINC.'/arc.memberlistview.class.php');
include_once(DEDEINC.'/channelunit.func.php');
$query = "SELECT arc.*,mt.mtypename,tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule,tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepath
from `#@__archives` arc
left join `#@__arctype` tp on arc.typeid=tp.id
left join `#@__mtypes` mt on mt.mtypeid=arc.mtype
where arc.mid='{$_vars['mid']}' And arc.channel=2 $addqSql order by arc.id desc";
$dlist = new MemberListview();
$dlist->pageSize = $_vars['pagesize'];
$dlist->SetParameter("mtype",$mtype);
$dlist->SetParameter("uid",$_vars['userid']);
$dlist->SetParameter("action",$action);
$dlist->SetTemplate(DEDEMEMBER."/space/{$_vars['spacestyle']}/listalbum.htm");
$dlist->SetSource($query);
$dlist->Display();
exit();
}
/*---------------------------------
留言本
function guestbook(){ }
-------------------------------------*/
else if($action=='guestbook')
{
if(empty($mtype)) {
$mtype = 0;
}
include_once(DEDEINC.'/datalistcp.class.php');
$query = "SELECT mg.*,mb.face,mb.userid,mb.sex From `#@__member_guestbook` mg
left join `#@__member` mb on mb.userid=mg.gid
where mg.mid='{$_vars['mid']}' order by mg.aid desc";
$dlist = new DataListCP();
$dlist->pageSize = 10;
$dlist->SetParameter("uid",$_vars['userid']);
$dlist->SetParameter("action",$action);
$dlist->SetTemplate(DEDEMEMBER."/space/{$_vars['spacestyle']}/guestbook.htm");
$dlist->SetSource($query);
$dlist->Display();
exit();
}
/*---------------------------------
我的好友
function friend(){ }
-------------------------------------*/
else if($action=='friend')
{
if(empty($mtype)) {
$mtype = 0;
}
include_once(DEDEINC.'/arc.memberlistview.class.php');
include_once(DEDEINC.'/channelunit.func.php');
$query = "SELECT arc.*,tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule,tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepath
from `#@__archives` arc
left join `#@__arctype` tp on arc.typeid=tp.id
where arc.mid='{$_vars['mid']}' $addqSql order by arc.id desc";
$dlist = new MemberListview();
$dlist->pageSize = 8;
$dlist->SetParameter("mtype",$mtype);
$dlist->SetParameter("uid",$_vars['userid']);
$dlist->SetParameter("action",$action);
$dlist->SetTemplate(DEDEMEMBER."/space/{$_vars['spacestyle']}/friend.htm");
$dlist->SetSource($query);
$dlist->Display();
exit();
}
/*---------------------------------
个人资料
function infos(){ }
-------------------------------------*/
else if($action=='infos')
{
include_once(DEDEDATA.'/enums/nativeplace.php');
include_once(DEDEINC."/enums.func.php");
$row = $dsql->GetOne("SELECT * from `#@__member_person` where mid='{$_vars['mid']}' ");
$dpl = new DedeTemplate();
$dpl->LoadTemplate(DEDEMEMBER."/space/{$_vars['spacestyle']}/infos.htm");
$dpl->display();
}
/*---------------------------------
保存留言
function guestbook_save(){ }
-------------------------------------*/
else if($action=='guestbooksave')
{
CheckRank(0,0);
$svali = GetCkVdValue();
if(strtolower($vdcode)!=$svali || $svali=='')
{
ResetVdValue();
ShowMsg('验证码错误!', '-1');
exit();
}
$uidnum = intval($uidnum);
if(empty($uidnum))
{
ShowMsg('参数错误!', '-1');
exit();
}
if(strlen($msg)<6)
{
ShowMsg('你的留言内容太短!', '-1');
exit();
}
$uname = HtmlReplace($uname, 1);
$msg = cn_substrR(HtmlReplace($msg), 2048);
$title = cn_substrR(HtmlReplace($title), 255);
if($cfg_ml->M_UserName != '' && $cfg_ml->M_ID != $uidnum)
{
$gid = $cfg_ml->M_UserName;
}
else
{
$gid = '';
}
$inquery = "INSERT INTO `#@__member_guestbook`(mid,gid,title,msg,uname,ip,dtime)
VALUES ('$uidnum','$gid','$title','$msg','$uname','".GetIP()."',".time()."); ";
$dsql->ExecuteNoneQuery($inquery);
ShowMsg('成功提交你的留言!', "index.php?uid={$uid}&action=guestbook");
exit();
}
/*---------------------------------
删除留言
function guestbook_del(){ }
-------------------------------------*/
else if($action=='guestbookdel')
{
CheckRank(0,0);
if($cfg_ml->M_LoginID!=$uid)
{
ShowMsg('这条留言不是给你的,你不能删除!', -1);
exit();
}
$aid = intval($aid);
$inquery = "DELETE FROM `#@__member_guestbook` WHERE aid='$aid' AND mid='$mid'";
$dsql->ExecuteNoneQuery($inquery);
ShowMsg('成功删除!', "index.php?uid={$uid}&action=guestbook");
exit();
}
/*---------------------------------
删除我的动态信息
function feed_del(){ }
-------------------------------------*/
else if($action=='feeddel')
{
CheckRank(0,0);
$fid=(empty($fid))? "" : intval($fid);
$row = $dsql->GetOne("SELECT mid FROM `#@__member_feed` WHERE fid='$fid'");
if($cfg_ml->M_ID!=$row['mid'])
{
ShowMsg('此动态信息不存在!', -1);
exit();
}
$inquery = "DELETE FROM `#@__member_feed` WHERE fid='$fid' AND mid='".$cfg_ml->M_ID."'";
$dsql->ExecuteNoneQuery($inquery);
ShowMsg('成功删除一条动态信息!', "index.php");
exit();
}
/*---------------------------------
删除我的心情信息
function mood_del(){ }
-------------------------------------*/
else if($action=='mooddel')
{
CheckRank(0,0);
$id=(empty($id))? "" : intval($id);
$row = $dsql->GetOne("SELECT mid FROM `#@__member_msg` WHERE id='$id'");
if($cfg_ml->M_ID!=$row['mid'])
{
ShowMsg('此动态信息不存在!', -1);
exit();
}
$inquery = "DELETE FROM `#@__member_msg` WHERE id='$id' AND mid='".$cfg_ml->M_ID."'";
$dsql->ExecuteNoneQuery($inquery);
ShowMsg('成功删除一条心情!', "index.php");
exit();
}
/*---------------------------------
加好友
function newfriend(){ }
-------------------------------------*/
else if($action=='newfriend')
{
CheckRank(0,0);
if($_vars['mid']==$cfg_ml->M_ID)
{
ShowMsg("你不能加自己为好友!","index.php?uid=".$uid);
exit();
}
$addtime = time();
$row = $dsql->GetOne("SELECT * FROM `#@__member_friends` where fid='{$_vars['mid']}' And mid='{$cfg_ml->M_ID}' ");
if(is_array($row))
{
ShowMsg("该用户已经是你的好友!","index.php?uid=".$uid);
exit();
}
else
{
#api{{
if(defined('UC_API') && @include_once DEDEROOT.'/uc_client/client.php')
{
if($data = uc_get_user($cfg_ml->M_LoginID)) uc_friend_add($uid,$data[0]);
}
#/aip}}
$inquery = "INSERT INTO `#@__member_friends` (`fid` , `floginid` , `funame` , `mid` , `addtime` , `ftype`)
VALUES ('{$_vars['mid']}' , '{$_vars['userid']}' , '{$_vars['uname']}' , '{$cfg_ml->M_ID}' , '$addtime' , '0'); ";
$dsql->ExecuteNoneQuery($inquery);
//统计我的好友数量
$row = $dsql->GetOne("SELECT COUNT(*) AS nums FROM `#@__member_friends` WHERE `mid`='".$cfg_ml->M_ID."'");
$dsql->ExecuteNoneQuery("UPDATE `#@__member_tj` SET friend='$row[nums]' WHERE `mid`='".$cfg_ml->M_ID."'");
//会员动态记录
$cfg_ml->RecordFeeds('addfriends',"","",$_vars['userid']);
ShowMsg("成功添加好友!","index.php?uid=".$uid);
exit();
}
}
/*---------------------------------
解除好友关系
function newfriend(){ }
-------------------------------------*/
else if($action=='delfriend')
{
CheckRank(0,0);
if($_vars['mid']==$cfg_ml->M_ID)
{
ShowMsg("你不能和自己为解除关系!","index.php?uid=".$uid);
exit();
}
$addtime = time();
$row = $dsql->GetOne("Select * FROM `#@__member_friends` where fid='{$_vars['mid']}' And mid='{$cfg_ml->M_ID}' ");
if(!is_array($row))
{
ShowMsg("该用户已经不是你的好友!","index.php?uid=".$uid);
exit();
}
else
{
#api{{
if(defined('UC_API') && @include_once DEDEROOT.'/uc_client/client.php')
{
if($data = uc_get_user($cfg_ml->M_LoginID)) uc_friend_add($uid,$data[0]);
}
#/aip}}
$inquery = "DELETE FROM `dede_member_friends` where fid='{$_vars['mid']}' And mid='{$cfg_ml->M_ID}' ";
$dsql->ExecuteNoneQuery($inquery);
//统计我的好友数量
$row = $dsql->GetOne("SELECT COUNT(*) AS nums FROM `#@__member_friends` WHERE `mid`='".$cfg_ml->M_ID."'");
$dsql->ExecuteNoneQuery("UPDATE `#@__member_tj` SET friend='$row[nums]' WHERE `mid`='".$cfg_ml->M_ID."'");
ShowMsg("成功解除好友关系!","myfriend.php");
exit();
}
}
/*---------------------------------
加黑名单
function blackfriend(){ }
-------------------------------------*/
else if($action=='blackfriend')
{
CheckRank(0,0);
if($_vars['mid']==$cfg_ml->M_ID)
{
ShowMsg("你不能加自己到黑名单!","index.php?uid=".$uid);
exit();
}
$addtime = time();
$row = $dsql->GetOne("Select * FROM `#@__member_friends` where fid='{$_vars['mid']}' And mid='{$cfg_ml->M_ID}' ");
if(is_array($row))
{
ShowMsg("该用户已经是你的好友!","index.php?uid=".$uid);
exit();
}
else
{
$inquery = "INSERT INTO `#@__member_friends` (`fid` , `floginid` , `funame` , `mid` , `addtime` , `ftype`)
VALUES ('{$cfg_ml->M_ID}' , '{$cfg_ml->M_LoginID}' , '{$cfg_ml->M_UserName}' , '{$_vars['mid']}' , '$addtime' , '-1'); ";
$dsql->ExecuteNoneQuery($inquery);
ShowMsg("成功添加好友在黑名单!","index.php?uid=".$uid);
exit();
}
}
/*--------------------
function _contact_introduce() {}
公司简介
---------------------*/
elseif($action == 'introduce')
{
$dpl = new DedeTemplate();
$dpl->LoadTemplate(DEDEMEMBER."/space/{$_vars['spacestyle']}/introduce.htm");
$dpl->display();
}
//联系我们
elseif ($action == 'contact')
{
$dpl = new DedeTemplate();
$dpl->LoadTemplate(DEDEMEMBER."/space/{$_vars['spacestyle']}/contact.htm");
$dpl->display();
}
/*-------------------------------
function products() { }
公司产品或新闻
--------------------------------*/
elseif($action == 'products')
{
$mtype = isset($mtype) && is_numeric($mtype) ? $mtype : 0;
if($action == 'products') {
$channel = 6;
}
include_once(DEDEINC.'/arc.memberlistview.class.php');
include_once(DEDEINC.'/channelunit.func.php');
$query = "Select arc.*,tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule,
tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepath FROM `#@__archives` arc
left join `#@__arctype` tp on arc.typeid=tp.id
where arc.mid='{$_vars['mid']}' and arc.channel='$channel' $addqSql order by arc.id desc";
$dlist = new MemberListview();
$dlist->pageSize = 12;
$dlist->SetParameter('mtype', $mtype);
$dlist->SetParameter('uid', $_vars['userid']);
$dlist->SetParameter('action', $action);
$dlist->SetTemplate(DEDEMEMBER."/space/{$_vars['spacestyle']}/listproducts.htm");
$dlist->SetSource($query);
$dlist->Display();
exit();
}

+ 0
- 135
src/member/myfriend.php View File

@@ -1,135 +0,0 @@
<?php
/**
* 我的好友
*
* @version $Id: myfriend.php 1 17:55 2010年7月6日Z tianya $
* @package DedeCMS.Helpers
* @copyright Copyright (c) 2007 - 2020, DesDev, Inc.
* @license http://help.dedecms.com/usersguide/license.html
* @link http://www.dedecms.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);
$menutype = 'mydede';
$menutype_son = 'mf';
if($cfg_mb_lit=='Y')
{
ShowMsg("由于系统开启了精简版会员空间,你访问的功能不可用!","-1");
exit();
}
require_once(DEDEINC."/datalistcp.class.php");
if(!isset($ftype)) $ftype = 0;
if(!isset($dopost)) $dopost = '';
//更改好友状态
if($dopost=='upsta')
{
$ids = preg_replace("#[^0-9,]#", "", $ids);
if($sta=='good')
{
$upsta = " ftype=1 ";
}
else if($sta=='bad')
{
$upsta = " ftype=-1 ";
}
else
{
$upsta = " ftype=0 ";
}
$dsql->ExecuteNoneQuery("UPDATE `#@__member_friends` SET $upsta WHERE id IN($ids) AND mid='{$cfg_ml->M_ID}' ");
#api{{
if(defined('UC_API') && @include_once DEDEROOT.'/uc_client/client.php' && $sta!='bad')
{
if($data = uc_get_user($cfg_ml->M_LoginID)) uc_friend_add($uid, $data[0]);
}
#/aip}}
if($sta=='good')
{
ShowMsg("成功把指定好友设为关注好友!","myfriend.php?ftype=1");
}
else if($sta=='bad')
{
ShowMsg("成功把指定好友放入黑名单!","myfriend.php?ftype=-1");
}
else
{
ShowMsg("成功把指定好友转为普通好友!","myfriend.php");
}
exit();
}
//删除好友
else if($dopost=='del')
{
$ids = preg_replace("#[^0-9,]#", "", $ids);
#api{{
if(defined('UC_API') && @include_once DEDEROOT.'/uc_client/client.php')
{
if($data = uc_get_user($cfg_ml->M_LoginID))
{
list($uid, $username, $email) = $data;
$friendids = @explode(",", $ids);
if(!empty($friendids)) uc_friend_delete($uid , $friendids);
}
}
#/aip}}
$dsql->ExecuteNoneQuery("DELETE FROM `#@__member_friends` WHERE id IN($ids) AND mid='{$cfg_ml->M_ID}' ");
ShowMsg("成功删除所选的好友!","myfriend.php?ftype=".$ftype);
exit();
}
//浏览
else{
$wsql = '';
if(empty($ftype))
{
$wsql = " F.mid='{$cfg_ml->M_ID}' AND F.ftype <> '-1' ";
$tname = "所有好友";
}
else if($ftype==1)
{
$wsql = " F.mid='{$cfg_ml->M_ID}' AND F.ftype = '1' ";
$tname = "特别关注";
}
else if($ftype==-1)
{
$wsql = " F.mid='{$cfg_ml->M_ID}' AND F.ftype = '-1' ";
$tname = "黑名单";
}
$query = "SELECT F.*,G.groupname FROM `#@__member_group` AS G LEFT JOIN #@__member_friends AS F ON F.groupid=G.id WHERE $wsql ORDER BY F.id DESC";
$dlist = new DataListCP();
$dlist->pageSize = 20;
$dlist->SetParameter("ftype",$ftype);
$dlist->SetTemplate(dirname(__FILE__).'/templets/myfriend.htm');
$dlist->SetSource($query);
$dlist->Display();
}
/**
* 获取用户信息
*
* @param int $uid 用户UID
* @param string $_field 用户字段
* @return string
*/
function getUserInfo($uid,$_field = 'uname')
{
global $dsql;
$row = $dsql->GetOne("SELECT M.*,YEAR(CURDATE())-YEAR(P.birthday) as age,DATE_FORMAT(P.birthday,'%e月%d日出生') as birthday,S.spacename,S.sign FROM #@__member AS M
LEFT JOIN #@__member_person AS P ON P.mid=M.mid
LEFT JOIN #@__member_space AS S ON M.mid=M.mid WHERE M.mid='$uid'");
if(isset($row[$_field]))
{
if($_field == 'face')
{
if(empty($row[$_field])){
$row[$_field]=($row['sex']=='女')? 'templets/images/dfgirl.png' : 'templets/images/dfboy.png';
}
}
return $row[$_field];
}
else return '';
}

+ 0
- 86
src/member/myfriend_group.php View File

@@ -1,86 +0,0 @@
<?php
/**
* 我的收藏夹
*
* @version $Id: myfriend_group.php 1 8:38 2010年7月9日Z tianya $
* @package DedeCMS.Member
* @copyright Copyright (c) 2007 - 2020, DesDev, Inc.
* @license http://help.dedecms.com/usersguide/license.html
* @link http://www.dedecms.com
*/
require_once(dirname(__FILE__).'/config.php');
CheckRank(0,0);
$menutype = 'mydede';
$dopost = isset($dopost) ? trim($dopost) : '';
if($dopost == '')
{
$query = "SELECT * FROM `#@__member_group` WHERE mid='{$cfg_ml->M_ID}'";
$dsql->SetQuery($query);
$dsql->Execute();
while($row = $dsql->GetArray())
{
$mtypearr[] = $row;
}
$GLOBALS['mtypearr'] =empty($GLOBALS['mtypearr'] )? '' : $GLOBALS['mtypearr'] ;
$tpl = new DedeTemplate();
$tpl->LoadTemplate(DEDEMEMBER.'/templets/myfriend_group.htm');
$tpl->Display();
exit();
}
elseif ($dopost == 'add')
{
$mtypename = HtmlReplace(trim($groupname));
$row = $dsql->GetOne("SELECT * FROM `#@__member_group` WHERE groupname LIKE '$groupname' AND mid='{$cfg_ml->M_ID}'");
if(is_array($row))
{
ShowMsg('分组名称已经存在', '-1');
exit();
}
else if(strlen($groupname)=="")
{
ShowMsg('分组名称不能为空', '-1');
exit();
}
$query = "INSERT INTO `#@__member_group`(groupname, mid) VALUES ('$groupname', '$cfg_ml->M_ID'); ";
if($dsql->ExecuteNoneQuery($query))
{
ShowMsg('增加分类成功', 'myfriend_group.php');
}
else
{
ShowMsg('增加分类失败', '-1');
}
exit();
}elseif ($dopost == 'save'){
$groupname = HtmlReplace(trim($groupname));
if(isset($mtypeidarr) && is_array($mtypeidarr))
{
$delids = '0';
$mtypeidarr = array_filter($mtypeidarr, 'is_numeric');
foreach($mtypeidarr as $delid)
{
$delid = HtmlReplace($delid);
$delids .= ','.$delid;
unset($groupname[$delid]);
}
$query = "DELETE FROM `#@__member_group` WHERE id in ($delids) AND mid='$cfg_ml->M_ID'";
$dsql->ExecNoneQuery($query);
$sql="SELECT id FROM `#@__member_friends` WHERE groupid in ($delids) AND mid='$cfg_ml->M_ID'";
$db->SetQuery($sql);
$db->Execute();
while($row = $db->GetArray())
{
$query2 = "UPDATE `#@__member_friends` SET groupid='1' WHERE id='{$row['id']}' AND mid='$cfg_ml->M_ID'";
$dsql->ExecNoneQuery($query2);
}
}
foreach ($groupname as $id => $name)
{
$name = HtmlReplace($name);
$id = HtmlReplace($id);
$query = "UPDATE `#@__member_group` SET groupname='$name' WHERE id='$id' AND mid='$cfg_ml->M_ID'";
$dsql->ExecuteNoneQuery($query);
}
ShowMsg('分组修改完成(删除分组中的会员会转移到默认分组中)','myfriend_group.php');
exit();
}

+ 0
- 81
src/member/search.php View File

@@ -1,81 +0,0 @@
<?php
/**
* 搜索
*
* @version $Id: search.php 1 8:38 2010年7月9日Z tianya $
* @package DedeCMS.Member
* @copyright Copyright (c) 2007 - 2020, DesDev, Inc.
* @license http://help.dedecms.com/usersguide/license.html
* @link http://www.dedecms.com
*/
require_once(dirname(__FILE__).'/config.php');
CheckRank(0,0);
require_once(DEDEINC.'/enums.func.php');
require_once(DEDEINC.'/datalistcp.class.php');
$menutype = 'mydede';
//检查用户是否被禁言
CheckNotAllow();
$addsqls = array();
$province = empty($province) ? 0 : intval($province);
$city = empty($city) ? 0 : intval($city);
$minage = empty($minage) ? 0 : intval($minage);
$maxage = empty($maxage) ? 0 : intval($maxage);
if(empty($sex)) $sex = '';
if(empty($keyword)) $keyword = '';
$keyword = FilterSearch(stripslashes($keyword));
$keyword = addslashes(cn_substr($keyword,20));
if(!empty($keyword)) {
$addsqls[] = " (mb.userid like '%$keyword%' Or mb.uname like '%$keyword%') ";
}
if(empty($city)) {
$place = $province;
}
else {
$place = $city;
}
if( $place%500 != 0 )
{
$addsqls[] = " mp.place='$place' ";
}
else
{
if($place!=0)
{
$minp = $place - 1;
$maxp = $place + 500;
$addsqls[] = " mp.place>'$minp' And mp.place<'$maxp' ";
}
}
if($sex!='') $addsqls[] = " mp.sex = '$sex' ";
if($minage!=0) $addsqls[] = " YEAR(CURDATE())-YEAR(mp.birthday)>='$minage' ";
if($maxage!=0) $addsqls[] = " YEAR(CURDATE())-YEAR(mp.birthday)<='$maxage' ";
$addsqls_str = join(' And ',$addsqls);
if($addsqls_str!='') {
$addsqls_str = ' And '.$addsqls_str;
}
$addsql = " WHERE mb.spacesta > -1 ".$addsqls_str;
$query = "SELECT mb.*,mp.place,YEAR(CURDATE())-YEAR(mp.birthday) AS age,mp.lovemsg,mp.birthday FROM `#@__member` mb
LEFT JOIN `#@__member_person` mp ON mp.mid = mb.mid
{$addsql} ORDER BY mb.logintime DESC";
$dlist = new DataListCP();
$dlist->pageSize = 8;
$dlist->SetParameter('keyword',$keyword);
$dlist->SetParameter('province',$province);
$dlist->SetParameter('city',$city);
$dlist->SetParameter('minage',$minage);
$dlist->SetParameter('maxage',$maxage);
$dlist->SetParameter('sex',$sex);
$dlist->SetTemplate(DEDEMEMBER.'/templets/search.htm');
$dlist->SetSource($query);
$dlist->Display();

+ 0
- 116
src/member/space/coffee/blog.htm View File

@@ -1,116 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
{dede:include file='side_visitor.htm'/}
{dede:include file='side_search.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>日志文章</h2>
</div>
<!--begin-->
<div class="text">
<div class="gray">{dede:global.arcrow[pubdate] function="MyDate('y-m-d h:i',@me)" /}</div>
<h3>
<a href="{dede:global.arcrow[arcurl] /}" class="noul">{dede:global.arcrow[title] /}</a>
</h3>
<table class="blog-content">
<tr>
<td>
<p>{dede:global.arcrow[body] /}</p>
</td>
</tr>
</table>
</div>
<!--begin comment-->
<div class="comment bb" style="padding-left:6px;">
<?php if (count($msgs)>0) { ?>
<h5 id="cdisplay" style="display:;">一共有 <span id="sums"><?php echo count($msgs);?></span> 条评论</h5>
<?php
//原有评论(取其前50条)
foreach ($msgs as $msg)
{
?>
<dl id="<?php echo $msg['id']; ?>">
<dd class="comment-pic left">
<img src="<?php echo $msg['mface']=='' ? 'images/dfboy.png' : $msg['mface']; ?>" width="40" />
</dd>
<dd>
<?php
if ($msg['username']=='匿名' || $msg['userid']=='') {
echo $msg['username'];
}
else {
?>
<a href="index.php?uid=<?php echo urlencode($msg['userid']); ?>" class="big b"><?php echo $msg['username']; ?></a>
<?php } ?>
<span class="gray"><?php echo MyDate('m-d H:i',$msg['dtime']);?></span> Says:
</dd>
<dd class="comment-content" >
<span id="s_<?php echo $msg['id']; ?>"></span>
<div id="r_<?php echo $msg['id']; ?>">
<div class="re-comment" style="display:none;">
<b><?php echo $msg['username']; ?> 于 <?php echo MyDate('m-d H:i',$msg['dtime']);?> 回复:</b>
<div id="r_content_<?php echo $msg['id']; ?>"></div>
</div>
<div>
<img src="{dede:global.cfg_templets_skin/}/images/mood/<?php echo 'ico-mood-'.($msg['face']>0 ? $msg['face'] : 6).'.gif'; ?>" /><?php echo $msg['msg']; ?>
</div>
</div>
</dd>
</dl>
<?php
} }
?>
<div class="big"></div>
<div class="post-comment">
<h5>发表评论</h5>
<div>
<form action="feedback.php" method="post" name="feedback">
<input type="hidden" name="action" value="send" />
<input type="hidden" name="comtype" value="comments">
<input type="hidden" name="aid" value="<?php echo $aid; ?>" />
<input type="hidden" name="isconfirm" value="yes" />
<input name="cmtuser" type="hidden" value="{dede:var.uname /}">{dede:var.uname /}:
</div>
<div>
<textarea class="ip" id="cmtcontent" name="msg" style="width:90%;height:8em;" ></textarea>
</div>
<div class="c"></div>
<div >
<strong style= "FLOAT:left; ">表情:</strong>
<ul>
<li style= "FLOAT:left; "><input type="radio" name='face' value='6' checked="1" /><img src="templets/images/smiley/6.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='4'/><img src="templets/images/smiley/4.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='3'/><img src="templets/images/smiley/3.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='5'/><img src="templets/images/smiley/5.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='2'/><img src="templets/images/smiley/2.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='1'/><img src="templets/images/smiley/1.gif" /></li>
<li><input type="radio" name='face' value='7'/><img src="{dede:global.cfg_templets_skin/}/images/mood/ico-mood-7.gif" /></li>
</ul>
</div>
<table>
<tr>
<td>验证码:</td>
<td><input name="validate" type="text" id="validate" size="10" style="height:16px;width:60px;" class="ip" /></td>
<td><img src='../plus/vdimgck.php' width='60px' height='20px' /></td>
<td>&nbsp;<input name="sbbt" type="submit" value="发送评论" style="width:60px;height:22px" /></td>
<td><input name="notuser" type="checkbox" id="notuser" value="1" />匿名评论</td>
</tr>
</table>
</form>
</div>
<div class="c"></div>
</div>
<!-- //end comment-->
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm'/}

BIN
src/member/space/coffee/demo.png View File

Before After
Width: 150  |  Height: 150  |  Size: 14KB

+ 0
- 8
src/member/space/coffee/footer.htm View File

@@ -1,8 +0,0 @@
<br class="c" />
</div>
<div id="footer" align="center">
{dede:global.cfg_powerby /}
</div>
</div></div></div>
</body>
</html>

+ 0
- 82
src/member/space/coffee/guestbook.htm View File

@@ -1,82 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm' /}
{dede:include file='side_news.htm' /}
{dede:include file='side_visitor.htm' /}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>留言列表</h2>
<!--begin-->
<div class="text">
<!--begin comment-->
<div class="comment bb">
<div id="newgbook"></div>
{dede:datalist}
<a name="1"></a>
<dl id="dl_1">
<dd class="comment-pic left">
<?php if($fields['face']==''){
$face=($fields['sex']=='女')? 'templets/images/dfgirl.png' : 'templets/images/dfboy.png';
echo '<img src="'.$face.'" width="50" height="50"/>';
}else{
echo '<img src="'.$fields['face'].'" width="50" height="50" alt="'.$fields['uname'].'的头像" />';
} ?>
</dd>
<dd>
<a href="index.php?uid={dede:field.userid/}" class="big b">{dede:field.uname/}</a>
<span class="gray">{dede:field.dtime function="MyDate('Y-m-d H:i',@me)" /}</span>
</dd>
<dd class="comment-content">
<div>{dede:field.msg function="Text2Html(@me)" /}</div>
<span id="s_1"></span>
<div id="r_1">
<div class="re-comment" style="display:none;">
<b><a href='index.php?uid={dede:field.uname/}'></a> 于 回复:</b>
<div id="r_content_1"></div>
</div>
</div>
</dd>
</dl>
{/dede:datalist}
<div class="big"><div class="pages">{dede:pagelist/}</div></div>
<div class="post-comment">
<h5>发表留言</h5>
<div>
<form action="index.php" name="form1" method="post">
<input type="hidden" id="guser" value="{dede:var.uname /}" />{dede:var.uname /}:
<input type="hidden" name="action" value="guestbooksave" />
<input type="hidden" name="uidnum" value="{dede:var.mid/}" />
<input type="hidden" name="uid" value="{dede:var.userid/}" />
<input type="hidden" name="uname" type="text" id="uname" value="<?php if(isset($cfg_ml->M_LoginID) && $cfg_ml->M_LoginID!='') echo $cfg_ml->M_LoginID; ?>" />
</div>
<div>标题:<input name="title" type="text" id="title" class="ip" style="width:250px;height:15px;" /></div>
<div>
<textarea class="ip" name="msg" id="msg" style="width:95%;height:8em"></textarea>
<span style="margin-top:-1em;padding:3px; text-align:right; width:200px; position:absolute">
</div>
</span>
</div>
<table>
<tr>
<td>验证码:</td>
<td><input name="vdcode" type="text" id="vdcode" size="10" style="height:16px;width:60px;" class="ip" /></td>
<td><img src='../plus/vdimgck.php' width='60px' height='20px' /></td>
<td>&nbsp;<input name="sbbt" type="submit" value="发送留言" style="width:60px;height:22px" /></td>
</tr>
</table>
</div>
</form>
<div class="c"></div>
</div>
<!--begin comment-->
</div>
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm'/}

+ 0
- 48
src/member/space/coffee/header.htm View File

@@ -1,48 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" />
<title>{dede:var.spacename /} {dede:var.curtitle /}</title>
<link href="space/coffee/images/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="showmenu" style="z-index:100;display:none;"></div>
<div class="wrap1"><div class="wrap2"><div class="wrap3">
<div dargarea='yes' id="container">
<!--begin header-->
<div id="header">
<div id="title">
<div class="fr tar" id="toolbar">
<a href="{dede:global.cfg_basehost /}" target="_blank">{dede:global.cfg_basehost /}</a><br />
{dede:if $cfg_ml->IsLogin() }
<a href="index.php?uid={dede:object.cfg_ml->M_LoginID /}">我的主页</a>
| &nbsp;
<a href="index.php">会员中心</a>
| &nbsp;<a href="edit_space_info.php" target="_blank">空间管理</a> | <a href="index_do.php?fmdo=login&dopost=exit">注销</a>
{else}
<a href="login.php">登录</a> | <a href="index_do.php?fmdo=user&dopost=regnew">注册</a>
{/dede:if}
</div>
<h1><a href="{dede:var.userurl /}">{dede:var.spacename /}</a></h1>
</div>
<div class="c"></div>
<ul id="guide">
<li><a href="index.php?uid={dede:var.userid_e /}">首页</a></li>
<li><a href="index.php?uid={dede:var.userid_e /}&action=article">日志</a></li>
<?php
foreach($_vars['bloglinks'] as $k=>$v)
{
if($k==2) {
echo " <li><a href=\"index.php?uid={$_vars['userid_e']}&action=album\">相册</a></li>\r\n";
}
else {
echo " <li><a href=\"index.php?uid={$_vars['userid_e']}&action=archives&channelid={$k}\">{$v}</a></li>\r\n";
}
}
?>
<li><a href="index.php?uid={dede:var.userid_e /}&action=guestbook">留言</a></li>
<li><a href="index.php?uid={dede:var.userid_e /}&action=infos">关于我</a></li>
</ul>
</div>
<div class="c" ></div>

BIN
src/member/space/coffee/images/addto.gif View File

Before After
Width: 16  |  Height: 17  |  Size: 559B

BIN
src/member/space/coffee/images/albumn-bg.gif View File

Before After
Width: 98  |  Height: 102  |  Size: 421B

BIN
src/member/space/coffee/images/bg.jpg View File

Before After
Width: 1280  |  Height: 702  |  Size: 89KB

BIN
src/member/space/coffee/images/bgm.gif View File

Before After
Width: 14  |  Height: 14  |  Size: 200B

BIN
src/member/space/coffee/images/bodybg.jpg View File

Before After
Width: 308  |  Height: 156  |  Size: 1.5KB

BIN
src/member/space/coffee/images/close.jpg View File

Before After
Width: 20  |  Height: 17  |  Size: 639B

BIN
src/member/space/coffee/images/del.png View File

Before After
Width: 16  |  Height: 17  |  Size: 543B

BIN
src/member/space/coffee/images/jian.png View File

Before After
Width: 16  |  Height: 17  |  Size: 513B

BIN
src/member/space/coffee/images/message.gif View File

Before After
Width: 16  |  Height: 16  |  Size: 328B

BIN
src/member/space/coffee/images/rss.png View File

Before After
Width: 16  |  Height: 16  |  Size: 522B

BIN
src/member/space/coffee/images/save.jpg View File

Before After
Width: 20  |  Height: 17  |  Size: 688B

BIN
src/member/space/coffee/images/sigline.gif View File

Before After
Width: 350  |  Height: 13  |  Size: 328B

+ 0
- 180
src/member/space/coffee/images/style.css View File

@@ -1,180 +0,0 @@
body{font-family: Geneva, Arial, Helvetica, sans-serif, serif;font-size:12px;line-height:1.5em;background:#000 url(bodybg.jpg) ;color:#eee;}
h1,h2,h3,h4,h5,h6,form,body,dd,dt,dl,li,ul{padding:0;margin:0}
td,th,div{word-break:break-all;word-wrap:break-word}
img{border:0; background:#000}
.c{clear:both;height:1px;font:0px/0px Arial;overflow:hidden}
.tal,.tl{text-align:left}
.tac,.tc{text-align:center}
.tar,.tr{text-align:right}
.fr,.right{float:right}
.fl,.left{float:left}
.b{ font-weight:bold}
.tdn{ text-decoration:none}
.small{ font-size:10px;}
.big{ font-size:14px;}
.fsn{ font-size:12px}
.fn{ font-weight:normal}
.lh0{ line-height:0}
.yellow {color:#FFFF00}
.gray{ color:#aaa}
.keep{ word-break:keep-all; word-spacing:normal}
.ip{ padding:2px; border:1px solid #463E3B;background:none;color:#FFC800}
.bt{background:#012E53;color:#FFC800 ;font-size:12px;}
/*a link 基本连接颜色*/
a{color:#d9544E}
a:hover{color:#fff; background:#d9544E}
a.noul{ text-decoration:none}
a.active{background:#d9544E; color:#fff}
a.active:hover{color:#d9544E; background:none}
h1{color:#7C1B00;font-size:20px; padding:.6em 0 0; margin-top:2em}
h2{ font-size:15px; padding:.5em .6em .3em; color:#fff;}
h3{ font-size:14px; color:#FFFF00}
h4{ font:16px Georgia; display:inline}
.wrap1{ background:url(bg.jpg) repeat-x -60px 0;width:100%; height:1000px }
.wrap2{ background:url(bg.jpg) repeat-x -60px 0;width:1000px; height:1000px }
#container{ width:778px;margin:0 auto 0 2em}
#header{ height:150px;margin-bottom:1em}
#title{ width:98%; height:120px; margin:auto; overflow:hidden}
#guide{ padding:0; margin:0; border-bottom:1px solid #453D3B; float:left; width:99.8%;}
#guide li{ display:inline}
#guide li a{ float:left; color:#fff; text-decoration:none;display:block; font:13px/1.2em Arial; padding:.4em 1em}
#guide li a:hover{ background:#AF5B2F;text-decoration:none}
#guide li.active a{background:#453D3B;color:#FFC800 }
#site-dsc{color:#fff}
#toolbar{ margin-top:1em}
#main{ width:73.5%;}
#side{ width:25%;}
.box{ border:1px solid #666; margin:0 0 .7em; width:100%; overflow:hidden; background:#000;filter:alpha(opacity=70);-moz-opacity:0.7}
.text{ margin:.5em 1em 1em;}
#main .text { margin: 1em}
#side .list { margin:1em .5em 1.5em 2.5em;}
#side .list ul{ margin:0 0 1em 1em}
#side .list ul li{ margin:.5em 0}
#side .list li{ margin:.5em 0}
.profile-pic{margin:0 auto 1em;padding:1px;width:95%;}
.profile-pic div{ margin:0 auto 0;width:100%;padding:0;overflow:hidden;text-align:center;line-height:0}
.profile-pic div img{border:1px solid #ccc;padding:0; margin:0;}
.profile dd{ margin:.3em 0 0; line-height:120%}
/*#calendar */
.calendar table{ width:98%; margin:0 auto 1em; table-layout:fixed}
.calendar table td{ height: 15px;font:11px/150% Tahoma;text-align:center;}
.calendar table th{ text-align: center}
.calendar table td a{color:#fff;font:11px/12px Arial;background:#d9544E;padding:0px 3px 2px}
.calendar table td a:hover{background:#012E53;text-decoration:none}
/*blog*/
.blog-content{ margin:2em 0; table-layout:fixed; width:100%; vertical-align:top}
.blog-content td{ font-size:13px; line-height:1.5em;overflow:hidden}
.blog-content td img { padding:5px; border:1px solid #666; line-height:0}
.blog-content td a:hover img { border-color:#fff}
.bb{ border-bottom:1px solid #666; padding:0 0 .6em; margin:0 0 .3em; line-height:2em;}
#footer{ margin-top:2em; border-top:1px solid #666; padding:.5em;}
#footer ul,#footer li { display:inline; list-style:none ; margin:0 0 0 1em}
/*photos-album*/
.pic-list li{ height:50px; width:50px; list-style:none; float:left}
.pic-list li a img{ filter:alpha(opacity=80);Opacity=0.08;padding:2px; width:40px; height:40px}
.pic-list li a:hover img { filter:alpha(opacity=100);Opacity=0.1; position:absolute; width:79px;height:79px; margin:-20px 0 0 -20px}
.front-cover{ padding:0 1em 2em 0}
/*favorite*/
.fav dl{ margin-bottom:1.5em}
.fav dt{ margin-bottom:.5em}
/*goods*/
.goods-list li{ width:80px; height:80px; text-align:center; line-height:110%; margin:0 .3em 1em }
.goods-list li a:hover img { margin:-20px 0 0 -42px}
.goods-dl { width:400px}
.goods-dl dd{ border-bottom:1px solid #333; margin: 0 1em 0 0; line-height:2em}
/*friends*/
.frends-list li{ float:left; width:48%;height:120px; overflow:hidden; margin-left:1%}
.frends-list li a img{ padding:2px; float:left; margin-right:.5em}
/*comment*/
.comment dl{ display:block;clear:both;float:left;margin:.2em 0;border:1px solid #2C2C2C;width:90%;padding:.5em}
.comment dl:hover{border-color:#4c4c4c}
.comment dd{ margin:0 .8em .5em 0; padding:0; line-height:120%;}
.comment dd.comment-content{ width:85%; display:block;float:left}
.post-comment{ width:70%; margin: 0 0 1em;float:left}
.post-comment div{ margin:0 0 .5em }
.re-comment{ margin:1em 0 0; border:1px solid #2E2E2E ; padding:1em}
.re-comment b{ color:#1C444E}
.re-comment div{ margin-top:1em;}
/*itable*/
.itable td,.itable th{padding:.3em .5em}
.itable td { vertical-align: middle; border-bottom: 1px solid #2E2E2E;}
.itable tr.tr1 td{ background: #2E2E2E ;}
.itable tr.tr2 td{ border-bottom : 1px solid #2E2E2E ; }
.itable td img {border:0;padding:0;background:none}
/*pages*/
.pages { margin-top:10px; margin-bottom:10px; text-align: center;clear:both }
.pages * { vertical-align: middle;}
.pages a{padding:1px 4px 2px;border:1px solid #2C2C2C;margin:0 1px;text-align: center;text-decoration: none; font:normal 10px Tahoma ; }
.pages a:hover { border:#fff 1px solid;text-decoration:none;}
.pages input { border:1px solid #2C2C2C; background:none;height:14px; font: 9px Tahoma; padding-top:1px;text-align: center; }
.pages b { padding:2px ; margin: 0 3px;font:bold 10px/12px Tahoma}
/*menu*/
.menu{position:absolute;background:#fff;border:1px solid $tablecolor;}
.menu td, .menu li,.menu ul{background:#fff;padding:0; margin:0}
.menu li{list-style:none;}
.menu a{display:block;padding:3px 15px 3px 15px;background:#fff;}
.menu a:hover{background:$linkcolor;text-decoration:none;color:#fff;}
.menu ul.ul1 li a{display:inline;padding:0}
.listPic dl{ width:24.5%; float:left; text-align:center; padding:0; margin:.5em 0}
.listPic dt a{ color:#333}
.listPic dd{ padding:0 0 .5em 0; margin:0; text-indent:0; height:90px; vertical-align:middle}
.listPic dd img{ width:85px;height:85px; padding:2px; border:1px solid #eee;}
.listPic1 dl{ width:33%; float:left; text-align:center; padding:0; margin:.5em 0}
.listPic1 dt a{ color:#333}
.listPic1 dd{ padding:0 0 .5em 0; margin:0; text-indent:0; height:55px; vertical-align:middle}
.listPic1 dd img{ width:50px;height:50px; padding:1px; border:1px solid #eee;}
.listPic-albumn dd { height:105px;}
.listPic-albumn dd img { width:90px; height:90px; padding:4px 4px 8px; border:0; background:url(albumn-bg.gif)}
.moduleA{ margin:.2em; border:1px solid #A6CBE7; line-height:110%; border-bottom-color:#66A0CC; border-right-color:#66A0CC;}
.moduleA h3{ color: #0066FF;padding:.5em; margin:0;font-family:Tahoma;font-size:12px;cursor:move }
.tableA { table-layout:fixed}
.tableAtd{ border:1px solid #D4E8F7;height:50px;}
.editButton{ float:right; font:12px/120% Tahoma; color:#CCC; text-decoration:none ; padding-left:0.5em; background:url($imgpath/button_edit.gif) no-repeat 0 .1em}
.editButton:hover{ background-position:.1em .2em}
.editBox{ background:#FFFFCF; margin:0 .2em .2em ; padding:.2em }
.editArea {border:1px solid #eee; width:96%; margin:auto;padding:.2em; background:#fff}
.menu1{position:absolute;border:1px solid #CCCCCC;background:#FFFFFF;z-index:1000;width:200px;height:255px;overflow-Y:auto}
.menu1 h3{background:$headcolor;text-align:left;color:$headfontone;padding:5px 7px 3px 7px;cursor:move}
.menu1 div{padding:5px 10px;}
.checkon{border:1px solid #0A9800;background:#CAFFC0;cursor:move}
.move{position:absolute;}
#colorbox{width:91px;height:78px;padding:3px 0 0 3px;overflow:hidden;}
#colorbox div{cursor:pointer;width:8px;height:8px;float:left;margin:0 3px 3px 0;border:1px #000 solid;font:0/8px arial}
.smile{ height:23px;padding:7px 0 0 8px;text-align:left;background:#E0F0F9 url(th1.png);cursor:move}
.smile div{ width:56px;height:18px;text-align:center;padding:5px 0 0;cursor:pointer;}
.smile div.lian{ background:#ffffff url(tag.jpg) no-repeat;cursor:auto;}
.user-info{ position:absolute;line-height:160%; margin-left:-1.5em; margin-top:-1em}
.user-infoWrap{background:#FFF; border:1px solid #004C7D; border-top:1px #A6CBE7 solid; border-left:1px solid #A6CBE7; padding:.5em 1em; margin-left:20px;display:block;}
.user-info .co{position:absolute; width:10px;height:20px; margin-left:-1.8em; margin-top:2em; background:url(user-info-co.png)}
/*menu_sm*/
.menu_sm{ position:absolute;background:#fffcd9;border-bottom:1px solid #e7d62b; width:100%;}
.menu_sm a{padding:5px 15px 5px 15px; color:#f79305;}
.menu_sm a:hover{text-decoration:none;color:#fff;}
@media screen and (min-width:0px){
.goods-list li a:hover img { margin:-20px -20px 0 0}
}

BIN
src/member/space/coffee/images/tag.jpg View File

Before After
Width: 56  |  Height: 23  |  Size: 558B

BIN
src/member/space/coffee/images/tag1.jpg View File

Before After
Width: 56  |  Height: 23  |  Size: 558B

BIN
src/member/space/coffee/images/talk.gif View File

Before After
Width: 16  |  Height: 17  |  Size: 315B

BIN
src/member/space/coffee/images/team.gif View File

Before After
Width: 16  |  Height: 17  |  Size: 1021B

BIN
src/member/space/coffee/images/wap.png View File

Before After
Width: 16  |  Height: 16  |  Size: 489B

BIN
src/member/space/coffee/images/write.gif View File

Before After
Width: 16  |  Height: 15  |  Size: 1005B

+ 0
- 67
src/member/space/coffee/index.htm View File

@@ -1,67 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
{dede:include file='side_class.htm'/}
{dede:include file='side_news.htm'/}
{dede:include file='side_visitor.htm'/}
{dede:include file='side_search.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>
最新日志文章列表
<img src="space/lxvista/images/write.gif"><a href="article_add.php" class="noul"><span class="gray fn">发表日志</span></a>
</h2>
<!--begin-->
{dede:spacenewart row=6 titlelen=60 infolen=200}
<?php
if($fields['channel']==1) {
$fields['arcurl'] = "index.php?uid={$_vars['userid_e']}&action=viewarchives&aid={$fields['id']}";
}
?>
<div class="text">
<div class="gray">{dede:field.pubdate function="MyDate('y-m-d h:i',@me)"/}</div>
<h3>
<a href="{dede:field.arcurl/}" class="noul">{dede:field.title/}</a>
</h3>
<table class="blog-content">
<tr>
<td>
<p>
{dede:if !preg_match("#defaultpic#", $fields['litpic']) }
<img src='{dede:field.litpic/}' />
{/dede:if}
{dede:field.description/}
</p>
</td>
</tr>
</table>
<div class="bb">
<div>
类别:
{dede:if field.mtypename=='' }
<a href="#">无分类</a> |
{else}
<a href="index.php?uid={dede:var.userid_e /}&action=archives&mtype=<?php echo $mty['mtypeid']; ?>">{dede:field.mtypename/}</a> |
{/dede:if}
<a href="{dede:field.arcurl/}" target="_blank" title="{dede:field.title/}">浏览全文</a>({dede:field.click/}) |
<a href="{dede:global.cfg_phpurl/}/feedback.php?aid={dede:field.id/}" target="_blank">好评度</a>({dede:field.scores/})
</div>
<div class="c"></div>
</div>
</div>
{/dede:spacenewart}
<div class="big">
<div style="line-height:36px;padding-left:10px;margin-bottom:10px;">
<a href="index.php?uid={dede:var.userid_e /}&action=archives">更多内容&gt;&gt;</a>
</div>
</div>
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm' /}

+ 0
- 4
src/member/space/coffee/info.txt View File

@@ -1,4 +0,0 @@
name:咖啡风格
author:ylj798 PW修改版
type:个人
date:2009年7月

+ 0
- 59
src/member/space/coffee/infos.htm View File

@@ -1,59 +0,0 @@
{dede:include file='header.htm'/}
<script src="js/pw_drag.js"></script>
<div id="mode_savebar" style="display:none; position:absolute">
<div class="menu_sm">
<img src="theme/default/images/save.jpg" /><a href="javascript:;" onclick="saveMode()">保存布局</a><img src="theme/default/images/close.jpg" /><a href="javascript:;" onclick="c_savemode()">取消</a>
</div>
</div>
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>基本资料</h2>
<!--begin-->
<div class="text">
<table class="blog-content">
<tr>
<td>
<b>昵称:</b><?php echo $row['uname']; ?> <br />
<b>性别:</b><?php echo $row['sex']; ?> <br />
<b>生日:</b><?php echo $row['birthday']; ?><br />
<b>所在城市:</b>
<?php
$places = GetEnumsTypes($row['place']);
echo ( isset($em_nativeplaces[$places['top']]) ? $em_nativeplaces[$places['top']] : '');
?>
<?php
echo ( isset($em_nativeplaces[$places['son']]) ? $em_nativeplaces[$places['son']] : '');
?><br />
<b>交友宣言:</b><?php echo $row['lovemsg']; ?><br />
<div class="c"></div>
</td>
</tr>
</table>
</div>
<!--end-->
<h2>联系方式</h2>
<!--begin-->
<div class="text">
<table class="blog-content">
<tr>
<td>
<b>Email:</b><?php echo $_vars['email']; ?><br />
<b>QQ:</b><?php echo $row['qq']; ?><br />
<b>MSN: </b><?php echo $row['msn']; ?><br />
<div class="c"></div>
</td>
</tr>
</table>
</div>
<!--end-->
</div>
</div>
{dede:include file='footer.htm'/}

+ 0
- 37
src/member/space/coffee/listalbum.htm View File

@@ -1,37 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
{dede:include file='side_class.htm'/}
{dede:include file='side_search.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>相册列表</h2>
<!--begin-->
<div class="text">
<table class="blog-content">
<tr>
<td>
<div class="listPic listPic-albumn">
{dede:datalist titlelen = '20'}
<dl>
<dd><a href="{dede:field.arcurl/}"><img src='{dede:field.litpic/}'/></dd>
<dt><a href="{dede:field.arcurl/}">{dede:field.title/}</a></dt>
</dl>
{/dede:datalist}
</div>
<div class="c"></div>
</td>
</tr>
</table>
</div>
<div class="big"><div class="pages">{dede:pagelist/}</div></a></span></div>
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm'/}

+ 0
- 60
src/member/space/coffee/listarchives.htm View File

@@ -1,60 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
{dede:include file='side_class.htm'/}
{dede:include file='side_visitor.htm'/}
{dede:include file='side_search.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>文档列表</h2>
<!--begin-->
{dede:datalist}
<?php
if($fields['channel']==1) {
$fields['arcurl'] = "index.php?uid={$_vars['userid_e']}&action=viewarchives&aid={$fields['id']}";
}
?>
<div class="text">
<div class="gray">{dede:field.pubdate function="MyDate('y-m-d h:i',@me)"/}</div>
<h3>
<a href="{dede:field.arcurl/}" class="noul">{dede:field.title/}</a>
</h3>
<table class="blog-content">
<tr>
<td>
<p>
{dede:if !preg_match("#defaultpic#", $fields['litpic']) }
<img src='{dede:field.litpic/}' />
{/dede:if}
{dede:field.description /}
</p>
<p><a href='{dede:field.arcurl/}'>&lt;&lt;详细内容</a>
</td>
</tr>
</table>
<div class="bb">
<div>
类别:
{dede:if field.mtypename=='' }
<a href="#">无分类</a> |
{else}
<a href="index.php?uid={dede:var.userid_e /}&action=archives&mtype=<?php echo $mty['mtypeid']; ?>">{dede:field.mtypename/}</a> |
{/dede:if}
<a href="{dede:field.arcurl/}" target="_blank" title="{dede:field.title/}">浏览全文</a>({dede:field.click/}) |
<a href="{dede:global.cfg_phpurl/}/feedback.php?aid={dede:field.id/}" target="_blank">好评度</a>({dede:field.scores/})
</div>
<div class="c"></div>
</div>
</div>
{/dede:datalist}
<div class="big"><div class="pages">{dede:pagelist/}</div></a></span></div>
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm' /}

+ 0
- 57
src/member/space/coffee/listarticle.htm View File

@@ -1,57 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
{dede:include file='side_class.htm'/}
{dede:include file='side_visitor.htm'/}
{dede:include file='side_search.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>日志文章列表
<img src="space/lxvista/images/write.gif"><a href="article_add.php" class="noul"><span class="gray fn">发表日志</span></a>
</h2>
<!--begin-->
{dede:datalist}
<div class="text">
<div class="gray">{dede:field.pubdate function="MyDate('y-m-d h:i',@me)"/}</div>
<h3>
<a href="index.php?uid={dede:var.userid_e /}&action=viewarchives&aid={dede:field.id/}" class="noul">{dede:field.title/}</a>
</h3>
<table class="blog-content">
<tr>
<td>
<p>
{dede:if !preg_match("#defaultpic#", $fields['litpic']) }
<img src='{dede:field.litpic/}' />
{/dede:if}
{dede:field.body function='cn_substr(@me, 500); /}
</p>
<p><a href='index.php?uid={dede:var.userid_e /}&action=viewarchives&aid={dede:field.id/}'>&lt;&lt;详细内容</a>
</td>
</tr>
</table>
<div class="bb">
<div>
类别:
{dede:if field.mtypename=='' }
<a href="#">无分类</a> |
{else}
<a href="index.php?uid={dede:var.userid_e /}&action=archives&mtype=<?php echo $mty['mtypeid']; ?>">{dede:field.mtypename/}</a> |
{/dede:if}
<a href="{dede:field.arcurl/}" target="_blank" title="{dede:field.title/}">浏览全文</a>({dede:field.click/}) |
<a href="{dede:global.cfg_phpurl/}/feedback.php?aid={dede:field.id/}" target="_blank">好评度</a>({dede:field.scores/})
</div>
<div class="c"></div>
</div>
</div>
{/dede:datalist}
<div class="big"><div class="pages">{dede:pagelist/}</div></a></span></div>
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm' /}

+ 0
- 42
src/member/space/coffee/side_class.htm View File

@@ -1,42 +0,0 @@
<?php
if($action=='article')
{
$action = 'article';
$channelid = 1;
}
else if($action=='album')
{
$action = 'album';
$channelid = 2;
}
else
{
$action = 'archives';
$channelid = empty($channelid) ? 0 : intval($channelid);
}
if($channelid >= 0)
{
$channelAdd = '';
if($channelid > 2) $channelAdd = '&channelid='.$channelid;
?>
<!-- //begin dirs -->
<div class="box" id="side_userclass">
<h2>日志分类</h2>
<ul class="list" id="bloglist">
<?php
if (count($mtypearr)>0)
{
foreach ($mtypearr as $mty)
{
if(!empty($channelid) && $mty['channelid'] != $channelid) continue;
echo "<li><a href=\"index.php?uid={$_vars['userid_e']}&action={$action}&mtype={$mty['mtypeid']}{$channelAdd}\">{$mty['mtypename']}</a></li>\r\n";
}
}
?>
<li><a href="index.php?uid={dede:var.userid_e /}&action=<?php echo $action.$channelAdd; ?>">所有文档&gt;&gt;</a></li>
</ul>
</div>
<!-- //end dirs -->
<?php
}
?>

+ 0
- 35
src/member/space/coffee/side_icon.htm View File

@@ -1,35 +0,0 @@
<!-- //begin icon -->
<div class="box" id="side_icon">
<h2>博主资料</h2>
<div class="profile">
<div class="text">
<div class="profile-pic">
<span id="msg"></span>
<div>
{dede:if $_vars['face']=='' }
<img src="images/nopic.gif" alt="nopic" />
{else}
<img src="{dede:var.face/}" alt="{dede:var.uname/}" />
{/dede:if}
</div>
</div>
<dl class="profile">
<dd class="tac" style="word-break:keep-all">
<img src="space/person/images/talk.gif" align="absmiddle" /><a href="index.php?action=guestbook&uid={dede:var.userid/}">留言</a> |
<img src="space/person/images/message.gif" align="absmiddle" /><a href="pm.php?dopost=send&uid={dede:var.userid/}">短消息</a> |
<img src="space/person/images/team.gif" align="absmiddle" /><a href="index.php?action=newfriend&uid={dede:var.userid/}">加好友</a> |
<img src="space/person/images/del.png" align="absmiddle" /><img src="space/person/images/addto.gif" align="absmiddle" /><a href="index.php?action=blackfriend&uid={dede:var.userid/}">加黑名单</a>
</dd>
<dd style='margin-top:10px;'>&nbsp;用户昵称:{dede:var.uname /}</dd>
<dd>&nbsp;最后登录:{dede:var.logintime function="MyDate('y-m-d h:i',@me)" /}</dd>
<dd>&nbsp;会员等级:{dede:var.membername/}</dd>
<dd>&nbsp;会员积分:{dede:var.scores/} 分</dd>
<dd>&nbsp;空间访问:{dede:var.homecount/} 次</dd>
</dl>
</div>
</div>
</div>
<!-- //end icon -->

+ 0
- 8
src/member/space/coffee/side_news.htm View File

@@ -1,8 +0,0 @@
<!-- //spacenews -->
<div class="box" id="side_search">
<h2>空间公告</h2>
<div class="text">
{dede:var.spacenews /}
</div>
</div>

+ 0
- 14
src/member/space/coffee/side_search.htm View File

@@ -1,14 +0,0 @@
<!-- //begin search -->
<div class="box" id="side_search">
<h2>文档搜索</h2>
<form action="../plus/search.php" method="post" target="_blank">
<input type="hidden" name="mid" value="{dede:var.userid /}" />
<div class="text">
<label>
<input class="ip" type="text" name="keyword" size="15" />
<input class="bt" name="submit" type="submit" value=" Go "/>
</label>
</div>
</form>
</div>
<!-- //end search -->

+ 0
- 11
src/member/space/coffee/side_visitor.htm View File

@@ -1,11 +0,0 @@
<!-- //最近访客 -->
<div class="box" id="side_search">
<h2>最近访客</h2>
<div class="text">
{dede:newvisitor row=6} <div class='usericobox'>
<a href="{dede:field.url/}" target="_blank"><img src="{dede:field.face/}" style="width:45px;height:45px;"/></a>
<br /><a href="{dede:field.url/}" target="_blank">{dede:field.uname/}</a>
</div>
{/dede:newvisitor}
</div>
</div>

+ 0
- 116
src/member/space/company/blog.htm View File

@@ -1,116 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
{dede:include file='side_visitor.htm'/}
{dede:include file='side_search.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>查看新闻</h2>
</div>
<!--begin-->
<div class="text">
<div class="gray">{dede:global.arcrow[pubdate] function="MyDate('y-m-d h:i',@me)" /}</div>
<h3>
<a href="{dede:global.arcrow[arcurl] /}" class="noul">{dede:global.arcrow[title] /}</a>
</h3>
<table class="blog-content">
<tr>
<td>
<p>{dede:global.arcrow[body] /}</p>
</td>
</tr>
</table>
</div>
<!--begin comment-->
<div class="comment bb" style="padding-left:6px;">
<?php if (count($msgs)>0) { ?>
<h5 id="cdisplay" style="display:;">一共有 <span id="sums"><?php echo count($msgs);?></span> 条评论</h5>
<?php
//原有评论(取其前50条)
foreach ($msgs as $msg)
{
?>
<dl id="<?php echo $msg['id']; ?>">
<dd class="comment-pic left">
<img src="<?php echo $msg['mface']=='' ? 'images/dfboy.png' : $msg['mface']; ?>" width="40" />
</dd>
<dd>
<?php
if ($msg['username']=='匿名' || $msg['userid']=='') {
echo $msg['username'];
}
else {
?>
<a href="index.php?uid=<?php echo urlencode($msg['userid']); ?>" class="big b"><?php echo $msg['username']; ?></a>
<?php } ?>
<span class="gray"><?php echo MyDate('m-d H:i',$msg['dtime']);?></span> Says:
</dd>
<dd class="comment-content" >
<span id="s_<?php echo $msg['id']; ?>"></span>
<div id="r_<?php echo $msg['id']; ?>">
<div class="re-comment" style="display:none;">
<b><?php echo $msg['username']; ?> 于 <?php echo MyDate('m-d H:i',$msg['dtime']);?> 回复:</b>
<div id="r_content_<?php echo $msg['id']; ?>"></div>
</div>
<div>
<img src="{dede:global.cfg_templets_skin/}/images/mood/<?php echo 'ico-mood-'.($msg['face']>0 ? $msg['face'] : 6).'.gif'; ?>" /><?php echo $msg['msg']; ?>
</div>
</div>
</dd>
</dl>
<?php
} }
?>
<div class="big"></div>
<div class="post-comment">
<h5>发表评论</h5>
<div>
<form action="feedback.php" method="post" name="feedback">
<input type="hidden" name="action" value="send" />
<input type="hidden" name="comtype" value="comments">
<input type="hidden" name="aid" value="<?php echo $aid; ?>" />
<input type="hidden" name="isconfirm" value="yes" />
<input name="cmtuser" type="hidden" value="{dede:var.uname /}">{dede:var.uname /}:
</div>
<div>
<textarea class="ip" id="cmtcontent" name="msg" style="width:90%;height:8em" ></textarea>
</div>
<div class="c"></div>
<div >
<strong style= "FLOAT:left; ">表情:</strong>
<ul>
<li style= "FLOAT:left; "><input type="radio" name='face' value='6' checked="1" /><img src="templets/images/smiley/6.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='4'/><img src="templets/images/smiley/4.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='3'/><img src="templets/images/smiley/3.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='5'/><img src="templets/images/smiley/5.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='2'/><img src="templets/images/smiley/2.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='1'/><img src="templets/images/smiley/1.gif" /></li>
<li><input type="radio" name='face' value='7'/><img src="{dede:global.cfg_templets_skin/}/images/mood/ico-mood-7.gif" /></li>
</ul>
</div>
<table>
<tr>
<td>验证码:</td>
<td><input name="validate" type="text" id="validate" size="10" style="height:16px;width:60px;" class="ip" /></td>
<td><img src='../plus/vdimgck.php' width='60px' height='20px' /></td>
<td>&nbsp;<input name="sbbt" type="submit" value="发送评论" style="width:60px;height:22px" /></td>
<td><input name="notuser" type="checkbox" id="notuser" value="1" />匿名评论</td>
</tr>
</table>
</form>
</div>
<div class="c"></div>
</div>
<!-- //end comment-->
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm'/}

+ 0
- 34
src/member/space/company/contact.htm View File

@@ -1,34 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_search.htm'/}
{dede:include file='side_class.htm'/}
{dede:include file='side_news.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>联系我们</h2>
</div>
<div class="infobox">
<ul>
<li><span>公司名称:</span>{dede:var.company/}</li>
<li><span>贸易种类:</span>{dede:var.vocation/}</li>
<li><span>主营产品:</span>{dede:var.product/}</li>
<li><span>公司规模:</span>{dede:var.cosize/}</li>
<li><span>所在地:</span>{dede:var.place/}</li>
<li><span>联系人:</span>{dede:var.linkman/}</li>
<li><span>电话:</span>{dede:var.tel/}</li>
<li><span>传真:</span>{dede:var.fax/}</li>
<li><span>网址:</span>{dede:var.url/}</li>
<li><span>Email:</span><a href="mailto:{dede:var.email/}">{dede:var.email/}</a></li>
<li><span>地址:</span>{dede:var.address/}</li>
</ul>
</div>
</div>
<!--end main-->
{dede:include file='footer.htm'/}

BIN
src/member/space/company/demo.png View File

Before After
Width: 150  |  Height: 150  |  Size: 7.9KB

+ 0
- 8
src/member/space/company/footer.htm View File

@@ -1,8 +0,0 @@
<br class="c" />
</div>
<div id="footer" align="center">
{dede:global.cfg_powerby /}
</div>
</div></div></div>
</body>
</html>

+ 0
- 100
src/member/space/company/guestbook.htm View File

@@ -1,100 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm' /}
{dede:include file='side_visitor.htm' /}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>留言列表</h2>
<!--begin-->
<div class="text">
<!--begin comment-->
<div class="comment bb">
<div id="newgbook"></div>
{dede:datalist}
<a name="1"></a>
<dl id="dl_1">
<dd class="comment-pic left">
<?php if($fields['face']==''){
$face=($fields['sex']=='女')? 'templets/images/dfgirl.png' : 'templets/images/dfboy.png';
echo '<img src="'.$face.'" width="50" height="50"/>';
}else{
echo '<img src="'.$fields['face'].'" width="50" height="50" alt="'.$fields['uname'].'的头像" />';
} ?>
</dd>
<dd>
<a href="index.php?uid={dede:field.userid/}" class="big b">{dede:field.uname/}</a>
<span class="gray">{dede:field.dtime function="MyDate('Y-m-d H:i',@me)" /}</span>
</dd>
<dd class="comment-content">
<div>{dede:field.msg function="Text2Html(@me)" /}</div>
<span id="s_1"></span>
<div id="r_1">
<div class="re-comment" style="display:none;">
<b><a href='index.php?uid={dede:field.uname/}'></a> 于 回复:</b>
<div id="r_content_1"></div>
</div>
</div>
</dd>
</dl>
{/dede:datalist}
<div class="big"><div class="pages">{dede:pagelist/}</div></div>
<div class="post-comment">
<h5>发表留言:</h5>
<div>
<form action="index.php" name="form1" method="post">
<input type="hidden" id="guser" value="{dede:var.uname /}" />
<input type="hidden" name="action" value="guestbooksave" />
<input type="hidden" name="uidnum" value="{dede:var.mid/}" />
<input type="hidden" name="uid" value="{dede:var.userid/}" />
<input type="hidden" name="uname" value="<?php if(isset($cfg_ml->M_LoginID) && $cfg_ml->M_LoginID!='') echo $cfg_ml->M_LoginID; ?>" />
</div>
<div>标题:<input name="title" type="text" id="title" class="ip" style="width:250px;height:15px;" /></div>
<div>
<textarea class="ip" name="msg" id="msg" style="width:95%;height:8em"></textarea>
<span style="margin-top:-1em;padding:3px; text-align:right; width:200px; position:absolute">
</div>
</span>
</div>
<!--table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" style="margin-top:10px;">
<tr>
<td height="26" width="15%">你的昵称:</td>
<td><input name="uname" type="text" id="uname" value="<?php if(isset($cfg_ml->M_LoginID) && $cfg_ml->M_LoginID!='') echo $cfg_ml->M_LoginID; ?>" style="width:250px;" /></td>
</tr>
<tr>
<td height="26">电子邮箱:</td>
<td><input name="email" type="text" id="email" style="width:250px;" /></td>
</tr>
<tr>
<td height="26">即时通信软件:</td>
<td><input name="qq" type="text" id="qq" style="width:250px;" />
(注明QQ或MSN等)</td>
</tr>
<tr>
<td height="26">联系电话:</td>
<td><input name="tel" type="text" id="tel" style="width:250px;" /></td>
</tr>
</table-->
<table border="0" cellspacing="0" cellpadding="5" style="height:36px;">
<tr>
<td>&nbsp;验证码:</td>
<td><input name="vdcode" type="text" id="vdcode" size="10" style="height:16px;width:60px;" class="ip" /></td>
<td><img src='../plus/vdimgck.php' width='60px' height='20px' /></td>
<td>&nbsp;<input name="sbbt" type="submit" value="发送留言" style="width:60px;height:22px" /></td>
</tr>
</table>
</div>
</form>
<div class="c"></div>
</div>
<!--begin comment-->
</div>
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm'/}

+ 0
- 59
src/member/space/company/header.htm View File

@@ -1,59 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>{dede:var.spacename /} {dede:var.curtitle /}</title>
<link href="space/company/images/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="showmenu" style="z-index:100;display:none;"></div>
<div class="wrap1"><div class="wrap2"><div class="wrap3">
<div dargarea='yes' id="container">
<!--begin header-->
<div id="header">
<div id="title">
<h1>
<?php
if(empty($_vars['spacelogo'])) {
?>
<a href="{dede:var.userurl /}">{dede:var.spacename /}</a>
<?php } else { ?>
<a href="{dede:var.userurl /}"><img src="{dede:var.spacelogo /}" width="200" height="50" alt="{dede:var.spacename /}" /></a>
<?php } ?>
</h1>
<div class="fr tar" id="toolbar">
<a href="{dede:global.cfg_basehost /}" target="_blank">{dede:global.cfg_basehost /}</a><br />
{dede:if $cfg_ml->IsLogin() }
<a href="index.php?uid={dede:object.cfg_ml->M_LoginID /}">我的主页</a>
| &nbsp;
<a href="index.php">会员中心</a>
| &nbsp;<a href="edit_space_info.php" target="_blank">空间管理</a> | <a href="index_do.php?fmdo=login&dopost=exit">注销</a>
{else}
<a href="login.php">登录</a> | <a href="index_do.php?fmdo=user&dopost=regnew">注册</a>
{/dede:if}
</div>
</div>
<div class="c"></div>
<ul id="guide">
<li><a href="index.php?uid={dede:var.userid_e /}">首页</a></li>
<li><a href="index.php?uid={dede:var.userid_e /}&action=introduce">公司简介</a></li>
<li><a href="index.php?uid={dede:var.userid_e /}&action=article">新闻动态</a></li>
<li><a href="index.php?uid={dede:var.userid_e /}&action=products">产品展示</a></li>
<?php
foreach($_vars['bloglinks'] as $k=>$v)
{
if($k==6) continue;
if($k==2) {
echo " <li><a href=\"index.php?uid={$_vars['userid_e']}&action=album\">相册</a></li>\r\n";
}
else {
echo " <li><a href=\"index.php?uid={$_vars['userid_e']}&action=archives&channelid={$k}\">{$v}</a></li>\r\n";
}
}
?>
<li><a href="index.php?uid={dede:var.userid_e /}&action=guestbook">在线留言</a></li>
<li><a href="index.php?uid={dede:var.userid_e /}&action=contact">联系我们</a></li>
</ul>
</div>
<div class="c" ></div>

BIN
src/member/space/company/images/addto.gif View File

Before After
Width: 16  |  Height: 17  |  Size: 559B

BIN
src/member/space/company/images/albumn-bg.gif View File

Before After
Width: 98  |  Height: 102  |  Size: 421B

BIN
src/member/space/company/images/bgm.gif View File

Before After
Width: 14  |  Height: 14  |  Size: 200B

BIN
src/member/space/company/images/bodybg.jpg View File

Before After
Width: 1000  |  Height: 96  |  Size: 13KB

BIN
src/member/space/company/images/bodybg.png View File

Before After
Width: 45  |  Height: 122  |  Size: 604B

BIN
src/member/space/company/images/close.jpg View File

Before After
Width: 20  |  Height: 17  |  Size: 639B

BIN
src/member/space/company/images/del.png View File

Before After
Width: 16  |  Height: 17  |  Size: 543B

BIN
src/member/space/company/images/download.gif View File

Before After
Width: 14  |  Height: 14  |  Size: 304B

BIN
src/member/space/company/images/h.png View File

Before After
Width: 12  |  Height: 25  |  Size: 263B

BIN
src/member/space/company/images/img.gif View File

Before After
Width: 16  |  Height: 16  |  Size: 1.0KB

BIN
src/member/space/company/images/jian.png View File

Before After
Width: 16  |  Height: 17  |  Size: 513B

BIN
src/member/space/company/images/listen.gif View File

Before After
Width: 16  |  Height: 16  |  Size: 310B

BIN
src/member/space/company/images/message.gif View File

Before After
Width: 16  |  Height: 16  |  Size: 328B

BIN
src/member/space/company/images/music.gif View File

Before After
Width: 15  |  Height: 15  |  Size: 370B

BIN
src/member/space/company/images/new-msg-tips.png View File

Before After
Width: 115  |  Height: 50  |  Size: 2.3KB

BIN
src/member/space/company/images/none.gif View File

Before After
Width: 115  |  Height: 115  |  Size: 2.3KB

BIN
src/member/space/company/images/nopic.gif View File

Before After
Width: 110  |  Height: 110  |  Size: 4.3KB

BIN
src/member/space/company/images/rss.png View File

Before After
Width: 16  |  Height: 16  |  Size: 522B

BIN
src/member/space/company/images/save.jpg View File

Before After
Width: 20  |  Height: 17  |  Size: 688B

BIN
src/member/space/company/images/sigline.gif View File

Before After
Width: 350  |  Height: 13  |  Size: 328B

+ 0
- 204
src/member/space/company/images/style.css View File

@@ -1,204 +0,0 @@
body{font-family: Geneva, Arial, Helvetica, sans-serif, serif;font-size:12px;line-height:1.5em;background:#D6EDF5 url(bodybg.jpg) repeat-x;color:#333}
h1,h2,h3,h4,h5,h6,form,body,dd,dt,dl,li,ul{padding:0;margin:0}
td,th,div,dd{word-break:break-all;word-wrap:break-word}
img{border:0;}
.c{clear:both;height:1px;font:0px/0px Arial;overflow:hidden}
.tal,.tl{text-align:left}
.tac,.tc{text-align:center}
.tar,.tr{text-align:right}
.fr,.right{float:right}
.fl,.left{float:left}
.b{ font-weight:bold}
.tdn{ text-decoration:none}
.small{ font-size:10px;}
.big{ font-size:14px;}
.fsn{ font-size:12px}
.fn{ font-weight:normal}
.lh0{ line-height:0}
.yellow {color:#fff;}
.gray{ color:#83cfcb}
.keep{ word-break:keep-all; word-spacing:normal}
.ip{ padding:4px 2px 3px; border:1px solid #90C3D5; font:12px/1.1em Tahoma}
.bt{background:#B5D7E3; color:#4D7280; font-weight:bold; border:3px double #90C3D5;font-size:12px;}
/*a link 基本连接颜色*/
a{color:#01759C}
a:hover{color:#fff; background:#01759C}
a.noul{ text-decoration:none}
a.active{background:#01759C; color:#fff}
a.active:hover{color:#01759C; background:none}
h1{ font-size:24px; padding:.6em 0 0}
h2{ font-size:13px; padding:.3em .6em; color:#fff; background:url(bodybg.jpg) 0 -70px #48A3CA; border-bottom:#B3D8E6 1px solid }
h3{ font-size:14px}
h4{ font:16px Georgia; display:inline}
#container{ width:96%; min-width:600px; max-width:1000px; margin:auto; }
#header{ height:108px; background:url(header.png) no-repeat right;}
#title{ width:98%; height:68px; margin:auto; overflow:hidden}
#title h1 { float:left; }
#guide{height:27px;padding:0; margin:0}
#guide li{ display:inline}
#guide li a{ float:left; color:#fff; text-decoration:none;display:block; font:13px/1.2em Arial; padding:.4em 1em}
#guide li a:hover{ background:#4A9FBE;text-decoration:none}
#guide li.active a{background:#03779C;color:#fff }
#site-dsc{color:#B3D8E6; margin-top:.5em; font-size:14px}
#toolbar{ margin-top:1em}
#toolbar a{ color:#B3D8E6}
#main{ width:75.5%; background:#fff; }
#side{ width:23%;}
.box{ border:1px solid #90C3D5; margin:0 0 .7em; width:100%; overflow:hidden; background:#fff}
.text{ margin:.5em 1em 1em;}
#main .text { margin: 1em}
#side .list { margin:1em .5em 1.5em 2.5em;color:#333}
#side .list ul{ margin:0 0 1em 1em}
#side .list ul li{ margin:.5em 0}
#side .list li{ margin:.5em 0}
.profile-pic{margin:0 auto 1em;padding:1px;width:95%;}
.profile-pic div{ margin:0 auto 0;width:100%;padding:0;overflow:hidden;text-align:center;line-height:0}
.profile-pic div img{border:1px solid #ccc;padding:0; margin:0;}
.profile dd{ margin:.3em 0 0; line-height:120%}
/*#calendar */
.calendar table{ width:98%; margin:0 auto 1em; table-layout:fixed}
.calendar table td{ height: 15px;font:11px/150% Tahoma;text-align:center;}
.calendar table th{ text-align: center}
.calendar table td a{color:#fff;font:11px/12px Arial;background:#01759C;padding:0px 3px 2px}
.calendar table td a:hover{background:#015C88;text-decoration:none}
/*blog*/
.blog-content{ margin:2em 0; table-layout:fixed; width:100%; vertical-align:top}
.blog-content td{ font-size:13px; line-height:1.5em;overflow:hidden}
.blog-content td img { padding:5px; border:1px solid #B3D8E6; line-height:0}
.blog-content td a:hover img { border-color:#2E5B6B; background:#fff}
.bb{ border-bottom:1px solid #B5D7E3 ; padding:0 0 .6em; margin:0 0 .3em; line-height:2em;}
#footer{ margin-top:2em; border-top:1px solid #66B2CC ; padding:.5em}
#footer ul,#footer li { display:inline; list-style:none ; margin:0 0 0 1em}
/*photos-album*/
.pic-list li{ height:50px; width:50px; list-style:none; float:left}
.pic-list li a img{ filter:alpha(opacity=80);Opacity=0.08;padding:2px; width:40px; height:40px}
.pic-list li a:hover img { filter:alpha(opacity=100);Opacity=0.1; position:absolute; width:79px;height:79px; margin:-20px 0 0 -20px}
.front-cover{ padding:0 1em 1em 0}
/*favorite*/
.fav dl{ margin-bottom:1.5em}
.fav dt{ margin-bottom:.5em}
/*goods*/
.goods-list li{ width:80px; height:80px; text-align:center; line-height:110%; margin:0 .3em 1em }
.goods-list li a:hover img { margin:-20px 0 0 -42px}
.goods-dl { max-width:55%; width:400px}
.goods-dl dd{ border-bottom:1px solid #E9F0DB; margin: 0 1em 0 0; line-height:2em}
/*friends*/
.frends-list li{ float:left; width:48%;height:120px; overflow:hidden; margin-left:1%}
.frends-list li a img{ padding:2px; float:left; margin-right:.5em}
/*comment*/
.comment dl{ display:block;clear:both;float:left;margin:.2em 0;border:1px solid #D6EDF5;width:90%;padding:.5em}
.comment dl:hover{border-color:#4BA9CD}
.comment dd{ margin:0 .8em .8em 0; padding:0; line-height:120%;}
.comment dd.comment-content{ width:80%;float:left;word-break:break-all;-o-text-overflow: ellipsis;}
.post-comment{ width:70%; margin: 0 0 1em}
.post-comment div{ margin:0 0 .5em }
.re-comment{ margin:1em 0 0; border:1px solid #D6EDF5; padding:1em}
/*itable*/
.itable td,.itable th{padding:.3em .5em}
.itable td { vertical-align: middle;border-bottom: 1px solid #D6EDF5;}
.itable tr.tr1 td{ background: #D6EDF5 ;}
.itable .ip { border:#CED4BE }
.itable td img {border:0;padding:0;background:none}
/*pages*/
.pages { margin-top:10px; margin-bottom:10px; text-align: center;clear:both }
.pages * { vertical-align: middle;}
.pages a{padding:1px 4px 2px ; background:#f9fcff; border:1px solid #ADD2E1; margin:0 1px; color: #002F79; text-align: center; text-decoration: none; font:normal 10px Tahoma ; }
.pages a:hover { border:#37A717 1px solid; background:#EDFFE4; text-decoration:none; color: #002F79}
.pages input { border:1px solid #ccc; height: 14px; font: 9px Tahoma; padding-top:1px;text-align: center; }
.pages b { padding:2px ; margin: 0 3px;font:bold 10px/12px Tahoma}
/*menu*/
.menu{position:absolute;background:#fff;border:1px solid $tablecolor;}
.menu td, .menu li,.menu ul{background:#fff;padding:0; margin:0}
.menu li{list-style:none;}
.menu a{display:block;padding:3px 15px 3px 15px;background:#fff;}
.menu a:hover{background:$linkcolor;text-decoration:none;color:#fff;}
.menu ul.ul1 li a{display:inline;padding:0}
.listPic dl{ width:24.5%; float:left; text-align:center; padding:0; margin:.5em 0}
.listPic dt a{ color:#333}
.listPic dd{ padding:0 0 .5em 0; margin:0; text-indent:0; height:90px; vertical-align:middle}
.listPic dd img{ width:85px;height:85px; padding:2px; border:1px solid #eee;}
.listPic1 dl{ width:33%; float:left; text-align:center; padding:0; margin:.5em 0}
.listPic1 dt a{ color:#333}
.listPic1 dd{ padding:0 0 .5em 0; margin:0; text-indent:0; height:55px; vertical-align:middle}
.listPic1 dd img{ width:50px;height:50px; padding:2px; border:1px solid #eee;}
.listPic-albumn dd { height:105px;}
.listPic-albumn dd img { width:90px; height:90px; padding:4px 4px 8px; border:0; background:url(albumn-bg.gif)}
.moduleA{ margin:.2em; border:1px solid #A6CBE7; line-height:110%; border-bottom-color:#66A0CC; border-right-color:#66A0CC;}
.moduleA h3{ color: #0066FF;padding:.5em; margin:0;font-family:Tahoma;font-size:12px;cursor:move }
.tableA { table-layout:fixed}
.tableAtd{ border:1px solid #D4E8F7;height:50px;}
.editButton{ float:right; font:12px/120% Tahoma; color:#CCC; text-decoration:none ; padding-left:0.5em; background:url($imgpath/button_edit.gif) no-repeat 0 .1em}
.editButton:hover{ background-position:.1em .2em}
.editBox{ background:#FFFFCF; margin:0 .2em .2em ; padding:.2em }
.editArea {border:1px solid #eee; width:96%; margin:auto;padding:.2em; background:#fff}
.menu1{position:absolute;border:1px solid #CCCCCC;background:#FFFFFF;z-index:1000;width:200px;height:255px;overflow-Y:auto}
.menu1 h3{background:$headcolor;text-align:left;color:$headfontone;padding:5px 7px 3px 7px;cursor:move}
.menu1 div{padding:5px 10px;}
.checkon{border:1px solid #0A9800;background:#CAFFC0;cursor:move}
.move{position:absolute;}
#colorbox{width:91px;height:78px;padding:3px 0 0 3px;overflow:hidden;}
#colorbox div{cursor:pointer;width:8px;height:8px;float:left;margin:0 3px 3px 0;border:1px #000 solid;font:0/8px arial}
.smile{ height:23px;padding:7px 0 0 8px;text-align:left;background:#E0F0F9 url(th1.png);cursor:move}
.smile div{ width:56px;height:18px;text-align:center;padding:5px 0 0;cursor:pointer;}
.smile div.lian{ background:#ffffff url(tag.jpg) no-repeat;cursor:auto;}
.user-info{ position:absolute;line-height:160%; margin-left:-1.5em; margin-top:-1em}
.user-infoWrap{background:#FFF; border:1px solid #004C7D; border-top:1px #A6CBE7 solid; border-left:1px solid #A6CBE7; padding:.5em 1em; margin-left:20px;display:block;}
.user-info .co{position:absolute; width:10px;height:20px; margin-left:-1.8em; margin-top:2em; background:url(user-info-co.png)}
/*menu_sm*/
.menu_sm{ position:absolute;background:#fffcd9;border-bottom:1px solid #e7d62b; width:100%;}
.menu_sm a{padding:5px 15px 5px 15px; color:#f79305;}
.menu_sm a:hover{text-decoration:none;color:#fff;}
@media screen and (min-width:0px){
.goods-list li a:hover img { margin:-20px -20px 0 0}
}
.usericobox {
float:left;
margin-bottom:8px;
margin-right:3px;
width:47px;
height:68px;
text-align:center;
overflow:hidden;
}
.infobox {
padding-left:10px;
margin-bottom:10px;
}
.infobox li {
line-height:32px;
height:32px;
border-bottom:1px dashed #dedede;
}
.introduce {
border-bottom:1px dashed #dedede;
line-height: 180%;
}

BIN
src/member/space/company/images/tag.jpg View File

Before After
Width: 56  |  Height: 23  |  Size: 558B

BIN
src/member/space/company/images/tag1.jpg View File

Before After
Width: 56  |  Height: 23  |  Size: 558B

BIN
src/member/space/company/images/talk.gif View File

Before After
Width: 16  |  Height: 17  |  Size: 315B

BIN
src/member/space/company/images/team.gif View File

Before After
Width: 16  |  Height: 17  |  Size: 1021B

BIN
src/member/space/company/images/tips-close.png View File

Before After
Width: 11  |  Height: 11  |  Size: 287B

BIN
src/member/space/company/images/txt.gif View File

Before After
Width: 16  |  Height: 16  |  Size: 590B

BIN
src/member/space/company/images/user-info-co.png View File

Before After
Width: 10  |  Height: 20  |  Size: 286B

BIN
src/member/space/company/images/wap.png View File

Before After
Width: 16  |  Height: 16  |  Size: 489B

BIN
src/member/space/company/images/write.gif View File

Before After
Width: 16  |  Height: 15  |  Size: 1005B

BIN
src/member/space/company/images/zip.gif View File

Before After
Width: 16  |  Height: 16  |  Size: 633B

+ 0
- 67
src/member/space/company/index.htm View File

@@ -1,67 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
{dede:include file='side_class.htm'/}
{dede:include file='side_news.htm'/}
{dede:include file='side_visitor.htm'/}
{dede:include file='side_search.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>
最新内容列表
<img src="space/lxvista/images/write.gif"><a href="article_add.php" class="noul"><span class="gray fn">添加公司新闻</span></a>
</h2>
<!--begin-->
{dede:spacenewart row=6 titlelen=60 infolen=200}
<?php
if($fields['channel']==1) {
$fields['arcurl'] = "index.php?uid={$_vars['userid_e']}&action=viewarchives&aid={$fields['id']}";
}
?>
<div class="text">
<div class="gray">{dede:field.pubdate function="MyDate('y-m-d h:i',@me)"/}</div>
<h3>
<a href="{dede:field.arcurl/}" class="noul">{dede:field.title/}</a>
</h3>
<table class="blog-content">
<tr>
<td>
<p>
{dede:if !preg_match("#defaultpic#", $fields['litpic']) }
<img src='{dede:field.litpic/}' />
{/dede:if}
{dede:field.description/}
</p>
</td>
</tr>
</table>
<div class="bb">
<div>
类别:
{dede:if field.mtypename=='' }
<a href="#">无分类</a> |
{else}
<a href="index.php?uid={dede:var.userid_e /}&action=archives&mtype=<?php echo $mty['mtypeid']; ?>">{dede:field.mtypename/}</a> |
{/dede:if}
<a href="{dede:field.arcurl/}" target="_blank" title="{dede:field.title/}">浏览全文</a>({dede:field.click/}) |
<a href="{dede:global.cfg_phpurl/}/feedback.php?aid={dede:field.id/}" target="_blank">好评度</a>({dede:field.scores/})
</div>
<div class="c"></div>
</div>
</div>
{/dede:spacenewart}
<div class="big">
<div style="line-height:36px;padding-left:10px;margin-bottom:10px;">
<a href="index.php?uid={dede:var.userid_e /}&action=archives">更多内容&gt;&gt;</a>
</div>
</div>
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm' /}

+ 0
- 4
src/member/space/company/info.txt View File

@@ -1,4 +0,0 @@
name:织梦企业默认
author:dedecms
type:企业
date:2009年7月

+ 0
- 59
src/member/space/company/infos.htm View File

@@ -1,59 +0,0 @@
{dede:include file='header.htm'/}
<script src="js/pw_drag.js"></script>
<div id="mode_savebar" style="display:none; position:absolute">
<div class="menu_sm">
<img src="theme/default/images/save.jpg" /><a href="javascript:;" onclick="saveMode()">保存布局</a><img src="theme/default/images/close.jpg" /><a href="javascript:;" onclick="c_savemode()">取消</a>
</div>
</div>
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>基本资料</h2>
<!--begin-->
<div class="text">
<table class="blog-content">
<tr>
<td>
<b>昵称:</b><?php echo $row['uname']; ?> <br />
<b>性别:</b><?php echo $row['sex']; ?> <br />
<b>生日:</b><?php echo $row['birthday']; ?><br />
<b>所在城市:</b>
<?php
$places = GetEnumsTypes($row['place']);
echo ( isset($em_nativeplaces[$places['top']]) ? $em_nativeplaces[$places['top']] : '');
?>
<?php
echo ( isset($em_nativeplaces[$places['son']]) ? $em_nativeplaces[$places['son']] : '');
?><br />
<b>交友宣言:</b><?php echo $row['lovemsg']; ?><br />
<div class="c"></div>
</td>
</tr>
</table>
</div>
<!--end-->
<h2>联系方式</h2>
<!--begin-->
<div class="text">
<table class="blog-content">
<tr>
<td>
<b>Email:</b><?php echo $_vars['email']; ?><br />
<b>QQ:</b><?php echo $row['qq']; ?><br />
<b>MSN: </b><?php echo $row['msn']; ?><br />
<div class="c"></div>
</td>
</tr>
</table>
</div>
<!--end-->
</div>
</div>
{dede:include file='footer.htm'/}

+ 0
- 46
src/member/space/company/introduce.htm View File

@@ -1,46 +0,0 @@
{dede:include file='header.htm' /}
<div id="side" class="left">
{dede:include file='side_search.htm' /}
{dede:include file='side_class.htm' /}
{dede:include file='side_news.htm' /}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>公司简介</h2>
</div>
<div class="infobox">
<div class="introduce">
<img src="{dede:var.comface /}" alt="{dede:var.company /}照片" />
{dede:var.introduce /}
</div>
<ul>
<li><span>公司名称:</span>{dede:var.company /}</li>
<li><span>贸易种类:</span>{dede:var.vocation /}</li>
<li><span>主营产品:</span>{dede:var.product /}</li>
<li><span>公司规模:</span>{dede:var.cosize /}</li>
<li><span>所在地:</span>{dede:var.place /}</li>
</ul>
</div>
<div class="box">
<h2>联系方式</h2>
</div>
<div class="infobox">
<ul>
<li>联系人:{dede:var.linkman /}</li>
<li>电话:{dede:var.tel /}</li>
<li>传真:{dede:var.fax /}</li>
<li>网址: {dede:var.url /}</li>
<li>Email: {dede:var.email /}</li>
<li>地址:{dede:var.address /}</li>
</ul>
</div>
</div>
<!--end main-->
{dede:include file='footer.htm' /}

+ 0
- 37
src/member/space/company/listalbum.htm View File

@@ -1,37 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
{dede:include file='side_class.htm'/}
{dede:include file='side_search.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>相册列表</h2>
<!--begin-->
<div class="text">
<table class="blog-content">
<tr>
<td>
<div class="listPic listPic-albumn">
{dede:datalist titlelen = '20'}
<dl>
<dd><a href="{dede:field.arcurl/}"><img src='{dede:field.litpic/}'/></dd>
<dt><a href="{dede:field.arcurl/}">{dede:field.title/}</a></dt>
</dl>
{/dede:datalist}
</div>
<div class="c"></div>
</td>
</tr>
</table>
</div>
<div class="big"><div class="pages">{dede:pagelist/}</div></a></span></div>
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm'/}

+ 0
- 60
src/member/space/company/listarchives.htm View File

@@ -1,60 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
{dede:include file='side_class.htm'/}
{dede:include file='side_visitor.htm'/}
{dede:include file='side_search.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>文档列表</h2>
<!--begin-->
{dede:datalist}
<?php
if($fields['channel']==1) {
$fields['arcurl'] = "index.php?uid={$_vars['userid_e']}&action=viewarchives&aid={$fields['id']}";
}
?>
<div class="text">
<div class="gray">{dede:field.pubdate function="MyDate('y-m-d h:i',@me)"/}</div>
<h3>
<a href="{dede:field.arcurl/}" class="noul">{dede:field.title/}</a>
</h3>
<table class="blog-content">
<tr>
<td>
<p>
{dede:if !preg_match("#defaultpic#", $fields['litpic']) }
<img src='{dede:field.litpic/}' />
{/dede:if}
{dede:field.description /}
</p>
<p><a href='{dede:field.arcurl/}'>&lt;&lt;详细内容</a>
</td>
</tr>
</table>
<div class="bb">
<div>
类别:
{dede:if field.mtypename=='' }
<a href="#">无分类</a> |
{else}
<a href="index.php?uid={dede:var.userid_e /}&action=archives&mtype=<?php echo $mty['mtypeid']; ?>">{dede:field.mtypename/}</a> |
{/dede:if}
<a href="{dede:field.arcurl/}" target="_blank" title="{dede:field.title/}">浏览全文</a>({dede:field.click/}) |
<a href="{dede:global.cfg_phpurl/}/feedback.php?aid={dede:field.id/}" target="_blank">好评度</a>({dede:field.scores/})
</div>
<div class="c"></div>
</div>
</div>
{/dede:datalist}
<div class="big"><div class="pages">{dede:pagelist/}</div></a></span></div>
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm' /}

+ 0
- 57
src/member/space/company/listarticle.htm View File

@@ -1,57 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
{dede:include file='side_class.htm'/}
{dede:include file='side_visitor.htm'/}
{dede:include file='side_search.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>公司新闻列表
<img src="space/lxvista/images/write.gif"><a href="article_add.php" class="noul"><span class="gray fn">添加新闻</span></a>
</h2>
<!--begin-->
{dede:datalist}
<div class="text">
<div class="gray">{dede:field.pubdate function="MyDate('y-m-d h:i',@me)"/}</div>
<h3>
<a href="index.php?uid={dede:var.userid_e /}&action=viewarchives&aid={dede:field.id/}" class="noul">{dede:field.title/}</a>
</h3>
<table class="blog-content">
<tr>
<td>
<p>
{dede:if !preg_match("#defaultpic#",$fields['litpic']) }
<img src='{dede:field.litpic/}' />
{/dede:if}
{dede:field.body function='cn_substr(@me, 500); /}
</p>
<p><a href='index.php?uid={dede:var.userid_e /}&action=viewarchives&aid={dede:field.id/}'>&lt;&lt;详细内容</a>
</td>
</tr>
</table>
<div class="bb">
<div>
类别:
{dede:if field.mtypename=='' }
<a href="#">无分类</a> |
{else}
<a href="index.php?uid={dede:var.userid_e /}&action=archives&mtype=<?php echo $mty['mtypeid']; ?>">{dede:field.mtypename/}</a> |
{/dede:if}
<a href="{dede:field.arcurl/}" target="_blank" title="{dede:field.title/}">浏览全文</a>({dede:field.click/}) |
<a href="{dede:global.cfg_phpurl/}/feedback.php?aid={dede:field.id/}" target="_blank">好评度</a>({dede:field.scores/})
</div>
<div class="c"></div>
</div>
</div>
{/dede:datalist}
<div class="big"><div class="pages">{dede:pagelist/}</div></a></span></div>
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm' /}

+ 0
- 37
src/member/space/company/listproducts.htm View File

@@ -1,37 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
{dede:include file='side_class.htm'/}
{dede:include file='side_search.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>产品列表</h2>
<!--begin-->
<div class="text">
<table class="blog-content">
<tr>
<td>
<div class="listPic listPic-albumn">
{dede:datalist titlelen = '20'}
<dl>
<dd><a href="{dede:field.arcurl/}"><img src='{dede:field.litpic/}'/></dd>
<dt><a href="{dede:field.arcurl/}">{dede:field.title/}</a></dt>
</dl>
{/dede:datalist}
</div>
<div class="c"></div>
</td>
</tr>
</table>
</div>
<div class="big"><div class="pages">{dede:pagelist/}</div></a></span></div>
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm'/}

+ 0
- 42
src/member/space/company/side_class.htm View File

@@ -1,42 +0,0 @@
<?php
if($action=='article')
{
$action = 'article';
$channelid = 1;
}
else if($action=='album')
{
$action = 'album';
$channelid = 2;
}
else
{
$action = 'archives';
$channelid = empty($channelid) ? 0 : intval($channelid);
}
if($channelid >= 0)
{
$channelAdd = '';
if($channelid > 2) $channelAdd = '&channelid='.$channelid;
?>
<!-- //begin dirs -->
<div class="box" id="side_userclass">
<h2>日志分类</h2>
<ul class="list" id="bloglist">
<?php
if (count($mtypearr)>0)
{
foreach ($mtypearr as $mty)
{
if(!empty($channelid) && $mty['channelid'] != $channelid) continue;
echo "<li><a href=\"index.php?uid={$_vars['userid_e']}&action={$action}&mtype={$mty['mtypeid']}{$channelAdd}\">{$mty['mtypename']}</a></li>\r\n";
}
}
?>
<li><a href="index.php?uid={dede:var.userid_e /}&action=<?php echo $action.$channelAdd; ?>">所有文档&gt;&gt;</a></li>
</ul>
</div>
<!-- //end dirs -->
<?php
}
?>

+ 0
- 38
src/member/space/company/side_icon.htm View File

@@ -1,38 +0,0 @@
<!-- //begin icon -->
<div class="box" id="side_icon">
<h2>公司资料</h2>
<div class="profile">
<div class="text">
<div class="profile-pic">
<span id="msg"></span>
<div>
{dede:if $_vars['face']=='' }
<img src="images/nopic.gif" alt="nopic" />
{else}
<img src="{dede:var.face/}" alt="{dede:var.uname/}" />
{/dede:if}
</div>
</div>
<div style="height:30px;text-align:center">{dede:var.msg /}</div>
<dl class="profile">
<dd class="tac" style="word-break:keep-all">
<img src="space/company/images/talk.gif" align="absmiddle" /><a href="index.php?action=guestbook&uid={dede:var.userid/}">留言</a>
<img src="space/company/images/message.gif" align="absmiddle" /><a href="pm.php?dopost=send&uid={dede:var.userid/}">短消息</a>
<img src="space/company/images/team.gif" align="absmiddle" /><a href="index.php?action=newfriend&uid={dede:var.userid/}">加好友</a>
</dd>
<dd>&nbsp;最后登录:{dede:var.logintime function="MyDate('y-m-d h:i',@me)" /}</dd>
<dd>&nbsp;会员等级:{dede:var.membername/}</dd>
<dd>&nbsp;空间访问:{dede:var.homecount/} 次</dd>
<dd>&nbsp;联系人:{dede:var.linkman/}</dd>
<dd>&nbsp;电话:{dede:var.tel/}</dd>
<dd>&nbsp;传真:{dede:var.fax/}</dd>
<dd>&nbsp;网址: {dede:var.url/}</dd>
<dd>&nbsp;Email: {dede:var.email/}</dd>
<dd>&nbsp;地址:{dede:var.address/}</dd>
</dl>
</div>
</div>
</div>
<!-- //end icon -->

+ 0
- 8
src/member/space/company/side_news.htm View File

@@ -1,8 +0,0 @@
<!-- //spacenews -->
<div class="box" id="side_search">
<h2>空间公告</h2>
<div class="text">
{dede:var.spacenews /}
</div>
</div>

+ 0
- 14
src/member/space/company/side_search.htm View File

@@ -1,14 +0,0 @@
<!-- //begin search -->
<div class="box" id="side_search">
<h2>文档搜索</h2>
<form action="../plus/search.php" method="post" target="_blank">
<input type="hidden" name="mid" value="{dede:var.userid /}" />
<div class="text">
<label>
<input class="ip" type="text" name="keyword" size="15" />
<input class="bt" name="submit" type="submit" value=" Go "/>
</label>
</div>
</form>
</div>
<!-- //end search -->

+ 0
- 11
src/member/space/company/side_visitor.htm View File

@@ -1,11 +0,0 @@
<!-- //最近访客 -->
<div class="box" id="side_search">
<h2>最近访客</h2>
<div class="text">
{dede:newvisitor row=6} <div class='usericobox'>
<a href="{dede:field.url/}" target="_blank"><img src="{dede:field.face/}" style="width:45px;height:45px;"/></a>
<br /><a href="{dede:field.url/}" target="_blank">{dede:field.uname/}</a>
</div>
{/dede:newvisitor}
</div>
</div>

+ 0
- 116
src/member/space/flower/blog.htm View File

@@ -1,116 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm'/}
{dede:include file='side_visitor.htm'/}
{dede:include file='side_search.htm'/}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>日志文章</h2>
</div>
<!--begin-->
<div class="text">
<div class="gray">{dede:global.arcrow[pubdate] function="MyDate('y-m-d h:i',@me)" /}</div>
<h3>
<a href="{dede:global.arcrow[arcurl] /}" class="noul">{dede:global.arcrow[title] /}</a>
</h3>
<table class="blog-content">
<tr>
<td>
<p>{dede:global.arcrow[body] /}</p>
</td>
</tr>
</table>
</div>
<!--begin comment-->
<div class="comment bb" style="padding-left:6px;">
<?php if (count($msgs)>0) { ?>
<h5 id="cdisplay" style="display:;">一共有 <span id="sums"><?php echo count($msgs);?></span> 条评论</h5>
<?php
//原有评论(取其前50条)
foreach ($msgs as $msg)
{
?>
<dl id="<?php echo $msg['id']; ?>">
<dd class="comment-pic left">
<img src="<?php echo $msg['mface']=='' ? 'images/dfboy.png' : $msg['mface']; ?>" width="40" />
</dd>
<dd>
<?php
if ($msg['username']=='匿名' || $msg['userid']=='') {
echo $msg['username'];
}
else {
?>
<a href="index.php?uid=<?php echo urlencode($msg['userid']); ?>" class="big b"><?php echo $msg['username']; ?></a>
<?php } ?>
<span class="gray"><?php echo MyDate('m-d H:i',$msg['dtime']);?></span> Says:
</dd>
<dd class="comment-content" >
<span id="s_<?php echo $msg['id']; ?>"></span>
<div id="r_<?php echo $msg['id']; ?>">
<div class="re-comment" style="display:none;">
<b><?php echo $msg['username']; ?> 于 <?php echo MyDate('m-d H:i',$msg['dtime']);?> 回复:</b>
<div id="r_content_<?php echo $msg['id']; ?>"></div>
</div>
<div>
<img src="{dede:global.cfg_templets_skin/}/images/mood/<?php echo 'ico-mood-'.($msg['face']>0 ? $msg['face'] : 6).'.gif'; ?>" /><?php echo $msg['msg']; ?>
</div>
</div>
</dd>
</dl>
<?php
} }
?>
<div class="big"></div>
<div class="post-comment">
<h5>发表评论</h5>
<div>
<form action="feedback.php" method="post" name="feedback">
<input type="hidden" name="action" value="send" />
<input type="hidden" name="comtype" value="comments">
<input type="hidden" name="aid" value="<?php echo $aid; ?>" />
<input type="hidden" name="isconfirm" value="yes" />
<input name="cmtuser" type="hidden" value="{dede:var.uname /}">{dede:var.uname /}:
</div>
<div>
<textarea class="ip" id="cmtcontent" name="msg" style="width:90%;height:8em" ></textarea>
</div>
<div class="c"></div>
<div >
<strong style= "FLOAT:left; ">表情:</strong>
<ul>
<li style= "FLOAT:left; "><input type="radio" name='face' value='6' checked="1" /><img src="templets/images/smiley/6.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='4'/><img src="templets/images/smiley/4.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='3'/><img src="templets/images/smiley/3.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='5'/><img src="templets/images/smiley/5.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='2'/><img src="templets/images/smiley/2.gif" /></li>
<li style= "FLOAT:left; "><input type="radio" name='face' value='1'/><img src="templets/images/smiley/1.gif" /></li>
<li><input type="radio" name='face' value='7'/><img src="{dede:global.cfg_templets_skin/}/images/mood/ico-mood-7.gif" /></li>
</ul>
</div>
<table>
<tr>
<td>验证码:</td>
<td><input name="validate" type="text" id="validate" size="10" style="height:16px;width:60px;" class="ip" /></td>
<td><img src='../plus/vdimgck.php' width='60px' height='20px' /></td>
<td>&nbsp;<input name="sbbt" type="submit" value="发送评论" style="width:60px;height:22px" /></td>
<td><input name="notuser" type="checkbox" id="notuser" value="1" />匿名评论</td>
</tr>
</table>
</form>
</div>
<div class="c"></div>
</div>
<!-- //end comment-->
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm'/}

BIN
src/member/space/flower/demo.png View File

Before After
Width: 150  |  Height: 150  |  Size: 18KB

+ 0
- 8
src/member/space/flower/footer.htm View File

@@ -1,8 +0,0 @@
<br class="c" />
</div>
<div id="footer" align="center">
{dede:global.cfg_powerby /}
</div>
</div></div></div>
</body>
</html>

+ 0
- 82
src/member/space/flower/guestbook.htm View File

@@ -1,82 +0,0 @@
{dede:include file='header.htm'/}
<div id="side" class="left">
{dede:include file='side_icon.htm' /}
{dede:include file='side_news.htm' /}
{dede:include file='side_visitor.htm' /}
</div>
<!--begin main-->
<div id="main" class="right">
<div class="box">
<h2>留言列表</h2>
<!--begin-->
<div class="text">
<!--begin comment-->
<div class="comment bb">
<div id="newgbook"></div>
{dede:datalist}
<a name="1"></a>
<dl id="dl_1">
<dd class="comment-pic left">
<?php if($fields['face']==''){
$face=($fields['sex']=='女')? 'templets/images/dfgirl.png' : 'templets/images/dfboy.png';
echo '<img src="'.$face.'" width="50" height="50"/>';
}else{
echo '<img src="'.$fields['face'].'" width="50" height="50" alt="'.$fields['uname'].'的头像" />';
} ?>
</dd>
<dd>
<a href="index.php?uid={dede:field.userid/}" class="big b">{dede:field.uname/}</a>
<span class="gray">{dede:field.dtime function="MyDate('Y-m-d H:i',@me)" /}</span>
</dd>
<dd class="comment-content">
<div>{dede:field.msg function="Text2Html(@me)" /}</div>
<span id="s_1"></span>
<div id="r_1">
<div class="re-comment" style="display:none;">
<b><a href='index.php?uid={dede:field.uname/}'></a> 于 回复:</b>
<div id="r_content_1"></div>
</div>
</div>
</dd>
</dl>
{/dede:datalist}
<div class="big"><div class="pages">{dede:pagelist/}</div></div>
<div class="post-comment">
<h5>发表留言</h5>
<div>
<form action="index.php" name="form1" method="post">
<input type="hidden" id="guser" value="{dede:var.uname /}" />{dede:var.uname /}:
<input type="hidden" name="action" value="guestbooksave" />
<input type="hidden" name="uidnum" value="{dede:var.mid/}" />
<input type="hidden" name="uid" value="{dede:var.userid/}" />
<input type="hidden" name="uname" type="text" id="uname" value="<?php if(isset($cfg_ml->M_LoginID) && $cfg_ml->M_LoginID!='') echo $cfg_ml->M_LoginID; ?>" />
</div>
<div>标题:<input name="title" type="text" id="title" class="ip" style="width:250px;height:15px;" /></div>
<div>
<textarea class="ip" name="msg" id="msg" style="width:95%;height:8em"></textarea>
<span style="margin-top:-1em;padding:3px; text-align:right; width:200px; position:absolute">
</div>
</span>
</div>
<table>
<tr>
<td>验证码:</td>
<td><input name="vdcode" type="text" id="vdcode" size="10" style="height:16px;width:60px;" class="ip" /></td>
<td><img src='../plus/vdimgck.php' width='60px' height='20px' /></td>
<td>&nbsp;<input name="sbbt" type="submit" value="发送留言" style="width:60px;height:22px" /></td>
</tr>
</table>
</div>
</form>
<div class="c"></div>
</div>
<!--begin comment-->
</div>
<!--end-->
</div>
</div>
<!--end main-->
{dede:include file='footer.htm'/}

+ 0
- 48
src/member/space/flower/header.htm View File

@@ -1,48 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" />
<title>{dede:var.spacename /} {dede:var.curtitle /}</title>
<link href="space/flower/images/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="showmenu" style="z-index:100;display:none;"></div>
<div class="wrap1"><div class="wrap2"><div class="wrap3">
<div dargarea='yes' id="container">
<!--begin header-->
<div id="header">
<div id="title">
<div class="fr tar" id="toolbar">
<a href="{dede:global.cfg_basehost /}" target="_blank">{dede:global.cfg_basehost /}</a><br />
{dede:if $cfg_ml->IsLogin() }
<a href="index.php?uid={dede:object.cfg_ml->M_LoginID /}">我的主页</a>
| &nbsp;
<a href="index.php">会员中心</a>
| &nbsp;<a href="edit_space_info.php" target="_blank">空间管理</a> | <a href="index_do.php?fmdo=login&dopost=exit">注销</a>
{else}
<a href="login.php">登录</a> | <a href="index_do.php?fmdo=user&dopost=regnew">注册</a>
{/dede:if}
</div>
<h1><a href="{dede:var.userurl /}">{dede:var.spacename /}</a></h1>
</div>
<div class="c"></div>
<ul id="guide">
<li><a href="index.php?uid={dede:var.userid_e /}">首页</a></li>
<li><a href="index.php?uid={dede:var.userid_e /}&action=article">日志</a></li>
<?php
foreach($_vars['bloglinks'] as $k=>$v)
{
if($k==2) {
echo " <li><a href=\"index.php?uid={$_vars['userid_e']}&action=album\">相册</a></li>\r\n";
}
else {
echo " <li><a href=\"index.php?uid={$_vars['userid_e']}&action=archives&channelid={$k}\">{$v}</a></li>\r\n";
}
}
?>
<li><a href="index.php?uid={dede:var.userid_e /}&action=guestbook">留言</a></li>
<li><a href="index.php?uid={dede:var.userid_e /}&action=infos">关于我</a></li>
</ul>
</div>
<div class="c" ></div>

BIN
src/member/space/flower/images/addto.gif View File

Before After
Width: 16  |  Height: 17  |  Size: 559B

BIN
src/member/space/flower/images/albumn-bg.gif View File

Before After
Width: 98  |  Height: 102  |  Size: 421B

BIN
src/member/space/flower/images/bg.jpg View File

Before After
Width: 1279  |  Height: 1077  |  Size: 155KB

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save