diff --git a/src/dede/makehtml_story.php b/src/dede/makehtml_story.php deleted file mode 100755 index 1d6a82c..0000000 --- a/src/dede/makehtml_story.php +++ /dev/null @@ -1,67 +0,0 @@ -='$startid' "; - if(!empty($endid) && $endid>$startid ) $addquery .= " And bid<='$endid' "; - if(!empty($catid)) $addquery .= " And (catid='$catid' Or bcatid='$catid') "; - if(empty($makenum)) $makenum = 50; - $dsql->SetQuery("Select SQL_CALC_FOUND_ROWS bid From #@__story_books where $addquery limit $start,$makenum "); - $dsql->Execute(); - $n = 0; - $row = $dsql->GetOne("SELECT FOUND_ROWS() as dd "); - $limitrow = $row['dd']; - while($row = $dsql->GetObject()){ - $start++; - $bv = new BookView($row->bid,'book'); - $artUrl = $bv->MakeHtml(false); - //echo "更新: {$bv->Fields['bookname']} OK!
\r\n"; - //echo $row->bid." - "; - } - if($start>=$limitrow){ - ShowMsg("完成所有HTML的更新!","javascript:;"); - } - else{ - $hasMake = $limitrow - $start; - if($limitrow>0) $proportion = 100 - ceil(($hasMake / $limitrow) * 100); - ShowMsg("已更新至:{$proportion}% 继续更新其它内容...","makehtml_story.php?start={$start}&action=make&startid={$startid}&endid={$endid}&catid={$catid}&makenum={$makenum}"); - } - exit(); -} -//读取所有栏目 -$dsql->SetQuery("Select id,classname,pid,rank,booktype From #@__story_catalog order by rank asc"); -$dsql->Execute(); -$ranks = Array(); -$btypes = Array(); -$stypes = Array(); -$booktypes = Array(); -while($row = $dsql->GetArray()){ - if($row['pid']==0) $btypes[$row['id']] = $row['classname']; - else $stypes[$row['pid']][$row['id']] = $row['classname']; - $ranks[$row['id']] = $row['rank']; - if($row['booktype']=='0') $booktypes[$row['id']] = '小说'; - else $booktypes[$row['id']] = '漫画'; -} -$lastid = $row['id']; - -require_once(dirname(__FILE__)."/templets/makehtml_story.htm"); - -?> \ No newline at end of file diff --git a/src/dede/story_add.php b/src/dede/story_add.php deleted file mode 100755 index fe4e8fd..0000000 --- a/src/dede/story_add.php +++ /dev/null @@ -1,44 +0,0 @@ -SetQuery("SELECT id,classname,pid,rank,booktype FROM #@__story_catalog ORDER BY rank ASC"); -$dsql->Execute(); -$ranks = Array(); -$btypes = Array(); -$stypes = Array(); -$booktypes = Array(); -while($row = $dsql->GetArray()) -{ - if($row['pid']==0) - { - $btypes[$row['id']] = $row['classname']; - } - else - { - $stypes[$row['pid']][$row['id']] = $row['classname']; - } - $ranks[$row['id']] = $row['rank']; - if($row['booktype']=='0') - { - $booktypes[$row['id']] = '小说'; - } - else - { - $booktypes[$row['id']] = '漫画'; - } -} -$lastid = $row['id']; -$msg = ''; -require_once(dirname(__FILE__). "/templets/story_add.htm"); diff --git a/src/dede/story_add_action.php b/src/dede/story_add_action.php deleted file mode 100755 index 9470a8c..0000000 --- a/src/dede/story_add_action.php +++ /dev/null @@ -1,81 +0,0 @@ -GetOne("SELECT * FROM #@__story_catalog WHERE id='$catid' "); -$bcatid = $nrow['pid']; -$booktype = $nrow['booktype']; -$pubdate = GetMkTime($pubdate); -$bookname = cn_substr($bookname,50); -if($keywords!="") $keywords = trim(cn_substr($keywords,60)); - -if(empty($author))$author=$cuserLogin->getUserName(); - -//处理上传的缩略图 -if($litpic != ""){ - $litpic = GetDDImage('litpic',$litpicname,0); -} -$adminID = $cuserLogin->getUserID(); - -//自动摘要 -if($description=="" && $cfg_auot_description>0) -{ - $description = stripslashes(cn_substr(html2text($body),$cfg_auot_description)); - $description = addslashes($description); -} - -$inQuery = " -INSERT INTO `#@__story_books`(`catid`,`bcatid`,`booktype`,`iscommend`,`click`,`freenum`,`bookname`,`author`,`mid`,`litpic`,`pubdate`,`lastpost`,`postnum`,`lastfeedback`,`feedbacknum`,`weekcc`,`monthcc`,`weekup`,`monthup`,`description`,`body`,`keywords`,`userip`,`senddate` ,`arcrank`,`goodpost`,`badpost`,`notpost`) VALUES ('$catid','$bcatid','$booktype', '$iscommend', '$click', '$freenum', '$bookname', '$author', '0', '$litpic', '$pubdate', '$pubdate', '0', '0', '0', '0', '0', '0', '0', '$description' , '$body' , '$keywords', '','".time()."','$arcrank','0','0','0')"; -if(!$dsql->ExecuteNoneQuery($inQuery)) -{ - ShowMsg("把数据保存到数据库时出错,请检查!","-1"); - exit(); -} -$arcID = $dsql->GetLastID(); - -//生成HTML -require_once(DEDEROOT. '/book/include/story.view.class.php'); -$bv = new BookView($arcID, 'book'); -$artUrl = $bv->MakeHtml(); -$bv->Close(); - -//返回成功信息 -$msg = " -  请选择你的后续操作: -继续发布图书 -   -查看图书 -   -增加图书内容 -   -管理图书 -"; -$wintitle = "成功发布图书!"; -$wecome_info = "连载管理::发布图书"; -$win = new OxWindow(); -$win->AddTitle("成功发布一本图书:"); -$win->AddMsgItem($msg); -$winform = $win->GetWindow("hand", " ", false); -$win->Display(); diff --git a/src/dede/story_add_content.php b/src/dede/story_add_content.php deleted file mode 100755 index d642282..0000000 --- a/src/dede/story_add_content.php +++ /dev/null @@ -1,61 +0,0 @@ -GetOne("SELECT catid,bcatid,bookname,booktype FROM #@__story_books WHERE bid='$bookid' "); -if(empty($bookinfos['booktype'])) $bookinfos['booktype'] = ''; - -if($bookinfos['booktype']==1) -{ - header("location:story_add_photo.php?bookid={$bookid}"); - exit(); -} - -//读取所有栏目 -$dsql->SetQuery("SELECT id,classname,pid,rank FROM #@__story_catalog ORDER BY rank ASC"); -$dsql->Execute(); -$ranks = Array(); -$btypes = Array(); -$stypes = Array(); -while($row = $dsql->GetArray()) -{ - if($row['pid']==0) - { - $btypes[$row['id']] = $row['classname']; - } - else - { - $stypes[$row['pid']][$row['id']] = $row['classname']; - } - $ranks[$row['id']] = $row['rank']; -} -$lastid = $row['id']; -$msg = ''; -$dsql->SetQuery("SELECT id,chapnum,chaptername FROM #@__story_chapter WHERE bookid='$bookid' ORDER BY chapnum DESC"); -$dsql->Execute(); -$chapters = Array(); -$chapnums = Array(); -while($row = $dsql->GetArray()) -{ - $chapters[$row['id']] = $row['chaptername']; - $chapnums[$row['id']] = $row['chapnum']; -} -$catid = $bookinfos['catid']; -$bcatid = $bookinfos['bcatid']; -$bookname = $bookinfos['bookname']; -$booktype = $bookinfos['booktype']; -require_once(DEDEADMIN. '/templets/story_add_content.htm'); diff --git a/src/dede/story_add_content_action.php b/src/dede/story_add_content_action.php deleted file mode 100755 index 7aff450..0000000 --- a/src/dede/story_add_content_action.php +++ /dev/null @@ -1,124 +0,0 @@ -GetOne("SELECT * FROM #@__story_chapter WHERE bookid='$bookid' ORDER BY chapnum desc"); - if(is_array($row)) - { - $nchapnum = $row['chapnum']+1; - } - else - { - $nchapnum = 1; - } - $query = "INSERT INTO `#@__story_chapter`(`bookid`,`catid`,`chapnum`,`mid`,`chaptername`,`bookname`) - VALUES ('$bookid', '$catid', '$nchapnum', '0', '$chapternew','$bookname');"; - $rs = $dsql->ExecuteNoneQuery($query); - if($rs) - { - $chapterid = $dsql->GetLastID(); - } - else - { - ShowMsg("增加章节失败,请检查原因!","-1"); - exit(); - } -} - -//获得父栏目 -$nrow = $dsql->GetOne("SELECT * FROM #@__story_catalog WHERE id='$catid' "); -$bcatid = $nrow['pid']; -$booktype = $nrow['booktype']; -if(empty($bcatid)) -{ - $bcatid = 0; -} -if(empty($booktype)) -{ - $booktype = 0; -} -$addtime = time(); - -//处理上传的缩略图 -//$litpic = GetDDImage('litpic',$litpicname,0); -$adminID = $cuserLogin->getUserID(); - -//本章最后一个小说的排列顺次序 -$lrow = $dsql->GetOne("SELECT sortid From #@__story_content WHERE bookid='$bookid' AND chapterid='$chapterid' ORDER BY sortid DESC"); -if(empty($lrow)) -{ - $sortid = 1; -} -else -{ - $sortid = $lrow['sortid']+1; -} -$inQuery = " -INSERT INTO `#@__story_content`(`title`,`bookname`,`chapterid`,`catid`,`bcatid`,`bookid`,`booktype`,`sortid`, -`mid`,`bigpic`,`body`,`addtime`) -VALUES ('$title','$bookname', '$chapterid', '$catid','$bcatid', '$bookid','$booktype','$sortid', '0', '' , '', '$addtime');"; -if(!$dsql->ExecuteNoneQuery($inQuery)) -{ - ShowMsg("把数据保存到数据库时出错,请检查!".$dsql->GetError().$inQuery,"-1"); - $dsql->Close(); - exit(); -} -$arcID = $dsql->GetLastID(); -WriteBookText($arcID,$body); - -//更新图书的内容数 -$row = $dsql->GetOne("Select count(id) AS dd FROM #@__story_content WHERE bookid = '$bookid' "); -$dsql->ExecuteNoneQuery("UPDATE #@__story_books SET postnum='{$row['dd']}',lastpost='".time()."' WHERE bid='$bookid' "); - -//更新章节的内容数 -$row = $dsql->GetOne("SELECT count(id) AS dd FROM #@__story_content WHERE bookid = '$bookid' AND chapterid='$chapterid' "); -$dsql->ExecuteNoneQuery("UPDATE #@__story_chapter SET postnum='{$row['dd']}' WHERE id='$chapterid' "); - -//生成HTML -//$artUrl = MakeArt($arcID,true); -if(empty($artcontentUrl)) $artcontentUrl = ''; - -if($artcontentUrl=="") $artcontentUrl = $cfg_cmspath."/book/story.php?id=$arcID"; - -require_once(DEDEROOT.'/book/include/story.view.class.php'); -$bv = new BookView($bookid, 'book'); -$artUrl = $bv->MakeHtml(); -$bv->Close(); - -//返回成功信息 -$msg = " -  请选择你的后续操作: -继续发布 -   -预览小说 -   -预览内容 -   -管理所有内容 -   -管理所有图书 -"; -$wintitle = "成功发布文章!"; -$wecome_info = "连载管理::发布文章"; -$win = new OxWindow(); -$win->AddTitle("成功发布文章:"); -$win->AddMsgItem($msg); -$winform = $win->GetWindow("hand"," ",false); -$win->Display(); -//ClearAllLink(); diff --git a/src/dede/story_add_photo.php b/src/dede/story_add_photo.php deleted file mode 100755 index 3c74f4b..0000000 --- a/src/dede/story_add_photo.php +++ /dev/null @@ -1,59 +0,0 @@ -GetOne("SELECT catid,bcatid,bookname,booktype FROM #@__story_books WHERE bid='$bookid' "); -if($bookinfos['booktype']==0) -{ - header("location:story_add_content.php?bookid={$bookid}"); - exit(); -} - -//读取所有栏目 -$dsql->SetQuery("SELECT id,classname,pid,rank FROM #@__story_catalog ORDER BY rank ASC"); -$dsql->Execute(); -$ranks = Array(); -$btypes = Array(); -$stypes = Array(); -while($row = $dsql->GetArray()) -{ - if($row['pid']==0) - { - $btypes[$row['id']] = $row['classname']; - } - else - { - $stypes[$row['pid']][$row['id']] = $row['classname']; - } - $ranks[$row['id']] = $row['rank']; -} -$lastid = $row['id']; -$msg = ''; -$dsql->SetQuery("SELECT id,chapnum,chaptername FROM #@__story_chapter WHERE bookid='$bookid' ORDER BY chapnum DESC"); -$dsql->Execute(); -$chapters = Array(); -$chapnums = Array(); -while($row = $dsql->GetArray()) -{ - $chapters[$row['id']] = $row['chaptername']; - $chapnums[$row['id']] = $row['chapnum']; -} -$catid = $bookinfos['catid']; -$bcatid = $bookinfos['bcatid']; -$bookname = $bookinfos['bookname']; -$booktype = $bookinfos['booktype']; -require_once DedeInclude('/templets/story_add_photo.htm'); diff --git a/src/dede/story_add_photo_action.php b/src/dede/story_add_photo_action.php deleted file mode 100755 index bebf3d1..0000000 --- a/src/dede/story_add_photo_action.php +++ /dev/null @@ -1,141 +0,0 @@ -GetOne("SELECT * FROM #@__story_chapter WHERE bookid='$bookid' ORDER BY chapnum DESC"); - if(is_array($row)) - { - $nchapnum = $row['chapnum']+1; - } - else - { - $nchapnum = 1; - } - $query = "INSERT INTO `#@__story_chapter`(`bookid`,`catid`,`chapnum`,`mid`,`chaptername`,`bookname`) - VALUES ('$bookid', '$catid', '$nchapnum', '0', '$chapternew','$bookname');"; - $rs = $dsql->ExecuteNoneQuery($query); - if($rs) - { - $chapterid = $dsql->GetLastID(); - } - else - { - ShowMsg("增加章节失败,请检查原因!", "-1"); - exit(); - } -} - -//获得父栏目 -$nrow = $dsql->GetOne("SELECT * FROM #@__story_catalog WHERE id='$catid' "); -$bcatid = $nrow['pid']; -$booktype = $nrow['booktype']; -$addtime = time(); - -//本章最后一个漫画的排列顺次序 -$lrow = $dsql->GetOne("SELECT sortid FROM #@__story_content WHERE bookid='$bookid' AND chapterid='$chapterid' ORDER BY sortid DESC"); -if(empty($lrow)) -{ - $sortid = 1; -} -else -{ - $sortid = $lrow['sortid']+1; -} - -//处理上传的图片 -if(!isset($isremote)) -{ - $isremote = 0; -} -//$bigpic = UploadOneImage('bigpic',$bigpicname,$ddisremote); - -$adminID = $cuserLogin->getUserID(); -$postnum = 0; -for($i=1;$i<=$photonum;$i++) -{ - $bigpic = UploadOneImage('imgfile'.$i,${'imgurl'.$i},$isremote); - if($bigpic!='') - { - $titlen = ${'title'.$i}; - if(empty($titlen)) - { - $titlen = ${'title'}; - } - $inQuery = " - INSERT INTO `#@__story_content`(`title`,`bookname`,`chapterid`,`catid`,`bcatid`,`booktype`,`bookid`,`sortid`, - `mid`,`bigpic`,`body`,`addtime`) - VALUES ('$titlen','$bookname', '$chapterid', '$catid','$bcatid','$booktype', '$bookid','$sortid', '0', '$bigpic' , '', '$addtime');"; - $rs = $dsql->ExecuteNoneQuery($inQuery); - //if(!$rs) echo $inQuery."
\r\n"; - if($rs) - { - $sortid++; - $postnum++; - } - } -} -$arcID = $dsql->GetLastID(); - -//更新图书的内容数 -$row = $dsql->GetOne("SELECT count(id) AS dd FROM #@__story_content WHERE bookid = '$bookid' "); -$dsql->ExecuteNoneQuery("UPDATE #@__story_books SET postnum='{$row['dd']}',lastpost='".time()."' WHERE bid='$bookid' "); - -//更新章节的内容数 -$row = $dsql->GetOne("SELECT count(id) AS dd FROM #@__story_content WHERE bookid = '$bookid' AND chapterid='$chapterid' "); -$dsql->ExecuteNoneQuery("UPDATE #@__story_chapter SET postnum='{$row['dd']}' WHERE id='$chapterid' "); -if(empty($arcID)) -{ - ShowMsg("没成功保存任何图片,可能是系统有问题!","-1"); - exit(); -} - -//生成HTML -//$artUrl = MakeArt($arcID,true); -if(empty($artcontentUrl)) $artcontentUrl=""; - -if($artcontentUrl=="") $artcontentUrl = $cfg_mainsite.$cfg_cmspath."/book/show-photo.php?id=$arcID&bookid=$bookid&chapterid=$chapterid"; - -require_once(DEDEROOT. '/book/include/story.view.class.php'); -$bv = new BookView($bookid, 'book'); -$artUrl = $bv->MakeHtml(); -$bv->Close(); - -//返回成功信息 -$msg = " -  请选择你的后续操作: -继续发布 -   -预览漫画 -   -预览内容 -   -本书所有内容 -   -管理所有图书 -"; -$wintitle = "成功发布图片!"; -$wecome_info = "连载管理::发布图片"; -$win = new OxWindow(); -$win->AddTitle("成功发布图片:"); -$win->AddMsgItem($msg); -$winform = $win->GetWindow("hand", " ", false); -$win->Display(); diff --git a/src/dede/story_books.php b/src/dede/story_books.php deleted file mode 100755 index 6a99485..0000000 --- a/src/dede/story_books.php +++ /dev/null @@ -1,85 +0,0 @@ -ExecuteNoneQuery($query)) - { - showmsg('审核成功','story_books.php'); - exit(); - } - else - { - showmsg('审核失败','story_books.php'); - exit(); - } -} - -//读取所有栏目列表 -$dsql->SetQuery("SELECT id,classname,pid,rank FROM #@__story_catalog ORDER BY rank ASC"); -$dsql->Execute(); -$ranks = Array(); -$btypes = Array(); -$stypes = Array(); -while($row = $dsql->GetArray()) -{ - if($row['pid']==0) - { - $btypes[$row['id']] = $row['classname']; - } - else - { - $stypes[$row['pid']][$row['id']] = $row['classname']; - } - $ranks[$row['id']] = $row['rank']; -} -$addquery = ""; -if($ischeck == 1) -{ - $addquery .= " and ischeck=0 "; -} -$orderby = " ORDER BY b.bid DESC "; -if($catid!=0) -{ - $addquery .= " And (b.bcatid='$catid' OR b.catid='$catid') "; -} -if($keyword!="") -{ - $addquery .= " And (b.bookname LIKE '%$keyword%' OR b.author LIKE '%$keyword%') "; -} -$query = " - SELECT b.bid,b.catid,b.bookname,b.booktype,b.litpic,b.ischeck,b.postnum,b.senddate,c.id AS cid,c.classname FROM #@__story_books b - LEFT JOIN #@__story_catalog c ON c.id = b.catid WHERE b.bid>0 $addquery $orderby -"; -$dlist = new DataListCP(); -$dlist->pageSize = 20; -$dlist->SetParameter("keyword", $keyword); -$dlist->SetParameter("catid", $cid); -$dlist->SetParameter("orderby", $orderby); -$dlist->SetTemplate(DEDEADMIN. '/templets/story_books.htm'); -$dlist->SetSource($query); -$dlist->Display(); diff --git a/src/dede/story_catalog.php b/src/dede/story_catalog.php deleted file mode 100755 index c7d12e3..0000000 --- a/src/dede/story_catalog.php +++ /dev/null @@ -1,211 +0,0 @@ -GetOne("SELECT count(bid) AS dd FROM #@__story_books WHERE catid='$cid' OR bcatid='$cid' "); - return $row['dd']; -} - -//增加栏目 -/* -function SaveNew(); -*/ -if($action=='add') -{ - $inQuery = "INSERT INTO #@__story_catalog(classname,pid,rank,listrule,viewrule,booktype,keywords,description) - VALUES('$classname','$pid','$rank','','','$booktype','$keywords','$description')"; - $rs = $dsql->ExecuteNoneQuery($inQuery); - if($rs) - { - $msg = "成功增加一个栏目:{$classname} !"; - } - else - { - $msg = "增加栏目时失败:{$classname} !"; - } -} - -//保存修改 -/* -function SaveEdit(); -*/ -else if($action=='editsave') -{ - $inQuery = "UPDATE #@__story_catalog SET - classname='$classname',pid='$pid',rank='$rank',booktype='$booktype', - keywords='$keywords',description='$description' - WHERE id='$catid' "; - $dsql->ExecuteNoneQuery($inQuery); - $msg = "成功修改栏目:{$catid} = {$classname} !"; - if(isset($ranks[$catid])) - { - $ranks[$catid] = $rank; - } - if(isset($btypes[$catid])) - { - $btypes[$catid] = $classname; - } - else - { - if(is_array($stypes)) - { - foreach($stypes as $kk=>$vv) - { - if(isset($vv[$catid])) - { - $stypes[$kk][$catid] = $classname; - break; - } - } - } - } -} - -//删除栏目 -/*--------------------- -function DelCatalog() ------------------------*/ -else if($action=='del') -{ - $dsql->SetQuery("SELECT id FROM #@__story_catalog WHERE pid='{$catid}' "); - $dsql->Execute(); - $ids = $catid; - while($row = $dsql->GetArray()) - { - $ids .= ','.$row['id']; - } - $dsql->ExecuteNoneQuery("DELETE FROM #@__story_books WHERE catid in ($ids) "); - $dsql->ExecuteNoneQuery("DELETE FROM #@__story_chapter WHERE catid in ($ids) "); - $dsql->ExecuteNoneQuery("DELETE FROM #@__story_content WHERE catid in ($ids) "); - $dsql->ExecuteNoneQuery("DELETE FROM #@__story_catalog WHERE id in ($ids) "); - $msg = "删除栏目:{$catid} !OK"; -} - -//更新排序 -/*--------------------- -function UpRanks(); ------------------------*/ -else if($action=='uprank') -{ - foreach($_POST as $rk=>$rv) - { - if(ereg('rank',$rk)) - { - $catid = str_replace('rank_','',$rk); - $dsql->ExecuteNoneQuery("UPDATE #@__story_catalog SET rank='{$rv}' WHERE id='$catid' "); - $ranks[$catid] = $rv; - } - } - ShowMsg("成功更新排序!","story_catalog.php"); - exit(); -} - -//读取所有栏目 -$dsql->SetQuery("SELECT id,classname,pid,rank FROM #@__story_catalog ORDER BY rank ASC"); -$dsql->Execute(); -$ranks = Array(); -$btypes = Array(); -$stypes = Array(); -while($row = $dsql->GetArray()) -{ - if($row['pid']==0) - { - $btypes[$row['id']] = $row['classname']; - } - else - { - $stypes[$row['pid']][$row['id']] = $row['classname']; - } - $ranks[$row['id']] = $row['rank']; -} -$lastid = $row['id']; -$msg = ''; - -//载入栏目(用于修改,Ajax模式载入) -/* -function LoadEdit(); -*/ -if($action=='editload') -{ - $row = $dsql->GetOne("SELECT * FROM #@__story_catalog WHERE id='$catid'"); - AjaxHead(); -?> -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
栏目名称:
隶属栏目: - -
排序级别: - (数值小靠前)
连载类型: - /> - 小说 - /> - 漫画 -
关键字:
摘 要: - -
 
-
-SetQuery("Select id,classname,pid,rank From #@__story_catalog order by rank asc"); -$dsql->Execute(); -$ranks = Array(); -$btypes = Array(); -$stypes = Array(); -while($row = $dsql->GetArray()){ - if($row['pid']==0) $btypes[$row['id']] = $row['classname']; - else $stypes[$row['pid']][$row['id']] = $row['classname']; - $ranks[$row['id']] = $row['rank']; -} -$lastid = $row['id']; - - -$contents = $dsql->GetOne("SELECT * FROM #@__story_content WHERE id='$cid' "); - -$bookinfos = $dsql->GetOne("SELECT catid,bcatid,bookname,booktype FROM #@__story_books WHERE bid='{$contents['bookid']}' "); -$catid = $bookinfos['catid']; -$bcatid = $bookinfos['bcatid']; -$bookname = $bookinfos['bookname']; -$booktype = $bookinfos['booktype']; -$bookid = $contents['bookid']; - -$dsql->SetQuery("SELECT id,chapnum,chaptername FROM #@__story_chapter WHERE bookid='{$contents['bookid']}' ORDER BY chapnum DESC"); -$dsql->Execute(); -$chapters = Array(); -$chapnums = Array(); -while($row = $dsql->GetArray()){ - $chapters[$row['id']] = $row['chaptername']; - $chapnums[$row['id']] = $row['chapnum']; -} - -require_once DedeInclude('/templets/story_content_edit.htm'); - -//ClearAllLink(); diff --git a/src/dede/story_do.php b/src/dede/story_do.php deleted file mode 100755 index 7b9f878..0000000 --- a/src/dede/story_do.php +++ /dev/null @@ -1,160 +0,0 @@ - $bid) - { - if(intval($bid)<=0) - { - continue; - } - $row = $dsql->GetOne("SELECT booktype FROM #@__story_books WHERE bid='$bid' "); - $dsql->ExecuteNoneQuery("DELETE FROM #@__story_books WHERE bid='$bid' "); - $dsql->ExecuteNoneQuery("DELETE FROM #@__story_chapter WHERE bookid='$bid' "); - - //删除图片 - if(empty($row['booktype'])) - { - $row['booktype'] = ''; - } - if($row['booktype']==1) - { - $dsql->SetQuery("SELECT bigpic FROM #@__story_content WHERE bookid='$bid' "); - $dsql->Execute(); - while($row = $dsql->GetArray()) - { - $bigpic = $row['bigpic']; - if( $bigpic!="" && !eregi('^http://',$bigpic) ) - { - @unlink($cfg_basedir.$bigpic); - } - } - } - $dsql->ExecuteNoneQuery("DELETE FROM #@__story_content WHERE bookid='$bid' "); - } - $i = $i+1; - if(empty($ENV_GOBACK_URL)) - { - $ENV_GOBACK_URL = 'story_books.php'; - } - ShowMsg("成功删除 {$i} 本图书!",$ENV_GOBACK_URL); - exit(); -} - -/*-------------------- -function DelStoryContent() -删除图书内容 --------------------*/ -else if($action=='delcontent') -{ - - $row = $dsql->GetOne("SELECT bigpic,chapterid,bookid FROM #@__story_content WHERE id='$cid' "); - $chapterid = $row['chapterid']; - $bookid = $row['bookid']; - - //如果图片不为空,先删除图片 - if( $row['bigpic']!="" && !eregi('^http://',$row['bigpic']) ) - { - @unlink($cfg_basedir.$row['bigpic']); - } - $dsql->ExecuteNoneQuery(" DELETE FROM #@__story_content WHERE id='$cid' "); - - //更新图书记录 - $row = $dsql->GetOne("SELECT count(id) AS dd FROM #@__story_content WHERE bookid='$bookid' "); - $dsql->ExecuteNoneQuery("Update #@__story_books SET postnum='{$row['dd']}' WHERE bid='$bookid' "); - - //更新章节记录 - $row = $dsql->GetOne("SELECT count(id) AS dd FROM #@__story_content WHERE chapterid='$chapterid' "); - $dsql->ExecuteNoneQuery("Update #@__story_chapter SET postnum='{$row['dd']}' WHERE id='$chapterid' "); - ShowMsg("成功删除指定内容!",$ENV_GOBACK_URL); - exit(); -} - -/*-------------------- -function EditChapter() -保存章节信息 --------------------*/ -else if($action=='editChapter') -{ - - require_once(DEDEINC."/charSET.func.php"); - //$chaptername = gb2utf8($chaptername); - $dsql->ExecuteNoneQuery("Update #@__story_chapter SET chaptername='$chaptername',chapnum='$chapnum' WHERE id='$cid' "); - AjaxHead(); - echo "成功更新章节:{$chaptername} ! [关闭提示]

提示:修改章节名称或章节序号直接在左边修改,然后点击右边的 [更新] 会保存。 "; - exit(); -} - -/*-------------------- -function DelChapter() -删除章节信息 --------------------*/ -else if($action=='delChapter') -{ - $row = $dsql->GetOne("SELECT c.bookid,b.booktype FROM #@__story_chapter c LEFT JOIN #@__story_books b ON b.bid=c.bookid WHERE c.id='$cid' "); - $bookid = $row['bookid']; - $booktype = $row['booktype']; - $dsql->ExecuteNoneQuery("DELETE FROM #@__story_chapter WHERE id='$cid' "); - - //删除图片 - if($booktype==1) - { - $dsql->SetQuery("SELECT bigpic FROM #@__story_content WHERE bookid='$bookid' "); - $dsql->Execute(); - while($row = $dsql->GetArray()) - { - $bigpic = $row['bigpic']; - if( $bigpic!="" && !eregi('^http://',$bigpic) ) - { - @unlink($cfg_basedir.$bigpic); - } - } - } - $dsql->ExecuteNoneQuery("DELETE FROM #@__story_content WHERE chapterid='$cid' "); - - //更新图书记录 - $row = $dsql->GetOne("SELECT count(id) AS dd FROM #@__story_content WHERE bookid='$bookid' "); - $dsql->ExecuteNoneQuery("UPDATE #@__story_books SET postnum='{$row['dd']}' WHERE bid='$bookid' "); - ShowMsg("成功删除指定章节!",$ENV_GOBACK_URL); - exit(); -} - -/*--------------- -function EditChapterAll() -批量修改章节 --------------------*/ -else if($action=='upChapterSort') -{ - if(isSET($ids) && is_array($ids)) - { - foreach($ids as $cid) - { - $chaptername = ${'chaptername_'.$cid}; - $chapnum= ${'chapnum_'.$cid}; - $dsql->ExecuteNoneQuery("UPDATE #@__story_chapter SET chaptername='$chaptername',chapnum='$chapnum' WHERE id='$cid' "); - } - } - ShowMsg("成功更新指定章节信息!", $ENV_GOBACK_URL); - exit(); -} diff --git a/src/dede/story_edit.php b/src/dede/story_edit.php deleted file mode 100755 index 36feac0..0000000 --- a/src/dede/story_edit.php +++ /dev/null @@ -1,37 +0,0 @@ -SetQuery("SELECT id,classname,pid,rank FROM #@__story_catalog ORDER BY rank ASC"); -$dsql->Execute(); -$ranks = Array(); -$btypes = Array(); -$stypes = Array(); -while($row = $dsql->GetArray()) -{ - if($row['pid']==0) - { - $btypes[$row['id']] = $row['classname']; - } - else - { - $stypes[$row['pid']][$row['id']] = $row['classname']; - } - $ranks[$row['id']] = $row['rank']; -} -$lastid = $row['id']; -$msg = ''; -$books = $dsql->GetOne("SELECT S.*,A.membername FROM #@__arcrank AS A LEFT JOIN #@__story_books AS S ON A.rank=S.arcrank WHERE S.bid='$bookid' "); -require_once(DEDEADMIN. '/templets/story_edit.htm'); -?> \ No newline at end of file diff --git a/src/dede/story_edit_action.php b/src/dede/story_edit_action.php deleted file mode 100755 index debde7f..0000000 --- a/src/dede/story_edit_action.php +++ /dev/null @@ -1,98 +0,0 @@ -GetOne("SELECT * FROM #@__story_catalog WHERE id='$catid' "); -$bcatid = $nrow['pid']; -$booktype = $nrow['booktype']; -$pubdate = GetMkTime($pubdate); -$lastpost=time(); -$bookname = cn_substr($bookname,50); -if($keywords!="") $keywords = trim(cn_substr($keywords, 60)); - - -//处理上传的缩略图 -if($litpic !="") $litpic = GetDDImage('litpic', $litpic, 0); - -if($litpicname !="" && $litpic == "") $litpic = GetDDImage('litpic', $litpicname, 0); - -$adminID = $cuserLogin->getUserID(); - -//自动摘要 -if($description=="" && $cfg_auot_description>0) -{ - $description = stripslashes(cn_substr(html2text($body), $cfg_auot_description)); - $description = addslashes($description); -} -$upQuery = " -Update `#@__story_books` -set catid='$catid', -bcatid='$bcatid', -iscommend='$iscommend', -click='$click', -freenum='$freenum', -arcrank='$arcrank', -bookname='$bookname', -author='$author', -litpic='$litpic', -pubdate='$pubdate', -lastpost='$lastpost', -description='$description', -body='$body', -keywords='$keywords', -status='$status', -ischeck='$ischeck' -where bid='$bookid' "; - -if(!$dsql->ExecuteNoneQuery($upQuery)) -{ - ShowMsg("更新数据库时出错,请检查!".$dsql->GetError(),"-1"); - $dsql->Close(); - exit(); -} - -//生成HTML -require_once(DEDEROOT. '/book/include/story.view.class.php'); -$bv = new BookView($bookid, 'book'); -$artUrl = $bv->MakeHtml(); -$bv->Close(); - -//返回成功信息 -$msg = " -  请选择你的后续操作: -继续修改 -   -发布新图书 -   -预览图书 -   -增加图书内容 -   -管理图书 -"; -$wintitle = "成功修改图书!"; -$wecome_info = "连载管理::修改图书"; -$win = new OxWindow(); -$win->AddTitle("成功修改一本图书:"); -$win->AddMsgItem($msg); -$winform = $win->GetWindow("hand", " ", false); -$win->Display(); diff --git a/src/dede/story_edit_content_action.php b/src/dede/story_edit_content_action.php deleted file mode 100755 index d80d73e..0000000 --- a/src/dede/story_edit_content_action.php +++ /dev/null @@ -1,94 +0,0 @@ -GetOne("SELECT * From #@__story_chapter WHERE bookid='$bookid' ORDER BY chapnum DESC"); - if(is_array($row)) $nchapnum = $row['chapnum']+1; - else $nchapnum = 1; - $query = "INSERT INTO `#@__story_chapter`(`bookid`,`catid`,`chapnum`,`mid`,`chaptername`,`bookname`) - VALUES ('$bookid', '$catid', '$nchapnum', '0', '$chapternew','$bookname');"; - $rs = $dsql->ExecuteNoneQuery($query); - if($rs){ - $chapterid = $dsql->GetLastID(); - } - else - { - ShowMsg("增加章节失败,请检查原因!", "-1"); - exit(); - } -} - -//获得父栏目 -$nrow = $dsql->GetOne("SELECT * FROM #@__story_catalog WHERE id='$catid' "); -$bcatid = $nrow['pid']; -$booktype = $nrow['booktype']; - -if(empty($bcatid)) $bcatid = 0; -if(empty($booktype)) $booktype = 0; - - -$addtime = time(); - -$inQuery = " - UPDATE `#@__story_content` SET `title`='$title',`bookname`='$bookname', - `chapterid`='$chapterid',`sortid`='$sortid',`body`='' - WHERE id='$cid' -"; - -if(!$dsql->ExecuteNoneQuery($inQuery)){ - ShowMsg("更新数据时出错,请检查!".str_repolace("'","`",$dsql->GetError().$inQuery),"-1"); - $dsql->Close(); - exit(); -} - -WriteBookText($cid,$body); -if(empty($artcontentUrl))$artcontentUrl=""; -if($artcontentUrl=="") $artcontentUrl = $cfg_mainsite.$cfg_cmspath."/book/story.php?id={$cid}"; - -require_once(DEDEROOT. "/book/include/story.view.class.php"); -$bv = new BookView($bookid,'book'); -$artUrl = $bv->MakeHtml(); -$bv->Close(); - -//--------------------------------- -//返回成功信息 -//---------------------------------- -$msg = " -  请选择你的后续操作: -继续编辑 -   -预览小说 -   -预览内容 -   -本书所有内容 -   -管理所有图书 -"; - -$wintitle = "成功修改文章!"; -$wecome_info = "连载管理::发布文章"; -$win = new OxWindow(); -$win->AddTitle("成功修改文章:"); -$win->AddMsgItem($msg); -$winform = $win->GetWindow("hand", " ", false); -$win->Display(); -//ClearAllLink(); diff --git a/src/dede/story_edit_photo_action.php b/src/dede/story_edit_photo_action.php deleted file mode 100755 index 720bbb6..0000000 --- a/src/dede/story_edit_photo_action.php +++ /dev/null @@ -1,112 +0,0 @@ -GetOne("SELECT * FROM #@__story_chapter WHERE bookid='$bookid' ORDER BY chapnum DESC"); - if(is_array($row)) $nchapnum = $row['chapnum']+1; - else $nchapnum = 1; - $query = "INSERT INTO `#@__story_chapter`(`bookid`,`catid`,`chapnum`,`mid`,`chaptername`,`bookname`) - VALUES ('$bookid', '$catid', '$nchapnum', '0', '$chapternew','$bookname');"; - $rs = $dsql->ExecuteNoneQuery($query); - if($rs){ - $chapterid = $dsql->GetLastID(); - } - else - { - ShowMsg("增加章节失败,请检查原因!","-1"); - exit(); - } -}else -{ - $dsql = new DedeSql(); -} - -//获得父栏目 -$nrow = $dsql->GetOne("SELECT * FROM #@__story_catalog WHERE id='$catid' "); -$bcatid = $nrow['pid']; -$booktype = $nrow['booktype']; - -if(empty($bcatid)) $bcatid = 0; -if(empty($booktype)) $booktype = 0; - - -$addtime = time(); - -//处理上传的缩略图 -if(!isset($isremote)) $isremote = 0; -$bigpic = UploadOneImage('imgfile',$imgurl,$isremote); - -$adminID = $cuserLogin->getUserID(); - - -//---------------------------------- -$inQuery = " - UPDATE `#@__story_content` SET `title`='$title',`bookname`='$bookname', - `chapterid`='$chapterid',`sortid`='$sortid',`bigpic`='$bigpic' - WHERE id='$cid' -"; - -if(!$dsql->ExecuteNoneQuery($inQuery)){ - ShowMsg("把数据保存到数据库时出错,请检查!".str_repolace("'","`", $dsql->GetError().$inQuery), "-1"); - $dsql->Close(); - exit(); -} - -$arcID = $cid; - -//生成HTML -//--------------------------------- - -//$artUrl = MakeArt($arcID,true); -if(empty($artcontentUrl))$artcontentUrl=""; -if($artcontentUrl=="") $artcontentUrl = $cfg_mainsite.$cfg_cmspath."/book/show-photo.php?id=$arcID&bookid=$bookid&chapterid=$chapterid"; - -require_once(DEDEROOT. '/book/include/story.view.class.php'); -$bv = new BookView($bookid, 'book'); -$artUrl = $bv->MakeHtml(); -$bv->Close(); - -//--------------------------------- -//返回成功信息 -//---------------------------------- -$msg = " -  请选择你的后续操作: -继续修改 -   -预览漫画 -   -预览内容 -   -管理所有内容 -   -管理所有图书 -"; - -$wintitle = "成功修改内容!"; -$wecome_info = "连载管理::修改漫画内容"; -$win = new OxWindow(); -$win->AddTitle("成功发布漫画:"); -$win->AddMsgItem($msg); -$winform = $win->GetWindow("hand", " ", false); -$win->Display(); -//ClearAllLink(); diff --git a/src/dede/story_feedback_edit.php b/src/dede/story_feedback_edit.php deleted file mode 100755 index e2eea68..0000000 --- a/src/dede/story_feedback_edit.php +++ /dev/null @@ -1,30 +0,0 @@ -",">",$adminmsg); - $adminmsg = str_replace(" ","  ",$adminmsg); - $adminmsg = str_replace("\r\n","
\n",$adminmsg); - $msg = $msg."
\n"."管理员回复: $adminmsg\n"; - } - $query = "UPDATE `#@__bookfeedback` SET username='$username',msg='$msg',ischeck=1 WHERE id=$id"; - $dsql->ExecuteNoneQuery($query); - ShowMsg("成功回复一则留言!",$ENV_GOBACK_URL); - exit(); -} -$query = "SELECT * FROM `#@__bookfeedback` WHERE id=$id"; -$row = $dsql->GetOne($query); -include DedeInclude('templets/story_feedback_edit.htm'); diff --git a/src/dede/story_feedback_main.php b/src/dede/story_feedback_main.php deleted file mode 100755 index f18e2b8..0000000 --- a/src/dede/story_feedback_main.php +++ /dev/null @@ -1,87 +0,0 @@ -[未审核]";} - - -if(!empty($job)) -{ - $ids = preg_replace("#[^0-9,]#", '', $fid); - if(empty($ids)) - { - ShowMsg("你没选中任何选项!", $_COOKIE['ENV_GOBACK_URL'], 0, 500); - exit; - } -} -else -{ - $job = ''; -} - -//删除评论 -if( $job == 'del' ) -{ - $query = "DELETE From `#@__bookfeedback` WHERE id in($ids) "; - $dsql->ExecuteNoneQuery($query); - ShowMsg("成功删除指定的评论!",$_COOKIE['ENV_GOBACK_URL'],0,500); - exit(); -} -//删除相同IP的所有评论 -else if( $job == 'delall' ) -{ - $dsql->SetQuery("SELECT ip FROM `#@__bookfeedback` WHERE id in ($ids) "); - $dsql->Execute(); - $ips = ''; - while($row = $dsql->GetArray()) - { - $ips .= ($ips=='' ? " ip = '{$row['ip']}' " : " OR ip = '{$row['ip']}' "); - } - if($ips!='') - { - $query = "DELETE FROM `#@__bookfeedback` WHERE $ips "; - $dsql->ExecuteNoneQuery($query); - } - ShowMsg("成功删除指定相同IP的所有评论!", $_COOKIE['ENV_GOBACK_URL'], 0, 500); - exit(); -} -//审核评论 -else if($job=='check') -{ - $query = "UPDATE `#@__bookfeedback` SET ischeck=1 WHERE id in($ids) "; - $dsql->ExecuteNoneQuery($query); - ShowMsg("成功审核指定评论!", $_COOKIE['ENV_GOBACK_URL'], 0, 500); - exit(); -} -//浏览评论 -else -{ - $bgcolor = ''; - $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0; - $aid = isset($aid) && is_numeric($aid) ? $aid : 0; - $keyword = !isset($keyword) ? '' : $keyword; - $ip = !isset($ip) ? '' : $ip; - - $tl = new TypeLink($typeid); - $openarray = $tl->GetOptionArray($typeid,$admin_catalogs,0); - - $addsql = ($typeid != 0 ? " And typeid in (".GetSonIds($typeid).")" : ''); - $addsql .= ($aid != 0 ? " And aid=$aid " : ''); - $addsql .= ($ip != '' ? " And ip like '$ip' " : ''); - $querystring = "SELECT * FROM `#@__bookfeedback` WHERE msg like '%$keyword%' $addsql ORDER BY dtime DESC"; - - $dlist = new DataListCP(); - $dlist->pageSize = 15; - $dlist->SetParameter('aid', $aid); - $dlist->SetParameter('ip', $ip); - $dlist->SetParameter('typeid', $typeid); - $dlist->SetParameter('keyword', $keyword); - $dlist->SetTemplate(DEDEADMIN. '/templets/story_feedback_main.htm'); - $dlist->SetSource($querystring); - $dlist->Display(); -} diff --git a/src/dede/story_list_chapter.php b/src/dede/story_list_chapter.php deleted file mode 100755 index 3fbf51f..0000000 --- a/src/dede/story_list_chapter.php +++ /dev/null @@ -1,39 +0,0 @@ -0 "; -$orderby = " ORDER BY id DESC "; -if($keyword!="") $addquery .= " And (bookname LIKE '%$keyword%' OR chaptername LIKE '%$keyword%') "; - -if($bid!=0) $addquery .= " And bookid='$bid' "; - - -$query = " - SELECT * FROM #@__story_chapter WHERE $addquery $orderby -"; -$dlist = new DataListCP(); -$dlist->pageSize = 20; -$dlist->SetParameter("keyword", $keyword); -$dlist->SetParameter("bid", $bid); -$dlist->SetTemplate(DEDEADMIN. '/templets/story_list_chapter.htm'); -$dlist->SetSource($query); -$dlist->Display(); diff --git a/src/dede/story_list_content.php b/src/dede/story_list_content.php deleted file mode 100755 index 03fc15a..0000000 --- a/src/dede/story_list_content.php +++ /dev/null @@ -1,49 +0,0 @@ -0 $addquery $orderby -"; -$dlist = new DataListCP(); -$dlist->pageSize = 20; -$dlist->SetParameter("keyword", $keyword); -$dlist->SetParameter("booktype", $booktype); -$dlist->SetParameter("bookit", $bookid); -$dlist->SetParameter("chapid", $chapid); -$dlist->SetTemplate(DEDEADMIN. '/templets/story_list_content.htm'); -$dlist->SetSource($query); -$dlist->Display(); -//ClearAllLink(); diff --git a/src/dede/story_photo_edit.php b/src/dede/story_photo_edit.php deleted file mode 100755 index f8829ac..0000000 --- a/src/dede/story_photo_edit.php +++ /dev/null @@ -1,54 +0,0 @@ -SetQuery("SELECT id,classname,pid,rank FROM #@__story_catalog ORDER BY rank ASC"); -$dsql->Execute(); -$ranks = Array(); -$btypes = Array(); -$stypes = Array(); -while($row = $dsql->GetArray()) -{ - if($row['pid']==0) - { - $btypes[$row['id']] = $row['classname']; - } - else - { - $stypes[$row['pid']][$row['id']] = $row['classname']; - } - $ranks[$row['id']] = $row['rank']; -} -$lastid = $row['id']; -$contents = $dsql->GetOne("SELECT * FROM #@__story_content WHERE id='$cid' "); -$bookinfos = $dsql->GetOne("SELECT catid,bcatid,bookname,booktype FROM #@__story_books WHERE bid='{$contents['bookid']}' "); -$catid = $bookinfos['catid']; -$bcatid = $bookinfos['bcatid']; -$bookname = $bookinfos['bookname']; -$booktype = $bookinfos['booktype']; -$bookid = $contents['bookid']; -$dsql->SetQuery("SELECT id,chapnum,chaptername FROM #@__story_chapter WHERE bookid='{$contents['bookid']}' order by chapnum DESC"); -$dsql->Execute(); -$chapters = Array(); -$chapnums = Array(); -while($row = $dsql->GetArray()) -{ - $chapters[$row['id']] = $row['chaptername']; - $chapnums[$row['id']] = $row['chapnum']; -} -require_once DedeInclude('/templets/story_photo_edit.htm'); diff --git a/src/dede/templets/makehtml_story.htm b/src/dede/templets/makehtml_story.htm deleted file mode 100755 index fa36cf4..0000000 --- a/src/dede/templets/makehtml_story.htm +++ /dev/null @@ -1,94 +0,0 @@ - - - - -生成HTML - - - - - - -
-
-
连载管理
-
- - - - -
- - - - - -
更新连载图书HTML[连载内容列表]
-
-
- - - - - - - - - - - - - - - - - -
 说明:默认的情况下,本程序只更新图书内容封面的HTML。
 图书开始ID: - - 结束ID: - - (0表示从开始到全部) - 每批数量: - - 栏目: - -
- -
- - - - - -
进行状态: - - [增大] [缩小]
-
-
- -
-
-
- - diff --git a/src/dede/templets/plus_bshare.htm b/src/dede/templets/plus_bshare.htm deleted file mode 100755 index 5fd6527..0000000 --- a/src/dede/templets/plus_bshare.htm +++ /dev/null @@ -1,131 +0,0 @@ - - - - -BShare分享插件 - - - - - - - - - - - - -
-
-
辅助插件
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bShare分享插件

bShare不止是一个分享按钮。bShare是全球中文互联网最强大的社交分享引擎! - 只需一个按钮,就能为您的网站注入社交化功能!

-

bShare智能分享引擎让您的用户可以轻松地将最喜欢的内容分享到社交网站、微博上与好友分享。用户无须离开您的网站,就能快速地进行分享,继续浏览您的网站!

 您尚未开通bShare,请先开通bShare服务:
 网站域名:   
 账号类型: - 新注册 - -已经有账号
 用户名:  - - (E-Mail地址)
 密  码:  -
 确认密码:  -
 
- - - diff --git a/src/dede/templets/plus_bshare_state.htm b/src/dede/templets/plus_bshare_state.htm deleted file mode 100755 index a9c8101..0000000 --- a/src/dede/templets/plus_bshare_state.htm +++ /dev/null @@ -1,186 +0,0 @@ - - - - -BShare分享插件 - - - - - - - - - - - - - - - - -
-
-
辅助插件
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bShare分享插件
 您已经开通bShare服务:
 用户名:  
 UUID: 
 
前台调用样式/代码:
-
-

内容页面中直接加入{dede:bshare/},或者使用:
- <script src='/bshare.php' type='text/javascript'></script>
- 即可调用分享插件。

-

- - -

-
-
样式预览:
统计信息
选择查询条件:
开始: -
- - 到 结束 - - - -
- - - -
- - - - -
 平台统计 分享统计
- - - - - - - - - -
- - - - - - - -
 bURL社交影响力分析: 
说明:数据格式“平台.(访问占用百分比)-访问次数”。
- bURL社交影响力分析
- - - - -
 
- - - diff --git a/src/dede/templets/story_add.htm b/src/dede/templets/story_add.htm deleted file mode 100755 index 2375041..0000000 --- a/src/dede/templets/story_add.htm +++ /dev/null @@ -1,181 +0,0 @@ - - - - -新增连载图书 - - - - - - - - - - - -
- - - - - -
新增图书 - [图书列表] -   - [栏目管理] -
-
-
- - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
图书隶属栏目: -
图书名称: -   - - 推荐
免费章节数: - - (-1 表示全部免费,0 表示全部收费) -
免费阅读所有
内容会员级别:
- -
图书封面图片: - - - - -
- - - - - - -
本地直接上传请点击“浏览”按钮 -
-
初始化数据: - - - - - -
作者: - - 上架时间: - 点击量: -
关键字: 手动填写用","分开 -
摘 要:
具体介绍: 
- -
  -    - -
-
-
- - - - \ No newline at end of file diff --git a/src/dede/templets/story_add_content.htm b/src/dede/templets/story_add_content.htm deleted file mode 100755 index 62e98b3..0000000 --- a/src/dede/templets/story_add_content.htm +++ /dev/null @@ -1,134 +0,0 @@ - - - - -新增连载内容 - - - - - - - - -
-
-
小说管理
-
- - - - -
- - - - - -
内容(小说类)>>增加章节内容 - [本图书内容列表] -   - [所有图书] -
-
-
- - -' /> - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - -
小节标题:
隶属图书名称: - -
- 隶属章节:
- 0 ? "" : " checked='1'"); ?> class='np' /> - 添加新章节 -
- "> - - - "> - 新章节名称: - -
-(如果没有可选章节或已有章节已经结束,请填写新章节名称,名称上不需加“第X章”这样的字样) -
-
章节内容: 
- -
    -
-
- - - \ No newline at end of file diff --git a/src/dede/templets/story_add_photo.htm b/src/dede/templets/story_add_photo.htm deleted file mode 100755 index fac2880..0000000 --- a/src/dede/templets/story_add_photo.htm +++ /dev/null @@ -1,193 +0,0 @@ - - - - -新增连载内容 - - - - - - - - - - -
-
-
连载管理
-
- - - - -
- - - - - -
连载内容(漫画类)>>增加内容 - [本图书内容列表] -   - [所有连载图书] -
-
-
- - -' /> - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
默认标题:
隶属图书名称: -
- 隶属章节:
- 0 ? "" : " checked"); ?> /> - 添加新章节
- "> - - - "> - 新章节名称: - -
-(如果没有可选章节或已有章节已经结束,请填写新章节名称,名称上不需加“第X章”这样的字样)
  为了方便您的多篇漫画或其它连载图片发布,您可以在此同时上传多个图片,系统会自动将其分割成多篇文档,如果您的内容主题是不需要单独设定的,可不指定每个图片的标题,系统将自动采用默认标题加数字进行标识。
- - - - - - - - - - -
 远程图片: -下载到本地
 图片: ( 注:最大60幅,手工指定的图片链接允许填写远程网址)
- - -
    -
-
- - - \ No newline at end of file diff --git a/src/dede/templets/story_books.htm b/src/dede/templets/story_books.htm deleted file mode 100755 index 9742688..0000000 --- a/src/dede/templets/story_books.htm +++ /dev/null @@ -1,165 +0,0 @@ - - - - -连载图书列表 - - - - - - - -
-
-
小说书目管理 [查看首页]
-
- - - - -
- - - - - -
图书列表 - [未审核的图书] -   - [新增图书] -   - [栏目管理] -
-
- - - - -
-
- - - - - - - -
关键字: - -
-
-
-
- - - - - - - - - - -{dede:datalist} -未审核审核'; - } - ?> - - - - - - - - - - {/dede:datalist} - - - -
选择图书封面图书名称隶属栏目创建时间审核管理项目
- "; - }else{ - echo ""; - } - ?> - - ".$fields['bookname'].""; - if($fields['booktype']!=1) echo "(小说内容:{$fields['postnum']})"; - else echo "(漫画内容:{$fields['postnum']})"; - ?> - {dede:field.classname/}{dede:field.senddate function=GetDateMK(@me)/} - - '>添加 | - - '>添加 | - - '>修改 | - '>内容
- - '>章节 | - )'>删除 -
-   - 全选 - 取消 - 删除 -
-
- - - - -
{dede:pagelist listsize=5 /}
- - - \ No newline at end of file diff --git a/src/dede/templets/story_catalog.htm b/src/dede/templets/story_catalog.htm deleted file mode 100755 index db4fec3..0000000 --- a/src/dede/templets/story_catalog.htm +++ /dev/null @@ -1,155 +0,0 @@ - - - - -连载栏目管理 - - - - - - - - - - - - - - - - - -
- - - - - -
小说栏目管理 [查看首页] - [增加新栏目] -   - [增加新图书] -
-
- -
-\r\n"; -echo ""; -echo "\r\n"; -echo "\r\n\r\n"; -$options = ""; -foreach($btypes as $k=>$v) -{ - echo "\r\n"; - echo "\r\n"; - echo "\r\n"; - echo "\r\n\r\n"; - $options .= "\r\n"; - //获取下级栏目 - - if(!empty($stypes[$k]) && is_array($stypes[$k])){ - foreach($stypes[$k] as $kk=>$vv) - { - echo "\r\n"; - echo "\r\n"; - echo "\r\n"; - echo "\r\n\r\n";; - } - } -} -echo "
·{$v} (ID:{$k} ,图书:".TjBookNum($k,$dsql).")\r\n"; - echo "修改 | "; - echo "删除 | "; - echo "添加图书 | "; - echo "图书列表 "; - echo "
·{$vv} (ID:{$kk},图书:".TjBookNum($kk,$dsql).")\r\n"; - echo "修改 | "; - echo "删除 | "; - echo "添加图书 | "; - echo "图书列表"; - echo "
\r\n"; -echo "
"; -echo "\r\n"; -?> -
- -
-请稍候,正在载入... -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
栏目名称:
隶属栏目: - -
排序级别: - (数值小靠前)
连载类型: - 小说 - - 漫画
关键字:
摘 要:
 
-
-
- - \ No newline at end of file diff --git a/src/dede/templets/story_content_edit.htm b/src/dede/templets/story_content_edit.htm deleted file mode 100755 index a7bd037..0000000 --- a/src/dede/templets/story_content_edit.htm +++ /dev/null @@ -1,135 +0,0 @@ - - - - -修改连载内容 - - - - - - - - - -
-
-
小说管理
-
- - - - - -
- - - - - -
内容(小说类)>>修改内容 - [本图书内容列表] -   - [所有图书] -
-
-
- - - -' /> - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
章节标题:
隶属图书名称: - -
在章节中的顺序: - -
- 隶属章节:
- - 添加新章节 -
- - - - -
章节内容: 
    -
-
- - - \ No newline at end of file diff --git a/src/dede/templets/story_edit.htm b/src/dede/templets/story_edit.htm deleted file mode 100755 index b024f7f..0000000 --- a/src/dede/templets/story_edit.htm +++ /dev/null @@ -1,191 +0,0 @@ - - - - -修改连载图书 - - - - - - - -
-
-
连载管理
-
- - - - -
- - - - - -
修改连载图书 - [连载内容列表] -   - [连载栏目管理] -
-
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
图书隶属栏目: -
连载图书名称: - - class='np' /> - 推荐 -
免费章节数: - - (-1 表示全部免费,0 表示全部收费) -
免费阅读所有
内容会员级别:
- -
图书状态: - class='np' />连载中 - class='np' />已完成连载 - class='np' />未审核 - class='np' />已审核 -
图书封面图片: - - - - - -
- - - - - - - -
本地直接上传请点击“浏览”按钮 -
- - -
- -
初始化数据:作者: - - - 上架时间: - 点击量: -
关键字: - 手动填写用","分开 -
摘 要:
具体介绍: 
- -
  -    - -
-
-
- - - \ No newline at end of file diff --git a/src/dede/templets/story_feedback_edit.htm b/src/dede/templets/story_feedback_edit.htm deleted file mode 100755 index ce208d2..0000000 --- a/src/dede/templets/story_feedback_edit.htm +++ /dev/null @@ -1,83 +0,0 @@ - - - - -编辑评论 - - - - - - - - - - - -
-  评论管理 >> 编辑评论: -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
评论所属文章: - -
评论人: - -
评论发布时间: - -
IP地址: - -
评论内容:更改的评论内容HTML代码不会被屏蔽,可用HTML语法编辑。
  -
管理员回复:回复内容的HTML代码会被屏蔽。
  -
- -   - -
-
-
- - \ No newline at end of file diff --git a/src/dede/templets/story_feedback_main.htm b/src/dede/templets/story_feedback_main.htm deleted file mode 100755 index a47cc71..0000000 --- a/src/dede/templets/story_feedback_main.htm +++ /dev/null @@ -1,172 +0,0 @@ - - - - -小说评论管理 - - - - - - - - - - - - - -
-
- 评论管理 -
-
-
- 关键字: - - - -
-
-
- -{dede:datalist} - - - -{/dede:datalist} - - - - - - -
- - - - - - - - - - - - -
-  选择 - - 用户:{dede:field.username/} - - 文档:{dede:field.arctitle/} (浏览) - - IP地址:{dede:field.ip/} - - 时间:{dede:field.dtime function="GetDateTimeMK(@me)" /} - - -
- - - - -
-{dede:field.ischeck function="IsCheck(@me)" /} -{dede:field.msg function='cn_substr(Text2Html(@me), 50)'/} -
- - - - -
- {dede:pagelist listsize='5' /} -
- - - - - -
- - - - - - - -
-
-
- - \ No newline at end of file diff --git a/src/dede/templets/story_list_chapter.htm b/src/dede/templets/story_list_chapter.htm deleted file mode 100755 index 286020e..0000000 --- a/src/dede/templets/story_list_chapter.htm +++ /dev/null @@ -1,152 +0,0 @@ - - - - -连载章节列表 - - - - - - - - -
-
-
小说管理 [查看首页]
-
- - - - -
- - - - - -
连载章节列表 - [图书管理] -   - [连载内容管理] -
-
- - - - -
- - - - - -
-
- - - - - - -
关键字: - -
-
-
- 添加内容 | "; - echo "本书内容 | "; - echo "所有章节"; - } - ?> -
-
-
- - - - - - - - - - {dede:datalist} - - - - - - - -{/dede:datalist} -
选择章节序号章节名称隶属图书管理项目
- - - 第章 - - {dede:field.bookname/} - - 内容({dede:field.postnum/}) | - 更新 | - 删除 -
- - - - -
- -   - - (批量修改选中项) -
-
- - - - -
- {dede:pagelist listsize=5 /} -
- -
- - \ No newline at end of file diff --git a/src/dede/templets/story_list_content.htm b/src/dede/templets/story_list_content.htm deleted file mode 100755 index 1622184..0000000 --- a/src/dede/templets/story_list_content.htm +++ /dev/null @@ -1,135 +0,0 @@ - - - - -连载内容列表 - - - - - - - -
-
-
小说管理 [查看首页]
-
- - - - -
- - - - - -
连载内容列表 - [图书管理] -   - [新增图书] -   - [栏目管理] -
-
- - - - -
- - - - - -
-
- - - - - - - -
关键字: - - - -
-
-
- 添加内容 | "; - echo "本书章节 | "; - echo "所有内容"; - } - ?> -
-
- - - - - - - -{dede:datalist} - - - - - - -{/dede:datalist} -
文章标题图书名称/章节名称/章节内序号添加时间管理项目
{dede:field.title/} - {dede:field.bookname/} - {dede:field.chaptername/}{dede:field.sortid/} {dede:field.addtime function=GetDateMK(@me)/} - 预览 | - - '>修改 | - 删除
- - - - -
- {dede:pagelist listsize=5 /} -
- - - \ No newline at end of file diff --git a/src/dede/templets/story_photo_edit.htm b/src/dede/templets/story_photo_edit.htm deleted file mode 100755 index 88b523c..0000000 --- a/src/dede/templets/story_photo_edit.htm +++ /dev/null @@ -1,163 +0,0 @@ - - - - -修改连载内容 - - - - - - - - -
-
-
小说管理
-
- - - - -
- - - - - -
内容(漫画类)>>修改内容 - [本图书内容列表] -   - [所有图书] -
-
-
- - - -' /> - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
默认标题:
隶属图书名称: -
在章节中的顺序: - -
- 隶属章节:
- - 添加新章节
- - - - -
  为了方便您的多篇漫画或其它连载图片发布,您可以在此同时上传多个图片,系统会自动将其分割成多篇文档,如果您的内容主题是不需要单独设定的,可不指定每个图片的标题,系统将自动采用默认标题加数字进行标识。
- - - - - -
 远程图片: -下载到本地
- - - - - - - - - - - - - -
-  图片:
- 本地上传: - -
 指定网址: - -
-
    -
-
- - -