repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/Output.php
thinkphp/library/think/console/Output.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/command/Lists.php
thinkphp/library/think/console/command/Lists.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/command/Help.php
thinkphp/library/think/console/command/Help.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/command/Make.php
thinkphp/library/think/console/command/Make.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2016 http://thinkphp.cn All rights reserved. // +------------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/command/Clear.php
thinkphp/library/think/console/command/Clear.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/command/Build.php
thinkphp/library/think/console/command/Build.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/command/optimize/Autoload.php
thinkphp/library/think/console/command/optimize/Autoload.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/command/optimize/Route.php
thinkphp/library/think/console/command/optimize/Route.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/command/optimize/Schema.php
thinkphp/library/think/console/command/optimize/Schema.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/command/optimize/Config.php
thinkphp/library/think/console/command/optimize/Config.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/command/make/Controller.php
thinkphp/library/think/console/command/make/Controller.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2016 http://thinkphp.cn All rights reserved. // +------------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/command/make/Model.php
thinkphp/library/think/console/command/make/Model.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2016 http://thinkphp.cn All rights reserved. // +------------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/input/Definition.php
thinkphp/library/think/console/input/Definition.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/input/Argument.php
thinkphp/library/think/console/input/Argument.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/input/Option.php
thinkphp/library/think/console/input/Option.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/output/Descriptor.php
thinkphp/library/think/console/output/Descriptor.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/output/Ask.php
thinkphp/library/think/console/output/Ask.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/output/Formatter.php
thinkphp/library/think/console/output/Formatter.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/output/Question.php
thinkphp/library/think/console/output/Question.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/output/formatter/Stack.php
thinkphp/library/think/console/output/formatter/Stack.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/output/formatter/Style.php
thinkphp/library/think/console/output/formatter/Style.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/output/question/Choice.php
thinkphp/library/think/console/output/question/Choice.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/output/question/Confirmation.php
thinkphp/library/think/console/output/question/Confirmation.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/output/descriptor/Console.php
thinkphp/library/think/console/output/descriptor/Console.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/output/driver/Console.php
thinkphp/library/think/console/output/driver/Console.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/output/driver/Buffer.php
thinkphp/library/think/console/output/driver/Buffer.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/console/output/driver/Nothing.php
thinkphp/library/think/console/output/driver/Nothing.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/session/driver/Redis.php
thinkphp/library/think/session/driver/Redis.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/session/driver/Memcache.php
thinkphp/library/think/session/driver/Memcache.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/session/driver/Memcached.php
thinkphp/library/think/session/driver/Memcached.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/view/driver/Think.php
thinkphp/library/think/view/driver/Think.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/view/driver/Php.php
thinkphp/library/think/view/driver/Php.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/paginator/driver/Bootstrap.php
thinkphp/library/think/paginator/driver/Bootstrap.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/template/TagLib.php
thinkphp/library/think/template/TagLib.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/template/taglib/Cx.php
thinkphp/library/think/template/taglib/Cx.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/template/driver/File.php
thinkphp/library/think/template/driver/File.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/config/driver/Json.php
thinkphp/library/think/config/driver/Json.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/config/driver/Xml.php
thinkphp/library/think/config/driver/Xml.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/config/driver/Ini.php
thinkphp/library/think/config/driver/Ini.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/log/driver/Socket.php
thinkphp/library/think/log/driver/Socket.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/log/driver/Test.php
thinkphp/library/think/log/driver/Test.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/log/driver/File.php
thinkphp/library/think/log/driver/File.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/response/Jsonp.php
thinkphp/library/think/response/Jsonp.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/response/Json.php
thinkphp/library/think/response/Json.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/response/Redirect.php
thinkphp/library/think/response/Redirect.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/response/Xml.php
thinkphp/library/think/response/Xml.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/response/View.php
thinkphp/library/think/response/View.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/debug/Console.php
thinkphp/library/think/debug/Console.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/think/debug/Html.php
thinkphp/library/think/debug/Html.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/traits/controller/Jump.php
thinkphp/library/traits/controller/Jump.php
<?php /** * 用法: * load_trait('controller/Jump'); * class index * { * use \traits\controller\Jump; * public function index(){ * $this->error(); * $this->redirect(); * } * } */ namespace traits\controller; use think\Config; use think\exception\HttpResponseException; use think\Reque...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/traits/model/SoftDelete.php
thinkphp/library/traits/model/SoftDelete.php
<?php namespace traits\model; use think\Collection; use think\db\Query; use think\Model; /** * @mixin \Think\Model */ trait SoftDelete { /** * 判断当前实例是否被软删除 * @access public * @return boolean */ public function trashed() { $field = $this->getDeleteTimeField(); if ($f...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/thinkphp/library/traits/think/Instance.php
thinkphp/library/traits/think/Instance.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/admin.php
public/admin.php
<?php // [ 应用入口文件 ] namespace think; //单入口模式 define('APP_NAME', 'admin'); define('APP_PATH', __DIR__ . '/../application/'); if(!is_file('db.php')){ header('Location: ./install/index.php'); exit; } /** * 系统调试设置 * 项目正式部署后请设置为false */ //define('APP_DEBUG', 'true'); require __DIR__ . '/../thinkphp/base.php'; // 绑定...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/index.php
public/index.php
<?php //超级外卖2.0光棍节版20141111 /** * 定义核心库地址 */ //define('APP_NAME', 'web'); /** * 应用目录设置 * 安全期间,建议安装调试完成后移动到非WEB目录 */ define('APP_PATH', __DIR__ . '/../application/'); /** * 缓存目录设置 * 此目录必须可写,建议移动到非WEB目录 */ //define('RUNTIME_PATH', './data/'); //define('TMPL_PATH', './templates/'); // 判断是否安装waimai if (!is_fil...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/install.php
public/install.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/ueditor/php/imageUp.php
public/static/ueditor/php/imageUp.php
<?php /** * Created by JetBrains PhpStorm. * User: taoqili * Date: 12-7-18 * Time: 上午10:42 */ header("Content-Type: text/html; charset=utf-8"); error_reporting(E_ERROR | E_WARNING); date_default_timezone_set("Asia/chongqing"); include "Uploader.class.php"; //上传图片框中的描述...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/ueditor/php/getMovie.php
public/static/ueditor/php/getMovie.php
<?php /** * Created by JetBrains PhpStorm. * User: taoqili * Date: 12-2-19 * Time: 下午10:44 * To change this template use File | Settings | File Templates. */ error_reporting(E_ERROR|E_WARNING); $key =htmlspecialchars($_POST["searchKey"]); $type = htmlspecialchars($_POST["vi...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/ueditor/php/scrawlUp.php
public/static/ueditor/php/scrawlUp.php
<?php header("Content-Type:text/html;charset=utf-8"); error_reporting( E_ERROR | E_WARNING ); include "Uploader.class.php"; //上传配置 $config = array( "savePath" => "upload/" , //存储文件夹 "maxSize" => 1000 , //允许的文件最大尺寸,单位KB "allowFiles" => array( ".gi...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/ueditor/php/getContent.php
public/static/ueditor/php/getContent.php
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <script src="../ueditor.parse.js" type="text/javascript"></script> <script> uParse('.content',{ 'rootPath': '../' }) </script> <?php //获取数据 error_reporting(E_ERROR|E_WARNING); $content = htmlspecialchars(stripslashes($_POS...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/ueditor/php/config.php
public/static/ueditor/php/config.php
<?php return array( //图片上传允许的存储目录 'imageSavePath' => array ( '../../uploads/pimg', 'upload2', 'upload3' ) );
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/ueditor/php/Uploader.class.php
public/static/ueditor/php/Uploader.class.php
<?php /** * Created by JetBrains PhpStorm. * User: taoqili * Date: 12-7-18 * Time: 上午11: 32 * UEditor编辑器通用上传类 */ class Uploader { private $fileField; //文件域名 private $file; //文件上传对象 private $config; //配置信息 private $oriName; //原始文件名 private $...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/ueditor/php/getRemoteImage.php
public/static/ueditor/php/getRemoteImage.php
<?php /** * Created by JetBrains PhpStorm. * User: taoqili * Date: 11-12-28 * Time: 上午9:54 * To change this template use File | Settings | File Templates. */ header("Content-Type: text/html; charset=utf-8"); error_reporting(E_ERROR|E_WARNING); //远程抓取图片配置 $config = array...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/ueditor/php/imageManager.php
public/static/ueditor/php/imageManager.php
<?php /** * Created by JetBrains PhpStorm. * User: taoqili * Date: 12-1-16 * Time: 上午11:44 * To change this template use File | Settings | File Templates. */ header("Content-Type: text/html; charset=utf-8"); error_reporting( E_ERROR | E_WARNING ); //需要遍历的目录列表,最好使用缩略图地址,否则当...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/ueditor/php/fileUp.php
public/static/ueditor/php/fileUp.php
<?php /** * Created by JetBrains PhpStorm. * User: taoqili * Date: 12-7-26 * Time: 上午10:32 */ header("Content-Type: text/html; charset=utf-8"); error_reporting( E_ERROR | E_WARNING ); include "Uploader.class.php"; //上传配置 $config = array( "savePath" => "upload/" ,...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/install/config.php
public/static/install/config.php
<?php /** * 配置文件 */ return array( 'DB_TYPE' => 'mysql', 'DB_HOST' => '#DB_HOST#', 'DB_NAME' => '#DB_NAME#', 'DB_USER' => '#DB_USER#', 'DB_PWD' => '#DB_PWD#', 'DB_PORT' => '#DB_PORT#', 'DB_PREFIX' => '#DB_PREFIX#', //cookies "COOKIE_PREFIX" => '#COOKIE_PREFIX#', ); ?>
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/install/index.php
public/static/install/index.php
<?php if (file_exists('./install.lock')) { echo ' <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> </head> <body> 你已经安装过该系统,如果想重新安装,请先删除站点install目录下的 install.lock 文件,然后再安装。 </body> </html>'; exit; } @set_time_limit(1000...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/install/templates/footer.php
public/static/install/templates/footer.php
<div class="footer"> &copy; 2012-2013 <a href="http://www.bijiadao.net" target="_blank">www.bijiadao.net</a> && SUPERCMS  简单实用 </div>
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/install/templates/s3.php
public/static/install/templates/s3.php
<!doctype html> <html> <head> <meta charset="UTF-8" /> <title><?php echo $Title; ?> - <?php echo $Powered; ?></title> <link rel="stylesheet" href="./css/install.css?v=9.0" /> </head> <body> <div class="wrap"> <?php require './templates/header.php';?> <section class="section"> <div class="step"> <ul> ...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/install/templates/s4.php
public/static/install/templates/s4.php
<!doctype html> <html> <head> <meta charset="UTF-8" /> <title><?php echo $Title; ?> - <?php echo $Powered; ?></title> <link rel="stylesheet" href="./css/install.css?v=9.0" /> <script src="./js/jquery.js?v=9.0"></script> </head> <body> <div class="wrap"> <?php require './templates/header.php';?> <section class="sec...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/install/templates/s2.php
public/static/install/templates/s2.php
<!doctype html> <html> <head> <meta charset="UTF-8" /> <title><?php echo $Title; ?> - <?php echo $Powered; ?></title> <link rel="stylesheet" href="./css/install.css?v=9.0" /> </head> <body> <div class="wrap"> <?php require './templates/header.php';?> <section class="section"> <div class="step"> <ul> ...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/install/templates/header.php
public/static/install/templates/header.php
<div class="header"> <h1 class="logo">logo</h1> <div class="icon_install">安装向导</div> <div class="version"><a style="color:#fff" href="http://www.bijiadao.net">官网支持>></a>:<?php echo SIMPLEWIND_CMF_VERSION;?></div> </div>
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/install/templates/s1.php
public/static/install/templates/s1.php
<!doctype html> <html> <head> <meta charset="UTF-8" /> <title><?php echo $Title; ?> - <?php echo $Powered; ?></title> <link rel="stylesheet" href="./css/install.css?v=9.0" /> </head> <body> <div class="wrap"> <?php require './templates/header.php';?> <div class="section"> <div class="main cc"> <pre class=...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/public/static/install/templates/s5.php
public/static/install/templates/s5.php
<!doctype html> <html> <head> <meta charset="UTF-8" /> <title><?php echo $Title; ?> - <?php echo $Powered; ?></title> <link rel="stylesheet" href="./css/install.css?v=9.0" /> <script src="js/jquery.js"></script> </head> <body> <div class="wrap"> <?php require './templates/header.php';?> <section class="section"> ...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/common.php
application/common.php
<?php // 异常错误报错级别, // error_reporting(E_ERROR | E_PARSE );
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/database.php
application/database.php
<?php // //// +---------------------------------------------------------------------- //// | ThinkPHP [ WE CAN DO IT JUST THINK ] //// +---------------------------------------------------------------------- //// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved. //// +------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/config.php
application/config.php
<?php // //$config = require './db.php'; // //$array =array( // //'配置项'=>'配置值' // // // 应用调试模式 // 'app_debug' => true, // // 应用Trace // 'app_trace' => true, // // // 'LOG_RECORD' => true, // 开启日志记录 // 'SHOW_PAGE_TRACE' =>true, // 'TOKEN_ON'=>true, // 是否开启令牌验证 // 'TOKEN_NAME'=>'__h...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/common.php
application/index/common.php
<?php // 异常错误报错级别, error_reporting(E_ERROR | E_PARSE );
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/database.php
application/index/database.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved. // +------------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/AddressAction.class.php
application/index/controller/AddressAction.class.php
<?php // 地址管理 class AddressAction extends CommonAction { public function index(){ if (!$_SESSION['user_id']){ $this->redirect(U('Public/login')); } $data['uid']=session('user_id'); $Faddress=M('Faddress'); $adlist=$Faddress->where($data)->order('addtop desc,faddid desc')->sele...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/Common.php
application/index/controller/Common.php
<?php namespace app\index\Controller; // 后台共用文件,写得有点乱啊。请多多包涵吧。 use think\Controller; class Common extends Controller { function _initialize() { import('ORG.Net.UploadFile'); import("ORG.Util.Category"); $this->assign('webtitle',config('web_title')); if (isset($_SESSION['admin_key'])){ $this->redirect(U('...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/MessageAction.class.php
application/index/controller/MessageAction.class.php
<?php // 用户在线留言显示 //用户在线发布留言 class MessageAction extends CommonAction { public function index(){ $Message=M('Message'); import('ORG.Util.Page');// 导入分页类 $count = $Message->count();// 查询满足要求的总记录数 $Page = new Page($count,10);// 实例化分页类 传入总记录数和每页显示的记录数 $show = $Page->show...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/MemberAction.class.php
application/index/controller/MemberAction.class.php
<?php // 本类由系统自动生成,仅供测试用途 //单店铺无会员注册 // class MemberAction extends CommonAction { //会员中心页 public function index(){ if (!$_SESSION['user_id']){ $this->redirect(U('Public/login')); } $data['uid']=session('user_id'); $gid=$_GET['gid']; session('gid',$gid); //积分数 $usercred...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/EmptyAction.class.php
application/index/controller/EmptyAction.class.php
<?php class EmptyAction extends Action{ public function _empty($name){ //把所有城市的操作解析到city方法 $this->display('Public:404'); } }
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/MembersAction.class.php
application/index/controller/MembersAction.class.php
<?php // 本类由系统自动生成,仅供测试用途 //单店铺无会员注册 // class MembersAction extends CommonAction { //会员中心页 public function index(){ $this->display(); } //订单查询页 public function search(){ $this->display(); } public function _empty($name){ //把所有城市的操作...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/ArticleAction.class.php
application/index/controller/ArticleAction.class.php
<?php // 本类由系统自动生成,仅供测试用途 class ArticleAction extends CommonAction { public function l(){ $rid = $this->_get('id'); $Articlecat=M('Article_cat'); $con['acid']=$rid; $aresult=$Articlecat->where($con)->find(); $Article=M('Article'); $map['acid']=$aresult["acid"]; import('ORG.Util.Page');// 导入分页类 ...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/ListAction.class.php
application/index/controller/ListAction.class.php
<?php //列表页 // // // class ListAction extends CommonAction { //商品列表页 public function index(){ $data['fcid']=I('id');//店铺分类 $Foodcat=D('Foodcat'); $foodcatlist=$Foodcat->select(); $this->assign('foodcatlist',$foodcatlist);//输出订单号 $catitem=$Foodcat->where($data)->find(); $this->assign('ca...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/CartAction.class.php
application/index/controller/CartAction.class.php
<?php /*购物车模块 *@超级外卖20140406 *@www.bijiadao.net *@ *@ */ class CartAction extends CommonAction { function _initialize() { parent::_initialize(); header("Content-Type:text/html; charset=utf-8"); } public function index(){ $uuid=session('user_id'); if ($uuid){ //提取地址列表...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/ProductAction.class.php
application/index/controller/ProductAction.class.php
<?php // 后台开启动单品单独页 // // // class ProductAction extends CommonAction { //商品单独页面 public function index(){ $data['fid']=I('id');//店铺分类 $Food=M('Food'); $fooditem=$Food->where($data)->find(); $this->assign('fooditem',$fooditem); $this->display(); } }
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/GiftAction.class.php
application/index/controller/GiftAction.class.php
<?php /*积分礼品列表页 *@积分礼品详情页 *@积分兑换 *@ *@ */ class GiftAction extends CommonAction { /*公用:此用户有多少积分 */ /*积分礼品列表页 */ public function index(){ $Creditgood=M('Creditgood'); $giftlist=$Creditgood->select(); $this->assign('giftlist',$giftlist); $this->display(); } /*积分礼品列表页 */ public functi...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/PageAction.class.php
application/index/controller/PageAction.class.php
<?php // 本类由系统自动生成,仅供测试用途 class PageAction extends CommonAction { public function i(){ $rid = I('id'); $Pages=M('Pages'); $con['pagedir']=$rid; $item=$Pages->where($con)->find(); $list=$Pages->select(); $this->assign('item',$item); $this->assign('list',$list); $this->display('index'); } ...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/CommonAction.class.php
application/index/controller/CommonAction.class.php
<?php /* */ //Start code decryption<<=== eval(base64_decode('JE8wME9PMD11cmxkZWNvZGUoIiU2RTElN0ElNjIlMkYlNkQlNjE1JTVDJTc2JTc0MCU2OTI4JTJEJTcwJTc4JTc1JTcxJTc5JTJBNiU2QyU3MiU2QiU2NCU2NzklNUYlNjUlNjglNjMlNzMlNzclNkY0JTJCJTY2MzclNkEiKTskTzAwTzBPPSRPMDBPTzB7M30uJE8wME9PMHs2fS4kTzAwT08wezMzfS4kTzAwT08wezMwfTskTzBPTzAwPSRPM...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/Index.php
application/index/controller/Index.php
<?php namespace app\index\Controller; use app\index\controller\Common; // 本版本为20140401版本,需要支付功能请联系QQ:87297326 class Index extends Common { public function index() { $Food = db('Food'); $foodlist = $Food->limit(15)->order('fid desc')->where('status=0')->select(); $this->assign('foo...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/controller/PublicAction.class.php
application/index/controller/PublicAction.class.php
<?php // 登录文件 //超级外卖:20140406 class PublicAction extends CommonAction { public function header(){ $this->display(); } public function head(){ $this->display(); } public function foot(){ $this->display(); } public function _mpty($name){ //把所有城市的操作解析到city方法 $this->display('Public:404'); } Publi...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/Event/TypeEvent.class.php
application/index/Event/TypeEvent.class.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/Model/ArticleViewModel.class.php
application/index/Model/ArticleViewModel.class.php
<?php /**后台管理员视图模型 */ class ArticleViewModel extends ViewModel { public $viewFields = array( 'Article'=>array('*'), 'Article_cat'=>array('*', '_on'=>'Article_cat.acid=Article.acid'), ); } ?>
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/Model/FoodViewModel.class.php
application/index/Model/FoodViewModel.class.php
<?php /**后台管理员视图模型 */ class FoodViewModel extends ViewModel { public $viewFields = array( 'Food'=>array('*'), 'Foodcat'=>array('fcname', '_on'=>'Foodcat.fcid=Food.fcid'), ); } ?>
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/Model/FoodcatModel.class.php
application/index/Model/FoodcatModel.class.php
<?php /**后台管理员视图模型 */ class FoodcatModel extends RelationModel{ protected $_link = array( 'Food'=>array( 'mapping_type' =>HAS_MANY, 'class_name'=>'Food', 'foreign_key'=>'fcid', ), ); } ?>
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/Model/FoodorderModel.class.php
application/index/Model/FoodorderModel.class.php
<?php /**后台管理员视图模型 */ class FoodorderModel extends RelationModel{ protected $_link = array( 'Foodorderext'=>array( 'mapping_type' =>HAS_MANY, 'class_name'=>'Foodorderext', 'foreign_key'=>'oid', ), ); } ?>
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/Conf/config.php
application/index/Conf/config.php
<?php $config = require './db.php'; $array =array( //'配置项'=>'配置值' // 应用调试模式 'app_debug' => true, // 应用Trace 'app_trace' => true, 'LOG_RECORD' => true, // 开启日志记录 'SHOW_PAGE_TRACE' =>true, 'TOKEN_ON'=>true, // 是否开启令牌验证 'TOKEN_NAME'=>'__hash__', // 令牌验证的表单隐藏字段名称 'TOKEN...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false
caokang/waimai
https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/Common/common.php
application/index/Common/common.php
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
php
MIT
2e42aa8f823c722fab4e24c8b2ce8c69814286ad
2026-01-05T04:26:54.692335Z
false