BVB Source Codes

HTML 5 black reactive booth design dream weaving dedecms site template (adaptive) v1.0 Show story_list_chapter.php Source code

Return Download HTML 5 black reactive booth design dream weaving dedecms site template (adaptive) v1.0: download story_list_chapter.php Source code - Download HTML 5 black reactive booth design dream weaving dedecms site template (adaptive) v1.0 Source code - Type:.php
  1. <?php
  2. /**
  3.  * @version        $Id: story_list_chapter.php 1 9:02 2010年9月25日Z 蓝色随想 $
  4.  * @package        DedeCMS.Module.Book
  5.  * @copyright      Copyright (c) 2007 - 2010, DesDev, Inc.
  6.  * @license        http://help.dedecms.com/usersguide/license.html
  7.  * @link           http://www.walseo.net
  8.  */
  9.  
  10. require_once(dirname(__FILE__). "/config.php");
  11. require_once DEDEINC. '/datalistcp.class.php';
  12. setcookie("ENV_GOBACK_URL", $dedeNowurl, time()+3600,"/");
  13. CheckPurview('story_books');
  14. if(!isset($action)) $action = '';
  15.  
  16. if(!isset($keyword)) $keyword = "";
  17.  
  18. if(!isset($bid)) $bid = 0;
  19.  
  20. if(!empty($bookid)) $bid = $bookid;
  21.  
  22.  
  23. $addquery = " id>0 ";
  24. $orderby = " ORDER BY id DESC ";
  25. if($keyword!="") $addquery .= " And (bookname LIKE '%$keyword%' OR chaptername LIKE '%$keyword%') ";
  26.  
  27. if($bid!=0) $addquery .= " And bookid='$bid' ";
  28.  
  29.  
  30. $query = "
  31.   SELECT * FROM #@__story_chapter WHERE $addquery $orderby
  32. ";
  33. $dlist = new DataListCP();
  34. $dlist->pageSize = 20;
  35. $dlist->SetParameter("keyword", $keyword);
  36. $dlist->SetParameter("bid", $bid);
  37. $dlist->SetTemplate(DEDEADMIN. '/templets/story_list_chapter.htm');
  38. $dlist->SetSource($query);
  39. $dlist->Display();
  40.  
downloadstory_list_chapter.php Source code - Download HTML 5 black reactive booth design dream weaving dedecms site template (adaptive) v1.0 Source code
Related Source Codes/Software:
DolpinPHP v1.0.0 rapid development framework - DophinPHP (Dolphin PHP) is an open source rapid de... 2017-05-06
HTML 5 responsive weave template v1.0 dream relaxed and blog posts - HTML5 response-refreshing blog dream template is a... 2017-05-06
Responsive precision chemical chemical class dreams to template (adaptive equipment) v1.0 - Response precision chemical chemical dream templat... 2017-05-06
Dream weaving turquoise ankang health information web site template v1.0 - Dream green health health information website full... 2017-05-05
WSTShop v1.1.0 B2C revenue system - WSTShop B2C revenue system WSTShop e-commerce syst... 2017-05-06
HTML 5 high-end dedecms decorate construction company enterprise template - Dedecms latest kernel source code, this source cod... 2017-05-06
Blue air conditioning refrigeration electronic enterprise website dream weaving template v1.0 - Blue air conditioning and refrigeration electronic... 2017-05-06
N-blog - Learn the Node together. J 2017-06-05
Become-A-Full-Stack-Web-Developer - Free resources for learning Full Stack Web Develop... 2017-06-05
compromise - Natural language processing in javascript ... 2017-06-05
stack-on-a-budget - A collection of services with great free tiers for... 2017-06-05
packer - Packer is a tool for creating identical machine im... 2017-06-05
pkg - Package your Node.js project into an executable ... 2017-06-05
Dapper - Dapper - a simple object mapper for .Net 2017-06-05
python-fire - Python Fire is a library for automatically generat... 2017-06-04
kaminari - A Scope & Engine based, clean, powerful, custo... 2017-06-04
mongo-express - Web-based MongoDB admin interface, written with No... 2017-05-17

 Back to top