├── screenshot
├── .keep
├── p1.png
├── p2.png
├── p3.png
├── p4.png
├── p5.png
└── p6.png
├── statics
├── js
│ └── site.js
└── css
│ └── site.css
├── app
├── Lib
│ └── Action
│ │ ├── indexAction.class.php
│ │ ├── baseAction.class.php
│ │ ├── datalistAction.class.php
│ │ ├── checkAction.class.php
│ │ └── toolsAction.class.php
└── Tpl
│ ├── index
│ └── index.html
│ ├── tools
│ ├── index.html
│ ├── hongdie.html
│ ├── gnball.html
│ ├── gongnengbi.html
│ └── baota.html
│ ├── public
│ ├── foot.html
│ └── head.html
│ ├── datalist
│ └── index.html
│ └── check
│ └── test.html
├── index.php
├── data
└── config
│ └── config.php
├── framework
├── Tpl
│ ├── default_index.tpl
│ ├── dispatch_jump.tpl
│ ├── think_exception.tpl
│ └── page_trace.tpl
├── Conf
│ ├── alias.php
│ ├── debug.php
│ ├── tags.php
│ └── convention.php
├── Lib
│ ├── Behavior
│ │ ├── WriteHtmlCacheBehavior.class.php
│ │ ├── ContentReplaceBehavior.class.php
│ │ ├── LocationTemplateBehavior.class.php
│ │ ├── TokenBuildBehavior.class.php
│ │ ├── ShowRuntimeBehavior.class.php
│ │ ├── ParseTemplateBehavior.class.php
│ │ ├── ReadHtmlCacheBehavior.class.php
│ │ ├── ShowPageTraceBehavior.class.php
│ │ └── CheckRouteBehavior.class.php
│ ├── Core
│ │ ├── Behavior.class.php
│ │ ├── ThinkException.class.php
│ │ ├── Cache.class.php
│ │ ├── Widget.class.php
│ │ ├── View.class.php
│ │ ├── Log.class.php
│ │ ├── Dispatcher.class.php
│ │ ├── Think.class.php
│ │ ├── App.class.php
│ │ └── Action.class.php
│ ├── Driver
│ │ ├── Cache
│ │ │ └── CacheFile.class.php
│ │ └── Db
│ │ │ ├── DbMysqli.class.php
│ │ │ └── DbMysql.class.php
│ └── Template
│ │ └── TagLib.class.php
├── run.php
├── Lang
│ └── zh-cn.php
└── Common
│ └── runtime.php
└── README.md
/screenshot/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/statics/js/site.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/statics/css/site.css:
--------------------------------------------------------------------------------
1 | body {
2 | min-height: 2000px;
3 | padding-top: 70px;
4 | }
--------------------------------------------------------------------------------
/screenshot/p1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruffood/foodnutrition/HEAD/screenshot/p1.png
--------------------------------------------------------------------------------
/screenshot/p2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruffood/foodnutrition/HEAD/screenshot/p2.png
--------------------------------------------------------------------------------
/screenshot/p3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruffood/foodnutrition/HEAD/screenshot/p3.png
--------------------------------------------------------------------------------
/screenshot/p4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruffood/foodnutrition/HEAD/screenshot/p4.png
--------------------------------------------------------------------------------
/screenshot/p5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruffood/foodnutrition/HEAD/screenshot/p5.png
--------------------------------------------------------------------------------
/screenshot/p6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruffood/foodnutrition/HEAD/screenshot/p6.png
--------------------------------------------------------------------------------
/app/Lib/Action/indexAction.class.php:
--------------------------------------------------------------------------------
1 | display();
6 | }
7 | }
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 | 'localhost',
5 | 'DB_NAME' => 'nutrition',
6 | 'DB_USER' => 'root',
7 | 'DB_PWD' => 'q1w2e3',
8 | 'DB_PORT' => '3306',
9 | 'DB_PREFIX' => 'yk_',
10 |
11 | 'DEFAULT_MODULE' => 'index', //默认控制器
12 |
13 | 'TMPL_PARSE_STRING'=>array(
14 | '__STATICS__'=>__ROOT__.'/statics',
15 | '__UPLOAD__'=>__ROOT__.'/data/upload',
16 | ),
17 | );
18 |
--------------------------------------------------------------------------------
/app/Tpl/index/index.html:
--------------------------------------------------------------------------------
1 |
欢迎使用 ThinkPHP!