删除runtime下文件 修改vendor文件夹

master
大帅比 2022-10-24 04:10:00 +00:00
parent 56b25ea84c
commit 7348976b3c
457 changed files with 3546 additions and 140877 deletions

1
public/.user.ini Normal file
View File

@ -0,0 +1 @@
open_basedir=/data/wwwroot/www.lightcourse.com/:/tmp/

View File

@ -1 +0,0 @@
[2022-02-18T11:43:12+08:00][error] [8]未定义数组索引: article_comment[/www/wwwroot/lianke.keyutest.com/runtime/admin/temp/676347ac6a9f85da2d5063b5988294d5.php:132]

View File

@ -1,5 +0,0 @@
[2022-02-24T15:51:14+08:00][error] [8]未定义数组索引: group_content[/www/wwwroot/lianke.keyutest.com/runtime/admin/temp/6374e29d31d3020e20aacace137dc8f5.php:146]
[2022-02-24T15:52:09+08:00][error] [8]未定义数组索引: group_content[/www/wwwroot/lianke.keyutest.com/runtime/admin/temp/6374e29d31d3020e20aacace137dc8f5.php:146]
[2022-02-24T15:52:50+08:00][error] [8]未定义数组索引: group_content[/www/wwwroot/lianke.keyutest.com/runtime/admin/temp/6374e29d31d3020e20aacace137dc8f5.php:146]
[2022-02-24T15:52:51+08:00][error] [8]未定义数组索引: group_content[/www/wwwroot/lianke.keyutest.com/runtime/admin/temp/6374e29d31d3020e20aacace137dc8f5.php:146]
[2022-02-24T15:52:52+08:00][error] [8]未定义数组索引: group_content[/www/wwwroot/lianke.keyutest.com/runtime/admin/temp/6374e29d31d3020e20aacace137dc8f5.php:146]

View File

@ -1,3 +0,0 @@
[2022-03-09T14:19:15+08:00][error] [8]未定义数组索引: our_wish[/www/wwwroot/lianke.keyutest.com/runtime/admin/temp/5c8cbd535fa3184e507b47c263ba281b.php:238]
[2022-03-09T14:20:05+08:00][error] [8]未定义数组索引: our_wish[/www/wwwroot/lianke.keyutest.com/runtime/admin/temp/5c8cbd535fa3184e507b47c263ba281b.php:238]
[2022-03-09T14:21:33+08:00][error] [8]未定义数组索引: our_wish[/www/wwwroot/lianke.keyutest.com/runtime/admin/temp/5c8cbd535fa3184e507b47c263ba281b.php:238]

View File

@ -1,24 +0,0 @@
[2022-03-14T00:58:50+08:00][error] [4]没有文件被上传![/www/wwwroot/lianke.keyutest.com/vendor/topthink/framework/src/think/Request.php:1209]
[2022-03-14T16:57:43+08:00][error] [0]Class 'app\admin\controller\Google_Client' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:29]
[2022-03-14T17:01:27+08:00][error] [0]Class 'Google_Client' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:32]
[2022-03-14T17:02:17+08:00][error] [0]Class 'Google_Client' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:32]
[2022-03-14T17:03:25+08:00][error] [0]Class 'Google_Client' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:33]
[2022-03-14T17:03:26+08:00][error] [0]Class 'Google_Client' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:33]
[2022-03-14T17:04:45+08:00][error] [2]Class 'Google\Client' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:04:57+08:00][error] [2]Class 'Google\Client' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:05:03+08:00][error] [2]Class 'Google\Client' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:05:03+08:00][error] [2]Class 'Google\Client' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:05:20+08:00][error] [2]Class 'Google\Client' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:09:10+08:00][error] [2]Class 'Google\Client' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:10:48+08:00][error] [2]Class 'Google\Client' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:10:50+08:00][error] [2]Class 'Google\Client' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:11:56+08:00][error] [2]Class 'Google\Client' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:11:57+08:00][error] [2]Class 'Google\Client' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:18:45+08:00][error] [2]Class 'Google\Client' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:19:21+08:00][error] [2]Class 'Google\Client' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:19:32+08:00][error] [0]Class 'Google_Client' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:33]
[2022-03-14T17:19:41+08:00][error] [2]Class 'Google\Client' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:20:18+08:00][error] [2]Class 'Google\Service' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:20:33+08:00][error] [2]Class 'Google\AccessToken\Revoke' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:21:35+08:00][error] [2]Class 'Google\AccessToken\Verify' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-14T17:23:32+08:00][error] [2]Class 'Google\Model' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]

View File

@ -1,77 +0,0 @@
[2022-03-15T09:52:07+08:00][error] [2]Class 'Google\AuthHandler\Guzzle5AuthHandler' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-15T09:53:06+08:00][error] [2]Class 'Google\Collection' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-15T09:53:07+08:00][error] [2]Class 'Google\Collection' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-15T09:55:00+08:00][error] [2]Class 'Google\Service\Resource' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-15T09:55:42+08:00][error] [2]Class 'Google\Service\Resource' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-15T09:55:43+08:00][error] [2]Class 'Google\Service\Resource' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/aliases.php:33]
[2022-03-15T09:57:09+08:00][error] [0]Class 'app\admin\controller\Google_Service_AnalyticsReporting' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:65]
[2022-03-15T10:00:35+08:00][error] [0]Class 'Google_Service_AnalyticsReporting' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:67]
[2022-03-15T11:08:09+08:00][error] [0]Class 'Google_Service_AnalyticsReporting' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:67]
[2022-03-15T11:09:39+08:00][error] [0]Class 'Google\Service\AnalyticsReporting\Resource\Reports' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient-services/src/AnalyticsReporting.php:63]
[2022-03-15T11:13:14+08:00][error] [0]Class 'Google\Service\AnalyticsReporting\Resource\UserActivity' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient-services/src/AnalyticsReporting.php:77]
[2022-03-15T11:26:56+08:00][error] [0]Call to undefined function app\admin\controller\getReport()[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:111]
[2022-03-15T11:27:06+08:00][error] [8]未定义变量: analytics[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:111]
[2022-03-15T11:27:37+08:00][error] [0]Class 'app\admin\controller\Google_Service_AnalyticsReporting_DateRange' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:90]
[2022-03-15T11:29:16+08:00][error] [0]Class 'app\admin\controller\Google_Service_AnalyticsReporting_DateRange' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:91]
[2022-03-15T11:29:17+08:00][error] [0]Class 'app\admin\controller\Google_Service_AnalyticsReporting_DateRange' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:91]
[2022-03-15T11:29:50+08:00][error] [0]Class 'app\admin\controller\Google_Service_AnalyticsReporting_DateRange' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:91]
[2022-03-15T11:30:15+08:00][error] [0]Class 'app\admin\controller\Google_Service_AnalyticsReporting_Metric' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:97]
[2022-03-15T11:31:02+08:00][error] [0]Class 'app\admin\controller\Google_Service_AnalyticsReporting_ReportRequest' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:104]
[2022-03-15T11:32:14+08:00][error] [0]Class 'app\admin\controller\Google_Service_AnalyticsReporting_GetReportsRequest' not found[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Google.php:111]
[2022-03-15T11:33:19+08:00][error] [0]Class 'Monolog\Logger' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/Client.php:1132]
[2022-03-15T11:44:07+08:00][error] [0]Class 'Monolog\Logger' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/Client.php:1132]
[2022-03-15T11:44:40+08:00][error] [0]Class 'Monolog\Logger' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/Client.php:1132]
[2022-03-15T11:45:33+08:00][error] [0]Class 'Monolog\Logger' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/Client.php:1132]
[2022-03-15T11:45:33+08:00][error] [0]Class 'Monolog\Logger' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/Client.php:1132]
[2022-03-15T11:57:13+08:00][error] [0]Class 'Monolog\Handler\StreamHandler' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/Client.php:1136]
[2022-03-15T12:01:10+08:00][error] [0]Class 'Monolog\Utils' not found[/www/wwwroot/lianke.keyutest.com/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:49]
[2022-03-15T12:01:36+08:00][error] [0]Class 'Google\Auth\Cache\MemoryCacheItemPool' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/Client.php:1145]
[2022-03-15T12:02:46+08:00][error] [0]Class 'Google\Auth\CredentialsLoader' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/Client.php:1231]
[2022-03-15T12:04:48+08:00][error] [0]Class 'Google\Auth\Credentials\ServiceAccountCredentials' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/CredentialsLoader.php:155]
[2022-03-15T12:07:49+08:00][error] [0]Class 'Google\Auth\OAuth2' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/Credentials/ServiceAccountCredentials.php:150]
[2022-03-15T12:08:20+08:00][error] [0]Class 'GuzzleHttp\Psr7\Utils' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1373]
[2022-03-15T12:09:35+08:00][error] [0]Class 'GuzzleHttp\Psr7\Utils' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1373]
[2022-03-15T12:09:35+08:00][error] [0]Class 'GuzzleHttp\Psr7\Utils' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1373]
[2022-03-15T12:09:36+08:00][error] [0]Class 'GuzzleHttp\Psr7\Utils' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1373]
[2022-03-15T12:09:36+08:00][error] [0]Class 'GuzzleHttp\Psr7\Utils' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1373]
[2022-03-15T12:09:37+08:00][error] [0]Class 'GuzzleHttp\Psr7\Utils' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1373]
[2022-03-15T12:09:37+08:00][error] [0]Class 'GuzzleHttp\Psr7\Utils' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1373]
[2022-03-15T12:09:46+08:00][error] [0]Class 'GuzzleHttp\Psr7\Utils' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1373]
[2022-03-15T12:09:46+08:00][error] [0]Class 'GuzzleHttp\Psr7\Utils' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1373]
[2022-03-15T12:11:50+08:00][error] [0]Class 'GuzzleHttp\Psr7\Utils' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1373]
[2022-03-15T12:11:51+08:00][error] [0]Class 'GuzzleHttp\Psr7\Utils' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1373]
[2022-03-15T12:23:34+08:00][error] [0]Class 'GuzzleHttp\Psr7\Utils' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1373]
[2022-03-15T12:24:35+08:00][error] [0]Class 'Google\Auth\FetchAuthTokenCache' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/Client.php:1260]
[2022-03-15T12:26:43+08:00][error] [0]Class 'Google\Auth\HttpHandler\HttpHandlerFactory' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/AuthHandler/Guzzle6AuthHandler.php:55]
[2022-03-15T12:27:12+08:00][error] [0]Class 'Google\Auth\HttpHandler\Guzzle6HttpHandler' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/HttpHandler/HttpHandlerFactory.php:46]
[2022-03-15T12:27:24+08:00][error] [0]Class 'Google\Auth\Middleware\AuthTokenMiddleware' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/apiclient/src/AuthHandler/Guzzle6AuthHandler.php:56]
[2022-03-15T12:27:43+08:00][error] [0]Class 'Google\Auth\Cache\Item' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/Cache/MemoryCacheItemPool.php:54]
[2022-03-15T12:28:01+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T12:30:48+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T12:31:42+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T12:37:35+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T12:37:36+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T12:37:36+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T12:37:37+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T12:37:37+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T12:37:46+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T12:37:57+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T12:38:32+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T12:38:33+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T12:38:34+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T13:05:20+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T13:40:19+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T13:41:53+08:00][error] [0]Class 'JWT' not found[/www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php:1402]
[2022-03-15T13:43:06+08:00][error] [0]语法错误: unexpected 'int' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)[/www/wwwroot/lianke.keyutest.com/vendor/firebase/src/JWT.php:40]
[2022-03-15T13:43:59+08:00][error] [0]语法错误: unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)[/www/wwwroot/lianke.keyutest.com/vendor/firebase/src/JWT.php:45]
[2022-03-15T13:44:07+08:00][error] [0]语法错误: unexpected '|', expecting variable (T_VARIABLE)[/www/wwwroot/lianke.keyutest.com/vendor/firebase/src/JWT.php:80]
[2022-03-15T13:44:24+08:00][error] [0]语法错误: unexpected '|', expecting variable (T_VARIABLE)[/www/wwwroot/lianke.keyutest.com/vendor/firebase/src/JWT.php:173]
[2022-03-15T13:44:41+08:00][error] [0]语法错误: unexpected '|', expecting variable (T_VARIABLE)[/www/wwwroot/lianke.keyutest.com/vendor/firebase/src/JWT.php:210]
[2022-03-15T13:44:50+08:00][error] [0]语法错误: unexpected '|', expecting variable (T_VARIABLE)[/www/wwwroot/lianke.keyutest.com/vendor/firebase/src/JWT.php:271]
[2022-03-15T13:45:02+08:00][error] [0]语法错误: unexpected '|', expecting ';' or '{'[/www/wwwroot/lianke.keyutest.com/vendor/firebase/src/JWT.php:346]
[2022-03-15T13:45:16+08:00][error] [0]语法错误: unexpected '|', expecting ';' or '{'[/www/wwwroot/lianke.keyutest.com/vendor/firebase/src/JWT.php:369]
[2022-03-15T13:45:34+08:00][error] [0]Argument 2 passed to Firebase\JWT\JWT::encode() must be of the type array, string given, called in /www/wwwroot/lianke.keyutest.com/vendor/google/auth/src/OAuth2.php on line 1398[/www/wwwroot/lianke.keyutest.com/vendor/firebase/src/JWT.php:171]
[2022-03-15T13:46:40+08:00][error] [0]Argument 2 passed to Firebase\JWT\JWT::sign() must be of the type array, string given, called in /www/wwwroot/lianke.keyutest.com/vendor/firebase/src/JWT.php on line 190[/www/wwwroot/lianke.keyutest.com/vendor/firebase/src/JWT.php:208]
[2022-03-15T20:35:05+08:00][error] [8]未定义数组索引: pro_accommodation_image[/www/wwwroot/lianke.keyutest.com/app/admin/controller/Goodsclass.php:277]
[2022-03-15T20:35:36+08:00][error] [8]未定义数组索引: pro_accommodation[/www/wwwroot/lianke.keyutest.com/runtime/admin/temp/25e46d2463eff838a82e6a88f1353aa9.php:370]
[2022-03-15T20:41:24+08:00][error] [0]Call to undefined function build_editor_2()[/www/wwwroot/lianke.keyutest.com/runtime/admin/temp/25e46d2463eff838a82e6a88f1353aa9.php:413]

View File

@ -1 +0,0 @@
[2022-03-19T07:53:14+08:00][error] [8]未定义数组索引: our_wish_en[/www/wwwroot/lianke.keyutest.com/runtime/admin/temp/5c8cbd535fa3184e507b47c263ba281b.php:247]

View File

@ -1 +0,0 @@
[2022-04-08T22:22:40+08:00][error] [0]Call to undefined function our_wish()[/www/wwwroot/lianke.keyutest.com/runtime/admin/temp/5c8cbd535fa3184e507b47c263ba281b.php:238]

View File

@ -1,4 +0,0 @@
[2022-05-03T18:13:42+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'pro_overview' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]
[2022-05-03T18:14:12+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'pro_overview' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]
[2022-05-03T18:14:29+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'pro_accommodation' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]
[2022-05-03T18:14:45+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'pro_accommodation' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]

View File

@ -1 +0,0 @@
[2022-05-11T07:59:32+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'pro_desc' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]

View File

@ -1,2 +0,0 @@
[2022-05-13T11:33:34+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'article_desc' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]
[2022-05-13T11:37:14+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'article_desc' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]

View File

@ -1,3 +0,0 @@
[2022-05-17T13:20:44+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'article_title' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]
[2022-05-17T13:37:30+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'article_content' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]
[2022-05-17T13:40:47+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'article_content' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]

View File

@ -1,2 +0,0 @@
[2022-05-26T05:56:19+08:00][error] [10500]数据表字段不存在:[is_enroll][/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/Builder.php:164]
[2022-05-26T05:57:48+08:00][error] [10500]数据表字段不存在:[is_enroll][/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/Builder.php:164]

View File

@ -1,2 +0,0 @@
[2022-05-27T08:49:04+08:00][error] [10501]SQLSTATE[42S02]: Base table or view not found: 1146 Table 'light_haix_cn.lk_orders' doesn't exist[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]
[2022-05-27T08:49:21+08:00][error] [10501]SQLSTATE[42S22]: Column not found: 1054 Unknown column 'buyer_id' in 'where clause'[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]

View File

@ -1,4 +0,0 @@
[2022-06-23T11:22:29+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'article_desc' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]
[2022-06-23T11:45:12+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'article_desc' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]
[2022-06-23T11:45:52+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'article_desc' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]
[2022-06-23T11:46:42+08:00][error] [10501]SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'article_desc' at row 1[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]

View File

@ -1 +0,0 @@
[2022-08-10T20:47:20+08:00][error] [10501]SQLSTATE[HY000]: General error: 1364 Field 'pro_big' doesn't have a default value[/www/wwwroot/light.haix.cn/vendor/topthink/think-orm/src/db/PDOConnection.php:722]

View File

@ -1,121 +0,0 @@
<?php /*a:3:{s:63:"/www/wwwroot/www.lightcourse.com/app/admin/view/spec/index.html";i:1594017460;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>规格管理</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('spec_index_tip1')); ?></li>
<li><?php echo htmlentities(lang('spec_index_tip2')); ?></li>
<li><?php echo htmlentities(lang('spec_index_tip3')); ?></li>
</ul>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('sp_name')); ?></dt>
<dd><input type="text" value="<?php echo htmlentities((app('request')->get('sp_name') ?: '')); ?>" name="sp_name" id="sp_name" class="txt"></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('gc_name')); ?></dt>
<dd><input type="text" value="<?php echo htmlentities((app('request')->get('gc_name') ?: '')); ?>" name="gc_name" id="gc_name" class="txt"></dd>
</dl>
<div class="btn_group">
<input type="hidden" name="type" value="<?php echo htmlentities(app('request')->param('type')); ?>">
<a href="javascript:void(0);" id="dssubmit" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<a href="<?php echo url('spec/index',['type'=>app('request')->param('type')]); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
</div>
</div>
</form>
<table class="ds-default-table">
<thead>
<tr>
<th><?php echo htmlentities(lang('sp_id')); ?></th>
<th><?php echo htmlentities(lang('sp_name')); ?></th>
<th><?php echo htmlentities(lang('gc_name')); ?></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(is_array($spec_list) || $spec_list instanceof \think\Collection || $spec_list instanceof \think\Paginator): if( count($spec_list)==0 ) : echo "" ;else: foreach($spec_list as $key=>$spec): ?>
<tr>
<td><?php echo htmlentities($spec['sp_id']); ?></td>
<td><?php echo htmlentities($spec['sp_name']); ?></td>
<td><?php echo htmlentities($spec['gc_name']); ?></td>
<td>
<a href="javascript:dsLayerOpen('<?php echo url('Spec/spec_edit',['sp_id'=>$spec['sp_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($spec['sp_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<?php if($spec['sp_id'] != 1): ?>
<a href="javascript:dsLayerConfirm('<?php echo url('Spec/spec_drop',['sp_id'=>$spec['sp_id']]); ?>','您确定删除此规格')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
<?php endif; ?>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>
<script>
$('#dssubmit').click(function(){
$('#formSearch').submit();
});
</script>

View File

@ -1,124 +0,0 @@
<?php /*a:2:{s:64:"/www/wwwroot/light.haix.cn/app/admin/view/notice/notice_add.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-empty"></div>
<form id="notice_form" method="POST">
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td class="required w120"><label><?php echo htmlentities(lang('notice_index_send_type')); ?>: </label></td>
<td class="vatop rowform"><ul class="nofloat">
<li>
<label><input type="radio" checked="" value="1" name="send_type"><?php echo htmlentities(lang('notice_index_spec_member')); ?></label>
</li>
<li>
<label><input type="radio" value="2" name="send_type" /><?php echo htmlentities(lang('notice_index_all_member')); ?></label>
</li>
</ul>
</td>
<td class="vatop tips"></td>
</tr>
</tbody>
<tbody id="user_list">
<tr class="noborder">
<td class="required"><label class="validation" for="user_name"><?php echo htmlentities(lang('notice_index_member_list')); ?>: </label></td>
<td class="vatop rowform"><textarea id="user_name" name="user_name" rows="6" class="tarea" ><?php echo str_replace(' ','+',app('request')->param('member_name')); ?></textarea></td>
<td class="vatop tips"><?php echo htmlentities(lang('notice_index_member_tip')); ?></td>
</tr>
</tbody>
<tbody id="msg">
<tr class="noborder">
<td class="required"><label class="validation"><?php echo htmlentities(lang('notice_index_content')); ?>: </label></td>
<td class="vatop rowform"><textarea name="content1" rows="6" class="tarea"></textarea></td>
<td></td>
</tr>
</tbody>
<tfoot>
<tr class="tfoot">
<td colspan="15"><input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
</tr>
</tfoot>
</table>
</form>
</div>
<script>
$(document).ready(function(){
$('#notice_form').validate({
errorPlacement: function(error, element){
error.appendTo(element.parent().parent().find('td:last'));
},
rules : {
user_name : {
required : check_user_name
},
content1 :{
required : true
}
},
messages : {
user_name :{
required : '<?php echo htmlentities(lang('notice_index_member_error')); ?>'
},
content1 :{
required : '<?php echo htmlentities(lang('notice_index_content_null')); ?>'
}
},
submitHandler: function(form) {
form.submit();
}
});
function check_user_name()
{
var rs = $(":input[name='send_type']:checked").val();
return rs == 1 ? true : false;
}
$("input[name='send_type']").click(function(){
var rs = $(this).val();
switch(rs)
{
case '1':
$('#user_list').show();
break;
case '2':
$('#user_list').hide();
break;
}
});
});
</script>

View File

@ -1,107 +0,0 @@
<?php /*a:3:{s:67:"/www/wwwroot/light.haix.cn/app/admin/view/upload/default_thumb.html";i:1609141930;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>上传设置</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="post" enctype="multipart/form-data" name="form1" action="">
<div class="ncap-form-default">
<dl>
<dt><?php echo htmlentities(lang('default_goods_image')); ?></dt>
<dd>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo ds_get_pic(ATTACH_COMMON,$list_config['default_goods_image']); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
</span>
<span class="type-file-box"><input type='text' name='textfield' id='textfield1' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="default_goods_image" type="file" class="type-file-file" id="default_goods_image" size="30" hidefocus="true" ds_type="change_default_goods_image">
</span>
<p class="notic">建议上传图片像素为 300px X 300px</p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('default_user_portrait')); ?></dt>
<dd>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo ds_get_pic(ATTACH_COMMON,$list_config['default_user_portrait']); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
</span>
<span class="type-file-box"><input type='text' name='textfield' id='textfield4' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="default_user_portrait" type="file" class="type-file-file" id="default_user_portrait" size="30" hidefocus="true" ds_type="change_default_user_portrait">
</span>
<p class="notic">128px * 128px</p>
</dd>
</dl>
<dl>
<dt></dt>
<dd><a href="JavaScript:void(0);" class="btn" onclick="document.form1.submit()">确认提交</a></dd>
</dl>
</div>
</form>
</div>
<script>
$(function(){
$("#default_goods_image").change(function () {
$("#textfield1").val($("#default_goods_image").val());
});
$("#default_user_portrait").change(function () {
$("#textfield4").val($("#default_user_portrait").val());
});
})
</script>

View File

@ -1,246 +0,0 @@
<?php /*a:3:{s:65:"/www/wwwroot/lianke.keyutest.com/app/admin/view/deliver/send.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_deliver')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="wrap">
<div class="step-title"><em><?php echo htmlentities(lang('deliver_first_step')); ?></em><?php echo htmlentities(lang('deliver_confirm_trade')); ?></div>
<form name="deliver_form" method="POST" id="deliver_form" action="<?php echo url('Deliver/send',['order_id'=>$order_info['order_id']]); ?>">
<input type="hidden" id="shipping_express_id" value="<?php echo htmlentities($order_info['extend_order_common']['shipping_express_id']); ?>"
name="shipping_express_id">
<input type="hidden" value="<?php echo htmlentities($order_info['extend_order_common']['reciver_name']); ?>" name="reciver_name" id="reciver_name">
<input type="hidden" value="<?php echo htmlentities($order_info['extend_order_common']['reciver_info']['area']); ?>" name="reciver_area" id="reciver_area">
<input type="hidden" value="<?php echo htmlentities($order_info['extend_order_common']['reciver_info']['street']); ?>" name="reciver_street" id="reciver_street">
<input type="hidden" value="<?php echo htmlentities($order_info['extend_order_common']['reciver_info']['mob_phone']); ?>" name="reciver_mob_phone"
id="reciver_mob_phone">
<input type="hidden" value="<?php echo htmlentities($order_info['extend_order_common']['reciver_info']['tel_phone']); ?>" name="reciver_tel_phone"
id="reciver_tel_phone">
<table class="dssc-default-table order deliver">
<tbody>
<?php if(!(empty($order_info) || (($order_info instanceof \think\Collection || $order_info instanceof \think\Paginator ) && $order_info->isEmpty()))): ?>
<tr>
<td colspan="20" class="sep-row"></td>
</tr>
<tr>
<th colspan="20"><a href="<?php echo url('order/index',['order_id'=>$order_info['order_id']]); ?>" target="_blank" class="fr"
title="<?php echo htmlentities(lang('show_order_printorder')); ?>"/><i class="print-order"></i></a><span
class="fr mr30"></span><span
class="ml10"><?php echo htmlentities(lang('order_order_sn')); ?><?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities($order_info['order_sn']); ?></span><span class="ml20"><?php echo htmlentities(lang('order_time')); ?><?php echo htmlentities(lang('ds_colon')); ?><em
class="goods-time"><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($order_info['add_time'])? strtotime($order_info['add_time']) : $order_info['add_time'])); ?></em></span>
</tr>
<?php if(is_array($order_info['extend_order_goods']) || $order_info['extend_order_goods'] instanceof \think\Collection || $order_info['extend_order_goods'] instanceof \think\Paginator): if( count($order_info['extend_order_goods'])==0 ) : echo "" ;else: foreach($order_info['extend_order_goods'] as $k=>$goods_info): ?>
<tr>
<td class="bdl w10"></td>
<td class="w50">
<div class="pic-thumb"><a href="<?php echo url('Goods/index',['goods_id'=>$goods_info['goods_id']]); ?>" target="_blank"><img
src="<?php echo goods_thumb($goods_info, 240); ?>"/></a></div>
</td>
<td class="tl">
<dl class="goods-name">
<dt><a target="_blank" href="<?php echo url('Goods/index',['goods_id'=>$goods_info['goods_id']]); ?>"><?php echo htmlentities($goods_info['goods_name']); ?></a></dt>
<dd><strong><?php echo htmlentities($goods_info['goods_price']); ?></strong>&nbsp;x&nbsp;<em><?php echo htmlentities($goods_info['goods_num']); ?></em><?php echo htmlentities(lang('piece')); ?></dd>
</dl>
</td>
<?php if((count($order_info['extend_order_goods']) > 1 && $k ==0) || (count($order_info['extend_order_goods']) == 1)): ?>
<td class="bdl bdr order-info w500" rowspan="<?php echo count($order_info['extend_order_goods']); ?>">
<dl>
<dt><?php echo htmlentities(lang('order_total_transport')); ?><?php echo htmlentities(lang('ds_colon')); ?></dt>
<dd>
<?php if(!empty($order_info['shipping_fee']) && $order_info['shipping_fee'] != '0.00'): ?>
<?php echo htmlentities($order_info['shipping_fee']); else: ?>
<?php echo htmlentities(lang('product_shipping_mfee')); ?>
<?php endif; ?>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('deliver_forget')); ?><?php echo htmlentities(lang('ds_colon')); ?></dt>
<dd>
<textarea name="deliver_explain" cols="100" rows="2" class="w400 tip-t"
title="<?php echo htmlentities(lang('deliver_forget_tips')); ?>"><?php echo htmlentities($order_info['extend_order_common']['deliver_explain']); ?></textarea>
</dd>
</dl>
</td>
<?php endif; ?>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<tr>
<td colspan="20" class="tl bdl bdr" style="padding:8px" id="address"><strong class="fl"><?php echo htmlentities(lang('deliver_buyer_adress')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><span id="buyer_address_span" class="left"><?php echo htmlentities($order_info['extend_order_common']['reciver_name']); ?>&nbsp;<?php echo htmlentities($order_info['extend_order_common']['reciver_info']['phone']); ?>&nbsp;<?php echo htmlentities($order_info['extend_order_common']['reciver_info']['address']); ?></span>
<a href="javascript:dsLayerOpen('<?php echo url('deliver/buyer_address_edit',['order_id'=>$order_info['order_id']]); ?>','编辑收货人-<?php echo htmlentities($order_info['extend_order_common']['reciver_name']); ?>-信息')" class="dssc-btn-mini fr"><i class="iconfont">&#xe731;</i>编辑</a>
</td>
</tr>
<?php else: ?>
<tr>
<td colspan="20" class="norecord"><i>&nbsp;</i><span><?php echo htmlentities(lang('no_record')); ?></span></td>
</tr>
<?php endif; ?>
</tbody>
</table>
<div class="step-title mt30"><em><?php echo htmlentities(lang('deliver_second_step')); ?></em><?php echo htmlentities(lang('deliver_confirm_daddress')); ?></div>
<div class="deliver-sell-info"><strong class="fl"><?php echo htmlentities(lang('deliver_my_daddress')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong>
<a href="javascript:dsLayerOpen('<?php echo url('deliver/send_address_select',['order_id'=>$order_info['order_id']]); ?>','编辑发货人-<?php echo htmlentities($order_info['extend_order_common']['reciver_name']); ?>-信息')" class="dssc-btn-mini fr"><i class="iconfont">&#xe731;</i>编辑</a>
<span id="seller_address_span">
<?php if(empty($daddress_info) || (($daddress_info instanceof \think\Collection || $daddress_info instanceof \think\Paginator ) && $daddress_info->isEmpty())): ?>
<?php echo htmlentities(lang('deliver_none_set')); else: ?>
<?php echo htmlentities($daddress_info['seller_name']); ?>&nbsp;<?php echo htmlentities($daddress_info['daddress_telphone']); ?>&nbsp;<?php echo htmlentities($daddress_info['area_info']); ?>&nbsp;<?php echo htmlentities($daddress_info['daddress_detail']); ?>
<?php endif; ?>
</span>
</div>
<?php if(!(empty($daddress_info) || (($daddress_info instanceof \think\Collection || $daddress_info instanceof \think\Paginator ) && $daddress_info->isEmpty()))): ?>
<input type="hidden" name="daddress_id" id="daddress_id" value="<?php echo htmlentities($daddress_info['daddress_id']); ?>">
<?php endif; ?>
<div class="step-title mt30"><em></em><?php echo htmlentities(lang('deliver_third_step')); ?><?php echo htmlentities(lang('deliver_express_select')); ?></div>
<div class="alert alert-success"><?php echo htmlentities(lang('common_cargo_logistics')); ?><span
class="red">[<?php echo htmlentities(lang('deliver_express_wx')); ?>]</span><?php echo htmlentities(lang('tab_operation')); ?>。
</div>
<div class="dssc-goods-spec">
<div class="spec-tabmenu">
<ul class="tab pngFix">
<li id="eli1" class="selected"><a href="javascript:void(0);" onclick="etab(1)"><?php echo htmlentities(lang('deliver_express_zx')); ?></a></li>
<li id="eli2" class="normal"><a href="javascript:void(0);" onclick="etab(2)"><?php echo htmlentities(lang('deliver_express_wx')); ?></a></li>
</ul>
</div>
</div>
<table class="dssc-default-table order" id="texpress1">
<tbody>
<tr>
<td class="bdl w150"><?php echo htmlentities(lang('deliver_company_name')); ?></td>
<td class="w250"><?php echo htmlentities(lang('deliver_shipping_code')); ?></td>
<td class="tc"><?php echo htmlentities(lang('deliver_bforget')); ?></td>
<td class="bdr w90 tc"><?php echo htmlentities(lang('ds_handle')); ?></td>
</tr>
<?php if(!(empty($express_list) || (($express_list instanceof \think\Collection || $express_list instanceof \think\Paginator ) && $express_list->isEmpty()))): if(is_array($express_list) || $express_list instanceof \think\Collection || $express_list instanceof \think\Paginator): if( count($express_list)==0 ) : echo "" ;else: foreach($express_list as $k=>$v): ?>
<tr>
<td class="bdl"><?php echo htmlentities($v['express_name']); ?></td>
<td class="bdl"><input name="shipping_code" type="text" class="text w200 tip-r"
title="<?php echo htmlentities(lang('deliver_shipping_code_tips')); ?>" maxlength="20" ds_type='eb'
ds_value="<?php echo htmlentities($v['express_id']); ?>"/></td>
<td class="bdl gray" ds_value="<?php echo htmlentities($v['express_id']); ?>"></td>
<td class="bdl bdr tc"><a ds_type='eb' ds_value="<?php echo htmlentities($v['express_id']); ?>" href="javascript:void(0);" class="dssc-btn"><?php echo htmlentities(lang('ds_common_button_confirm')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</tbody>
</table>
<table class="dssc-default-table order" id="texpress2" style="display:none">
<tbody>
<tr>
<td colspan="2"></td>
</tr>
<tr>
<td class="bdl tr"><?php echo htmlentities(lang('deliver_no_deliver_tips')); ?></td>
<td class="bdr tl w400">&emsp;<a ds_type='eb' ds_value="e1000" href="javascript:void(0);" class="dssc-btn"><?php echo htmlentities(lang('ds_common_button_confirm')); ?></a>
</td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</tbody>
</table>
</form>
</div>
<script type="text/javascript">
function etab(t) {
if (t == 1) {
$('#eli1').removeClass('normal').addClass('selected');
$('#eli2').removeClass('selected').addClass('normal');
$('#texpress1').css('display', '');
$('#texpress2').css('display', 'none');
} else {
$('#eli1').removeClass('selected').addClass('normal');
$('#eli2').removeClass('normal').addClass('selected');
$('#texpress1').css('display', 'none');
$('#texpress2').css('display', '');
}
}
$(function () {
$('a[ds_type="eb"]').on('click', function () {
if ($('input[ds_value="' + $(this).attr('ds_value') + '"]').val() == '') {
layer.alert('<?php echo htmlentities(lang('store_deliver_shipping_code_pl')); ?>');
return false;
}
$('input[ds_type="eb"]').prop('disabled', true);
$('input[ds_value="' + $(this).attr('ds_value') + '"]').prop('disabled', false);
$('#shipping_express_id').val($(this).attr('ds_value'));
ds_ajaxpost('deliver_form', 'url', "<?php echo url('deliver/index'); ?>")
});
$('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
$('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
$('.checkall_s').click(function () {
var if_check = $(this).prop('checked');
$('.checkitem').each(function () {
if (!this.disabled) {
$(this).prop('checked', if_check);
}
});
$('.checkall_s').prop('checked', if_check);
});
<?php if($order_info['shipping_code'] != ''): ?>
$('input[ds_value="<?php echo htmlentities($order_info['extend_order_common']['shipping_express_id']); ?>"]').val('<?php echo htmlentities($order_info['shipping_code']); ?>');
$('td[ds_value="<?php echo htmlentities($order_info['extend_order_common']['shipping_express_id']); ?>"]').html('<?php echo htmlentities($order_info['extend_order_common']['deliver_explain']); ?>');
<?php endif; ?>
$('#my_address_add').click(function () {
ajax_form('my_address_add', '<?php echo htmlentities(lang('deliver_add_daddress')); ?>', "<?php echo url('Deliver/send_address_edit',['order_id'=>$order_info['order_id']]); ?>", 550, 0);
});
});
</script>
</div>

View File

@ -1,151 +0,0 @@
<?php /*a:3:{s:61:"/www/wwwroot/light.haix.cn/app/admin/view/message/smslog.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>短信记录</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('ds_member_name')); ?></dt>
<dd><input class="txt" name="member_name" value="<?php echo htmlentities(app('request')->get('member_name')); ?>" type="text"></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('smslog_phone')); ?></dt>
<dd><input class="txt" name="smslog_phone" value="<?php echo htmlentities(app('request')->get('smslog_phone')); ?>" type="text"></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('smslog_smstime')); ?></dt>
<dd>
<input class="txt date" type="text" value="<?php echo htmlentities(app('request')->get('add_time_from')); ?>" id="add_time_from" name="add_time_from">
~
<input class="txt date" type="text" value="<?php echo htmlentities(app('request')->get('add_time_to')); ?>" id="add_time_to" name="add_time_to"/>
</dd>
</dl>
<div class="btn_group">
<a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<?php if($filtered): ?>
<a href="<?php echo url('Message/smslog'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
<?php endif; ?>
</div>
</div>
</form>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th class="w24"></th>
<th class="w96"><?php echo htmlentities(lang('ds_member_name')); ?></th>
<th class="w120"><?php echo htmlentities(lang('smslog_phone')); ?></th>
<th class="w96"><?php echo htmlentities(lang('smslog_captcha')); ?></th>
<th><?php echo htmlentities(lang('smslog_msg')); ?></th>
<th class="w96"><?php echo htmlentities(lang('smslog_type')); ?></th>
<th class="w120"><?php echo htmlentities(lang('smslog_smstime')); ?></th>
<th class="w120"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($smslog_list) || (($smslog_list instanceof \think\Collection || $smslog_list instanceof \think\Paginator ) && $smslog_list->isEmpty()))): if(is_array($smslog_list) || $smslog_list instanceof \think\Collection || $smslog_list instanceof \think\Paginator): if( count($smslog_list)==0 ) : echo "" ;else: foreach($smslog_list as $key=>$v): ?>
<tr class="hover">
<td class="w48"><input type="checkbox" name="check_smslog_id[]" value="<?php echo htmlentities($v['smslog_id']); ?>" class="checkitem">
<td><?php echo htmlentities($v['member_name']); ?></td>
<td><?php echo htmlentities($v['smslog_phone']); ?></td>
<td><?php echo htmlentities($v['smslog_captcha']); ?></td>
<td><?php echo htmlentities($v['smslog_msg']); ?></td>
<td><?php echo htmlentities($v['smslog_type']); ?></td>
<td><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($v['smslog_smstime'])? strtotime($v['smslog_smstime']) : $v['smslog_smstime'])); ?></td>
<td>
<a href="javascript:dsLayerConfirm('<?php echo url('message/smslog_del',['smslog_id'=>$v['smslog_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<tfoot>
<?php if(!(empty($smslog_list) || (($smslog_list instanceof \think\Collection || $smslog_list instanceof \think\Paginator ) && $smslog_list->isEmpty()))): ?>
<tr class="tfoot">
<td><input type="checkbox" class="checkall" id="checkallBottom"></td>
<td colspan="16"><label for="checkallBottom"><?php echo htmlentities(lang('ds_select_all')); ?></label>
&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('ds_del')); ?></span></a>
</td>
</tr>
<?php endif; ?>
</tfoot>
</table>
<?php echo $show_page; ?>
</div>
<script type="text/javascript">
$(function () {
$('#add_time_from').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
var year2 = dateText.split('-') ;
$('#add_time_to').datepicker( "option", "minDate", new Date(parseInt(year2[0]),parseInt(year2[1])-1,parseInt(year2[2])+1) );
}});
$('#add_time_to').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
var year1 = dateText.split('-') ;
$('#add_time_from').datepicker( "option", "maxDate", new Date(parseInt(year1[0]),parseInt(year1[1])-1,parseInt(year1[2])-1) );
}});
});
</script>
<script type="text/javascript">
function submit_delete(ids_str){
_uri = ADMINSITEURL+"/message/smslog_del.html?smslog_id=" + ids_str;
dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
}
</script>

View File

@ -1,132 +0,0 @@
<?php /*a:3:{s:75:"/www/wwwroot/www.lightcourse.com/app/admin/view/goodsclass/goods_class.html";i:1643894516;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('goods_class_index_class')); ?></h3>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('goods_class_index_help1')); ?></li>
<li><?php echo htmlentities(lang('goods_class_index_help2')); ?></li>
<li><?php echo lang('goods_class_index_help3'); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th></th>
<th><?php echo htmlentities(lang('ds_sort')); ?></th>
<th><?php echo htmlentities(lang('goods_class_index_name')); ?></th>
<th><?php echo htmlentities(lang('type')); ?></th>
<th></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): if(is_array($class_list) || $class_list instanceof \think\Collection || $class_list instanceof \think\Paginator): if( count($class_list)==0 ) : echo "" ;else: foreach($class_list as $k=>$v): ?>
<tr class="hover edit">
<td class="w48"><input type="checkbox" name="check_gc_id[]" value="<?php echo htmlentities($v['gc_id']); ?>" class="checkitem">
<?php if(isset($v['have_child']) && $v['have_child'] == '1'): ?>
<img fieldid="<?php echo htmlentities($v['gc_id']); ?>" status="open" ds_type="flex" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/tv-expandable.gif">
<?php else: ?>
<img fieldid="<?php echo htmlentities($v['gc_id']); ?>" status="close" ds_type="flex" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/tv-item.gif">
<?php endif; ?>
</td>
<td class="w48 sort"><span title="<?php echo htmlentities(lang('ds_editable')); ?>" ajax_branch="goods_class_sort" datatype="number" fieldid="<?php echo htmlentities($v['gc_id']); ?>" fieldname="gc_sort" ds_type="inline_edit" class="editable "><?php echo htmlentities($v['gc_sort']); ?></span></td>
<td class="w50pre name">
<span title="<?php echo htmlentities(lang('ds_editable')); ?>" required="1" fieldid="<?php echo htmlentities($v['gc_id']); ?>" ajax_branch="goods_class_name" fieldname="gc_name" ds_type="inline_edit" class="editable "><?php echo htmlentities($v['gc_name']); ?></span>
<a class="btn-add-nofloat marginleft" href="<?php echo url('Goodsclass/goods_class_add',['gc_parent_id'=>$v['gc_id']]); ?>"><span><?php echo htmlentities(lang('ds_add_sub_class')); ?></span></a>
</td>
<td><?php echo htmlentities($v['type_name']); ?></td>
<td><?php if($v['gc_virtual'] == 1): ?>虚拟<?php endif; ?></td>
<td class="w120">
<a href="<?php echo url('Goodsclass/nav_edit',['gc_id'=>$v['gc_id']]); ?>"><?php echo htmlentities(lang('ds_set')); ?></a> |
<a href="<?php echo url('Goodsclass/goods_class_edit',['gc_id'=>$v['gc_id']]); ?>"><?php echo htmlentities(lang('ds_edit')); ?></a> |
<a href="javascript:void(0)" onclick="submit_delete(<?php echo htmlentities($v['gc_id']); ?>)"><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): ?>
<tfoot>
<tr class="tfoot">
<td><input type="checkbox" class="checkall" id="checkall_2"></td>
<td id="batchAction" colspan="15"><span class="all_checkbox">
<label for="checkall_2"><?php echo htmlentities(lang('ds_select_all')); ?></label>
</span>&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('ds_del')); ?></span></a>
</td>
</tr>
</tfoot>
<?php endif; ?>
</table>
</div>
<script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.goods_class.js"></script>
<script type="text/javascript">
function submit_delete(ids_str){
_uri = ADMINSITEURL+"/Goodsclass/goods_class_del.html?gc_id=" + ids_str;
dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
}
</script>

View File

@ -1,397 +0,0 @@
<?php /*a:4:{s:64:"/www/wwwroot/lianke.keyutest.com/app/admin/view/goods/index.html";i:1645674206;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/footer.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>课程管理</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="fixed-empty"></div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="提示相关设置操作时应注意的要点"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="收起提示" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('goods_index_help1')); ?></li>
<li><?php echo htmlentities(lang('goods_index_help2')); ?></li>
</ul>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('ds_goods_name')); ?></dt>
<dd><input type="text" value="<?php echo htmlentities((app('request')->get('search_goods_name') ?: '')); ?>" name="search_goods_name" id="search_goods_name" class="txt"></dd>
</dl>
<dl>
<dt>课程编号</dt>
<dd><input type="text" value="<?php echo htmlentities((app('request')->get('search_commonid') ?: '')); ?>" name="search_commonid" id="search_commonid" class="txt" /></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('ds_class')); ?></dt>
<dd id="searchgc_td"></dd>
<input type="hidden" id="choose_gcid" name="choose_gcid" value="0"/>
</dl>
<!-- <dl>
<dt><?php echo htmlentities(lang('goods_index_brand')); ?></dt>
<dd>
<div id="ajax_brand" class="dssc-brand-select w180">
<div class="selection">
<input name="b_name" id="b_name" value="<?php echo htmlentities((app('request')->param('b_name') ?: '')); ?>" type="text" class="txt w180" readonly="readonly" />
<input type="hidden" name="b_id" id="b_id" value="<?php echo htmlentities((app('request')->param('b_id') ?: '')); ?>" />
</div>
<div class="dssc-brand-select-container">
<div class="brand-index" data-url="<?php echo url('Common/ajax_get_brand'); ?>">
<div class="letter" dstype="letter">
<ul>
<li><a href="javascript:void(0);" data-letter="all">全部品牌</a></li>
<li><a href="javascript:void(0);" data-letter="A">A</a></li>
<li><a href="javascript:void(0);" data-letter="B">B</a></li>
<li><a href="javascript:void(0);" data-letter="C">C</a></li>
<li><a href="javascript:void(0);" data-letter="D">D</a></li>
<li><a href="javascript:void(0);" data-letter="E">E</a></li>
<li><a href="javascript:void(0);" data-letter="F">F</a></li>
<li><a href="javascript:void(0);" data-letter="G">G</a></li>
<li><a href="javascript:void(0);" data-letter="H">H</a></li>
<li><a href="javascript:void(0);" data-letter="I">I</a></li>
<li><a href="javascript:void(0);" data-letter="J">J</a></li>
<li><a href="javascript:void(0);" data-letter="K">K</a></li>
<li><a href="javascript:void(0);" data-letter="L">L</a></li>
<li><a href="javascript:void(0);" data-letter="M">M</a></li>
<li><a href="javascript:void(0);" data-letter="N">N</a></li>
<li><a href="javascript:void(0);" data-letter="O">O</a></li>
<li><a href="javascript:void(0);" data-letter="P">P</a></li>
<li><a href="javascript:void(0);" data-letter="Q">Q</a></li>
<li><a href="javascript:void(0);" data-letter="R">R</a></li>
<li><a href="javascript:void(0);" data-letter="S">S</a></li>
<li><a href="javascript:void(0);" data-letter="T">T</a></li>
<li><a href="javascript:void(0);" data-letter="U">U</a></li>
<li><a href="javascript:void(0);" data-letter="V">V</a></li>
<li><a href="javascript:void(0);" data-letter="W">W</a></li>
<li><a href="javascript:void(0);" data-letter="X">X</a></li>
<li><a href="javascript:void(0);" data-letter="Y">Y</a></li>
<li><a href="javascript:void(0);" data-letter="Z">Z</a></li>
<li><a href="javascript:void(0);" data-letter="0-9">其他</a></li>
</ul>
</div>
<div class="search" dstype="search"><input name="search_brand_keyword" id="search_brand_keyword" type="text" class="text" placeholder="品牌名称关键字查找"/><a href="javascript:void(0);" class="dssc-btn-mini" style="vertical-align: top;">Go</a></div>
</div>
<div class="brand-list" dstype="brandList">
<ul dstype="brand_list">
<?php if(!(empty($brand_list) || (($brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator ) && $brand_list->isEmpty()))): if(is_array($brand_list) || $brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator): if( count($brand_list)==0 ) : echo "" ;else: foreach($brand_list as $key=>$val): ?>
<li data-id='<?php echo htmlentities($val['brand_id']); ?>'data-name='<?php echo htmlentities($val['brand_name']); ?>'><em><?php echo htmlentities($val['brand_initial']); ?></em><?php echo htmlentities($val['brand_name']); ?></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</ul>
</div>
<div class="no-result" dstype="noBrandList" style="display: none;">没有符合"<strong>搜索关键字</strong>"条件的品牌</div>
</div>
</div>
</dd>
</dl>-->
<!-- <dl>
<dt><?php echo htmlentities(lang('goods_index_show')); ?></dt>
<dd>
<select name="goods_state">
<option value=""><?php echo htmlentities(lang('ds_please_choose')); ?>...</option>
<?php if(is_array($state) || $state instanceof \think\Collection || $state instanceof \think\Paginator): if( count($state)==0 ) : echo "" ;else: foreach($state as $key=>$val): ?>
<option value="<?php echo htmlentities($key); ?>" <?php if(isset($search['goods_state']) && $search['goods_state'] == $key): ?>selected<?php endif; ?>><?php echo htmlentities($val); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</dd>
</dl>-->
<dl>
<dt><?php echo htmlentities(lang('goods_index_stock')); ?></dt>
<dd>
<select name="stock">
<option value="" <?php if(app('request')->param('stock')): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('ds_please_choose')); ?></option>
<option value="1" <?php if(app('request')->param('stock') == '1'): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('goods_index_stock_warning')); ?></option>
</select>
</dd>
</dl>
<input type="hidden" name="type" value="<?php echo htmlentities(app('request')->get('type')); ?>"/>
<div class="btn_group">
<a href="javascript:void(0);" id="dssubmit" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<a href="<?php echo url('Goods/index'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
</div>
</div>
</form>
<form method='post' id="form_goods" action="<?php echo url('Goods/goods_del'); ?>">
<table class="ds-default-table">
<thead>
<tr class="thead">
<th class="w24"></th>
<th class="w24"></th>
<th class="w60 align-center">课程编号</th>
<th class="w24"><?php echo htmlentities(lang('goods_index_id')); ?></th>
<th colspan="2"><?php echo htmlentities(lang('ds_goods_name')); ?></th>
<th><?php echo htmlentities(lang('ds_class')); ?></th>
<th class="w72 align-center">价格()</th>
<th class="w72 align-center">库存</th>
<!--<th class="w72 align-center">课程状态</th>-->
<?php if($type == 'allgoods'): ?>
<th class="w72 align-center">是否热门</th>
<th class="w72 align-center">排序</th>
<?php endif; ?>
<th class="w200 align-center" ><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($goods_list) || (($goods_list instanceof \think\Collection || $goods_list instanceof \think\Paginator ) && $goods_list->isEmpty()))): if(is_array($goods_list) || $goods_list instanceof \think\Collection || $goods_list instanceof \think\Paginator): if( count($goods_list)==0 ) : echo "" ;else: foreach($goods_list as $key=>$v): ?>
<tr class="hover edit">
<td><input type="checkbox" name="id[]" value="<?php echo htmlentities($v['goods_commonid']); ?>" class="checkitem"></td>
<td><i class="iconfont" status="open" style="cursor: pointer;" dstype="ajaxGoodsList" data-comminid="<?php echo htmlentities($v['goods_commonid']); ?>" title="点击展开查看此商品全部规格;规格值过多时请横向拖动区域内的滚动条进行浏览。"></i></td>
<td class="align-center"><?php echo htmlentities($v['goods_serial']); ?></td>
<td class="align-center"><?php echo htmlentities($v['goods_commonid']); ?>-<?php echo htmlentities($v['goods_id']); ?></td>
<td class="w60 picture"><div class="size-56x56"><span class="thumb size-56x56"><i></i><img src="<?php echo goods_thumb($v, 240); ?>" width="56" height="56"/></span></div></td>
<td>
<dl class="goods-info"><dt class="goods-name"><?php echo htmlentities($v['goods_name']); ?></dt>
<dd class="goods-type">
<?php if($v['is_virtual'] == 1): ?><span class="virtual" title="虚拟兑换商品">虚拟</span><?php endif; if($v['is_goodsfcode'] == 1): ?><span class="fcode" title="F码优先购买商品">F码</span><?php endif; if($v['is_presell'] == 1): ?><span class="presell" title="预先发售商品">预售</span><?php endif; if($v['is_appoint'] == 1): ?><span class="appoint" title="预约销售提示商品">预约</span><?php endif; ?>
<i class="iconfont <?php if($v['mobile_body'] != ''): ?>open<?php endif; ?>" title="手机端商品详情">&#xe601;</i>
</dd>
<dd class="goods-store"></dd>
</dl>
</td>
<td>
<p><?php echo htmlentities($v['gc_name']); ?></p>
<p class="goods-brand"><?php echo htmlentities($v['gc_name']); ?></p>
</td>
<td class="align-center<?php if($val['goods_lock'] == 0): ?> hover<?php endif; ?>" onclick="dsLayerOpen('<?php echo url("Goods/edit_storage",["commonid"=>$v['goods_commonid']]); ?>','编辑库存')"><?php echo htmlentities($v['goods_price']); ?><i class="iconfont hidden">&#xe731;</i></td>
<td class="align-center hover" onclick="dsLayerOpen('<?php echo url("Goods/edit_storage",["commonid"=>$v['goods_commonid']]); ?>','编辑库存')" <?php if($v['alarm'] == true): ?>style="color:red"<?php endif; ?>><?php echo htmlentities($v['sum']); ?><i class="iconfont hidden">&#xe731;</i></td>
<!-- <td class="align-center"><?php echo htmlentities($state[$v['goods_state']]); ?></td>-->
<?php if($type == 'allgoods'): ?>
<td class="align-center yes-onoff">
<?php if($v['goods_commend'] == '0'): ?>
<a href="JavaScript:void(0);" class="disabled" ajax_branch='goods_commend' ds_type="inline_edit" fieldname="goods_commend" fieldid="<?php echo htmlentities($v['goods_commonid']); ?>" fieldvalue="0" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
<?php else: ?>
<a href="JavaScript:void(0);" class="enabled" ajax_branch='goods_commend' ds_type="inline_edit" fieldname="goods_commend" fieldid="<?php echo htmlentities($v['goods_commonid']); ?>" fieldvalue="1" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
<?php endif; ?>
</td>
<td class="align-center sort">
<span class="editable" ds_type="inline_edit" fieldname="goods_sort" ajax_branch='goods_sort' fieldid="<?php echo htmlentities($v['goods_commonid']); ?>" datatype="pint" maxvalue="255" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($v['goods_sort']); ?></span>
</td>
<?php endif; ?>
<td class="align-center">
<!--
<a href="<?php echo url('/home/goods/index',['goods_id' =>$v['goods_id']]); ?>" target="_blank" class="dsui-btn-view"><i class="iconfont"></i><?php echo htmlentities(lang('ds_view')); ?></a>
-->
<?php if($v['goods_lock'] == 0): ?>
<a href="<?php echo url('Goods/edit_goods',['commonid' =>$v['goods_commonid']]); ?>" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<?php else: ?>
<a readonly="readonly" class="dsui-btn-link"><i class="iconfont"></i><?php echo htmlentities(lang('goods_index_lock')); ?></a>
<?php endif; ?>
<a href="<?php echo url('Goods/goods_del',['common_id'=>$v['goods_commonid']]); ?>" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<tr style="display:none;">
<td colspan="20"><div class="dssc-goods-sku ps-container"></div></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="15"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<tfoot>
<tr class="tfoot">
<?php if($type == 'lockup'): ?>
<td><input type="checkbox" class="checkall" ></td>
<td colspan="16"><label><?php echo htmlentities(lang('ds_select_all')); ?></label>
<a href="JavaScript:void(0);" class="btn btn-small" dstype="reduction_batch"><span>售卖商品</span></a>
</td>
<?php elseif($type == 'allgoods'): ?>
<td><input type="checkbox" class="checkall" ></td>
<td colspan="16"><label><?php echo htmlentities(lang('ds_select_all')); ?></label>
<!-- <a href="JavaScript:void(0);" class="btn btn-small" dstype="lockup_batch"><span>存入仓库</span></a>-->
</td>
<?php endif; ?>
</tr>
</tfoot>
</table>
<?php echo $show_page; ?>
</form>
</div>
<script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.mousewheel.js"></script>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/mlselection.js" charset="utf-8"></script>
<script type="text/javascript">
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
$(function(){
//商品分类
init_gcselect(<?php echo $gc_choose_json; ?>,<?php echo $gc_json; ?>);
/* AJAX选择品牌 */
$("#ajax_brand").brandinit();
$('#dssubmit').click(function(){
$('#formSearch').submit();
});
// 删除
$('a[dstype="del_batch"]').click(function(){
layer.confirm("<?php echo htmlentities(lang('ds_ensure_del')); ?>", {
btn: ['确定', '取消'],
title: false,
}, function () {
ds_ajaxget($(this).attr('uri'));
});
});
// 存入仓库批量处理
$('a[dstype="lockup_batch"]').click(function(){
ids_str = getItems();
if (ids_str) {
goods_lockup(ids_str);
}
});
// 售卖商品批量处理
$('a[dstype="reduction_batch"]').click(function(){
ids_str = getItems();
if (ids_str) {
goods_reduction(ids_str);
}
});
// ajax获取商品列表
$('i[dstype="ajaxGoodsList"]').click(
function(){
var status = $(this).attr("status");
if (status == 'open') {
$(this).attr('status', 'close');
$(this).removeClass('icon-jia').addClass('icon-jian');
var _parenttr = $(this).parents('tr');
var _commonid = $(this).attr('data-comminid');
var _div = _parenttr.next().find('.dssc-goods-sku');
if (_div.html() == '') {
$.getJSON('<?php echo url("Goods/get_goods_list_ajax"); ?>' , {commonid : _commonid}, function(date){
if (date != 'false') {
var _ul = $('<ul class="dssc-goods-sku-list"></ul>');
var res = eval('(' + date + ')');
for (var i = 0; i < res.length; i++)
{
$('<li><div class="goods-thumb" title="商家货号:' + res[i].goods_serial + '"><a href="' + res[i].url + '" target="_blank"><image src="' + res[i].goods_image + '" ></a></div>' + res[i].goods_spec + '<div class="goods-price">价格:<em title="¥' + res[i].goods_price + '">¥' + res[i].goods_price + '</em></div><div class="goods-storage">库存:<em title="' + res[i].goods_storage + '">' + res[i].goods_storage + '</em></div><a href="' + res[i].url + '" target="_blank" class="dssc-btn-mini">查看商品详情</a></li>').appendTo(_ul);
_ul.appendTo(_div);
_parenttr.next().show();
}
// 计算div的宽度
_div.css('width', document.body.clientWidth-54);
// _div.perfectScrollbar();
}
});
} else {
_parenttr.next().show()
}
}else{
$(this).attr('status', 'open');
$(this).removeClass('icon-jian').addClass('icon-jia');
$(this).parents('tr').next().hide();
}
}
);
});
// 获得选中ID
function getId() {
var str = '';
$('#form_goods').find('input[name="id[]"]:checked').each(function(){
id = parseInt($(this).val());
if (!isNaN(id)) {
str += id + ',';
}
});
if (str == '') {
return false;
}
str = str.substr(0, (str.length - 1));
return str;
}
// 获得选中ID
function getItems() {
/* 获取选中的项 */
var items = '';
$('.checkitem:checked').each(function () {
items += this.value + ',';
});
if (items != '') {
items = items.substr(0, (items.length - 1));
}else{
layer.alert('请勾选选项', {icon: 2})
}
return items;
}
// 商品存入仓库
function goods_lockup(ids_str) {
_uri = ADMINSITEURL+"/Goods/goods_lockup?commonid=" + ids_str;
dsLayerOpen(_uri,'存入仓库理由','400px','200px');
}
// 商品售卖
function goods_reduction(ids_str) {
_uri = ADMINSITEURL+"/Goods/goods_lockup?type=reduction&commonid=" + ids_str;
dsLayerOpen(_uri,'商品售卖理由','400px','200px');
}
</script>

View File

@ -1,83 +0,0 @@
<?php /*a:3:{s:64:"/www/wwwroot/light.haix.cn/app/admin/view/message/email_tpl.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>邮箱短信</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<table class="ds-default-table">
<thead>
<tr class="space">
<th colspan="15" class="nobg"><?php echo htmlentities(lang('ds_list')); ?></th>
</tr>
<tr class="thead">
<th class="w24">&nbsp;</th>
<th><?php echo htmlentities(lang('mailtemplates_index_desc')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($templates_list) || (($templates_list instanceof \think\Collection || $templates_list instanceof \think\Paginator ) && $templates_list->isEmpty()))): if(is_array($templates_list) || $templates_list instanceof \think\Collection || $templates_list instanceof \think\Paginator): if( count($templates_list)==0 ) : echo "" ;else: foreach($templates_list as $k=>$v): ?>
<tr class="hover">
<td class="w24"></td>
<td><?php echo $v['mailmt_name']; ?></td>
<td class="w60 align-center"><a href="<?php echo url('Message/email_tpl_edit',['code'=>$v['mailmt_code']]); ?>" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</tbody>
</table>
</div>

View File

@ -1,118 +0,0 @@
<?php /*a:3:{s:60:"/www/wwwroot/light.haix.cn/app/admin/view/article/index.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_article')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('article_title')); ?></dt>
<dd><input type="text" value="<?php echo htmlentities(app('request')->param('search_title')); ?>" name="search_title" class="txt"></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('ds_articleclass')); ?></dt>
<dd>
<select name="search_ac_id">
<option value=""><?php echo htmlentities(lang('ds_please_choose')); ?>...</option>
<?php if(is_array($parent_list) || $parent_list instanceof \think\Collection || $parent_list instanceof \think\Paginator): if( count($parent_list)==0 ) : echo "" ;else: foreach($parent_list as $k=>$v): ?>
<option value="<?php echo htmlentities($v['ac_id']); ?>" <?php if(app('request')->param('search_ac_id') == $v['ac_id']): ?>selected<?php endif; ?>><?php echo $v['ac_name']; ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</dd>
</dl>
<div class="btn_group">
<input type="submit" class="btn" value="<?php echo htmlentities(lang('ds_search')); ?>">
<?php if($filtered): ?>
<a href="<?php echo url('Article/index'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
<?php endif; ?>
</div>
</div>
</form>
<table class="ds-default-table">
<thead>
<tr>
<th><?php echo htmlentities(lang('article_sort')); ?></th>
<th><?php echo htmlentities(lang('article_id')); ?></th>
<th><?php echo htmlentities(lang('article_title')); ?></th>
<th><?php echo htmlentities(lang('article_cate')); ?></th>
<th><?php echo htmlentities(lang('article_show')); ?></th>
<th><?php echo htmlentities(lang('article_time')); ?></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($article_list) || (($article_list instanceof \think\Collection || $article_list instanceof \think\Paginator ) && $article_list->isEmpty()))): if(is_array($article_list) || $article_list instanceof \think\Collection || $article_list instanceof \think\Paginator): if( count($article_list)==0 ) : echo "" ;else: foreach($article_list as $key=>$article): ?>
<tr>
<td><?php echo htmlentities($article['article_sort']); ?></td>
<td><?php echo htmlentities($article['article_id']); ?></td>
<td><?php echo htmlentities($article['article_title']); ?></td>
<td><?php echo htmlentities((isset($article['ac_name']) && ($article['ac_name'] !== '')?$article['ac_name']:'')); ?></td>
<td><?php if($article['article_show'] == '1'): ?><?php echo htmlentities(lang('ds_yes')); else: ?><?php echo htmlentities(lang('ds_no')); ?><?php endif; ?></td>
<td><?php echo htmlentities($article['article_time']); ?></td>
<td>
<a href="<?php echo url('Article/edit',['article_id'=>$article['article_id']]); ?>" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<a href="javascript:dsLayerConfirm('<?php echo url('Article/drop',['article_id'=>$article['article_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>

View File

@ -1,90 +0,0 @@
<?php /*a:3:{s:63:"/www/wwwroot/www.lightcourse.com/app/admin/view/type/index.html";i:1594017460;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>类型管理</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('type_index_tip1')); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr>
<th><?php echo htmlentities(lang('type_id')); ?></th>
<th><?php echo htmlentities(lang('type_name')); ?></th>
<th><?php echo htmlentities(lang('gc_name')); ?></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(is_array($type_list) || $type_list instanceof \think\Collection || $type_list instanceof \think\Paginator): if( count($type_list)==0 ) : echo "" ;else: foreach($type_list as $key=>$type): ?>
<tr>
<td><?php echo htmlentities($type['type_id']); ?></td>
<td><?php echo htmlentities($type['type_name']); ?></td>
<td><?php echo htmlentities($type['class_name']); ?></td>
<td>
<a href="<?php echo url('Type/type_edit',['type_id'=>$type['type_id']]); ?>" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<a href="javascript:dsLayerConfirm('<?php echo url('Type/type_drop',['type_id'=>$type['type_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>

View File

@ -1,397 +0,0 @@
<?php /*a:4:{s:64:"/www/wwwroot/www.lightcourse.com/app/admin/view/goods/index.html";i:1645674206;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/admin_items.html";i:1594017460;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/footer.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>课程管理</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="fixed-empty"></div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="提示相关设置操作时应注意的要点"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="收起提示" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('goods_index_help1')); ?></li>
<li><?php echo htmlentities(lang('goods_index_help2')); ?></li>
</ul>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('ds_goods_name')); ?></dt>
<dd><input type="text" value="<?php echo htmlentities((app('request')->get('search_goods_name') ?: '')); ?>" name="search_goods_name" id="search_goods_name" class="txt"></dd>
</dl>
<dl>
<dt>课程编号</dt>
<dd><input type="text" value="<?php echo htmlentities((app('request')->get('search_commonid') ?: '')); ?>" name="search_commonid" id="search_commonid" class="txt" /></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('ds_class')); ?></dt>
<dd id="searchgc_td"></dd>
<input type="hidden" id="choose_gcid" name="choose_gcid" value="0"/>
</dl>
<!-- <dl>
<dt><?php echo htmlentities(lang('goods_index_brand')); ?></dt>
<dd>
<div id="ajax_brand" class="dssc-brand-select w180">
<div class="selection">
<input name="b_name" id="b_name" value="<?php echo htmlentities((app('request')->param('b_name') ?: '')); ?>" type="text" class="txt w180" readonly="readonly" />
<input type="hidden" name="b_id" id="b_id" value="<?php echo htmlentities((app('request')->param('b_id') ?: '')); ?>" />
</div>
<div class="dssc-brand-select-container">
<div class="brand-index" data-url="<?php echo url('Common/ajax_get_brand'); ?>">
<div class="letter" dstype="letter">
<ul>
<li><a href="javascript:void(0);" data-letter="all">全部品牌</a></li>
<li><a href="javascript:void(0);" data-letter="A">A</a></li>
<li><a href="javascript:void(0);" data-letter="B">B</a></li>
<li><a href="javascript:void(0);" data-letter="C">C</a></li>
<li><a href="javascript:void(0);" data-letter="D">D</a></li>
<li><a href="javascript:void(0);" data-letter="E">E</a></li>
<li><a href="javascript:void(0);" data-letter="F">F</a></li>
<li><a href="javascript:void(0);" data-letter="G">G</a></li>
<li><a href="javascript:void(0);" data-letter="H">H</a></li>
<li><a href="javascript:void(0);" data-letter="I">I</a></li>
<li><a href="javascript:void(0);" data-letter="J">J</a></li>
<li><a href="javascript:void(0);" data-letter="K">K</a></li>
<li><a href="javascript:void(0);" data-letter="L">L</a></li>
<li><a href="javascript:void(0);" data-letter="M">M</a></li>
<li><a href="javascript:void(0);" data-letter="N">N</a></li>
<li><a href="javascript:void(0);" data-letter="O">O</a></li>
<li><a href="javascript:void(0);" data-letter="P">P</a></li>
<li><a href="javascript:void(0);" data-letter="Q">Q</a></li>
<li><a href="javascript:void(0);" data-letter="R">R</a></li>
<li><a href="javascript:void(0);" data-letter="S">S</a></li>
<li><a href="javascript:void(0);" data-letter="T">T</a></li>
<li><a href="javascript:void(0);" data-letter="U">U</a></li>
<li><a href="javascript:void(0);" data-letter="V">V</a></li>
<li><a href="javascript:void(0);" data-letter="W">W</a></li>
<li><a href="javascript:void(0);" data-letter="X">X</a></li>
<li><a href="javascript:void(0);" data-letter="Y">Y</a></li>
<li><a href="javascript:void(0);" data-letter="Z">Z</a></li>
<li><a href="javascript:void(0);" data-letter="0-9">其他</a></li>
</ul>
</div>
<div class="search" dstype="search"><input name="search_brand_keyword" id="search_brand_keyword" type="text" class="text" placeholder="品牌名称关键字查找"/><a href="javascript:void(0);" class="dssc-btn-mini" style="vertical-align: top;">Go</a></div>
</div>
<div class="brand-list" dstype="brandList">
<ul dstype="brand_list">
<?php if(!(empty($brand_list) || (($brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator ) && $brand_list->isEmpty()))): if(is_array($brand_list) || $brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator): if( count($brand_list)==0 ) : echo "" ;else: foreach($brand_list as $key=>$val): ?>
<li data-id='<?php echo htmlentities($val['brand_id']); ?>'data-name='<?php echo htmlentities($val['brand_name']); ?>'><em><?php echo htmlentities($val['brand_initial']); ?></em><?php echo htmlentities($val['brand_name']); ?></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</ul>
</div>
<div class="no-result" dstype="noBrandList" style="display: none;">没有符合"<strong>搜索关键字</strong>"条件的品牌</div>
</div>
</div>
</dd>
</dl>-->
<!-- <dl>
<dt><?php echo htmlentities(lang('goods_index_show')); ?></dt>
<dd>
<select name="goods_state">
<option value=""><?php echo htmlentities(lang('ds_please_choose')); ?>...</option>
<?php if(is_array($state) || $state instanceof \think\Collection || $state instanceof \think\Paginator): if( count($state)==0 ) : echo "" ;else: foreach($state as $key=>$val): ?>
<option value="<?php echo htmlentities($key); ?>" <?php if(isset($search['goods_state']) && $search['goods_state'] == $key): ?>selected<?php endif; ?>><?php echo htmlentities($val); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</dd>
</dl>-->
<dl>
<dt><?php echo htmlentities(lang('goods_index_stock')); ?></dt>
<dd>
<select name="stock">
<option value="" <?php if(app('request')->param('stock')): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('ds_please_choose')); ?></option>
<option value="1" <?php if(app('request')->param('stock') == '1'): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('goods_index_stock_warning')); ?></option>
</select>
</dd>
</dl>
<input type="hidden" name="type" value="<?php echo htmlentities(app('request')->get('type')); ?>"/>
<div class="btn_group">
<a href="javascript:void(0);" id="dssubmit" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<a href="<?php echo url('Goods/index'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
</div>
</div>
</form>
<form method='post' id="form_goods" action="<?php echo url('Goods/goods_del'); ?>">
<table class="ds-default-table">
<thead>
<tr class="thead">
<th class="w24"></th>
<th class="w24"></th>
<th class="w60 align-center">课程编号</th>
<th class="w24"><?php echo htmlentities(lang('goods_index_id')); ?></th>
<th colspan="2"><?php echo htmlentities(lang('ds_goods_name')); ?></th>
<th><?php echo htmlentities(lang('ds_class')); ?></th>
<th class="w72 align-center">价格()</th>
<th class="w72 align-center">库存</th>
<!--<th class="w72 align-center">课程状态</th>-->
<?php if($type == 'allgoods'): ?>
<th class="w72 align-center">是否热门</th>
<th class="w72 align-center">排序</th>
<?php endif; ?>
<th class="w200 align-center" ><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($goods_list) || (($goods_list instanceof \think\Collection || $goods_list instanceof \think\Paginator ) && $goods_list->isEmpty()))): if(is_array($goods_list) || $goods_list instanceof \think\Collection || $goods_list instanceof \think\Paginator): if( count($goods_list)==0 ) : echo "" ;else: foreach($goods_list as $key=>$v): ?>
<tr class="hover edit">
<td><input type="checkbox" name="id[]" value="<?php echo htmlentities($v['goods_commonid']); ?>" class="checkitem"></td>
<td><i class="iconfont" status="open" style="cursor: pointer;" dstype="ajaxGoodsList" data-comminid="<?php echo htmlentities($v['goods_commonid']); ?>" title="点击展开查看此商品全部规格;规格值过多时请横向拖动区域内的滚动条进行浏览。"></i></td>
<td class="align-center"><?php echo htmlentities($v['goods_serial']); ?></td>
<td class="align-center"><?php echo htmlentities($v['goods_commonid']); ?>-<?php echo htmlentities($v['goods_id']); ?></td>
<td class="w60 picture"><div class="size-56x56"><span class="thumb size-56x56"><i></i><img src="<?php echo goods_thumb($v, 240); ?>" width="56" height="56"/></span></div></td>
<td>
<dl class="goods-info"><dt class="goods-name"><?php echo htmlentities($v['goods_name']); ?></dt>
<dd class="goods-type">
<?php if($v['is_virtual'] == 1): ?><span class="virtual" title="虚拟兑换商品">虚拟</span><?php endif; if($v['is_goodsfcode'] == 1): ?><span class="fcode" title="F码优先购买商品">F码</span><?php endif; if($v['is_presell'] == 1): ?><span class="presell" title="预先发售商品">预售</span><?php endif; if($v['is_appoint'] == 1): ?><span class="appoint" title="预约销售提示商品">预约</span><?php endif; ?>
<i class="iconfont <?php if($v['mobile_body'] != ''): ?>open<?php endif; ?>" title="手机端商品详情">&#xe601;</i>
</dd>
<dd class="goods-store"></dd>
</dl>
</td>
<td>
<p><?php echo htmlentities($v['gc_name']); ?></p>
<p class="goods-brand"><?php echo htmlentities($v['gc_name']); ?></p>
</td>
<td class="align-center<?php if($val['goods_lock'] == 0): ?> hover<?php endif; ?>" onclick="dsLayerOpen('<?php echo url("Goods/edit_storage",["commonid"=>$v['goods_commonid']]); ?>','编辑库存')"><?php echo htmlentities($v['goods_price']); ?><i class="iconfont hidden">&#xe731;</i></td>
<td class="align-center hover" onclick="dsLayerOpen('<?php echo url("Goods/edit_storage",["commonid"=>$v['goods_commonid']]); ?>','编辑库存')" <?php if($v['alarm'] == true): ?>style="color:red"<?php endif; ?>><?php echo htmlentities($v['sum']); ?><i class="iconfont hidden">&#xe731;</i></td>
<!-- <td class="align-center"><?php echo htmlentities($state[$v['goods_state']]); ?></td>-->
<?php if($type == 'allgoods'): ?>
<td class="align-center yes-onoff">
<?php if($v['goods_commend'] == '0'): ?>
<a href="JavaScript:void(0);" class="disabled" ajax_branch='goods_commend' ds_type="inline_edit" fieldname="goods_commend" fieldid="<?php echo htmlentities($v['goods_commonid']); ?>" fieldvalue="0" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
<?php else: ?>
<a href="JavaScript:void(0);" class="enabled" ajax_branch='goods_commend' ds_type="inline_edit" fieldname="goods_commend" fieldid="<?php echo htmlentities($v['goods_commonid']); ?>" fieldvalue="1" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
<?php endif; ?>
</td>
<td class="align-center sort">
<span class="editable" ds_type="inline_edit" fieldname="goods_sort" ajax_branch='goods_sort' fieldid="<?php echo htmlentities($v['goods_commonid']); ?>" datatype="pint" maxvalue="255" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($v['goods_sort']); ?></span>
</td>
<?php endif; ?>
<td class="align-center">
<!--
<a href="<?php echo url('/home/goods/index',['goods_id' =>$v['goods_id']]); ?>" target="_blank" class="dsui-btn-view"><i class="iconfont"></i><?php echo htmlentities(lang('ds_view')); ?></a>
-->
<?php if($v['goods_lock'] == 0): ?>
<a href="<?php echo url('Goods/edit_goods',['commonid' =>$v['goods_commonid']]); ?>" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<?php else: ?>
<a readonly="readonly" class="dsui-btn-link"><i class="iconfont"></i><?php echo htmlentities(lang('goods_index_lock')); ?></a>
<?php endif; ?>
<a href="<?php echo url('Goods/goods_del',['common_id'=>$v['goods_commonid']]); ?>" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<tr style="display:none;">
<td colspan="20"><div class="dssc-goods-sku ps-container"></div></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="15"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<tfoot>
<tr class="tfoot">
<?php if($type == 'lockup'): ?>
<td><input type="checkbox" class="checkall" ></td>
<td colspan="16"><label><?php echo htmlentities(lang('ds_select_all')); ?></label>
<a href="JavaScript:void(0);" class="btn btn-small" dstype="reduction_batch"><span>售卖商品</span></a>
</td>
<?php elseif($type == 'allgoods'): ?>
<td><input type="checkbox" class="checkall" ></td>
<td colspan="16"><label><?php echo htmlentities(lang('ds_select_all')); ?></label>
<!-- <a href="JavaScript:void(0);" class="btn btn-small" dstype="lockup_batch"><span>存入仓库</span></a>-->
</td>
<?php endif; ?>
</tr>
</tfoot>
</table>
<?php echo $show_page; ?>
</form>
</div>
<script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.mousewheel.js"></script>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/mlselection.js" charset="utf-8"></script>
<script type="text/javascript">
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
$(function(){
//商品分类
init_gcselect(<?php echo $gc_choose_json; ?>,<?php echo $gc_json; ?>);
/* AJAX选择品牌 */
$("#ajax_brand").brandinit();
$('#dssubmit').click(function(){
$('#formSearch').submit();
});
// 删除
$('a[dstype="del_batch"]').click(function(){
layer.confirm("<?php echo htmlentities(lang('ds_ensure_del')); ?>", {
btn: ['确定', '取消'],
title: false,
}, function () {
ds_ajaxget($(this).attr('uri'));
});
});
// 存入仓库批量处理
$('a[dstype="lockup_batch"]').click(function(){
ids_str = getItems();
if (ids_str) {
goods_lockup(ids_str);
}
});
// 售卖商品批量处理
$('a[dstype="reduction_batch"]').click(function(){
ids_str = getItems();
if (ids_str) {
goods_reduction(ids_str);
}
});
// ajax获取商品列表
$('i[dstype="ajaxGoodsList"]').click(
function(){
var status = $(this).attr("status");
if (status == 'open') {
$(this).attr('status', 'close');
$(this).removeClass('icon-jia').addClass('icon-jian');
var _parenttr = $(this).parents('tr');
var _commonid = $(this).attr('data-comminid');
var _div = _parenttr.next().find('.dssc-goods-sku');
if (_div.html() == '') {
$.getJSON('<?php echo url("Goods/get_goods_list_ajax"); ?>' , {commonid : _commonid}, function(date){
if (date != 'false') {
var _ul = $('<ul class="dssc-goods-sku-list"></ul>');
var res = eval('(' + date + ')');
for (var i = 0; i < res.length; i++)
{
$('<li><div class="goods-thumb" title="商家货号:' + res[i].goods_serial + '"><a href="' + res[i].url + '" target="_blank"><image src="' + res[i].goods_image + '" ></a></div>' + res[i].goods_spec + '<div class="goods-price">价格:<em title="¥' + res[i].goods_price + '">¥' + res[i].goods_price + '</em></div><div class="goods-storage">库存:<em title="' + res[i].goods_storage + '">' + res[i].goods_storage + '</em></div><a href="' + res[i].url + '" target="_blank" class="dssc-btn-mini">查看商品详情</a></li>').appendTo(_ul);
_ul.appendTo(_div);
_parenttr.next().show();
}
// 计算div的宽度
_div.css('width', document.body.clientWidth-54);
// _div.perfectScrollbar();
}
});
} else {
_parenttr.next().show()
}
}else{
$(this).attr('status', 'open');
$(this).removeClass('icon-jian').addClass('icon-jia');
$(this).parents('tr').next().hide();
}
}
);
});
// 获得选中ID
function getId() {
var str = '';
$('#form_goods').find('input[name="id[]"]:checked').each(function(){
id = parseInt($(this).val());
if (!isNaN(id)) {
str += id + ',';
}
});
if (str == '') {
return false;
}
str = str.substr(0, (str.length - 1));
return str;
}
// 获得选中ID
function getItems() {
/* 获取选中的项 */
var items = '';
$('.checkitem:checked').each(function () {
items += this.value + ',';
});
if (items != '') {
items = items.substr(0, (items.length - 1));
}else{
layer.alert('请勾选选项', {icon: 2})
}
return items;
}
// 商品存入仓库
function goods_lockup(ids_str) {
_uri = ADMINSITEURL+"/Goods/goods_lockup?commonid=" + ids_str;
dsLayerOpen(_uri,'存入仓库理由','400px','200px');
}
// 商品售卖
function goods_reduction(ids_str) {
_uri = ADMINSITEURL+"/Goods/goods_lockup?type=reduction&commonid=" + ids_str;
dsLayerOpen(_uri,'商品售卖理由','400px','200px');
}
</script>

View File

@ -1,175 +0,0 @@
<?php /*a:3:{s:64:"/www/wwwroot/www.lightcourse.com/app/admin/view/order/index.html";i:1653515439;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>课程订单</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('order_number')); ?></dt>
<dd><input type="text" class="text w150" name="order_sn" value="<?php echo htmlentities(app('request')->param('order_sn')); ?>"></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('order_state')); ?></dt>
<dd>
<select name="order_state" class="querySelect">
<option value=""><?php echo htmlentities(lang('ds_please_choose')); ?></option>
<option value="10" <?php if(app('request')->param('order_state') == '10'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('order_state_new')); ?></option>
<option value="20" <?php if(app('request')->param('order_state') == '20'): ?>selected<?php endif; ?>>已支付</option>
<!-- <option value="30" <?php if(app('request')->param('order_state') == '30'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('order_state_send')); ?></option>
<option value="40" <?php if(app('request')->param('order_state') == '40'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('order_state_success')); ?></option>
<option value="0" <?php if(app('request')->param('order_state') == '0'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('order_state_cancel')); ?></option>-->
</select>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('order_time')); ?></dt>
<dd>
<input type="text" class="txt date" name="query_start_time" id="query_start_time" value="<?php echo htmlentities(app('request')->param('query_start_time')); ?>">
&nbsp;&nbsp;
<input id="query_end_time" class="txt date" type="text" name="query_end_time" value="<?php echo htmlentities(app('request')->param('query_end_time')); ?>">
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('buyer_name')); ?></dt>
<dd>
<input type="text" class="text w80" name="buyer_name" value="<?php echo htmlentities(app('request')->param('buyer_name')); ?>">
</dd>
<dd>
<select name="payment_code">
<option value=""><?php echo htmlentities(lang('ds_please_choose')); ?></option>
<?php foreach($payment_list as $val): ?>
<option <?php if(app('request')->param('payment_code') == $val['payment_code']): ?>selected<?php endif; ?> value="<?php echo htmlentities($val['payment_code']); ?>"><?php echo htmlentities($val['payment_name']); ?></option>
<?php endforeach; ?>
</select>
</dd>
</dl>
<div class="btn_group">
<input type="submit" class="btn" value="搜索">
<?php if($filtered): ?>
<a href="<?php echo url('Order/index'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
<?php endif; ?>
<a class="btn btn-mini" href="javascript:export_xls('<?php echo url('Order/export_step1'); ?>')"><span><?php echo htmlentities(lang('ds_export')); ?>Excel</span></a>
</div>
</div>
</form>
<table class="ds-default-table">
<thead>
<tr>
<th><?php echo htmlentities(lang('order_number')); ?></th>
<th><?php echo htmlentities(lang('buyer_name')); ?></th>
<th><?php echo htmlentities(lang('order_time')); ?></th>
<th><?php echo htmlentities(lang('order_total_price')); ?></th>
<th><?php echo htmlentities(lang('payment')); ?></th>
<th><?php echo htmlentities(lang('order_state')); ?></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<?php if(empty($order_list) || (($order_list instanceof \think\Collection || $order_list instanceof \think\Paginator ) && $order_list->isEmpty())): ?>
<tbody>
<tr class="no_data">
<td colspan="20"><?php echo htmlentities(lang('no_record')); ?></td>
</tr>
</tbody>
<?php else: ?>
<tbody>
<?php if(is_array($order_list) || $order_list instanceof \think\Collection || $order_list instanceof \think\Paginator): if( count($order_list)==0 ) : echo "" ;else: foreach($order_list as $key=>$order): ?>
<tr>
<td><?php echo htmlentities($order['order_sn']); ?></td>
<td><?php echo htmlentities($order['buyer_name']); ?></td>
<td><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($order['add_time'])? strtotime($order['add_time']) : $order['add_time'])); ?></td>
<td><?php echo htmlentities($order['order_amount']); ?></td>
<td><?php echo get_order_payment_name($order['payment_code']); ?></td>
<td><?php echo get_order_state($order); ?></td>
<td>
<a href="javascript:dsLayerOpen('<?php echo url('Order/show_order',['order_id'=>$order['order_id']]); ?>','查看实物订单-<?php echo htmlentities($order['order_sn']); ?>')" class="dsui-btn-view"><i class="iconfont"></i><?php echo htmlentities(lang('ds_view')); ?></a>
<?php if($order['order_state'] == 20): ?>
<a href="/index.php/admin/order/enroll?order_id=<?php echo htmlentities($order['order_id']); ?>" class="dsui-btn-edit"><i class="iconfont"></i>Enroll</a>
<?php endif; if($order['if_cancel']): ?>
<a href="javascript:dsLayerConfirm('<?php echo url('Order/change_state',['type_state'=>'cancel','order_id'=>$order['order_id']]); ?>','<?php echo htmlentities(lang('order_confirm_cancel')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_cancel')); ?></a>
<?php endif; ?>
<!-- <?php if($order['if_system_receive_pay']): ?>
<a href="javascript:dsLayerOpen('<?php echo url('Order/change_state',['type_state'=>'receive_pay','order_id'=>$order['order_id']]); ?>','实物订单-<?php echo htmlentities($order['order_sn']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('order_change_received')); ?></a>
<?php endif; ?>-->
<!-- <?php if(isset($order['pintuanorder_state'])): ?>
<p><?php echo htmlentities($order['pintuanorder_state_text']); ?></p>
<?php endif; ?>-->
<!-- <?php if($order['if_spay_price']): ?>
<a href="javascript:dsLayerOpen('<?php echo url('Order/change_state',['type_state'=>'spay_price','order_id'=>$order['order_id']]); ?>','实物订单-<?php echo htmlentities($order['order_sn']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('order_revise_price')); ?></a>
<?php endif; ?>-->
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
<?php endif; ?>
</table>
<?php echo $show_page; ?>
</div>
<script type="text/javascript">
$(function(){
$('#query_start_time').datepicker({dateFormat: 'yy-mm-dd'});
$('#query_end_time').datepicker({dateFormat: 'yy-mm-dd'});
});
</script>

View File

@ -1,107 +0,0 @@
<?php /*a:3:{s:73:"/www/wwwroot/lianke.keyutest.com/app/admin/view/upload/default_thumb.html";i:1609141930;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>上传设置</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="post" enctype="multipart/form-data" name="form1" action="">
<div class="ncap-form-default">
<dl>
<dt><?php echo htmlentities(lang('default_goods_image')); ?></dt>
<dd>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo ds_get_pic(ATTACH_COMMON,$list_config['default_goods_image']); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
</span>
<span class="type-file-box"><input type='text' name='textfield' id='textfield1' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="default_goods_image" type="file" class="type-file-file" id="default_goods_image" size="30" hidefocus="true" ds_type="change_default_goods_image">
</span>
<p class="notic">建议上传图片像素为 300px X 300px</p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('default_user_portrait')); ?></dt>
<dd>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo ds_get_pic(ATTACH_COMMON,$list_config['default_user_portrait']); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
</span>
<span class="type-file-box"><input type='text' name='textfield' id='textfield4' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="default_user_portrait" type="file" class="type-file-file" id="default_user_portrait" size="30" hidefocus="true" ds_type="change_default_user_portrait">
</span>
<p class="notic">128px * 128px</p>
</dd>
</dl>
<dl>
<dt></dt>
<dd><a href="JavaScript:void(0);" class="btn" onclick="document.form1.submit()">确认提交</a></dd>
</dl>
</div>
</form>
</div>
<script>
$(function(){
$("#default_goods_image").change(function () {
$("#textfield1").val($("#default_goods_image").val());
});
$("#default_user_portrait").change(function () {
$("#textfield4").val($("#default_user_portrait").val());
});
})
</script>

View File

@ -1,152 +0,0 @@
<?php /*a:5:{s:64:"/www/wwwroot/www.lightcourse.com/app/admin/view/index/index.html";i:1594017460;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/header.html";i:1643980182;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/topnav.html";i:1643984736;s:64:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/left.html";i:1594017460;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/footer.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="admincp-header">
<div class="logo">
<div style="font-size: 30px;color:darkorange;margin-left:10px;margin-top:5px;">联课教育</div>
<!-- <img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/backlogo.png"/>-->
</div>
<div class="navbar">
<ul class="fl" style="float:left;">
<?php if(is_array($menu_list) || $menu_list instanceof \think\Collection || $menu_list instanceof \think\Paginator): if( count($menu_list)==0 ) : echo "" ;else: foreach($menu_list as $key=>$menu): ?>
<li id="nav_<?php echo htmlentities($menu['name']); ?>" <?php if(!$menu['show']): ?>style="display:none"<?php endif; ?>>
<a href="javascript:void(0)" onclick="openItem('<?php echo htmlentities($menu['name']); ?>')"><?php echo htmlentities($menu['text']); ?></a>
</li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<ul class="fr" style="float:right">
<li>
<span>您好,<?php echo session('admin_name'); ?></span>
<div class="sub-meun">
<dl>
<dd><a href="<?php echo url('Index/modifypw'); ?>" target="main-frame"><i class="iconfont">&#xe67b;</i>修改密码</a></dd>
<dd><a href="javascript:dsLayerConfirm('<?php echo url('Login/logout'); ?>','您确定退出吗?')"><i class="iconfont">&#xe70c;</i>安全退出</a></dd>
</dl>
</div>
</li>
<li><a href="javascript:dsLayerConfirm('<?php echo url('Index/clear'); ?>','确定清理全部缓存?')" target="main-frame"><?php echo htmlentities(lang('ds_cache')); ?></a></li>
<li><a href="<?php echo url('/home/Index/index'); ?>" target="_blank">访问首页</a></li>
</ul>
</div>
</div>
<div class="admincp-container">
<div class="admincp-container-left">
<div id="mainMenu">
<?php if(is_array($menu_list) || $menu_list instanceof \think\Collection || $menu_list instanceof \think\Paginator): if( count($menu_list)==0 ) : echo "" ;else: foreach($menu_list as $menu_k=>$menu): ?>
<ul id="sort_<?php echo htmlentities($menu['name']); ?>" <?php if($menu_k != 'dashboard'): ?>style="display:none"<?php endif; ?>>
<?php if(is_array($menu['children']) || $menu['children'] instanceof \think\Collection || $menu['children'] instanceof \think\Paginator): if( count($menu['children'])==0 ) : echo "" ;else: foreach($menu['children'] as $submenu_key=>$submenu): $args_array = explode(",",$submenu['args']); ?>
<li id="left_<?php echo $args_array[2].$args_array[1].$args_array[0] ?>"><a href="javascript:void(0)" onclick="openItem('<?php echo htmlentities($submenu['args']); ?>')" ><i class="iconfont"><?php echo (isset($submenu['ico']) && ($submenu['ico'] !== '')?$submenu['ico']:'&#xe652;'); ?></i><?php echo htmlentities($submenu['text']); ?></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endforeach; endif; else: echo "" ;endif; ?>
</div>
</div>
<div class="admincp-container-right">
<div class="top-border"></div>
<iframe src="<?php echo url('Dashboard/index'); ?>" id="main-frame" name="main-frame" style="overflow: visible;" frameborder="0" width="100%" height="94%" scrolling="yes" onload="window.parent"></iframe>
</div>
</div>
<script>
$(function() {
$('#welcome,dashboard,dashboard').addClass('active');
if ($.cookie('now_location_controller') != null) {
openItem($.cookie('now_location_action') + ',' + $.cookie('now_location_controller') + ',' + $.cookie('now_location_module'));
} else {
$('#mainMenu>ul').first().css('display', 'block');
//第一次进入后台时,默认定到欢迎界面
$('#item_welcome').addClass('selected');
$('#workspace').attr('src', ADMINSITEURL+'/Dashboard/welcome.html');
}
$('#iframe_refresh').click(function() {
var fr = document.frames ? document.frames("workspace") : document.getElementById("workspace").contentWindow;
fr.location.reload();
});
});
function openItem(args) {
spl = args.split(',');
action = spl[0];
try {
controller = spl[1];
module = spl[2];
}
catch (ex) {
}
if (typeof(controller) == 'undefined') {
var module = args;
}
//顶部导航样式处理
$('.actived').removeClass('actived');
$('#nav_' + module).addClass('actived');
//清除左侧样式
$('.selected').removeClass('selected');
//show
$('#mainMenu ul').css('display', 'none');
$('#sort_' + module).css('display', 'block');
if (typeof(controller) == 'undefined') {
//顶部菜单事件
html = $('#sort_' + module + '>li').first().html();
str = html.match(/openItem\('(.*)'\)/ig);
arg = str[0].split("'");
spl = arg[1].split(',');
action = spl[0];
controller = spl[1];
module = spl[2];
first_obj = $('#sort_' + module + '>li').first();
$(first_obj).addClass('selected');
} else {
//左侧菜单事件
//location
$.cookie('now_location_module', module);
$.cookie('now_location_controller', controller);
$.cookie('now_location_action', action);
$("#left_"+ module + controller + action).addClass('selected');
}
src = ADMINSITEURL + '/' + controller + '/' + action + '/';
$('#main-frame').attr('src', src);
}
</script>

View File

@ -1,45 +0,0 @@
<?php /*a:1:{s:73:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/dispatch_jump.html";i:1594017460;}*/ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>跳转提示</title>
<style type="text/css">
*{ padding: 0; margin: 0; }
body{ background: #fff; font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif; color: #333; font-size: 12px; }
.system-message{margin:auto;width:400px;border-radius:5px;border:1px solid #D4D4D4;margin-top:100px;}
.system-message h1{font-weight: normal; line-height:32px;height:32px;font-size:16px;background:#FF9933;color:#fff;padding:5px 0;}
.system-message h1 img{float:left;margin:0 10px;}
.system-message .success,.system-message .error{ line-height:32px; font-size:20px;text-align:center;margin:10px 20px;}
.system-message .detail{ font-size: 12px; line-height: 20px; margin-top: 12px; display: none; }
.system-message .jump{ padding:15px 0; text-align:center;background:#F9F9F9;font-size:13px;}
.system-message .jump a{ color: #333; }
</style>
</head>
<body>
<div class="system-message">
<?php switch ($code) {case 1:?>
<h1><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/dispatch_jump_success.png"/>操作成功!</h1>
<p class="success"><?php echo(strip_tags($msg));?></p>
<?php break;case 0:?>
<h1><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/dispatch_jump_error.png"/>有错误发生!</h1>
<p class="error"><?php echo(strip_tags($msg));?></p>
<?php break;} ?>
<p class="detail"></p>
<p class="jump">页面自动 <a id="href" href="<?php echo htmlentities($url); ?>">跳转</a> 等待时间: <b id="wait"><?php echo htmlentities($wait); ?></b></p>
</div>
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),
href = document.getElementById('href').href;
var interval = setInterval(function(){
var time = --wait.innerHTML;
if(time <= 0) {
location.href = href;
clearInterval(interval);
};
}, 1000);
})();
</script>
</body>
</html>

View File

@ -1,121 +0,0 @@
<?php /*a:3:{s:63:"/www/wwwroot/lianke.keyutest.com/app/admin/view/spec/index.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>规格管理</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('spec_index_tip1')); ?></li>
<li><?php echo htmlentities(lang('spec_index_tip2')); ?></li>
<li><?php echo htmlentities(lang('spec_index_tip3')); ?></li>
</ul>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('sp_name')); ?></dt>
<dd><input type="text" value="<?php echo htmlentities((app('request')->get('sp_name') ?: '')); ?>" name="sp_name" id="sp_name" class="txt"></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('gc_name')); ?></dt>
<dd><input type="text" value="<?php echo htmlentities((app('request')->get('gc_name') ?: '')); ?>" name="gc_name" id="gc_name" class="txt"></dd>
</dl>
<div class="btn_group">
<input type="hidden" name="type" value="<?php echo htmlentities(app('request')->param('type')); ?>">
<a href="javascript:void(0);" id="dssubmit" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<a href="<?php echo url('spec/index',['type'=>app('request')->param('type')]); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
</div>
</div>
</form>
<table class="ds-default-table">
<thead>
<tr>
<th><?php echo htmlentities(lang('sp_id')); ?></th>
<th><?php echo htmlentities(lang('sp_name')); ?></th>
<th><?php echo htmlentities(lang('gc_name')); ?></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(is_array($spec_list) || $spec_list instanceof \think\Collection || $spec_list instanceof \think\Paginator): if( count($spec_list)==0 ) : echo "" ;else: foreach($spec_list as $key=>$spec): ?>
<tr>
<td><?php echo htmlentities($spec['sp_id']); ?></td>
<td><?php echo htmlentities($spec['sp_name']); ?></td>
<td><?php echo htmlentities($spec['gc_name']); ?></td>
<td>
<a href="javascript:dsLayerOpen('<?php echo url('Spec/spec_edit',['sp_id'=>$spec['sp_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($spec['sp_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<?php if($spec['sp_id'] != 1): ?>
<a href="javascript:dsLayerConfirm('<?php echo url('Spec/spec_drop',['sp_id'=>$spec['sp_id']]); ?>','您确定删除此规格')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
<?php endif; ?>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>
<script>
$('#dssubmit').click(function(){
$('#formSearch').submit();
});
</script>

View File

@ -1,196 +0,0 @@
<?php /*a:2:{s:69:"/www/wwwroot/lianke.keyutest.com/app/admin/view/order/show_order.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<table class="ds-default-table order">
<tbody>
<tr class="space">
<th colspan="2"><?php echo htmlentities(lang('order_detail')); ?></th>
</tr>
<tr>
<th><?php echo htmlentities(lang('order_info')); ?></th>
</tr>
<tr>
<td colspan="2"><ul>
<li>
<strong><?php echo htmlentities(lang('order_number')); ?>:</strong><?php echo htmlentities($order_info['order_sn']); ?>
( 支付单号 <?php echo htmlentities(lang('ds_colon')); ?> <?php echo htmlentities($order_info['pay_sn']); ?> )
</li>
<li><strong><?php echo htmlentities(lang('order_state')); ?>:</strong><?php echo get_order_state($order_info); ?></li>
<li><strong><?php echo htmlentities(lang('order_total_price')); ?>:</strong><span class="red_common"><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($order_info['order_amount']); ?> </span>
<?php if($order_info['refund_amount'] > 0): ?>
(<?php echo htmlentities(lang('order_refund')); ?>:<?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($order_info['refund_amount']); ?>)
<?php endif; ?>
</li>
<li><strong>使用预存款支付:</strong><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($order_info['pd_amount']); ?></li>
<li><strong>使用充值卡支付:</strong><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($order_info['rcb_amount']); ?></li>
<li><strong><?php echo htmlentities(lang('order_total_transport')); ?>:</strong><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($order_info['shipping_fee']); ?></li>
</ul></td>
</tr>
<tr>
<td><ul>
<li><strong><?php echo htmlentities(lang('buyer_name')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($order_info['buyer_name']); ?></li>
<li><strong><?php echo htmlentities(lang('payment')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo get_order_payment_name($order_info['payment_code']); ?></li>
<li><strong><?php echo htmlentities(lang('order_time')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($order_info['add_time'])? strtotime($order_info['add_time']) : $order_info['add_time'])); ?></li>
<?php if(isset($order_info['payment_time']) && $order_info['payment_time']!=''): ?>
<li><strong><?php echo htmlentities(lang('payment_time')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($order_info['payment_time'])? strtotime($order_info['payment_time']) : $order_info['payment_time'])); ?></li>
<?php endif; if(isset($order_info['shipping_time']) && $order_info['shipping_time']!=''): ?>
<li><strong><?php echo htmlentities(lang('ship_time')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($order_info['shipping_time'])? strtotime($order_info['shipping_time']) : $order_info['shipping_time'])); ?></li>
<?php endif; if(isset($order_info['finnshed_time']) && $order_info['finnshed_time']!=''): ?>
<li><strong><?php echo htmlentities(lang('complate_time')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($order_info['finnshed_time'])? strtotime($order_info['finnshed_time']) : $order_info['finnshed_time'])); ?></li>
<?php endif; if($order_info['extend_order_common']['order_message'] != ''): ?>
<li><strong><?php echo htmlentities(lang('buyer_message')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($order_info['extend_order_common']['order_message']); ?></li>
<?php endif; ?>
</ul></td>
</tr>
<tr>
<th>收货人信息</th>
</tr>
<tr>
<td><ul>
<li><strong><?php echo htmlentities(lang('consignee_name')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($order_info['extend_order_common']['reciver_name']); ?></li>
<li><strong><?php echo htmlentities(lang('tel_phone')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities((isset($order_info['extend_order_common']['reciver_info']['phone']) && ($order_info['extend_order_common']['reciver_info']['phone'] !== '')?$order_info['extend_order_common']['reciver_info']['phone']:'')); ?></li>
<li><strong><?php echo htmlentities(lang('address')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities((isset($order_info['extend_order_common']['reciver_info']['address']) && ($order_info['extend_order_common']['reciver_info']['address'] !== '')?$order_info['extend_order_common']['reciver_info']['address']:'')); ?></li>
<?php if($order_info['shipping_code'] != ''): ?>
<li><strong><?php echo htmlentities(lang('ship_code')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($order_info['shipping_code']); ?></li>
<?php endif; ?>
</ul></td>
</tr>
<?php if(!(empty($daddress_info) || (($daddress_info instanceof \think\Collection || $daddress_info instanceof \think\Paginator ) && $daddress_info->isEmpty()))): ?>
<tr>
<th>发货信息</th>
</tr>
<tr>
<td><ul>
<li><strong>发货人<?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($daddress_info['seller_name']); ?></li>
<li><strong><?php echo htmlentities(lang('tel_phone')); ?>:</strong><?php echo htmlentities($daddress_info['daddress_telphone']); ?></li>
<li><strong>发货地<?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($daddress_info['area_info']); ?>&nbsp;<?php echo htmlentities($daddress_info['daddress_detail']); ?>&nbsp;<?php echo htmlentities($daddress_info['daddress_company']); ?></li>
</ul></td>
</tr>
<?php endif; if (!empty($order_info['extend_order_common']['invoice_info'])) {?>
<tr>
<th>发票信息</th>
</tr>
<tr>
<td><ul>
<?php foreach ((array)$order_info['extend_order_common']['invoice_info'] as $key => $value){?>
<li><strong><?php echo htmlentities($key); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($value); ?></li>
<?php } ?>
</ul></td>
</tr>
<?php } ?>
<tr>
<th><?php echo htmlentities(lang('product_info')); ?></th>
</tr>
<tr>
<td><table class="ds-default-table goods ">
<tbody>
<tr>
<th></th>
<th><?php echo htmlentities(lang('product_info')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('product_price')); ?></th>
<th class="align-center">实际支付额</th>
<th class="align-center"><?php echo htmlentities(lang('product_num')); ?></th>
</tr>
<?php if(is_array($order_info['extend_order_goods']) || $order_info['extend_order_goods'] instanceof \think\Collection || $order_info['extend_order_goods'] instanceof \think\Paginator): if( count($order_info['extend_order_goods'])==0 ) : echo "" ;else: foreach($order_info['extend_order_goods'] as $key=>$goods): ?>
<tr>
<td class="w60 picture"><div class="size-56x56"><span class="thumb size-56x56"><i></i><a href="<?php echo url('/home/Goods/index',['goods_id'=>$goods['goods_id']]); ?>" target="_blank"><img src="<?php echo goods_cthumb($goods['goods_image']); ?>" width="60" height="60"/> </a></span></div></td>
<td class="w50pre"><p><a href="<?php echo url('/home/Goods/index',['goods_id'=>$goods['goods_id']]); ?>" target="_blank"><?php echo htmlentities($goods['goods_name']); ?></a></p><p><?php echo get_order_goodstype($goods['goods_type']);?></p></td>
<td class="w96 align-center"><span class="red_common"><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($goods['goods_price']); ?></span></td>
<td class="w96 align-center"><span class="red_common"><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($goods['goods_pay_price']); ?></span></td>
<td class="w96 align-center"><?php echo htmlentities($goods['goods_num']); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
</td>
</tr>
<!-- S 促销信息 -->
<?php if(!empty($order_info['extend_order_common']['promotion_info']) && !empty($order_info['extend_order_common']['voucher_code'])){ ?>
<tr>
<th>其它信息</th>
</tr>
<tr>
<td>
<?php if(!empty($order_info['extend_order_common']['promotion_info'])){ ?>
<?php echo $order_info['extend_order_common']['promotion_info'];?>
<?php } if(!empty($order_info['extend_order_common']['voucher_code'])){ ?>
使用了面额为 <?php echo htmlentities(lang('ds_colon')); ?> <?php echo $order_info['extend_order_common']['voucher_price'];?> 元的代金券,
编码 : <?php echo $order_info['extend_order_common']['voucher_code'];} ?>
</td>
</tr>
<?php } ?>
<!-- E 促销信息 -->
<?php if(!(empty($refund_list) || (($refund_list instanceof \think\Collection || $refund_list instanceof \think\Paginator ) && $refund_list->isEmpty()))): ?>
<tr>
<th>退款记录</th>
</tr>
<?php if(is_array($refund_list) || $refund_list instanceof \think\Collection || $refund_list instanceof \think\Paginator): if( count($refund_list)==0 ) : echo "" ;else: foreach($refund_list as $key=>$val): ?>
<tr>
<td>发生时间<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($val['admin_time'])? strtotime($val['admin_time']) : $val['admin_time'])); ?>&emsp;&emsp;退款单号<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities($val['refund_sn']); ?>&emsp;&emsp;退款金额<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($val['refund_amount']); ?>&emsp;备注<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities($val['goods_name']); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; if(!(empty($return_list) || (($return_list instanceof \think\Collection || $return_list instanceof \think\Paginator ) && $return_list->isEmpty()))): ?>
<tr>
<th>退货记录</th>
</tr>
<?php if(is_array($return_list) || $return_list instanceof \think\Collection || $return_list instanceof \think\Paginator): if( count($return_list)==0 ) : echo "" ;else: foreach($return_list as $key=>$val): ?>
<tr>
<td>发生时间<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($val['admin_time'])? strtotime($val['admin_time']) : $val['admin_time'])); ?>&emsp;&emsp;退货单号<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities($val['refund_sn']); ?>&emsp;&emsp;退款金额<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($val['refund_amount']); ?>&emsp;备注<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities($val['goods_name']); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; if(!(empty($order_log) || (($order_log instanceof \think\Collection || $order_log instanceof \think\Paginator ) && $order_log->isEmpty()))): ?>
<tr>
<th><?php echo htmlentities(lang('order_handle_history')); ?></th>
</tr>
<?php if(is_array($order_log) || $order_log instanceof \think\Collection || $order_log instanceof \think\Paginator): if( count($order_log)==0 ) : echo "" ;else: foreach($order_log as $key=>$val): ?>
<tr>
<td>
<?php echo htmlentities($val['log_role']); ?> <?php echo htmlentities($val['log_user']); ?>&emsp;<?php echo htmlentities(lang('order_show_at')); ?>&emsp;<?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($val['log_time'])? strtotime($val['log_time']) : $val['log_time'])); ?>&emsp;<?php echo htmlentities($val['log_msg']); ?>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</tbody>
</table>
</div>

View File

@ -1,280 +0,0 @@
<?php /*a:3:{s:61:"/www/wwwroot/light.haix.cn/app/admin/view/message/mobile.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_message')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="post">
<table class="ds-default-table">
<tbody>
<tr>
<td class="required w120"><?php echo htmlentities(lang('smscf_sign')); ?></td>
<td class="vatop rowform">
<input type="text" name="smscf_sign" id="smscf_sign" value="<?php echo htmlentities($list_config['smscf_sign']); ?>" class="w200"/>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('smscf_sign_tips')); ?></td>
</tr>
<tr>
<td class="required w120"><?php echo htmlentities(lang('smscf_type')); ?></td>
<td class="vatop rowform">
<select id="smscf_type" name="smscf_type">
<option value="wj" <?php if($list_config['smscf_type']=='wj'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('smscf_type_wj')); ?></option>
<option value="ali" <?php if($list_config['smscf_type']=='ali'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('smscf_type_ali')); ?></option>
<option value="ten" <?php if($list_config['smscf_type']=='ten'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('smscf_type_ten')); ?></option>
</select>
</td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder smscf_type_wj" <?php if($list_config['smscf_type']!='wj'): ?>style="display:none"<?php endif; ?>>
<td class="required w120"><?php echo htmlentities(lang('smscf_wj_username')); ?></td>
<td class="vatop rowform">
<input type="text" name="smscf_wj_username" id="smscf_wj_username" value="<?php echo htmlentities($list_config['smscf_wj_username']); ?>" class="w200"/>
</td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder smscf_type_wj" <?php if($list_config['smscf_type']!='wj'): ?>style="display:none"<?php endif; ?>>
<td class="required w120"><?php echo htmlentities(lang('smscf_wj_key')); ?></td>
<td class="vatop rowform">
<input type="text" name="smscf_wj_key" id="smscf_wj_key" value="<?php echo htmlentities($list_config['smscf_wj_key']); ?>" class="w200"/>
<a href="http://sms.webchinese.com.cn/" target="_blank" class="btn btn-blue btn-mini"><?php echo htmlentities(lang('ds_apply')); ?></a>
</td>
<td class="vatop tips"></td>
</tr>
<?php if(!(empty($smscf_num) || (($smscf_num instanceof \think\Collection || $smscf_num instanceof \think\Paginator ) && $smscf_num->isEmpty()))): ?>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('smscf_num')); ?></td>
<td><?php echo htmlentities($smscf_num); ?></td>
<td class="vatop tips"></td>
</tr>
<?php endif; ?>
<tr class="noborder smscf_type_ali" <?php if($list_config['smscf_type']!='ali'): ?>style="display:none"<?php endif; ?>>
<td class="required w120"><?php echo htmlentities(lang('smscf_ali_id')); ?></td>
<td class="vatop rowform">
<input type="text" name="smscf_ali_id" id="smscf_ali_id" value="<?php echo htmlentities($list_config['smscf_ali_id']); ?>" class="w200"/>
<a href="https://www.aliyun.com/product/sms" target="_blank" class="btn btn-blue btn-mini"><?php echo htmlentities(lang('ds_apply')); ?></a>
</td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder smscf_type_ali" <?php if($list_config['smscf_type']!='ali'): ?>style="display:none"<?php endif; ?>>
<td class="required w120"><?php echo htmlentities(lang('smscf_ali_secret')); ?></td>
<td class="vatop rowform">
<input type="text" name="smscf_ali_secret" id="smscf_ali_secret" value="<?php echo htmlentities($list_config['smscf_ali_secret']); ?>" class="w200"/>
</td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder smscf_type_ten" <?php if($list_config['smscf_type']!='ten'): ?>style="display:none"<?php endif; ?>>
<td class="required w120"><?php echo htmlentities(lang('smscf_ten_id')); ?></td>
<td class="vatop rowform">
<input type="text" name="smscf_ten_id" id="smscf_ten_id" value="<?php echo htmlentities($list_config['smscf_ten_id']); ?>" class="w200"/>
<a href="https://cloud.tencent.com/product/sms" target="_blank" class="btn btn-blue btn-mini"><?php echo htmlentities(lang('ds_apply')); ?></a>
</td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder smscf_type_ten" <?php if($list_config['smscf_type']!='ten'): ?>style="display:none"<?php endif; ?>>
<td class="required w120"><?php echo htmlentities(lang('smscf_ten_secret')); ?></td>
<td class="vatop rowform">
<input type="text" name="smscf_ten_secret" id="smscf_ten_secret" value="<?php echo htmlentities($list_config['smscf_ten_secret']); ?>" class="w200"/>
</td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('sms_register')); ?></td>
<td class="vatop rowform">
<div class="onoff">
<label for="sms_register_show1" class="cb-enable <?php if($list_config['sms_register'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_yes')); ?></label>
<label for="sms_register_show0" class="cb-disable <?php if($list_config['sms_register'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_no')); ?></label>
<input id="sms_register_show1" name="sms_register" value="1" type="radio" <?php if($list_config['sms_register'] == 1): ?> checked="checked"<?php endif; ?>>
<input id="sms_register_show0" name="sms_register" value="0" type="radio" <?php if($list_config['sms_register'] == 0): ?> checked="checked"<?php endif; ?>>
</div>
</td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('sms_login')); ?></td>
<td class="vatop rowform">
<div class="onoff">
<label for="sms_login_show1" class="cb-enable <?php if($list_config['sms_login'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_yes')); ?></label>
<label for="sms_login_show0" class="cb-disable <?php if($list_config['sms_login'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_no')); ?></label>
<input id="sms_login_show1" name="sms_login" value="1" type="radio" <?php if($list_config['sms_login'] == 1): ?> checked="checked"<?php endif; ?>>
<input id="sms_login_show0" name="sms_login" value="0" type="radio" <?php if($list_config['sms_login'] == 0): ?> checked="checked"<?php endif; ?>>
</div>
</td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('sms_password')); ?></td>
<td class="vatop rowform">
<div class="onoff">
<label for="sms_password_show1" class="cb-enable <?php if($list_config['sms_password'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_yes')); ?></label>
<label for="sms_password_show0" class="cb-disable <?php if($list_config['sms_password'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_no')); ?></label>
<input id="sms_password_show1" name="sms_password" value="1" type="radio" <?php if($list_config['sms_password'] == 1): ?> checked="checked"<?php endif; ?>>
<input id="sms_password_show0" name="sms_password" value="0" type="radio" <?php if($list_config['sms_password'] == 0): ?> checked="checked"<?php endif; ?>>
</div>
</td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('test_mobile_address')); ?></td>
<td class="vatop rowform">
<input type="text" name="mobile_test" id="mobile_test" value="" class="w200"/>
<input type="button" value="<?php echo htmlentities(lang('test_mail')); ?>" name="send_test_mobile" class="btn btn-small" id="send_test_mobile" >
</td>
</tr>
<tr class="noborder smscf_type_ali" <?php if($list_config['smscf_type']!='ali'): ?>style="display:none"<?php endif; ?>>
<td class="required w120"><?php echo htmlentities(lang('ali_template_code')); ?></td>
<td class="vatop rowform">
<input type="text" name="ali_template_code" id="ali_template_code" value="" class="w200"/>
</td>
</tr>
<tr class="noborder smscf_type_ali" <?php if($list_config['smscf_type']!='ali'): ?>style="display:none"<?php endif; ?>>
<td class="required w120"><?php echo htmlentities(lang('ali_template_content')); ?></td>
<td class="vatop rowform">
<textarea name="ali_template_content" id="ali_template_content" class="w200"></textarea>
</td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder smscf_type_ali" <?php if($list_config['smscf_type']!='ali'): ?>style="display:none"<?php endif; ?>>
<td class="required w120"><?php echo htmlentities(lang('ali_template_param')); ?></td>
<td class="vatop rowform">
<textarea name="ali_template_param" id="ali_template_param" class="w200"></textarea>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('ali_template_param_tips')); ?></td>
</tr>
<tr class="noborder smscf_type_ten" <?php if($list_config['smscf_type']!='ten'): ?>style="display:none"<?php endif; ?>>
<td class="required w120"><?php echo htmlentities(lang('ten_template_code')); ?></td>
<td class="vatop rowform">
<input type="text" name="ten_template_code" id="ten_template_code" value="" class="w200"/>
</td>
</tr>
<tr class="noborder smscf_type_ten" <?php if($list_config['smscf_type']!='ten'): ?>style="display:none"<?php endif; ?>>
<td class="required w120"><?php echo htmlentities(lang('ten_template_content')); ?></td>
<td class="vatop rowform">
<textarea name="ten_template_content" id="ten_template_content" class="w200"></textarea>
</td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder smscf_type_ten" <?php if($list_config['smscf_type']!='ten'): ?>style="display:none"<?php endif; ?>>
<td class="required w120"><?php echo htmlentities(lang('ten_template_param')); ?></td>
<td class="vatop rowform">
<textarea name="ten_template_param" id="ten_template_param" class="w200"></textarea>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('ten_template_param_tips')); ?></td>
</tr>
<tr class="noborder smscf_type_wj" <?php if($list_config['smscf_type']!='wj'): ?>style="display:none"<?php endif; ?>>
<td class="required w120"><?php echo htmlentities(lang('test_mobile_content')); ?></td>
<td class="vatop rowform">
<textarea name="mobile_test_content" id="mobile_test_content" class="w200"></textarea>
</td>
</tr>
</tbody>
<tfoot>
<tr class="tfoot">
<td></td>
<td colspan="15"><input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
</tr>
</tfoot>
</table>
</form>
</div>
<script>
$(document).ready(function(){
$('#send_test_mobile').click(function(){
$.ajax({
type:'POST',
url:"<?php echo url('Message/mobile_testing'); ?>",
data:{
'smscf_sign':$('#smscf_sign').val(),
'smscf_type':$('#smscf_type').val(),
'smscf_ali_secret':$('#smscf_ali_secret').val(),
'smscf_ali_id':$('#smscf_ali_id').val(),
'ali_template_content':$('#ali_template_content').val(),
'ali_template_param':$('#ali_template_param').val(),
'ali_template_code':$('#ali_template_code').val(),
'smscf_ten_secret':$('#smscf_ten_secret').val(),
'smscf_ten_id':$('#smscf_ten_id').val(),
'ten_template_content':$('#ten_template_content').val(),
'ten_template_param':$('#ten_template_param').val(),
'ten_template_code':$('#ten_template_code').val(),
'mobile_test_content':$('#mobile_test_content').val(),
'smscf_wj_username':$('#smscf_wj_username').val(),
'smscf_wj_key':$('#smscf_wj_key').val(),
'mobile_test':$('#mobile_test').val()
},
error:function(html){
layer.alert('<?php echo htmlentities(lang('ds_common_op_fail')); ?>');
},
success:function(html){
if(html.msg){
layer.alert(html.msg);
}
},
dataType:'json'
});
});
$('#smscf_type').change(function(){
if($(this).val()=='wj'){
$('.smscf_type_ali').hide()
$('.smscf_type_wj').show()
$('.smscf_type_ten').hide()
}
if($(this).val()=='ali'){
$('.smscf_type_ali').show()
$('.smscf_type_wj').hide()
$('.smscf_type_ten').hide()
}
if($(this).val()=='ten'){
$('.smscf_type_ali').hide()
$('.smscf_type_wj').hide()
$('.smscf_type_ten').show()
}
})
});
</script>

View File

@ -1,131 +0,0 @@
<?php /*a:3:{s:65:"/www/wwwroot/light.haix.cn/app/admin/view/upload/upload_type.html";i:1646360726;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>上传设置</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="post" enctype="multipart/form-data" name="form1">
<div class="ncap-form-default">
<dl>
<dt><?php echo htmlentities(lang('upload_type')); ?></dt>
<dd>
<label class="radio-label">
<i class="radio-common <?php if($list_config['upload_type'] =='local'): ?>selected<?php endif; ?>">
<input type="radio" value="local" name="upload_type" id="upload_type_local" <?php if($list_config['upload_type'] =='local'): ?>checked="checked"<?php endif; ?>>
</i>
<span><?php echo htmlentities(lang('upload_type_local')); ?></span>
</label>
<label class="radio-label">
<i class="radio-common <?php if($list_config['upload_type'] =='alioss'): ?>selected<?php endif; ?>">
<input type="radio" value="alioss" name="upload_type" id="upload_type_alioss" <?php if($list_config['upload_type'] =='alioss'): ?> checked="checked"<?php endif; ?>>
</i>
<span><?php echo htmlentities(lang('upload_type_alioss')); ?></span>
</label>
</dd>
</dl>
<div class="alioss">
<dl>
<dt><?php echo htmlentities(lang('aliendpoint_type')); ?></dt>
<dd>
<div class="onoff">
<label for="aliendpoint_type_show1" class="cb-enable <?php if($list_config['aliendpoint_type'] == 1): ?>selected<?php endif; ?>"></label>
<label for="aliendpoint_type_show0" class="cb-disable <?php if($list_config['aliendpoint_type'] == 0): ?>selected<?php endif; ?>"></label>
<input id="aliendpoint_type_show1" name="aliendpoint_type" value="1" type="radio" <?php if($list_config['aliendpoint_type'] == 1): ?> checked="checked"<?php endif; ?>>
<input id="aliendpoint_type_show0" name="aliendpoint_type" value="0" type="radio" <?php if($list_config['aliendpoint_type'] == 0): ?> checked="checked"<?php endif; ?>>
</div>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('alioss_accessid')); ?></dt>
<dd>
<input id="alioss_accessid" name="alioss_accessid" value="<?php echo htmlentities((isset($list_config['alioss_accessid']) && ($list_config['alioss_accessid'] !== '')?$list_config['alioss_accessid']:'')); ?>" class="input-txt" type="text">
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('alioss_accesssecret')); ?></dt>
<dd>
<input id="alioss_accesssecret" name="alioss_accesssecret" value="<?php echo htmlentities((isset($list_config['alioss_accesssecret']) && ($list_config['alioss_accesssecret'] !== '')?$list_config['alioss_accesssecret']:'')); ?>" class="input-txt" type="text">
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('alioss_bucket')); ?></dt>
<dd>
<input id="alioss_bucket" name="alioss_bucket" value="<?php echo htmlentities((isset($list_config['alioss_bucket']) && ($list_config['alioss_bucket'] !== '')?$list_config['alioss_bucket']:'')); ?>" class="input-txt" type="text">
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('alioss_endpoint')); ?></dt>
<dd>
<input id="alioss_endpoint" name="alioss_endpoint" value="<?php echo htmlentities((isset($list_config['alioss_endpoint']) && ($list_config['alioss_endpoint'] !== '')?$list_config['alioss_endpoint']:'')); ?>" class="input-txt" type="text">
</dd>
</dl>
</div>
<dl>
<dt></dt>
<dd><a href="JavaScript:void(0);" class="btn" onclick="document.form1.submit()">确认提交</a></dd>
</dl>
</div>
</form>
</div>
<script>
$(function () {
if ($('#upload_type_local').prop('checked')) {
$('.alioss').hide();
}
$('#upload_type_local').click(function () {
$('.alioss').hide();
});
$('#upload_type_alioss').click(function () {
$('.alioss').show();
})
});
</script>

View File

@ -1,540 +0,0 @@
<?php /*a:3:{s:80:"/www/wwwroot/lianke.keyutest.com/app/admin/view/goodsclass/goods_class_edit.html";i:1647348242;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('goods_class_index_class')); ?></h3>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('goods_class_edit_prompts_one')); ?></li>
<li><?php echo htmlentities(lang('goods_class_edit_prompts_two')); ?></li>
</ul>
</div>
<form id="goods_class_form" name="goodsClassForm" enctype="multipart/form-data" method="post">
<input type="hidden" name="gc_id" value="<?php echo htmlentities($class_array['gc_id']); ?>" />
<input type="hidden" name="gc_parent_id" id="gc_parent_id" value="<?php echo htmlentities($class_array['gc_parent_id']); ?>" />
<input type="hidden" name="old_type_id" value="<?php echo htmlentities($class_array['type_id']); ?>">
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td colspan="2" class="required"><label class="gc_name validation" for="gc_name"><?php echo htmlentities(lang('goods_class_index_name')); ?>:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" maxlength="20" value="<?php echo htmlentities($class_array['gc_name']); ?>" name="gc_name" id="gc_name" class="txt"></td>
<td class="vatop tips"></td>
</tr>
<tr>
<td colspan="2" class="required"><label for="parent_id"><?php echo htmlentities(lang('goods_class_add_sup_class')); ?>:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><select name="gc_parent_id" id="gc_parent_id">
<option value="<?php echo htmlentities($class_array['gc_parent_id']); ?>">不更改所属分类(更改下拉)</option>
<?php if(!(empty($parent_list) || (($parent_list instanceof \think\Collection || $parent_list instanceof \think\Paginator ) && $parent_list->isEmpty()))): if(is_array($parent_list) || $parent_list instanceof \think\Collection || $parent_list instanceof \think\Paginator): if( count($parent_list)==0 ) : echo "" ;else: foreach($parent_list as $k=>$v): ?>
<option <?php if($class_array['gc_parent_id'] == $v['gc_id']): ?>selected='selected'<?php endif; ?> value="<?php echo htmlentities($v['gc_id']); ?>"><?php echo $v['gc_name']; ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</select></td>
<td class="vatop tips"><span style="color:#ff0000">注意:不要把顶级分类整体移动到其它分类下;</span> <?php echo htmlentities(lang('goods_class_add_sup_class_notice')); ?></td>
</tr>
<tr>
<td colspan="2" class="required"><label for="pic">项目图片:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pic']) || (($class_array['pic'] instanceof \think\Collection || $class_array['pic'] instanceof \think\Paginator ) && $class_array['pic']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pic']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield1' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="pic" type="file" class="type-file-file" id="pic" size="30" hidefocus="true" ds_type="change_pic">
</span>
</td>
</tr>
<tr>
<td colspan="2" class="required"><label for="logo">项目LOGO:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_logo']) || (($class_array['pro_logo'] instanceof \think\Collection || $class_array['pro_logo'] instanceof \think\Paginator ) && $class_array['pro_logo']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_logo']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield2' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="logo" type="file" class="type-file-file" id="logo" size="30" hidefocus="true" ds_type="change_logo">
</span>
</td>
</tr>
<tr>
<td colspan="2" class="required"><label for="big">项目Banner大图:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_big']) || (($class_array['pro_big'] instanceof \think\Collection || $class_array['pro_big'] instanceof \think\Paginator ) && $class_array['pro_big']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_big']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield3' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="big" type="file" class="type-file-file" id="big" size="30" hidefocus="true" ds_type="change_big">
</span>
</td>
</tr>
<tr class="noborder">
<td colspan="2" id="gcategory">
<select class="class-select">
<option value="0"><?php echo htmlentities(lang('ds_please_choose')); ?>...</option>
<?php if(!(empty($gc_list) || (($gc_list instanceof \think\Collection || $gc_list instanceof \think\Paginator ) && $gc_list->isEmpty()))): if(is_array($gc_list) || $gc_list instanceof \think\Collection || $gc_list instanceof \think\Paginator): if( count($gc_list)==0 ) : echo "" ;else: foreach($gc_list as $k=>$v): if($v['gc_parent_id'] == 0): ?>
<option value="<?php echo htmlentities($v['gc_id']); ?>"><?php echo htmlentities($v['gc_name']); ?></option>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</select><?php echo htmlentities(lang('ds_quickly_targeted')); ?></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="hidden" name="t_name" id="t_name" value="<?php echo htmlentities($class_array['type_name']); ?>" />
<input type="hidden" name="t_sign" id="t_sign" value="" />
<div id="type_div" class="goods-sort-type">
<div class="container">
<dl>
<dd>
<input type="radio" name="t_id" value="0" <?php if($class_array['type_id']): ?>checked="checked"<?php endif; ?> /><?php echo htmlentities(lang('goods_class_null_type')); ?>
</dd>
</dl>
<?php if(!(empty($type_list) || (($type_list instanceof \think\Collection || $type_list instanceof \think\Paginator ) && $type_list->isEmpty()))): if(is_array($type_list) || $type_list instanceof \think\Collection || $type_list instanceof \think\Paginator): if( count($type_list)==0 ) : echo "" ;else: foreach($type_list as $k=>$val): if(!(empty($val['type']) || (($val['type'] instanceof \think\Collection || $val['type'] instanceof \think\Paginator ) && $val['type']->isEmpty()))): ?>
<dl>
<dt id="type_dt_<?php echo htmlentities($k); ?>"><?php echo htmlentities($val['name']); ?></dt>
<?php if(is_array($val['type']) || $val['type'] instanceof \think\Collection || $val['type'] instanceof \think\Paginator): if( count($val['type'])==0 ) : echo "" ;else: foreach($val['type'] as $key=>$v): ?>
<dd>
<input type="radio" class="radio" name="t_id" value="<?php echo htmlentities($v['type_id']); ?>" <?php if($class_array['type_id'] == $v['type_id']): ?>checked="checked"<?php endif; ?> />
<span><?php echo htmlentities($v['type_name']); ?></span></dd>
<?php endforeach; endif; else: echo "" ;endif; ?>
</dl>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</div>
</div></td>
<td class="vatop tips"><?php echo htmlentities(lang('goods_class_add_type_desc_one')); ?><a onclick="window.parent.openItem('index,type,goods')" href="JavaScript:void(0);"><?php echo htmlentities(lang('ds_type')); ?></a><?php echo htmlentities(lang('goods_class_add_type_desc_two')); ?></td>
</tr>
<tr>
<td colspan="2" class="required"><label for="gc_sort"><?php echo htmlentities(lang('ds_sort')); ?>:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" value="<?php if($class_array['gc_sort'] == ''): ?>0<?php else: ?><?php echo htmlentities($class_array['gc_sort']); ?><?php endif; ?>" name="gc_sort" id="gc_sort" class="txt"></td>
<td class="vatop tips"><?php echo htmlentities(lang('goods_class_add_update_sort')); ?></td>
</tr>
<tr>
<td colspan="2" class="required"><label>项目描述:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<textarea type="text" name="pro_desc" style="height:100px;"> <?php echo htmlentities($class_array['pro_desc']); ?></textarea>
</td>
<td class="vatop tips">请简短概括</td>
</tr>
<tr>
<td colspan="2" class="required"><label>项目地点:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<input type="text" value="<?php echo htmlentities($class_array['pro_locate']); ?>" name="pro_locate" id="pro_locate" class="txt">
</td>
<td class="vatop tips">填写项目地点位置</td>
</tr>
<tr>
<td colspan="2" class="required"><label>提供院校:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" value="<?php echo htmlentities($class_array['pro_college']); ?>" name="pro_college" id="pro_college" class="txt"></td>
<td class="vatop tips">填写项目提供院校</td>
</tr>
<tr>
<td colspan="2" class="required"><label>项目时间:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" value="<?php echo htmlentities($class_array['pro_period']); ?>" name="pro_period" id="pro_period" class="txt"></td>
<td class="vatop tips">填写项目时间区间</td>
</tr>
<tr>
<td colspan="2" class="required"><label>项目时长:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" value="<?php echo htmlentities($class_array['pro_duration']); ?>" name="pro_duration" id="pro_duration" class="txt"></td>
<td class="vatop tips">填写项目时间时长</td>
</tr>
<tr>
<td colspan="2" class="required"><label>面向人群:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" value="<?php echo htmlentities($class_array['pro_people']); ?>" name="pro_people" id="pro_people" class="txt"></td>
<td class="vatop tips">填写面向人群</td>
</tr>
<tr>
<td colspan="2" class="required"><label>项目特色:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php echo build_editor(['name'=>'pro_info','content'=>$class_array['pro_info']?htmlspecialchars_decode($class_array['pro_info']):'']); ?>
<textarea name="pro_info" id="pro_info" class="textarea h60 w400"></textarea>
</td>
</tr>
<tr>
<td colspan="2" class="required"><label for="pro_info_image">项目特色图片:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_info_image']) || (($class_array['pro_info_image'] instanceof \think\Collection || $class_array['pro_info_image'] instanceof \think\Paginator ) && $class_array['pro_info_image']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_info_image']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield4' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="pro_info_image" type="file" class="type-file-file" id="pro_info_image" size="30" hidefocus="true" ds_type="change_pro_info_image">
</span>
</td>
</tr>
<tr>
<td colspan="2" class="required"><label>校区概况:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<textarea type="text" name="pro_overview" style="height:100px;">
<?php echo htmlentities($class_array['pro_overview']); ?>
</textarea>
<td class="vatop tips"></td>
</tr>
<tr>
<td colspan="2" class="required"><label for="pro_overview_image">校区概况图片:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_overview_image1']) || (($class_array['pro_overview_image1'] instanceof \think\Collection || $class_array['pro_overview_image1'] instanceof \think\Paginator ) && $class_array['pro_overview_image1']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_overview_image1']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield5' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="pro_overview_image1" type="file" class="type-file-file" id="pro_overview_image1" size="30" hidefocus="true" ds_type="change_pro_info_image">
</span>
</td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_overview_image2']) || (($class_array['pro_overview_image2'] instanceof \think\Collection || $class_array['pro_overview_image2'] instanceof \think\Paginator ) && $class_array['pro_overview_image2']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_overview_image2']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield6' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="pro_overview_image2" type="file" class="type-file-file" id="pro_overview_image2" size="30" hidefocus="true" ds_type="change_pro_info_image">
</span>
</td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_overview_image3']) || (($class_array['pro_overview_image3'] instanceof \think\Collection || $class_array['pro_overview_image3'] instanceof \think\Paginator ) && $class_array['pro_overview_image3']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_overview_image3']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield7' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="pro_overview_image3" type="file" class="type-file-file" id="pro_overview_image3" size="30" hidefocus="true" ds_type="change_pro_info_image">
</span>
</td>
</tr>
<tr>
<td colspan="2" class="required"><label>住宿信息:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<textarea type="text" name="pro_accommodation" style="height:100px;">
<?php echo htmlentities($class_array['pro_accommodation']); ?>
</textarea>
<td class="vatop tips"></td>
</tr>
<tr>
<td colspan="2" class="required"><label for="pro_accommodation_image">住宿信息图片:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_accommodation_image']) || (($class_array['pro_accommodation_image'] instanceof \think\Collection || $class_array['pro_accommodation_image'] instanceof \think\Paginator ) && $class_array['pro_accommodation_image']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_accommodation_image']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield8' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="pro_accommodation_image" type="file" class="type-file-file" id="pro_accommodation_image" size="30" hidefocus="true" ds_type="change_pro_info_image">
</span>
</td>
</tr>
<tr>
<td colspan="2" class="required"><label>机票信息:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<textarea type="text" name="pro_flight" style="height:100px;">
<?php echo htmlentities($class_array['pro_flight']); ?>
</textarea>
<td class="vatop tips"></td>
</tr>
<tr>
<td colspan="2" class="required"><label>开始申请:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<textarea type="text" name="pro_apply" style="height:100px;">
<?php echo htmlentities($class_array['pro_apply']); ?>
</textarea>
</td>
</tr>
</tbody>
<tfoot>
<tr class="tfoot">
<td colspan="15" ><input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
</tr>
</tfoot>
</table>
</form>
</div>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/mlselection.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.mousewheel.js"></script>
<script>
$(function() {
$("#pic").change(function() {
$("#textfield1").val($(this).val());
});
$("#logo").change(function() {
$("#textfield2").val($(this).val());
});
$("#big").change(function() {
$("#textfield3").val($(this).val());
});
$("#pro_info_image").change(function() {
$("#textfield4").val($(this).val());
});
$("#pro_overview_image1").change(function() {
$("#textfield5").val($(this).val());
});
$("#pro_overview_image2").change(function() {
$("#textfield6").val($(this).val());
});
$("#pro_overview_image3").change(function() {
$("#textfield7").val($(this).val());
});
$("#pro_accommodation_image").change(function() {
$("#textfield8").val($(this).val());
});
$('input[type="radio"][name="t_id"]').change(function() {
// 标记类型时候修改 修改为ok
var t_id = <?php echo htmlentities($class_array['type_id']); ?>;
if (t_id != $(this).val()) {
$('#t_sign').val('ok');
} else {
$('#t_sign').val('');
}
if ($(this).val() == '0') {
$('#t_name').val('');
} else {
$('#t_name').val($(this).next('span').html());
}
});
$('#goods_class_form').validate({
errorPlacement: function(error, element) {
error.appendTo(element.parent().parent().prev().find('td:first'));
},
rules: {
gc_name: {
required: true,
remote: {
url: "<?php echo url('Goodsclass/ajax',['branch'=>'check_class_name']); ?>",
type: 'get',
data: {
gc_name: function() {
return $('#gc_name').val();
},
gc_parent_id: function() {
return $('#gc_parent_id').val();
},
gc_id: '<?php echo htmlentities($class_array['gc_id']); ?>'
}
}
},
gc_sort: {
number: true
}
},
messages: {
gc_name: {
required: '<?php echo htmlentities(lang('goods_class_add_name_null')); ?>',
remote: '<?php echo htmlentities(lang('goods_class_add_name_exists')); ?>'
},
gc_sort: {
number: '<?php echo htmlentities(lang('goods_class_add_sort_int')); ?>'
}
}
});
// 类型搜索
$(document).off('change',"#gcategory > select").on("change","#gcategory > select", function() {
type_scroll($(this));
});
});
var typeScroll = 0;
function type_scroll(o) {
var id = o.val();
if (!$('#type_dt_' + id).is('dt')) {
return false;
}
$('#type_div').scrollTop(-typeScroll);
var sp_top = $('#type_dt_' + id).offset().top;
var div_top = $('#type_div').offset().top;
$('#type_div').scrollTop(sp_top - div_top);
typeScroll = sp_top - div_top;
}
gcategoryInit('gcategory');
</script>

File diff suppressed because it is too large Load Diff

View File

@ -1,141 +0,0 @@
<?php /*a:3:{s:79:"/www/wwwroot/light.haix.cn/app/admin/view/articleclass/article_class_index.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_articleclass')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="fixed-empty"></div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('article_class_index_tips1')); ?></li>
<li><?php echo htmlentities(lang('article_class_index_tips2')); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th class="w48"></th>
<th class="w48"><?php echo htmlentities(lang('ds_sort')); ?></th>
<th><?php echo htmlentities(lang('ac_name')); ?></th>
<th class="w120 align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody id="treet1">
<?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): if(is_array($class_list) || $class_list instanceof \think\Collection || $class_list instanceof \think\Paginator): if( count($class_list)==0 ) : echo "" ;else: foreach($class_list as $key=>$v): ?>
<tr class="hover edit">
<td>
<?php if($v['ac_code'] == ''): ?>
<input type="checkbox" name='check_ac_id[]' value="<?php echo htmlentities($v['ac_id']); ?>" class="checkitem">
<?php else: ?>
<input name="" type="checkbox" disabled="disabled" value="" />
<?php endif; if($v['have_child'] == '1'): ?>
<img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/tv-expandable.gif" fieldid="<?php echo htmlentities($v['ac_id']); ?>" status="open" ds_type="flex">
<?php else: ?>
<img fieldid="<?php echo htmlentities($v['ac_id']); ?>" status="close" ds_type="flex" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/tv-item.gif">
<?php endif; ?>
</td>
<td class="sort">
<span title="<?php echo htmlentities(lang('ds_editable')); ?>" ajax_branch='article_class_sort' datatype="number" fieldid="<?php echo htmlentities($v['ac_id']); ?>" fieldname="ac_sort" ds_type="inline_edit" class="editable"><?php echo htmlentities($v['ac_sort']); ?></span>
</td>
<td class="name">
<span title="<?php echo htmlentities(lang('ds_editable')); ?>" required="1" fieldid="<?php echo htmlentities($v['ac_id']); ?>" ajax_branch='article_class_name' fieldname="ac_name" ds_type="inline_edit" class="editable "><?php echo htmlentities($v['ac_name']); ?></span>
<a class='btn-add-nofloat marginleft' href="javascript:dsLayerOpen('<?php echo url('Articleclass/article_class_add',['ac_parent_id'=>$v['ac_id']]); ?>','<?php echo htmlentities(lang('ds_add_sub_class')); ?>')">
<span><?php echo htmlentities(lang('ds_add_sub_class')); ?></span>
</a>
</td>
<td class="align-center">
<a href="javascript:dsLayerOpen('<?php echo url('Articleclass/article_class_edit',['ac_id'=>$v['ac_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($v['ac_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<?php if($v['ac_code'] == ''): ?>
<a href="javascript:dsLayerConfirm('<?php echo url('Articleclass/article_class_del',['ac_id'=>$v['ac_id']]); ?>','<?php echo htmlentities(lang('article_class_index_ensure_del')); ?>');" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
<?php endif; ?>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<tfoot>
<?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): ?>
<tr>
<td>
<label for="checkall1">
<input type="checkbox" class="checkall" id="checkall_2">
</label>
</td>
<td colspan="16">
<label for="checkall_2"><?php echo htmlentities(lang('ds_select_all')); ?></label>
&nbsp;&nbsp;
<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()">
<span><?php echo htmlentities(lang('ds_del')); ?></span>
</a>
</td>
</tr>
<?php endif; ?>
</tfoot>
</table>
</div>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/article_class.js"></script>
<script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>
<script type="text/javascript">
function submit_delete(ids_str){
_uri = ADMINSITEURL+"/Articleclass/article_class_del.html?ac_id=" + ids_str;
dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
}
</script>

View File

@ -1,115 +0,0 @@
<?php /*a:3:{s:63:"/www/wwwroot/lianke.keyutest.com/app/admin/view/link/index.html";i:1617869024;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_friendlink')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('link_index_title')); ?></dt>
<dd><input type="text" value="<?php echo htmlentities(app('request')->param('link_title')); ?>" name="link_title" class="txt"></dd>
</dl>
<div class="btn_group">
<a href="javascript:document.formSearch.submit();" class="btn" title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<?php if($filtered): ?>
<a href="<?php echo url('Link/index'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
<?php endif; ?>
</div>
</div>
</form>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li>通过合作伙伴管理你可以,编辑、查看、删除合作伙伴信息</li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr>
<th><?php echo htmlentities(lang('ds_sort')); ?></th>
<th><?php echo htmlentities(lang('link_title')); ?></th>
<th><?php echo htmlentities(lang('link_pic')); ?></th>
<th><?php echo htmlentities(lang('link_url')); ?></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($link_list) || (($link_list instanceof \think\Collection || $link_list instanceof \think\Paginator ) && $link_list->isEmpty()))): if(is_array($link_list) || $link_list instanceof \think\Collection || $link_list instanceof \think\Paginator): if( count($link_list)==0 ) : echo "" ;else: foreach($link_list as $key=>$link): ?>
<tr>
<td class="sort"><span class="editable" ds_type="inline_edit" fieldname="link_sort" ajax_branch='link' fieldid="<?php echo htmlentities($link['link_id']); ?>" datatype="pint" maxvalue="255" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($link['link_sort']); ?></span></td>
<td class="name"><span class="editable" ds_type="inline_edit" fieldname="link_title" ajax_branch='link' fieldid="<?php echo htmlentities($link['link_id']); ?>" required="1" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($link['link_title']); ?></span></td>
<td><?php if($link['link_pic']): ?><a data-lightbox="lightbox-image" data-title="<?php echo htmlentities($link['link_title']); ?>" href="<?php echo ds_get_pic('admin/link',$link['link_pic']); ?>"><img src="<?php echo ds_get_pic('admin/link',$link['link_pic']); ?>" onload="javascript:ResizeImage(this,31,31);"></a><?php endif; ?></td>
<td><?php echo htmlentities($link['link_url']); ?></td>
<td>
<a href="javascript:dsLayerOpen('<?php echo url('Link/edit',['link_id'=>$link['link_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($link['link_title']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<a href="javascript:dsLayerConfirm('<?php echo url('Link/drop',['link_id'=>$link['link_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="20"><?php echo htmlentities(lang('no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.lightbox/css/lightbox.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.lightbox/js/lightbox.min.js"></script>
<script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>

View File

@ -1,101 +0,0 @@
<?php /*a:3:{s:65:"/www/wwwroot/lianke.keyutest.com/app/admin/view/notice/index.html";i:1594982154;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>会员通知</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<table class="ds-default-table">
<colgroup>
<col class="w24">
<col/>
<col class="w96">
<col class="w96">
<col class="w200">
<col class="w200">
</colgroup>
<thead>
<tr class="thead">
<th></th>
<th><?php echo htmlentities(lang('message_body')); ?></th>
<th><?php echo htmlentities(lang('to_member_id')); ?></th>
<th><?php echo htmlentities(lang('message_type')); ?></th>
<th><?php echo htmlentities(lang('message_time')); ?></th>
<th><?php echo htmlentities(lang('message_update_time')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($message_list) || (($message_list instanceof \think\Collection || $message_list instanceof \think\Paginator ) && $message_list->isEmpty()))): if(is_array($message_list) || $message_list instanceof \think\Collection || $message_list instanceof \think\Paginator): if( count($message_list)==0 ) : echo "" ;else: foreach($message_list as $key=>$v): ?>
<tr class="hover">
<td class="w24">
<input name="del_id[]" type="checkbox" class="checkitem" value="<?php echo htmlentities($v['message_id']); ?>">
</td>
<td><?php echo htmlspecialchars_decode($v['message_body']); ?></td>
<td><?php echo htmlentities($v['to_member_id']); ?></td>
<td><?php echo htmlentities($v['message_type']); ?></td>
<td><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($v['message_time'])? strtotime($v['message_time']) : $v['message_time'])); ?></td>
<td><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($v['message_update_time'])? strtotime($v['message_update_time']) : $v['message_update_time'])); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>

View File

@ -1,961 +0,0 @@
<?php /*a:2:{s:56:"/www/wwwroot/light.haix.cn/app/admin/view/seo/index.html";i:1647660218;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>SEO设置</h3>
<h5></h5>
</div>
<ul class="tab-base ds-row">
<li><a href="JavaScript:void(0);" dstype="index" class="current"><span><?php echo htmlentities(lang('homepage')); ?></span></a></li>
<li><a href="JavaScript:void(0);" dstype="group"><span>课程</span></a></li>
<li><a href="JavaScript:void(0);" dstype="brand"><span>项目</span></a></li>
<li><a href="JavaScript:void(0);" dstype="point"><span>Blog页面</span></a></li>
<li><a href="JavaScript:void(0);" dstype="subject"><span>总科目</span></a></li>
<li><a href="JavaScript:void(0);" dstype="arts"><span>艺术学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="business"><span>商科</span></a></li>
<li><a href="JavaScript:void(0);" dstype="communication"><span>通讯和媒体</span></a></li>
<li><a href="JavaScript:void(0);" dstype="computer"><span>计算机科学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="education"><span>教育学</span></a></li>
<br>
<li><a href="JavaScript:void(0);" dstype="engineering"><span>工程学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="english"><span>英文-写作</span></a></li>
<li><a href="JavaScript:void(0);" dstype="global"><span>全球观</span></a></li>
<li><a href="JavaScript:void(0);" dstype="human"><span>人文学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="math"><span>数学和统计学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="natural"><span>自然科学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="others"><span>其他学科</span></a></li>
<li><a href="JavaScript:void(0);" dstype="social"><span>社会学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="law"><span>法学</span></a></li>
<!-- <li><a href="JavaScript:void(0);" dstype="article"><span><?php echo htmlentities(lang('seo_set_article')); ?></span></a></li>
<li><a href="JavaScript:void(0);" dstype="product"><span><?php echo htmlentities(lang('ds_goods')); ?></span></a></li>-->
</ul>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('seo_set_prompt')); ?></li>
<li><?php echo htmlentities(lang('seo_set_tips1')); ?></li>
<li><?php echo htmlentities(lang('seo_set_tips2')); ?></li>
<li><?php echo htmlentities(lang('seo_set_tips3')); ?></li>
<li><?php echo htmlentities(lang('seo_set_tips4')); ?></li>
<li><?php echo htmlentities(lang('seo_set_tips5')); ?></li>
<li><?php echo htmlentities(lang('seo_set_tips6')); ?></li>
</ul>
</div>
<form method="post" name="form_index" id="form_index">
<div class="ncap-form-default">
<dl>
<dt><?php echo htmlentities(lang('homepage')); ?></dt>
<dd>
<span><a>{sitename}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[index][seo_title]" name="SEO[index][seo_title]" value="<?php echo htmlentities($seo['index']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[index][seo_keywords]" name="SEO[index][seo_keywords]" value="<?php echo htmlentities($seo['index']['seo_keywords']); ?>" class="w300" type="text" maxlength="200" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[index][seo_description]" name="SEO[index][seo_description]" value="<?php echo htmlentities($seo['index']['seo_description']); ?>" class="w300" type="text" maxlength="200"/>
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_group" id="form_group">
<div class="ncap-form-default">
<dl>
<dt>课程</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[course][seo_title]" name="SEO[course][seo_title]" value="<?php echo htmlentities($seo['course']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[course][seo_keywords]" name="SEO[course][seo_keywords]" value="<?php echo htmlentities($seo['course']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[course][seo_description]" name="SEO[course][seo_description]" value="<?php echo htmlentities($seo['course']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_brand" id="form_brand">
<div class="ncap-form-default">
<dl>
<dt>项目</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[program][seo_title]" name="SEO[program][seo_title]" value="<?php echo htmlentities($seo['program']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[program][seo_keywords]" name="SEO[program][seo_keywords]" value="<?php echo htmlentities($seo['program']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[program][seo_description]" name="SEO[program][seo_description]" value="<?php echo htmlentities($seo['program']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_point" id="form_point">
<div class="ncap-form-default">
<dl>
<dt>Blog页面</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[blog][seo_title]" name="SEO[blog][seo_title]" value="<?php echo htmlentities($seo['blog']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[blog][seo_keywords]" name="SEO[blog][seo_keywords]" value="<?php echo htmlentities($seo['blog']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[blog][seo_description]" name="SEO[blog][seo_description]" value="<?php echo htmlentities($seo['blog']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_subject" id="form_subject">
<div class="ncap-form-default">
<dl>
<dt>总科目</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[subject][seo_title]" name="SEO[subject][seo_title]" value="<?php echo htmlentities($seo['subject']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[subject][seo_keywords]" name="SEO[subject][seo_keywords]" value="<?php echo htmlentities($seo['subject']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[subject][seo_description]" name="SEO[subject][seo_description]" value="<?php echo htmlentities($seo['subject']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_arts" id="form_arts">
<div class="ncap-form-default">
<dl>
<dt>艺术学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[arts][seo_title]" name="SEO[arts][seo_title]" value="<?php echo htmlentities($seo['arts']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[arts][seo_keywords]" name="SEO[arts][seo_keywords]" value="<?php echo htmlentities($seo['arts']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[arts][seo_description]" name="SEO[arts][seo_description]" value="<?php echo htmlentities($seo['arts']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_business" id="form_business">
<div class="ncap-form-default">
<dl>
<dt>商科</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[business][seo_title]" name="SEO[business][seo_title]" value="<?php echo htmlentities($seo['business']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[business][seo_keywords]" name="SEO[business][seo_keywords]" value="<?php echo htmlentities($seo['business']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[business][seo_description]" name="SEO[business][seo_description]" value="<?php echo htmlentities($seo['business']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_communication" id="form_communication">
<div class="ncap-form-default">
<dl>
<dt>通讯和媒体</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[communication][seo_title]" name="SEO[communication][seo_title]" value="<?php echo htmlentities($seo['communication']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[communication][seo_keywords]" name="SEO[communication][seo_keywords]" value="<?php echo htmlentities($seo['communication']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[communication][seo_description]" name="SEO[communication][seo_description]" value="<?php echo htmlentities($seo['communication']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_computer" id="form_computer">
<div class="ncap-form-default">
<dl>
<dt>计算机科学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[computer][seo_title]" name="SEO[computer][seo_title]" value="<?php echo htmlentities($seo['computer']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[computer][seo_keywords]" name="SEO[computer][seo_keywords]" value="<?php echo htmlentities($seo['computer']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[computer][seo_description]" name="SEO[computer][seo_description]" value="<?php echo htmlentities($seo['computer']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_education" id="form_education">
<div class="ncap-form-default">
<dl>
<dt>教育学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[education][seo_title]" name="SEO[education][seo_title]" value="<?php echo htmlentities($seo['education']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[education][seo_keywords]" name="SEO[education][seo_keywords]" value="<?php echo htmlentities($seo['education']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[education][seo_description]" name="SEO[education][seo_description]" value="<?php echo htmlentities($seo['education']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_engineering" id="form_engineering">
<div class="ncap-form-default">
<dl>
<dt>工程学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[engineering][seo_title]" name="SEO[engineering][seo_title]" value="<?php echo htmlentities($seo['engineering']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[engineering][seo_keywords]" name="SEO[engineering][seo_keywords]" value="<?php echo htmlentities($seo['engineering']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[engineering][seo_description]" name="SEO[engineering][seo_description]" value="<?php echo htmlentities($seo['engineering']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_english" id="form_english">
<div class="ncap-form-default">
<dl>
<dt>英文-写作</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[english][seo_title]" name="SEO[english][seo_title]" value="<?php echo htmlentities($seo['english']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[english][seo_keywords]" name="SEO[english][seo_keywords]" value="<?php echo htmlentities($seo['english']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[english][seo_description]" name="SEO[english][seo_description]" value="<?php echo htmlentities($seo['english']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_global" id="form_global">
<div class="ncap-form-default">
<dl>
<dt>全球观</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[global][seo_title]" name="SEO[global][seo_title]" value="<?php echo htmlentities($seo['global']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[global][seo_keywords]" name="SEO[global][seo_keywords]" value="<?php echo htmlentities($seo['global']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[global][seo_description]" name="SEO[global][seo_description]" value="<?php echo htmlentities($seo['global']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_human" id="form_human">
<div class="ncap-form-default">
<dl>
<dt>人文学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[human][seo_title]" name="SEO[human][seo_title]" value="<?php echo htmlentities($seo['human']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[human][seo_keywords]" name="SEO[human][seo_keywords]" value="<?php echo htmlentities($seo['human']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[human][seo_description]" name="SEO[human][seo_description]" value="<?php echo htmlentities($seo['human']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_math" id="form_math">
<div class="ncap-form-default">
<dl>
<dt>数学和统计学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[math][seo_title]" name="SEO[math][seo_title]" value="<?php echo htmlentities($seo['math']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[math][seo_keywords]" name="SEO[math][seo_keywords]" value="<?php echo htmlentities($seo['math']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[math][seo_description]" name="SEO[math][seo_description]" value="<?php echo htmlentities($seo['math']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_natural" id="form_natural">
<div class="ncap-form-default">
<dl>
<dt>自然科学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[natural][seo_title]" name="SEO[natural][seo_title]" value="<?php echo htmlentities($seo['natural']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[natural][seo_keywords]" name="SEO[natural][seo_keywords]" value="<?php echo htmlentities($seo['natural']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[natural][seo_description]" name="SEO[natural][seo_description]" value="<?php echo htmlentities($seo['natural']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_others" id="form_others">
<div class="ncap-form-default">
<dl>
<dt>其他学科</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[others][seo_title]" name="SEO[others][seo_title]" value="<?php echo htmlentities($seo['others']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[others][seo_keywords]" name="SEO[others][seo_keywords]" value="<?php echo htmlentities($seo['others']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[others][seo_description]" name="SEO[others][seo_description]" value="<?php echo htmlentities($seo['others']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_social" id="form_social">
<div class="ncap-form-default">
<dl>
<dt>社会学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[social][seo_title]" name="SEO[social][seo_title]" value="<?php echo htmlentities($seo['social']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[social][seo_keywords]" name="SEO[social][seo_keywords]" value="<?php echo htmlentities($seo['social']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[social][seo_description]" name="SEO[social][seo_description]" value="<?php echo htmlentities($seo['social']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_social" id="form_social">
<div class="ncap-form-default">
<dl>
<dt>法学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[law][seo_title]" name="SEO[law][seo_title]" value="<?php echo htmlentities($seo['law']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[law][seo_keywords]" name="SEO[law][seo_keywords]" value="<?php echo htmlentities($seo['law']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[law][seo_description]" name="SEO[law][seo_description]" value="<?php echo htmlentities($seo['law']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
</div>
<script>
$(document).ready(function(){
$('#form_index').validate({
submitHandler:function(form){
ds_ajaxpost('form_index');
}
});
$('#form_group').validate({
submitHandler:function(form){
ds_ajaxpost('form_group');
}
});
$('#form_brand').validate({
submitHandler:function(form){
ds_ajaxpost('form_brand');
}
});
$('#form_point').validate({
submitHandler:function(form){
ds_ajaxpost('form_point');
}
});
$('#form_article').validate({
submitHandler:function(form){
ds_ajaxpost('form_article');
}
});
$('#form_shop').validate({
submitHandler:function(form){
ds_ajaxpost('form_shop');
}
});
$('#form_product').validate({
submitHandler:function(form){
ds_ajaxpost('form_product');
}
});
$('#form_subject').validate({
submitHandler:function(form){
ds_ajaxpost('form_subject');
}
});
$('#form_arts').validate({
submitHandler:function(form){
ds_ajaxpost('form_arts');
}
});
$('#form_business').validate({
submitHandler:function(form){
ds_ajaxpost('form_business');
}
});
$('#form_communication').validate({
submitHandler:function(form){
ds_ajaxpost('form_communication');
}
});
$('#form_computer').validate({
submitHandler:function(form){
ds_ajaxpost('form_computer');
}
});
$('#form_education').validate({
submitHandler:function(form){
ds_ajaxpost('form_education');
}
});
$('#form_engineering').validate({
submitHandler:function(form){
ds_ajaxpost('form_engineering');
}
});
$('#form_english').validate({
submitHandler:function(form){
ds_ajaxpost('form_english');
}
});
$('#form_global').validate({
submitHandler:function(form){
ds_ajaxpost('form_global');
}
});
$('#form_human').validate({
submitHandler:function(form){
ds_ajaxpost('form_human');
}
});
$('#form_math').validate({
submitHandler:function(form){
ds_ajaxpost('form_math');
}
});
$('#form_natural').validate({
submitHandler:function(form){
ds_ajaxpost('form_natural');
}
});
$('#form_others').validate({
submitHandler:function(form){
ds_ajaxpost('form_others');
}
});
$('#form_social').validate({
submitHandler:function(form){
ds_ajaxpost('form_social');
}
});
$('#form_law').validate({
submitHandler:function(form){
ds_ajaxpost('form_law');
}
});
});
</script>
<script type="text/javascript">
$(function() {
$('.tab-base').find('a').bind('click', function() {
$('.tab-base').find('a').removeClass('current');
$(this).addClass('current');
$('form').css('display', 'none');
$('form[name="form_' + $(this).attr('dstype') + '"]').css('display', '');
$('span[dstype="hide_tag"]').find('a').css('padding-left', '5px');
});
$('form').css('display', 'none');
$('form[name="form_index"]').css('display', '');
$('#toggmore').bind('click', function() {
$('li[dstype="vmore"]').toggle();
});
$('li[dstype="vmore"]').hide();
});
</script>

View File

@ -1,208 +0,0 @@
<?php /*a:3:{s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/member/member.html";i:1653516898;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_member_manage')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dd>
<select name="search_field_name" >
<option <?php if($search_field_name == 'member_name'): ?>selected='selected'<?php endif; ?> value="member_name"><?php echo htmlentities(lang('ds_member')); ?></option>
<option <?php if($search_field_name == 'member_email'): ?>selected='selected'<?php endif; ?> value="member_email"><?php echo htmlentities(lang('member_email')); ?></option>
<!-- <option <?php if($search_field_name == 'member_mobile'): ?>selected='selected'<?php endif; ?> value="member_mobile"><?php echo htmlentities(lang('member_mobile')); ?></option>-->
<option <?php if($search_field_name == 'member_truename'): ?>selected='selected'<?php endif; ?> value="member_truename"><?php echo htmlentities(lang('member_truename')); ?></option>
</select>
</dd>
<dd>
<input type="text" value="<?php echo htmlentities($search_field_value); ?>" name="search_field_value" class="txt">
</dd>
<dd>
<select name="search_sort" >
<option value=""><?php echo htmlentities(lang('ds_sort')); ?></option>
<option <?php if($search_sort == 'member_logintime desc'): ?>selected='selected'<?php endif; ?> value="member_logintime desc"><?php echo htmlentities(lang('member_logintime')); ?></option>
<option <?php if($search_sort == 'member_loginnum desc'): ?>selected='selected'<?php endif; ?> value="member_loginnum desc"><?php echo htmlentities(lang('member_loginnum')); ?></option>
</select>
</dd>
<!--<dd>
<select name="search_state" >
<option <?php if(app('request')->param('search_state')): ?>selected='selected'<?php endif; ?> value=""><?php echo htmlentities(lang('member_index_state')); ?></option>
<option <?php if(app('request')->param('search_state') == "no_informallow"): ?>selected='selected'<?php endif; ?> value="no_informallow"><?php echo htmlentities(lang('member_index_inform_deny')); ?></option>
<option <?php if(app('request')->param('search_state') == "no_isbuy"): ?>selected='selected'<?php endif; ?> value="no_isbuy"><?php echo htmlentities(lang('member_index_buy_deny')); ?></option>
<option <?php if(app('request')->param('search_state') == "no_isallowtalk"): ?>selected='selected'<?php endif; ?> value="no_isallowtalk"><?php echo htmlentities(lang('member_index_talk_deny')); ?></option>
<option <?php if(app('request')->param('search_state') == "no_memberstate"): ?>selected='selected'<?php endif; ?> value="no_memberstate"><?php echo htmlentities(lang('member_index_login_deny')); ?></option>
</select>
</dd>-->
<!-- <dd>
<select name="search_grade" >
<option value='-1'>会员级别</option>
<?php if(!(empty($member_grade) || (($member_grade instanceof \think\Collection || $member_grade instanceof \think\Paginator ) && $member_grade->isEmpty()))): if(is_array($member_grade) || $member_grade instanceof \think\Collection || $member_grade instanceof \think\Paginator): if( count($member_grade)==0 ) : echo "" ;else: foreach($member_grade as $k=>$v): ?>
<option <?php if(app('request')->get('search_grade') == $k): ?>selected='selected'<?php endif; ?> value="<?php echo htmlentities($k); ?>"><?php echo htmlentities($v['level_name']); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</select>
</dd>-->
</dl>
<div class="btn_group">
<input type="submit" class="btn" value="搜索">
<?php if($filtered): ?>
<a href="<?php echo url('Member/member'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
<?php endif; ?>
</div>
</div>
</form>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<!--<ul>
<li>系统平台全局设置,包括基础设置、购物、短信、邮件、水印和分销等相关模块。</li>
</ul>-->
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th>&nbsp;</th>
<th colspan="2"><?php echo htmlentities(lang('ds_member')); ?></th>
<th class="align-center"><span fieldname="logins" ds_type="order_by"><?php echo htmlentities(lang('member_loginnum')); ?></span></th>
<th class="align-center"><span fieldname="last_login" ds_type="order_by"><?php echo htmlentities(lang('member_logintime')); ?></span></th>
<!-- <th class="align-center"><?php echo htmlentities(lang('ds_member_points')); ?></th>-->
<!--<th class="align-center"><?php echo htmlentities(lang('ds_predeposit')); ?></th>-->
<!-- <th class="align-center"><?php echo htmlentities(lang('member_exppoints')); ?></th>-->
<!-- <th class="align-center"><?php echo htmlentities(lang('ds_membergrade')); ?></th>-->
<th class="align-center"><?php echo htmlentities(lang('member_index_login')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($member_list) || (($member_list instanceof \think\Collection || $member_list instanceof \think\Paginator ) && $member_list->isEmpty()))): if(is_array($member_list) || $member_list instanceof \think\Collection || $member_list instanceof \think\Paginator): if( count($member_list)==0 ) : echo "" ;else: foreach($member_list as $k=>$v): ?>
<tr class="hover member">
<td class="w24"><input type="checkbox" name='del_id[]' value="<?php echo htmlentities($v['member_id']); ?>" class="checkitem"></td>
<td class="w48 picture">
<div class="size-44x44">
<span class="thumb"><i></i>
<img src="<?php echo get_member_avatar($v['member_avatar']); ?>?<?php echo microtime(); ?>" width="44" height="44"/>
</span>
</div>
</td>
<td><p class="name"><strong><?php echo htmlentities($v['member_name']); ?></strong>(<?php echo htmlentities(lang('member_truename')); ?>: <?php echo htmlentities($v['member_truename']); ?>)</p>
<p class="smallfont"><?php echo htmlentities(lang('member_addtime')); ?>:&nbsp;<?php echo htmlentities($v['member_addtime']); ?></p>
<div class="im"><span class="email" >
<?php if($v['member_email'] != ''): ?>
<a href="mailto:<?php echo htmlentities($v['member_email']); ?>" class=" yes" title="<?php echo htmlentities(lang('member_email')); ?>:<?php echo htmlentities($v['member_email']); ?>"><?php echo htmlentities($v['member_email']); ?></a></span>
<?php else: ?>
<a href="JavaScript:void(0);" class="" title="<?php echo htmlentities(lang('member_index_null')); ?>" ><?php echo htmlentities($v['member_email']); ?></a></span>
<?php endif; if($v['member_ww'] != ''): ?>
<a target="_blank" href="http://web.im.alisoft.com/msg.aw?v=2&uid=<?php echo htmlentities($v['member_ww']); ?>&site=cnalichn&s=11" class="" title="WangWang: <?php echo htmlentities($v['member_ww']); ?>"><img border="0" src="http://web.im.alisoft.com/online.aw?v=2&uid=<?php echo htmlentities($v['member_ww']); ?>&site=cntaobao&s=2&charset=utf-8" /></a>
<?php endif; if($v['member_qq'] != ''): ?>
<a target="_blank" href="<?php echo htmlentities(HTTP_TYPE); ?>wpa.qq.com/msgrd?v=3&uin=<?php echo htmlentities($v['member_qq']); ?>&site=qq&menu=yes" class="" title="QQ: <?php echo htmlentities($v['member_qq']); ?>"><img border="0" src="<?php echo htmlentities(HTTP_TYPE); ?>wpa.qq.com/pa?p=2:<?php echo htmlentities($v['member_qq']); ?>:52"/></a>
<?php endif; if($v['member_mobile'] != ''): ?>
<div style="font-size:13px; padding-left:10px">&nbsp;&nbsp;<?php echo encrypt_show($v['member_mobile'],4,4); ?></div>
<?php endif; ?>
</div></td>
<td class="align-center"><?php echo htmlentities($v['member_loginnum']); ?></td>
<td class="w150 align-center"><p><?php echo htmlentities($v['member_logintime']); ?></p>
<p><?php echo htmlentities($v['member_login_ip']); ?></p></td>
<!-- <td class="align-center"><?php echo htmlentities($v['member_points']); ?></td>-->
<!-- <td class="align-center"><p><?php echo htmlentities(lang('member_index_available')); ?>:&nbsp;<strong class="red"><?php echo htmlentities($v['available_predeposit']); ?></strong>&nbsp;<?php echo htmlentities(lang('ds_yuan')); ?></p>
<p><?php echo htmlentities(lang('member_index_frozen')); ?>:&nbsp;<strong class="red"><?php echo htmlentities($v['freeze_predeposit']); ?></strong>&nbsp;<?php echo htmlentities(lang('ds_yuan')); ?></p>
</td>-->
<!-- <td class="align-center"><?php echo htmlentities($v['member_exppoints']); ?></td>-->
<!-- <td class="align-center"><?php echo htmlentities($v['member_grade']); ?></td>-->
<td class="align-center"><?php if($v['member_state'] == 1): ?><?php echo htmlentities(lang('member_edit_allow')); else: ?><?php echo htmlentities(lang('member_edit_deny')); ?><?php endif; ?></td>
<td class="align-center">
<a href="javascript:dsLayerOpen('<?php echo url('Member/edit',['member_id'=>$v['member_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($v['member_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i>查看</a>
<a href="javascript:dsLayerOpen('<?php echo url('Notice/notice',['member_name'=>$v['member_name']]); ?>','<?php echo htmlentities(lang('member_index_to_message')); ?>-<?php echo htmlentities($v['member_name']); ?>')" class="dsui-btn-add"><i class="iconfont"></i><?php echo htmlentities(lang('member_index_to_message')); ?></a>
<?php if($v['member_state'] == 0): ?>
<a href="javascript:dsLayerConfirm('<?php echo url('Member/memberstate',['member_id'=>$v['member_id'],'member_state'=>1]); ?>','<?php echo htmlentities(lang('ds_ensure_enable')); ?>')" class="dsui-btn-add"><i class="iconfont"></i><?php echo htmlentities(lang('member_edit_allowlogin')); ?></a>
<?php else: ?>
<a href="javascript:dsLayerConfirm('<?php echo url('Member/memberstate',['member_id'=>$v['member_id'],'member_state'=>0]); ?>','<?php echo htmlentities(lang('ds_ensure_disable')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('member_edit_denylogin')); ?></a>
<?php endif; ?>
<a href="javascript:dsLayerOpen('<?php echo url('Predeposit/pd_add',['member_id'=>$v['member_id']]); ?>','调节预存款-<?php echo htmlentities($v['member_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i>调节预存款</a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="11"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<tfoot class="tfoot">
<?php if(!(empty($member_list) || (($member_list instanceof \think\Collection || $member_list instanceof \think\Paginator ) && $member_list->isEmpty()))): ?>
<tr>
<td class="w24"><input type="checkbox" class="checkall" id="checkallBottom"></td>
<td colspan="16">
<label for="checkallBottom"><?php echo htmlentities(lang('ds_select_all')); ?></label>
&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('member_edit_denylogin')); ?></span></a>
</td>
</tr>
<?php endif; ?>
</tfoot>
</table>
<?php echo $show_page; ?>
</div>
<script type="text/javascript">
function submit_delete(ids_str){
_uri = ADMINSITEURL+"/Member/memberstate.html?member_id=" + ids_str;
dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_disable')); ?>');
}
</script>

View File

@ -1,108 +0,0 @@
<?php /*a:3:{s:68:"/www/wwwroot/light.haix.cn/app/admin/view/goods/goods_add_step4.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>商品管理</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
<ul class="add-goods-step">
<li><i class="iconfont">&#xe600;</i>
<h6>STEP.1</h6>
<h2><?php echo htmlentities(lang('select_category')); ?></h2>
<i class="iconfont">&#xe687;</i> </li>
<li><i class="icon iconfont">&#xe731;</i>
<h6>STEP.2</h6>
<h2><?php echo htmlentities(lang('fill_item_details')); ?></h2>
<i class="iconfont">&#xe687;</i> </li>
<li><i class="icon iconfont">&#xe6a2;</i>
<h6>STEP.3</h6>
<h2><?php echo htmlentities(lang('goods_index_upload_goods_pic')); ?></h2>
<i class="iconfont">&#xe687;</i> </li>
<li class="current"><i class="icon iconfont">&#xe64d;</i>
<h6>STEP.4</h6>
<h2><?php echo htmlentities(lang('goods_index_flow_chart_step3')); ?></h2>
</li>
</ul>
</div>
</div>
<div class="fixed-empty"></div>
<div class="alert alert-block hr32">
<h2><i class="iconfont mr10">&#xe64d;</i><?php echo htmlentities(lang('goods_step3_goods_release_success')); ?>&nbsp;&nbsp;</h2>
<div class="hr16"></div>
<div>
<?php if($allow_gift): ?>
<a class="dssc-btn dssc-btn-green ml30" href="<?php echo url('Goods/add_gift',['commonid'=>app('request')->param('commonid')]); ?>"><i class="iconfont">&#xe753;</i><?php echo htmlentities(lang('adding_gift_bundles_item')); ?></a>
<?php endif; if($allow_combo): ?>
<a class="dssc-btn dssc-btn-orange ml10" href="<?php echo url('Goods/add_combo',['commonid'=>app('request')->param('commonid')]); ?>"><i class="iconfont">&#xe67e;</i><?php echo htmlentities(lang('adding_recommended_combinations_item')); ?></a>
<?php endif; ?>
</div>
<div class="hr16"></div>
<strong>
<a class="ml30" href="<?php echo url('Goods/index',['goods_id'=>$goods_id]); ?>"><?php echo htmlentities(lang('goods_step3_viewed_product')); ?>&gt;&gt;</a>
<a class="ml30" href="<?php echo url('Goods/edit_goods',['commonid'=>app('request')->param('commonid')]); ?>"><?php echo htmlentities(lang('goods_step3_edit_product')); ?>&gt;&gt;</a>
</strong>
<div class="hr16"></div>
<h4 class="ml10"><?php echo htmlentities(lang('goods_step3_more_actions')); ?></h4>
<ul class="ml30">
<li>1. <?php echo htmlentities(lang('goods_step3_continue')); ?>&quot; <a href="<?php echo url('Goodsadd/index'); ?>"><?php echo htmlentities(lang('goods_step3_release_new_goods')); ?></a>&quot;</li>
<li>2. <?php echo htmlentities(lang('ds_manage')); ?>&quot;<a href="<?php echo url('Goods/index'); ?>"><?php echo htmlentities(lang('ds_member_path_goods_list')); ?></a>&quot;</li>
<li>3. <?php echo htmlentities(lang('goods_step3_participation')); ?>&quot; <a href="<?php echo url('Activity/index'); ?>"><?php echo htmlentities(lang('goods_step3_special_activities')); ?></a> &quot;</li>
</ul>
</div>
</div>

View File

@ -1,141 +0,0 @@
<?php /*a:3:{s:85:"/www/wwwroot/www.lightcourse.com/app/admin/view/articleclass/article_class_index.html";i:1594017460;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_articleclass')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="fixed-empty"></div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('article_class_index_tips1')); ?></li>
<li><?php echo htmlentities(lang('article_class_index_tips2')); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th class="w48"></th>
<th class="w48"><?php echo htmlentities(lang('ds_sort')); ?></th>
<th><?php echo htmlentities(lang('ac_name')); ?></th>
<th class="w120 align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody id="treet1">
<?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): if(is_array($class_list) || $class_list instanceof \think\Collection || $class_list instanceof \think\Paginator): if( count($class_list)==0 ) : echo "" ;else: foreach($class_list as $key=>$v): ?>
<tr class="hover edit">
<td>
<?php if($v['ac_code'] == ''): ?>
<input type="checkbox" name='check_ac_id[]' value="<?php echo htmlentities($v['ac_id']); ?>" class="checkitem">
<?php else: ?>
<input name="" type="checkbox" disabled="disabled" value="" />
<?php endif; if($v['have_child'] == '1'): ?>
<img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/tv-expandable.gif" fieldid="<?php echo htmlentities($v['ac_id']); ?>" status="open" ds_type="flex">
<?php else: ?>
<img fieldid="<?php echo htmlentities($v['ac_id']); ?>" status="close" ds_type="flex" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/tv-item.gif">
<?php endif; ?>
</td>
<td class="sort">
<span title="<?php echo htmlentities(lang('ds_editable')); ?>" ajax_branch='article_class_sort' datatype="number" fieldid="<?php echo htmlentities($v['ac_id']); ?>" fieldname="ac_sort" ds_type="inline_edit" class="editable"><?php echo htmlentities($v['ac_sort']); ?></span>
</td>
<td class="name">
<span title="<?php echo htmlentities(lang('ds_editable')); ?>" required="1" fieldid="<?php echo htmlentities($v['ac_id']); ?>" ajax_branch='article_class_name' fieldname="ac_name" ds_type="inline_edit" class="editable "><?php echo htmlentities($v['ac_name']); ?></span>
<a class='btn-add-nofloat marginleft' href="javascript:dsLayerOpen('<?php echo url('Articleclass/article_class_add',['ac_parent_id'=>$v['ac_id']]); ?>','<?php echo htmlentities(lang('ds_add_sub_class')); ?>')">
<span><?php echo htmlentities(lang('ds_add_sub_class')); ?></span>
</a>
</td>
<td class="align-center">
<a href="javascript:dsLayerOpen('<?php echo url('Articleclass/article_class_edit',['ac_id'=>$v['ac_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($v['ac_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<?php if($v['ac_code'] == ''): ?>
<a href="javascript:dsLayerConfirm('<?php echo url('Articleclass/article_class_del',['ac_id'=>$v['ac_id']]); ?>','<?php echo htmlentities(lang('article_class_index_ensure_del')); ?>');" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
<?php endif; ?>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<tfoot>
<?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): ?>
<tr>
<td>
<label for="checkall1">
<input type="checkbox" class="checkall" id="checkall_2">
</label>
</td>
<td colspan="16">
<label for="checkall_2"><?php echo htmlentities(lang('ds_select_all')); ?></label>
&nbsp;&nbsp;
<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()">
<span><?php echo htmlentities(lang('ds_del')); ?></span>
</a>
</td>
</tr>
<?php endif; ?>
</tfoot>
</table>
</div>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/article_class.js"></script>
<script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>
<script type="text/javascript">
function submit_delete(ids_str){
_uri = ADMINSITEURL+"/Articleclass/article_class_del.html?ac_id=" + ids_str;
dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
}
</script>

View File

@ -1,305 +0,0 @@
<?php /*a:3:{s:67:"/www/wwwroot/lianke.keyutest.com/app/admin/view/type/type_form.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<style>
tr.disable{-webkit-opacity: 0.3;
/* Netscape and Older than Firefox 0.9 */
-moz-opacity: 0.3;
/* Safari 1.x (pre WebKit!) 老式khtml内核的Safari浏览器*/
-khtml-opacity: 0.3;
/* IE9 + etc...modern browsers */
opacity: .3;
/* IE 4-9 */
filter:alpha(opacity=30);
/*This works in IE 8 & 9 too*/
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
/*IE4-IE9*/
filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=30);}
</style>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>类型管理</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form class="" id="type_form" method="post">
<div class="ncap-form-default">
<dl>
<dt></dt>
<dd>
<div id="gcategory" class="default_select">
<input type="hidden" name="class_id" value="<?php echo htmlentities($type['class_id']); ?>" class="mls_id" />
<input type="hidden" name="class_name" value="<?php echo htmlentities((isset($type['class_name']) && ($type['class_name'] !== '')?$type['class_name']:'')); ?>" class="mls_name" />
<?php if($type['class_id']): ?>
<span><?php echo htmlentities((isset($type['class_name']) && ($type['class_name'] !== '')?$type['class_name']:'')); ?></span>
<input type="button" value="<?php echo htmlentities(lang('ds_edit')); ?>" class="edit_gcategory" />
<?php endif; ?>
<select <?php if($type['class_id']): ?>style="display:none"<?php endif; ?>>
<option value="0">请选择分类</option>
<?php if(is_array($gc_list) || $gc_list instanceof \think\Collection || $gc_list instanceof \think\Paginator): if( count($gc_list)==0 ) : echo "" ;else: foreach($gc_list as $key=>$gc): ?>
<option value="<?php echo htmlentities($gc['gc_id']); ?>"><?php echo htmlentities($gc['gc_name']); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</div>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('type_name')); ?></dt>
<dd>
<input type="text" name="type_name" id="type_name" value="<?php echo htmlentities((isset($type['type_name']) && ($type['type_name'] !== '')?$type['type_name']:'')); ?>" />
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('type_sort')); ?></dt>
<dd>
<input type="text" name="type_sort" id="type_sort" value="<?php echo htmlentities((isset($type['type_sort']) && ($type['type_sort'] !== '')?$type['type_sort']:'255')); ?>" />
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl data-brand="title">
<dt>选择相关品牌</dt>
<dd>
</dd>
</dl>
<?php if(!(empty($brand_list) || (($brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator ) && $brand_list->isEmpty()))): if(is_array($brand_list) || $brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator): if( count($brand_list)==0 ) : echo "" ;else: foreach($brand_list as $key=>$brand_gc): ?>
<dl data-brand="content">
<dt><?php echo htmlentities($brand_gc['name']); ?></dt>
<dd>
<?php if(is_array($brand_gc['brand']) || $brand_gc['brand'] instanceof \think\Collection || $brand_gc['brand'] instanceof \think\Paginator): if( count($brand_gc['brand'])==0 ) : echo "" ;else: foreach($brand_gc['brand'] as $key=>$brand): ?>
<input type="checkbox" id="brand_<?php echo htmlentities($brand['brand_id']); ?>" value="<?php echo htmlentities($brand['brand_id']); ?>" name="brand_id[]" <?php if($brand['checked']): ?>checked="checked"<?php endif; ?> />
<label for="brand_<?php echo htmlentities($brand['brand_id']); ?>"><?php echo htmlentities($brand['brand_name']); ?></label>
<?php endforeach; endif; else: echo "" ;endif; ?>
</dd>
</dl>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
<dl data-spec="title">
<dt>选择相关规格</dt>
<dd>
</dd>
</dl>
<?php if(!(empty($spec_list) || (($spec_list instanceof \think\Collection || $spec_list instanceof \think\Paginator ) && $spec_list->isEmpty()))): if(is_array($spec_list) || $spec_list instanceof \think\Collection || $spec_list instanceof \think\Paginator): if( count($spec_list)==0 ) : echo "" ;else: foreach($spec_list as $key=>$spec_gc): ?>
<dl data-spec="content">
<dt><?php echo htmlentities($spec_gc['name']); ?></dt>
<dd>
<?php if(is_array($spec_gc['spec']) || $spec_gc['spec'] instanceof \think\Collection || $spec_gc['spec'] instanceof \think\Paginator): if( count($spec_gc['spec'])==0 ) : echo "" ;else: foreach($spec_gc['spec'] as $key=>$spec): ?>
<input type="checkbox" id="spec_<?php echo htmlentities($spec['sp_id']); ?>" value="<?php echo htmlentities($spec['sp_id']); ?>" name="spec_id[]" <?php if(!(empty($spec['checked']) || (($spec['checked'] instanceof \think\Collection || $spec['checked'] instanceof \think\Paginator ) && $spec['checked']->isEmpty()))): ?>checked="checked"<?php endif; ?>/>
<label for="spec_<?php echo htmlentities($spec['sp_id']); ?>"><?php echo htmlentities($spec['sp_name']); ?></label>
<?php endforeach; endif; else: echo "" ;endif; ?>
</dd>
</dl>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</div>
<table class="ds-default-table">
<thead>
<tr>
<th width="100">排序</th>
<th width="200">属性名称</th>
<th>属性可选值</th>
<th width="100">显示</th>
<th width="100"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody id="tr_model">
<tr></tr>
<?php if(!(empty($attr_list) || (($attr_list instanceof \think\Collection || $attr_list instanceof \think\Paginator ) && $attr_list->isEmpty()))): if(is_array($attr_list) || $attr_list instanceof \think\Collection || $attr_list instanceof \think\Paginator): if( count($attr_list)==0 ) : echo "" ;else: foreach($attr_list as $key=>$attr): ?>
<tr data-attr="old">
<td><input type="text" class="form-control" name="at_value[<?php echo htmlentities($attr['attr_id']); ?>][sort]" value="<?php echo htmlentities($attr['attr_sort']); ?>"/></td>
<td><input type="text" class="form-control" name="at_value[<?php echo htmlentities($attr['attr_id']); ?>][name]" value="<?php echo htmlentities($attr['attr_name']); ?>"/></td>
<td><?php echo htmlentities($attr['attr_value']); ?></td>
<td><input type="checkbox" name="at_value[<?php echo htmlentities($attr['attr_id']); ?>][show]" <?php if($attr['attr_show']): ?> checked="checked" <?php endif; ?> /></td>
<td>
<input type="hidden" value="" name="at_value[<?php echo htmlentities($attr['attr_id']); ?>][form_submit]" />
<input type="hidden" value="<?php echo htmlentities($attr['attr_id']); ?>" name="at_value[<?php echo htmlentities($attr['attr_id']); ?>][attr_id]" />
<input type="checkbox" data-attr="del" name="a_del[<?php echo htmlentities($attr['attr_id']); ?>]" value="<?php echo htmlentities($attr['attr_id']); ?>" style="display:none" />
<a href="javascript:dsLayerOpen('<?php echo url('Type/attr_edit',['attr_id'=>$attr['attr_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($attr['attr_name']); ?>')"><?php echo htmlentities(lang('ds_edit')); ?></a>
<a onclick="remove_tr($(this));" href="JavaScript:void(0);">移除</a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr data-attr="new">
<td><input type="text" class="form-control" name="at_value[key][sort]" value="0"/></td>
<td><input type="text" class="form-control" name="at_value[key][name]" value=""/></td>
<td><textarea rows="5" cols="80" class="form-control" name="at_value[key][value]"></textarea></td>
<td><input type="checkbox" name="at_value[key][show]" checked="checked" /></td>
<td>
<a onclick="remove_tr($(this));" href="JavaScript:void(0);">移除</a>
</td>
</tr>
<?php endif; ?>
</tbody>
<tbody>
<tr>
<td>
<a id="add_type" class="btn-add-nofloat marginleft" href="JavaScript:void(0);"> <span>添加一个属性</span> </a>
</td>
</tr>
</tbody>
</table>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</form>
</div>
<!--载入-->
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/mlselection.js"></script>
<script>
$(function () {
gcategoryInit("gcategory");
$(function () {
gcategoryInit("gcategory");
var i = 0;
var tr_model = '<tr data-attr="new">' +
'<td><input type="text" class="form-control" name="at_value[key][sort]" value="0" /></td>' +
'<td><input type="text" class="form-control" name="at_value[key][name]" value="" /></td>' +
'<td><textarea rows="5" cols="80" class="form-control" name="at_value[key][value]"></textarea></td>' +
'<td><input type="checkbox" name="at_value[key][show]" checked="checked" /></td>' +
'<td><a onclick="remove_tr($(this));" href="JavaScript:void(0);">移除</a></td>' +
'</tr>';
$("#add_type").click(function () {
$('#tr_model > tr:last').after(tr_model.replace(/key/g, i));
i++;
});
});
$('#gcategory').click(function(){
$.getJSON("<?php echo url('Type/ajaxGetSpecAndBrand'); ?>"+"?type_id=<?php echo htmlentities((isset($type['type_id']) && ($type['type_id'] !== '')?$type['type_id']:0)); ?>&class_id="+$('[name=class_id]').val(),function(data){
$('[data-spec=content]').remove();
var s_list=data.s_list;
var html='';
for(var i in s_list){
var html_spec='';
var spec=s_list[i].spec;
for(var j in spec){
html_spec+='<input type="checkbox" id="spec_'+spec[j].sp_id+'" value="'+spec[j].sp_id+'" name="spec_id[]" '+((spec[j].checked=='1')?'checked="checked"':"")+' />'+
'<label for="spec_'+spec[j].sp_id+'">'+spec[j].sp_name+'</label>';
}
html+='<dl data-spec="content">'+
'<dt>'+s_list[i].name+'</dt>'+
'<dd>'+
html_spec+
'</dd>'+
'</dl>';
}
$('[data-spec=title]').after(html);
$('[data-brand=content]').remove();
var b_list=data.b_list;
var html='';
for(var i in b_list){
var html_brand='';
var brand=b_list[i].brand;
for(var j in brand){
html_brand+='<input type="checkbox" id="brand_'+brand[j].brand_id+'" value="'+brand[j].brand_id+'" name="brand_id[]" '+((brand[j].checked=='1')?'checked="checked"':"")+' />'+
'<label for="brand_'+brand[j].brand_id+'">'+brand[j].brand_name+'</label>';
}
html+='<dl data-brand="content">'+
'<dt>'+b_list[i].name+'</dt>'+
'<dd>'+
html_brand+
'</dd>'+
'</dl>';
}
$('[data-brand=title]').after(html);
})
});
$('#type_form').submit(function(){
$('tr[data-attr=old].disable').find('[data-attr=del]').prop('checked',true);
$('tr[data-attr=new].disable').find('input').prop('disabled',true);
});
});
function remove_tr(o) {
if(o.parents('tr:first').hasClass('disable')){
o.parents('tr:first').removeClass('disable');
o.text('移除');
}else{
o.parents('tr:first').addClass('disable');
o.text('还原');
}
};
$(document).ready(function() {
$("#type_form").validate({
errorPlacement: function(error, element) {
error.appendTo(element.nextAll('span.err'));
},
rules: {
type_name : {
required : true
},
type_sort : {
required : true,
number : true,
range : [0,255]
},
},
messages: {
type_name : {
required : '请输入类型名称',
},
type_sort : {
required : '<?php echo htmlentities(lang('type_edit_type_attr_sort_no_null')); ?>',
number : '<?php echo htmlentities(lang('type_edit_type_attr_sort_no_digits')); ?>',
range : '<?php echo htmlentities(lang('class_sort_explain')); ?>'
},
}
});
});
</script>

View File

@ -1,234 +0,0 @@
<?php /*a:3:{s:70:"/www/wwwroot/lianke.keyutest.com/app/admin/view/member_auth/index.html";i:1633662984;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('member_auth')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dd>
<select name="search_field_name" >
<option <?php if($search_field_name == 'member_name'): ?>selected='selected'<?php endif; ?> value="member_name"><?php echo htmlentities(lang('ds_member_name')); ?></option>
<option <?php if($search_field_name == 'member_email'): ?>selected='selected'<?php endif; ?> value="member_email"><?php echo htmlentities(lang('member_email')); ?></option>
<option <?php if($search_field_name == 'member_mobile'): ?>selected='selected'<?php endif; ?> value="member_mobile"><?php echo htmlentities(lang('member_mobile')); ?></option>
<option <?php if($search_field_name == 'member_truename'): ?>selected='selected'<?php endif; ?> value="member_truename"><?php echo htmlentities(lang('member_truename')); ?></option>
</select>
</dd>
<dd>
<input type="text" value="<?php echo htmlentities($search_field_value); ?>" name="search_field_value" class="txt">
</dd>
<dd>
<select name="search_state" >
<option value=""><?php echo htmlentities(lang('member_index_state')); ?></option>
<option <?php if(app('request')->param('search_state') == "check"): ?>selected='selected'<?php endif; ?> value="check"><?php echo htmlentities(lang('member_auth_state')[1]); ?></option>
<option <?php if(app('request')->param('search_state') == "pass"): ?>selected='selected'<?php endif; ?> value="pass"><?php echo htmlentities(lang('member_auth_state')[3]); ?></option>
<option <?php if(app('request')->param('search_state') == "fail"): ?>selected='selected'<?php endif; ?> value="fail"><?php echo htmlentities(lang('member_auth_state')[2]); ?></option>
</select>
</dd>
</dl>
<div class="btn_group">
<input type="submit" class="btn" value="<?php echo htmlentities(lang('ds_search')); ?>">
<?php if($filtered): ?>
<a href="<?php echo url('MemberAuth/index'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
<?php endif; ?>
</div>
</div>
</form>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th>&nbsp;</th>
<th colspan="2"><?php echo htmlentities(lang('ds_member_name')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('member_truename')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('member_idcard')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('member_idcard_image1')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('member_idcard_image2')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('member_idcard_image3')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('ds_status')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($member_list) || (($member_list instanceof \think\Collection || $member_list instanceof \think\Paginator ) && $member_list->isEmpty()))): if(is_array($member_list) || $member_list instanceof \think\Collection || $member_list instanceof \think\Paginator): if( count($member_list)==0 ) : echo "" ;else: foreach($member_list as $k=>$v): ?>
<tr class="hover member">
<td class="w24"><input type="checkbox" name='del_id[]' value="<?php echo htmlentities($v['member_id']); ?>" class="checkitem"></td>
<td class="w48 picture">
<div class="size-44x44">
<span class="thumb"><i></i>
<img src="<?php echo get_member_avatar($v['member_avatar']); ?>?<?php echo microtime(); ?>" width="44" height="44"/>
</span>
</div>
</td>
<td><p class="name"><strong><?php echo htmlentities($v['member_name']); ?></strong></p>
<p class="smallfont"><?php echo htmlentities(lang('member_addtime')); ?>:&nbsp;<?php echo htmlentities($v['member_addtime']); ?></p>
<div class="im"><span class="email" >
<?php if($v['member_email'] != ''): ?>
<a href="mailto:<?php echo htmlentities($v['member_email']); ?>" class=" yes" title="<?php echo htmlentities(lang('member_email')); ?>:<?php echo htmlentities($v['member_email']); ?>"><?php echo htmlentities($v['member_email']); ?></a></span>
<?php else: ?>
<a href="JavaScript:void(0);" class="" title="<?php echo htmlentities(lang('member_index_null')); ?>" ><?php echo htmlentities($v['member_email']); ?></a></span>
<?php endif; if($v['member_ww'] != ''): ?>
<a target="_blank" href="http://web.im.alisoft.com/msg.aw?v=2&uid=<?php echo htmlentities($v['member_ww']); ?>&site=cnalichn&s=11" class="" title="WangWang: <?php echo htmlentities($v['member_ww']); ?>"><img border="0" src="http://web.im.alisoft.com/online.aw?v=2&uid=<?php echo htmlentities($v['member_ww']); ?>&site=cntaobao&s=2&charset=utf-8" /></a>
<?php endif; if($v['member_qq'] != ''): ?>
<a target="_blank" href="<?php echo htmlentities(HTTP_TYPE); ?>wpa.qq.com/msgrd?v=3&uin=<?php echo htmlentities($v['member_qq']); ?>&site=qq&menu=yes" class="" title="QQ: <?php echo htmlentities($v['member_qq']); ?>"><img border="0" src="<?php echo htmlentities(HTTP_TYPE); ?>wpa.qq.com/pa?p=2:<?php echo htmlentities($v['member_qq']); ?>:52"/></a>
<?php endif; if($v['member_mobile'] != ''): ?>
<div style="font-size:13px; padding-left:10px">&nbsp;&nbsp;<?php echo encrypt_show($v['member_mobile'],4,4); ?></div>
<?php endif; ?>
</div></td>
<td class="align-center"><?php echo htmlentities($v['member_truename']); ?></td>
<td class="align-center"><?php echo htmlentities($v['member_idcard']); ?></td>
<td class="align-center">
<img src="<?php echo get_member_idcard_image($v['member_idcard_image1']); ?>" height="100" onclick="openPhoto('<?php echo get_member_idcard_image($v['member_idcard_image1']); ?>')">
</td>
<td class="align-center">
<img src="<?php echo get_member_idcard_image($v['member_idcard_image2']); ?>" height="100" onclick="openPhoto('<?php echo get_member_idcard_image($v['member_idcard_image2']); ?>')">
</td>
<td class="align-center">
<img src="<?php echo get_member_idcard_image($v['member_idcard_image3']); ?>" height="100" onclick="openPhoto('<?php echo get_member_idcard_image($v['member_idcard_image3']); ?>')">
</td>
<td class="align-center"><?php echo htmlentities(lang('member_auth_state')[$v['member_auth_state']]); ?></td>
<td class="align-center">
<?php if($v['member_auth_state'] == 1): ?>
<a href="javascript:dsLayerConfirm('<?php echo url('MemberAuth/verify',['member_id'=>$v['member_id'],'state'=>1]); ?>','<?php echo htmlentities(lang('ds_ensure_operation')); ?>')" class="dsui-btn-add"><i class="iconfont"></i><?php echo htmlentities(lang('ds_pass')); ?></a>
<a href="javascript:submit_verify(<?php echo htmlentities($v['member_id']); ?>,2)" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_refuse')); ?></a>
<?php endif; ?>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="11"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<tfoot class="tfoot">
<?php if(!(empty($member_list) || (($member_list instanceof \think\Collection || $member_list instanceof \think\Paginator ) && $member_list->isEmpty()))): ?>
<tr>
<td class="w24"><input type="checkbox" class="checkall" id="checkallBottom"></td>
<td colspan="16">
<label for="checkallBottom"><?php echo htmlentities(lang('ds_select_all')); ?></label>
&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_verify(0,1)"><span><?php echo htmlentities(lang('ds_pass')); ?></span></a>
&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-red btn-small" onclick="submit_verify(0,2)"><span><?php echo htmlentities(lang('ds_refuse')); ?></span></a>
</td>
</tr>
<?php endif; ?>
</tfoot>
</table>
<?php echo $show_page; ?>
</div>
<script type="text/javascript">
function openPhoto(src){
layer.photos({
photos: {
"title": "", //相册标题
"id": 1, //相册id
"start": 0, //初始显示的图片序号默认0
"data": [ //相册包含的图片,数组格式
{
"pid": 1, //图片id
"src": src, //原图地址
"thumb": src //缩略图地址
}
]
}
,anim: 5 //0-6的选择指定弹出图片动画类型默认随机
})
}
function submit_verify(member_id,state) {
if(member_id==0){
/* 获取选中的项 */
var items = '';
$('.checkitem:checked').each(function () {
items += this.value + ',';
});
if (items != '') {
items = items.substr(0, (items.length - 1));
member_id=items;
}else{
layer.alert('<?php echo htmlentities(lang('checkbox_empty')); ?>', {icon: 2})
return
}
}
if(state==2){
layer.prompt({title: '<?php echo htmlentities(lang('refuse_reason')); ?>', formType: 2}, function(text, index){
layer.close(index);
ajax_verify(member_id,state,text);
})
}else{
ajax_verify(member_id,state)
}
}
function ajax_verify(member_id,state,message=''){
$.ajax({
type: 'POST',
url: "<?php echo url('MemberAuth/verify'); ?>",
cache: false,
data: {member_id:member_id,state:state,message:message},
dataType: 'json',
success: function (res) {
if (res.code!=10000) {
layer.alert(res.message);
}
else {
location.reload();
}
}
});
}
</script>

File diff suppressed because it is too large Load Diff

View File

@ -1,343 +0,0 @@
<?php /*a:3:{s:67:"/www/wwwroot/light.haix.cn/app/admin/view/goodsalbum/watermark.html";i:1609141930;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>空间管理</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form enctype="multipart/form-data" action="" id="wm_form" method="post">
<input type="hidden" name="swm_text_angle" value="0" />
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('watermark_pic')); ?></td>
<td class="vatop rowform">
<?php if(!(empty(config('ds_config.swm_image_name')) || ((config('ds_config.swm_image_name') instanceof \think\Collection || config('ds_config.swm_image_name') instanceof \think\Paginator ) && config('ds_config.swm_image_name')->isEmpty()))): ?>
<div class="dssc-upload-thumb watermark-pic">
<p><img src="<?php echo ds_get_pic('home/watermark',config('ds_config.swm_image_name')); ?>" id="imgView"/></p>
<a href="javascript:void(0);" id="del_image" title="<?php echo htmlentities(lang('watermark_del_pic')); ?>">X</a>
<input type="hidden" id="is_del_image" name="is_del_image" value=""/>
</div>
<?php else: ?>
<div class="dssc-upload-thumb watermark-pic"><p><i class="iconfont">&#xe72a;</i></p></div>
<?php endif; ?>
<div class="dssc-upload-btn">
<a href="javascript:void(0);">
<span>
<input type="file" hidefocus="true" size="1" class="input-file" name="image" id="image" ds_type="logo"/>
</span>
<p><i class="iconfont">&#xe733;</i><?php echo htmlentities(lang('image_upload')); ?></p>
</a>
</div>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('watermark_choose_pic')); ?></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('swm_image_transition')); ?></td>
<td class="vatop rowform"><input id="swm_image_transition" class="text w40" type="text" name="swm_image_transition" value="<?php echo htmlentities(config('ds_config.swm_image_transition')); ?>"/><em class="add-on">%</em>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('swm_image_choose_transition')); ?></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('watermark_pic_pos')); ?></td>
<td class="vatop rowform">
<ul class="dssc-watermark-pos" id="wm_image_pos">
<li>
<input type="radio" name="swm_image_pos" value="1" <?php if(config('ds_config.swm_image_pos')==1): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos1')); ?></label>
</li>
<li>
<input type="radio" name="swm_image_pos" value="2" <?php if(config('ds_config.swm_image_pos')==2): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos2')); ?></label>
</li>
<li>
<input type="radio" name="swm_image_pos" value="3" <?php if(config('ds_config.swm_image_pos')==3): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos3')); ?></label>
</li>
<li>
<input type="radio" name="swm_image_pos" value="4" <?php if(config('ds_config.swm_image_pos')==4): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos4')); ?></label>
</li>
<li>
<input type="radio" name="swm_image_pos" value="5" <?php if(config('ds_config.swm_image_pos')==5): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos5')); ?></label>
</li>
<li>
<input type="radio" name="swm_image_pos" value="6" <?php if(config('ds_config.swm_image_pos')==6): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos6')); ?></label>
</li>
<li>
<input type="radio" name="swm_image_pos" value="7" <?php if(config('ds_config.swm_image_pos')==7): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos7')); ?></label>
</li>
<li>
<input type="radio" name="swm_image_pos" value="8" <?php if(config('ds_config.swm_image_pos')==8): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos8')); ?></label>
</li>
<li>
<input type="radio" name="swm_image_pos" value="9" <?php if(config('ds_config.swm_image_pos')==9): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos9')); ?></label>
</li>
</ul>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('watermark_choose_pos')); ?></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('watermark_pic_quality')); ?></td>
<td class="vatop rowform">
<input id="swm_quality" class="text w40" type="text" name="swm_quality" value="<?php echo htmlentities(config('ds_config.swm_quality')); ?>"/><em class="add-on">%</em>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('watermark_pic_quality_max')); ?></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('watermark_text')); ?></td>
<td class="vatop rowform"><textarea name="swm_text" class="textarea w180" ><?php echo htmlentities(config('ds_config.swm_text')); ?></textarea></td>
<td class="vatop tips"><?php echo htmlentities(lang('watermark_text_notice')); ?>,<?php echo htmlentities(lang('letters_numbers_recommended')); ?></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('watermark_text_size')); ?></td>
<td class="vatop rowform"><input id="swm_text_size" class="text w40" type="text" name="swm_text_size" value="<?php echo htmlentities(config('ds_config.swm_text_size')); ?>"/><em class="add-on">px</em></td>
<td class="vatop tips"><?php echo htmlentities(lang('watermark_text_size_notice')); ?></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('watermark_text_color')); ?></td>
<td class="vatop rowform">
<input id="swm_text_color" class="text w100" type="text" name="swm_text_color" value="<?php echo htmlentities((config('ds_config.swm_text_color') ?: '#CCCCCC')); ?>"/>
<div id="colorpanel" style="display:none;width:253px;height:177px;"></div>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('watermark_text_color_notice')); ?></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('watermark_text_font')); ?></td>
<td class="vatop rowform">
<select name="swm_text_font" class="w80">
<?php if(is_array($file_list) || $file_list instanceof \think\Collection || $file_list instanceof \think\Paginator): if( count($file_list)==0 ) : echo "" ;else: foreach($file_list as $key=>$value): ?>
<option value="<?php echo htmlentities($key); ?>" <?php if(config('ds_config.swm_text_font') == $key): ?>selected="selected"<?php endif; ?>><?php echo htmlentities($value); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('watermark_text_font_notice')); ?>,<?php echo htmlentities(lang('installed_chinese_font')); ?></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('watermark_text_pos')); ?></td>
<td class="vatop rowform">
<ul class="dssc-watermark-pos" id="swm_text_pos">
<li>
<input type="radio" name="swm_text_pos" value="1" <?php if(config('ds_config.swm_text_pos')==1): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos1')); ?></label>
</li>
<li>
<input type="radio" name="swm_text_pos" value="2" <?php if(config('ds_config.swm_text_pos')==2): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos2')); ?></label>
</li>
<li>
<input type="radio" name="swm_text_pos" value="3" <?php if(config('ds_config.swm_text_pos')==3): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos3')); ?></label>
</li>
<li>
<input type="radio" name="swm_text_pos" value="4" <?php if(config('ds_config.swm_text_pos')==4): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos4')); ?></label>
</li>
<li>
<input type="radio" name="swm_text_pos" value="5" <?php if(config('ds_config.swm_text_pos')==5): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos5')); ?></label>
</li>
<li>
<input type="radio" name="swm_text_pos" value="6" <?php if(config('ds_config.swm_text_pos')==6): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos6')); ?></label>
</li>
<li>
<input type="radio" name="swm_text_pos" value="7" <?php if(config('ds_config.swm_text_pos')==7): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos7')); ?></label>
</li>
<li>
<input type="radio" name="swm_text_pos" value="8" <?php if(config('ds_config.swm_text_pos')==8): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos8')); ?></label>
</li>
<li>
<input type="radio" name="swm_text_pos" value="9" <?php if(config('ds_config.swm_text_pos')==9): ?>checked<?php endif; ?>/>
<label><?php echo htmlentities(lang('watermark_text_pos9')); ?></label>
</li>
</ul>
</td>
<td class="vatop tips"></td>
</tr>
</tbody>
<tfoot>
<tr class="tfoot">
<td colspan="15"><input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
</tr>
</tfoot>
</table>
</form>
<style type="text/css">
.evo-color div { font-size: 12px; line-height: normal;}
.evo-color span { font-size: 12px !important; line-height: normal !important;}
</style>
<link href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/colorpicker/evol.colorpicker.css" rel="stylesheet" type="text/css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/colorpicker/evol.colorpicker.min.js"></script>
<script>
$(function () {
$("div").cssRadio();
$('#swm_text_color').colorpicker({showOn: 'both'});
$('#swm_text_color').parent().css("width", '');
$('#swm_text_color').parent().addClass("color");
$('#del_image').click(function () {
var result = confirm('<?php echo htmlentities(lang('watermark_del_pic_confirm')); ?>');
if (result)
{
$('#image').css('display', 'none');
$('#del_image').css('display', 'none');
$('#is_del_image').val('ok');
$('#wm_form').submit();
}
});
$('#wm_form').validate({
errorPlacement: function(error, element){
var error_td = element.parents('dd');
error_td.append(error);
},
rules: {
swm_image_transition: {
required: true,
min:0,
max:100,
number: true
},
swm_quality: {
required: true,
min:0,
max:100,
number: true
},
swm_text_size: {
required: true,
number: true
},
swm_text_color: {
required: true,
maxlength: 7
}
},
messages: {
swm_image_transition: {
required: '<?php echo htmlentities(lang('watermark_transition_null')); ?>',
min: '<?php echo htmlentities(lang('watermark_transition_min')); ?>',
max: '<?php echo htmlentities(lang('watermark_transition_max')); ?>',
number: '<?php echo htmlentities(lang('watermark_transition_number')); ?>',
},
swm_quality: {
required: '<?php echo htmlentities(lang('watermark_pic_quality_null')); ?>',
min: '<?php echo htmlentities(lang('watermark_pic_quality_min')); ?>',
max: '<?php echo htmlentities(lang('watermark_pic_quality_max')); ?>',
number: '<?php echo htmlentities(lang('watermark_pic_quality_number')); ?>',
},
swm_text_size: {
required: '<?php echo htmlentities(lang('watermark_text_size_null')); ?>',
number: '<?php echo htmlentities(lang('watermark_text_size_number')); ?>'
},
swm_text_color: {
required: '<?php echo htmlentities(lang('watermark_text_color_null')); ?>',
maxlength: '<?php echo htmlentities(lang('watermark_text_color_max')); ?>'
}
}
});
});
jQuery.fn.cssRadio = function () {
$(":input[type=radio] + label").each(function () {
if ($(this).prev()[0].checked)
$(this).addClass("checked");
}).hover(
function () {
$(this).addClass("over");
},
function () {
$(this).removeClass("over");
}
).click(function () {
var contents = $(this).parent().parent(); /*多组控制 关键*/
$(":input[type=radio] + label", contents).each(function () {
$(this).prev()[0].checked = false;
$(this).removeClass("checked");
});
$(this).prev()[0].checked = true;
$(this).addClass("checked");
}).prev().hide();
};
</script>
</div>

View File

@ -1,152 +0,0 @@
<?php /*a:5:{s:64:"/www/wwwroot/lianke.keyutest.com/app/admin/view/index/index.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/topnav.html";i:1643984736;s:64:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/left.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/footer.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="admincp-header">
<div class="logo">
<div style="font-size: 30px;color:darkorange;margin-left:10px;margin-top:5px;">联课教育</div>
<!-- <img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/backlogo.png"/>-->
</div>
<div class="navbar">
<ul class="fl" style="float:left;">
<?php if(is_array($menu_list) || $menu_list instanceof \think\Collection || $menu_list instanceof \think\Paginator): if( count($menu_list)==0 ) : echo "" ;else: foreach($menu_list as $key=>$menu): ?>
<li id="nav_<?php echo htmlentities($menu['name']); ?>" <?php if(!$menu['show']): ?>style="display:none"<?php endif; ?>>
<a href="javascript:void(0)" onclick="openItem('<?php echo htmlentities($menu['name']); ?>')"><?php echo htmlentities($menu['text']); ?></a>
</li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<ul class="fr" style="float:right">
<li>
<span>您好,<?php echo session('admin_name'); ?></span>
<div class="sub-meun">
<dl>
<dd><a href="<?php echo url('Index/modifypw'); ?>" target="main-frame"><i class="iconfont">&#xe67b;</i>修改密码</a></dd>
<dd><a href="javascript:dsLayerConfirm('<?php echo url('Login/logout'); ?>','您确定退出吗?')"><i class="iconfont">&#xe70c;</i>安全退出</a></dd>
</dl>
</div>
</li>
<li><a href="javascript:dsLayerConfirm('<?php echo url('Index/clear'); ?>','确定清理全部缓存?')" target="main-frame"><?php echo htmlentities(lang('ds_cache')); ?></a></li>
<li><a href="<?php echo url('/home/Index/index'); ?>" target="_blank">访问首页</a></li>
</ul>
</div>
</div>
<div class="admincp-container">
<div class="admincp-container-left">
<div id="mainMenu">
<?php if(is_array($menu_list) || $menu_list instanceof \think\Collection || $menu_list instanceof \think\Paginator): if( count($menu_list)==0 ) : echo "" ;else: foreach($menu_list as $menu_k=>$menu): ?>
<ul id="sort_<?php echo htmlentities($menu['name']); ?>" <?php if($menu_k != 'dashboard'): ?>style="display:none"<?php endif; ?>>
<?php if(is_array($menu['children']) || $menu['children'] instanceof \think\Collection || $menu['children'] instanceof \think\Paginator): if( count($menu['children'])==0 ) : echo "" ;else: foreach($menu['children'] as $submenu_key=>$submenu): $args_array = explode(",",$submenu['args']); ?>
<li id="left_<?php echo $args_array[2].$args_array[1].$args_array[0] ?>"><a href="javascript:void(0)" onclick="openItem('<?php echo htmlentities($submenu['args']); ?>')" ><i class="iconfont"><?php echo (isset($submenu['ico']) && ($submenu['ico'] !== '')?$submenu['ico']:'&#xe652;'); ?></i><?php echo htmlentities($submenu['text']); ?></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endforeach; endif; else: echo "" ;endif; ?>
</div>
</div>
<div class="admincp-container-right">
<div class="top-border"></div>
<iframe src="<?php echo url('Dashboard/index'); ?>" id="main-frame" name="main-frame" style="overflow: visible;" frameborder="0" width="100%" height="94%" scrolling="yes" onload="window.parent"></iframe>
</div>
</div>
<script>
$(function() {
$('#welcome,dashboard,dashboard').addClass('active');
if ($.cookie('now_location_controller') != null) {
openItem($.cookie('now_location_action') + ',' + $.cookie('now_location_controller') + ',' + $.cookie('now_location_module'));
} else {
$('#mainMenu>ul').first().css('display', 'block');
//第一次进入后台时,默认定到欢迎界面
$('#item_welcome').addClass('selected');
$('#workspace').attr('src', ADMINSITEURL+'/Dashboard/welcome.html');
}
$('#iframe_refresh').click(function() {
var fr = document.frames ? document.frames("workspace") : document.getElementById("workspace").contentWindow;
fr.location.reload();
});
});
function openItem(args) {
spl = args.split(',');
action = spl[0];
try {
controller = spl[1];
module = spl[2];
}
catch (ex) {
}
if (typeof(controller) == 'undefined') {
var module = args;
}
//顶部导航样式处理
$('.actived').removeClass('actived');
$('#nav_' + module).addClass('actived');
//清除左侧样式
$('.selected').removeClass('selected');
//show
$('#mainMenu ul').css('display', 'none');
$('#sort_' + module).css('display', 'block');
if (typeof(controller) == 'undefined') {
//顶部菜单事件
html = $('#sort_' + module + '>li').first().html();
str = html.match(/openItem\('(.*)'\)/ig);
arg = str[0].split("'");
spl = arg[1].split(',');
action = spl[0];
controller = spl[1];
module = spl[2];
first_obj = $('#sort_' + module + '>li').first();
$(first_obj).addClass('selected');
} else {
//左侧菜单事件
//location
$.cookie('now_location_module', module);
$.cookie('now_location_controller', controller);
$.cookie('now_location_action', action);
$("#left_"+ module + controller + action).addClass('selected');
}
src = ADMINSITEURL + '/' + controller + '/' + action + '/';
$('#main-frame').attr('src', src);
}
</script>

View File

@ -1,132 +0,0 @@
<?php /*a:3:{s:75:"/www/wwwroot/lianke.keyutest.com/app/admin/view/goodsclass/goods_class.html";i:1643894516;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('goods_class_index_class')); ?></h3>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('goods_class_index_help1')); ?></li>
<li><?php echo htmlentities(lang('goods_class_index_help2')); ?></li>
<li><?php echo lang('goods_class_index_help3'); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th></th>
<th><?php echo htmlentities(lang('ds_sort')); ?></th>
<th><?php echo htmlentities(lang('goods_class_index_name')); ?></th>
<th><?php echo htmlentities(lang('type')); ?></th>
<th></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): if(is_array($class_list) || $class_list instanceof \think\Collection || $class_list instanceof \think\Paginator): if( count($class_list)==0 ) : echo "" ;else: foreach($class_list as $k=>$v): ?>
<tr class="hover edit">
<td class="w48"><input type="checkbox" name="check_gc_id[]" value="<?php echo htmlentities($v['gc_id']); ?>" class="checkitem">
<?php if(isset($v['have_child']) && $v['have_child'] == '1'): ?>
<img fieldid="<?php echo htmlentities($v['gc_id']); ?>" status="open" ds_type="flex" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/tv-expandable.gif">
<?php else: ?>
<img fieldid="<?php echo htmlentities($v['gc_id']); ?>" status="close" ds_type="flex" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/tv-item.gif">
<?php endif; ?>
</td>
<td class="w48 sort"><span title="<?php echo htmlentities(lang('ds_editable')); ?>" ajax_branch="goods_class_sort" datatype="number" fieldid="<?php echo htmlentities($v['gc_id']); ?>" fieldname="gc_sort" ds_type="inline_edit" class="editable "><?php echo htmlentities($v['gc_sort']); ?></span></td>
<td class="w50pre name">
<span title="<?php echo htmlentities(lang('ds_editable')); ?>" required="1" fieldid="<?php echo htmlentities($v['gc_id']); ?>" ajax_branch="goods_class_name" fieldname="gc_name" ds_type="inline_edit" class="editable "><?php echo htmlentities($v['gc_name']); ?></span>
<a class="btn-add-nofloat marginleft" href="<?php echo url('Goodsclass/goods_class_add',['gc_parent_id'=>$v['gc_id']]); ?>"><span><?php echo htmlentities(lang('ds_add_sub_class')); ?></span></a>
</td>
<td><?php echo htmlentities($v['type_name']); ?></td>
<td><?php if($v['gc_virtual'] == 1): ?>虚拟<?php endif; ?></td>
<td class="w120">
<a href="<?php echo url('Goodsclass/nav_edit',['gc_id'=>$v['gc_id']]); ?>"><?php echo htmlentities(lang('ds_set')); ?></a> |
<a href="<?php echo url('Goodsclass/goods_class_edit',['gc_id'=>$v['gc_id']]); ?>"><?php echo htmlentities(lang('ds_edit')); ?></a> |
<a href="javascript:void(0)" onclick="submit_delete(<?php echo htmlentities($v['gc_id']); ?>)"><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): ?>
<tfoot>
<tr class="tfoot">
<td><input type="checkbox" class="checkall" id="checkall_2"></td>
<td id="batchAction" colspan="15"><span class="all_checkbox">
<label for="checkall_2"><?php echo htmlentities(lang('ds_select_all')); ?></label>
</span>&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('ds_del')); ?></span></a>
</td>
</tr>
</tfoot>
<?php endif; ?>
</table>
</div>
<script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.goods_class.js"></script>
<script type="text/javascript">
function submit_delete(ids_str){
_uri = ADMINSITEURL+"/Goodsclass/goods_class_del.html?gc_id=" + ids_str;
dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
}
</script>

View File

@ -1,143 +0,0 @@
<?php /*a:3:{s:68:"/www/wwwroot/lianke.keyutest.com/app/admin/view/exppoints/index.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_exppoints')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch" id="formSearch" action="">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('explog_membername')); ?></dt>
<dd><input type="text" name="mname" class="txt" value='<?php echo htmlentities(app('request')->param('mname')); ?>'></dd>
</dl>
<dl>
<dt>添加时间</dt>
<dd>
<input type="text" id="stime" name="stime" class="txt date" value="<?php echo htmlentities(app('request')->param('stime')); ?>">
<label>~</label>
<input type="text" id="etime" name="etime" class="txt date" value="<?php echo htmlentities(app('request')->param('etime')); ?>">
</dd>
</dl>
<dl>
<dd>
<select name="stage">
<option value="" <?php if(!(empty(app('request')->param('stage')) || ((app('request')->param('stage') instanceof \think\Collection || app('request')->param('stage') instanceof \think\Paginator ) && app('request')->param('stage')->isEmpty()))): ?>selected=selected<?php endif; ?>>操作阶段</option>
<?php if(is_array($stage_arr) || $stage_arr instanceof \think\Collection || $stage_arr instanceof \think\Paginator): if( count($stage_arr)==0 ) : echo "" ;else: foreach($stage_arr as $k=>$v): ?>
<option value="<?php echo htmlentities($k); ?>" <?php if(app('request')->param('stage') == $k): ?>selected=selected<?php endif; ?>><?php echo htmlentities($v); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</dd>
</dl>
<dl>
<dt>描述</dt>
<dd><input type="text" id="description" name="description" class="txt2" value="<?php echo htmlentities(app('request')->param('description')); ?>" ></dd>
</dl>
<div class="btn_group">
<input type="submit" class="btn" value="<?php echo htmlentities(lang('ds_query')); ?>"/>
<a href="<?php echo url('Exppoints/index'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
<a class="btn btn-default" href="javascript:export_xls('<?php echo url('Exppoints/export_step1'); ?>')"><?php echo htmlentities(lang('ds_export')); ?>Excel</a>
</div>
</div>
</form>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li>经验值明细,展示了会员经验值增减情况的详细情况记录,经验值前有符号“-”表示减少,无符号表示增加</li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr>
<th><?php echo htmlentities(lang('explog_membername')); ?></th>
<th><?php echo htmlentities(lang('exp_value')); ?></th>
<th><?php echo htmlentities(lang('explog_addtime')); ?></th>
<th><?php echo htmlentities(lang('explog_stage')); ?></th>
<th><?php echo htmlentities(lang('explog_desc')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($list_log) || (($list_log instanceof \think\Collection || $list_log instanceof \think\Paginator ) && $list_log->isEmpty()))): if(is_array($list_log) || $list_log instanceof \think\Collection || $list_log instanceof \think\Paginator): if( count($list_log)==0 ) : echo "" ;else: foreach($list_log as $key=>$log): ?>
<tr>
<td><?php echo htmlentities($log['explog_membername']); ?></td>
<td><?php echo htmlentities($log['explog_points']); ?></td>
<td><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($log['explog_addtime'])? strtotime($log['explog_addtime']) : $log['explog_addtime'])); ?></td>
<td><?php echo htmlentities($stage_arr[$log['explog_stage']]); ?></td>
<td><?php echo htmlentities($log['explog_desc']); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="15"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>
<script language="javascript">
$(function () {
$('#stime').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
var year2 = dateText.split('-') ;
$('#etime').datepicker( "option", "minDate", new Date(parseInt(year2[0]),parseInt(year2[1])-1,parseInt(year2[2])+1) );
}});
$('#etime').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
var year1 = dateText.split('-') ;
$('#stime').datepicker( "option", "maxDate", new Date(parseInt(year1[0]),parseInt(year1[1])-1,parseInt(year1[2])-1) );
}});
});
</script>

View File

@ -1,91 +0,0 @@
<?php /*a:3:{s:61:"/www/wwwroot/light.haix.cn/app/admin/view/document/index.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_document')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('document_index_help1')); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th><?php echo htmlentities(lang('document_index_title')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('document_edit_time')); ?></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($doc_list) || (($doc_list instanceof \think\Collection || $doc_list instanceof \think\Paginator ) && $doc_list->isEmpty()))): if(is_array($doc_list) || $doc_list instanceof \think\Collection || $doc_list instanceof \think\Paginator): if( count($doc_list)==0 ) : echo "" ;else: foreach($doc_list as $key=>$v): ?>
<tr class="hover">
<td ><?php echo htmlentities($v['document_title']); ?></td>
<td class="w25pre align-center"><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($v['document_time'])? strtotime($v['document_time']) : $v['document_time'])); ?></td>
<td class="w96"><a href="<?php echo url('Document/edit',['document_id'=>$v['document_id']]); ?>" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="15"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
</div>

View File

@ -1,118 +0,0 @@
<?php /*a:3:{s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/article/index.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_article')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('article_title')); ?></dt>
<dd><input type="text" value="<?php echo htmlentities(app('request')->param('search_title')); ?>" name="search_title" class="txt"></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('ds_articleclass')); ?></dt>
<dd>
<select name="search_ac_id">
<option value=""><?php echo htmlentities(lang('ds_please_choose')); ?>...</option>
<?php if(is_array($parent_list) || $parent_list instanceof \think\Collection || $parent_list instanceof \think\Paginator): if( count($parent_list)==0 ) : echo "" ;else: foreach($parent_list as $k=>$v): ?>
<option value="<?php echo htmlentities($v['ac_id']); ?>" <?php if(app('request')->param('search_ac_id') == $v['ac_id']): ?>selected<?php endif; ?>><?php echo $v['ac_name']; ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</dd>
</dl>
<div class="btn_group">
<input type="submit" class="btn" value="<?php echo htmlentities(lang('ds_search')); ?>">
<?php if($filtered): ?>
<a href="<?php echo url('Article/index'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
<?php endif; ?>
</div>
</div>
</form>
<table class="ds-default-table">
<thead>
<tr>
<th><?php echo htmlentities(lang('article_sort')); ?></th>
<th><?php echo htmlentities(lang('article_id')); ?></th>
<th><?php echo htmlentities(lang('article_title')); ?></th>
<th><?php echo htmlentities(lang('article_cate')); ?></th>
<th><?php echo htmlentities(lang('article_show')); ?></th>
<th><?php echo htmlentities(lang('article_time')); ?></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($article_list) || (($article_list instanceof \think\Collection || $article_list instanceof \think\Paginator ) && $article_list->isEmpty()))): if(is_array($article_list) || $article_list instanceof \think\Collection || $article_list instanceof \think\Paginator): if( count($article_list)==0 ) : echo "" ;else: foreach($article_list as $key=>$article): ?>
<tr>
<td><?php echo htmlentities($article['article_sort']); ?></td>
<td><?php echo htmlentities($article['article_id']); ?></td>
<td><?php echo htmlentities($article['article_title']); ?></td>
<td><?php echo htmlentities((isset($article['ac_name']) && ($article['ac_name'] !== '')?$article['ac_name']:'')); ?></td>
<td><?php if($article['article_show'] == '1'): ?><?php echo htmlentities(lang('ds_yes')); else: ?><?php echo htmlentities(lang('ds_no')); ?><?php endif; ?></td>
<td><?php echo htmlentities($article['article_time']); ?></td>
<td>
<a href="<?php echo url('Article/edit',['article_id'=>$article['article_id']]); ?>" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<a href="javascript:dsLayerConfirm('<?php echo url('Article/drop',['article_id'=>$article['article_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>

View File

@ -1,152 +0,0 @@
<?php /*a:3:{s:64:"/www/wwwroot/www.lightcourse.com/app/admin/view/brand/index.html";i:1594017460;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_brand_manage')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('brand_index_name')); ?></dt>
<dd><input class="txt" name="search_brand_name" id="search_brand_name" value="<?php echo htmlentities($search_brand_name); ?>" type="text"></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('brand_index_class')); ?></dt>
<dd><input class="txt" name="search_brand_class" id="search_brand_class" value="<?php echo htmlentities($search_brand_class); ?>" type="text"></dd>
</dl>
<div class="btn_group">
<a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<?php if($search_brand_name != '' || $search_brand_class != ''): ?>
<a class="btn" href="<?php echo url('Brand/index'); ?>" title="<?php echo htmlentities(lang('ds_cancel_search')); ?>"><span><?php echo htmlentities(lang('ds_cancel_search')); ?></span></a>
<?php endif; ?>
<a class="btn btn-default" href="javascript:export_xls('<?php echo url('Brand/export_step1'); ?>')"><span><?php echo htmlentities(lang('ds_export')); ?>Excel</span></a>
</div>
</div>
<input type="hidden" value="" name="export">
</form>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('brand_index_help1')); ?></li>
<li><?php echo htmlentities(lang('brand_index_help2')); ?></li>
<li><?php echo htmlentities(lang('brand_index_help3')); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th class="w24"></th>
<th class="w48"><?php echo htmlentities(lang('ds_sort')); ?></th>
<th class="w270"><?php echo htmlentities(lang('brand_index_name')); ?></th>
<th class="w150"><?php echo htmlentities(lang('brand_index_class')); ?></th>
<th class="w150"><?php echo htmlentities(lang('brand_index_pic_sign')); ?></th>
<th class="w48 align-center"><?php echo htmlentities(lang('brand_showtype')); ?></th>
<th class="w48 align-center"><?php echo htmlentities(lang('ds_recommend')); ?></th>
<th class="w72 align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($brand_list) || (($brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator ) && $brand_list->isEmpty()))): if(is_array($brand_list) || $brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator): if( count($brand_list)==0 ) : echo "" ;else: foreach($brand_list as $key=>$v): ?>
<tr class="hover edit">
<td><input value="<?php echo htmlentities($v['brand_id']); ?>" class="checkitem" type="checkbox" name="del_brand_id[]"></td>
<td class="sort"><span class="editable" ds_type="inline_edit" fieldname="brand_sort" ajax_branch='brand_sort' fieldid="<?php echo htmlentities($v['brand_id']); ?>" datatype="pint" maxvalue="255" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($v['brand_sort']); ?></span></td>
<td class="name"><span class="editable" ds_type="inline_edit" fieldname="brand_name" ajax_branch='brand_name' fieldid="<?php echo htmlentities($v['brand_id']); ?>" required="1" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($v['brand_name']); ?></span></td>
<td class="class"><?php echo htmlentities($v['brand_class']); ?></td>
<td class="picture"><div class="brand-picture"><img src="<?php echo brand_image($v['brand_pic']); ?>" style="height:30px;"/></div></td>
<td class="align-center"><?php echo $v['brand_showtype']==1 ? lang('brand_showtype_text') : lang('brand_showtype_img'); ?></td>
<td class="align-center yes-onoff">
<?php if($v['brand_recommend'] == '0'): ?>
<a href="JavaScript:void(0);" class="disabled" ajax_branch='brand_recommend' ds_type="inline_edit" fieldname="brand_recommend" fieldid="<?php echo htmlentities($v['brand_id']); ?>" fieldvalue="0" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
<?php else: ?>
<a href="JavaScript:void(0);" class="enabled" ajax_branch='brand_recommend' ds_type="inline_edit" fieldname="brand_recommend" fieldid="<?php echo htmlentities($v['brand_id']); ?>" fieldvalue="1" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
<?php endif; ?>
</td>
<td class="align-center">
<a href="javascript:dsLayerOpen('<?php echo url('Brand/brand_edit',['brand_id'=>$v['brand_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($v['brand_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<a href="javascript:dsLayerConfirm('<?php echo url('Brand/brand_del',['brand_id'=>$v['brand_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<tfoot>
<?php if(!(empty($brand_list) || (($brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator ) && $brand_list->isEmpty()))): ?>
<tr colspan="15" class="tfoot">
<td><input type="checkbox" class="checkall" id="checkallBottom"></td>
<td colspan="16">
<label for="checkallBottom"><?php echo htmlentities(lang('ds_select_all')); ?></label>
&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('ds_del')); ?></span></a>
</td>
</tr>
<?php endif; ?>
</tfoot>
</table>
<?php echo $showpage; ?>
<div class="clear"></div>
</div>
<script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>
<script type="text/javascript">
function submit_delete(ids_str){
_uri = ADMINSITEURL+"/Brand/brand_del.html?brand_id=" + ids_str;
dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
}
</script>

View File

@ -1,393 +0,0 @@
<?php /*a:3:{s:70:"/www/wwwroot/www.lightcourse.com/app/admin/view/dashboard/welcome.html";i:1643981916;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page welcome">
<!--
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_welcome')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
-->
<ul class="info-message">
<?php if($version_message): ?>
<li><?php echo htmlentities($version_message); ?></li>
<?php endif; ?>
</ul>
<div class="title">基本信息</div>
<div class="info-total">
<ul>
<li>
<a href="<?php echo url('Member/member'); ?>">
<div class="p_header bg-79BAD0">
<i class="iconfont">&#xe667;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_member_des')); ?></div>
<div class="p_num" id="statistics_member">0</div>
</div>
</a>
</li>
<li>
<a href="<?php echo url('Goods/index'); ?>">
<div class="p_header bg-86CE86">
<i class="iconfont">&#xe732;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_total_goods')); ?></div>
<div class="p_num" id="statistics_goods">0</div>
</div>
</a>
</li>
<li>
<a href="<?php echo url('Order/index'); ?>">
<div class="p_header bg-E9BB5F">
<i class="iconfont">&#xe69c;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_trade_des')); ?></div>
<div class="p_num" id="statistics_order">0</div>
</div>
</a>
</li>
<!-- <li>
<a href="<?php echo url('Operation/setting'); ?>">
<div class="p_header bg-6CCDA5">
<i class="iconfont">&#xe704;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_stat_des')); ?></div>
</div>
</a>
</li>-->
</ul>
</div>
<div class="title">一周概况</div>
<div class="info-chart">
<div class="week">
<ul class="tab">
<li class="active">会员增长</li>
<li>课程增长</li>
<li>订单增长</li>
</ul>
<div class="tab-content">
<div class="content show">
<div id="stat_json_week_member" class="w100pre close_float" style="height:300px"></div>
</div>
<div class="content">
<div id="stat_json_week_goods" class="w100pre close_float" style="height:300px"></div>
</div>
<div class="content">
<div id="stat_json_week_order" class="w100pre close_float" style="height:300px"></div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
$(".info-chart .week li").each(function (index) {
$(this).click(function () {
$("li.active").removeClass("active"); //注意这里
$(this).addClass("active"); //注意这里
$(".tab-content>div.show").removeClass("show");
$(".tab-content>div").eq(index).addClass("show");
});
})
});
</script>
<!-- <div class="title">待处理事项</div>
<div class="info-statistical clearfix">
&lt;!&ndash;会员&ndash;&gt;
<div class="info-panel">
<div class="mt">会员</div>
<div class="mc">
<ul>
<li class="none">
<a href="<?php echo url('Member/member'); ?>">
<div class="p_header bg-79BAD0">
<i class="iconfont">&#xe667;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_new_add')); ?></div>
<div class="p_num" id="statistics_week_add_member">0</div>
</div>
</a>
</li>
<li class="none">
<a href="<?php echo url('Predeposit/pdcash_list'); ?>">
<div class="p_header bg-EC7E7F">
<i class="iconfont">&#xe6f3;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_predeposit_get')); ?></div>
<div class="p_num" id="statistics_cashlist">0</div>
</div>
</a>
</li>
</ul>
</div>
</div>
&lt;!&ndash;商品&ndash;&gt;
<div class="info-panel">
<div class="mt">商品</div>
<div class="mc">
<ul>
<li class="none">
<a href="<?php echo url('Goods/index'); ?>">
<div class="p_header bg-E9BB5F">
<i class="iconfont">&#xe732;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_new_add')); ?></div>
<div class="p_num" id="statistics_week_add_product">0</div>
</div>
</a>
</li>
<li class="none">
<a href="<?php echo url('Inform/inform_list'); ?>">
<div class="p_header bg-EC7E7F">
<i class="iconfont">&#xe747;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_inform')); ?></div>
<div class="p_num" id="statistics_inform_list">0</div>
</div>
</a>
</li>
</ul>
</div>
</div>
&lt;!&ndash;交易&ndash;&gt;
<div class="info-panel">
<div class="mt">交易</div>
<div class="mc">
<ul>
<li class="none">
<a href="<?php echo url('Refund/refund_manage'); ?>">
<div class="p_header bg-86CE86">
<i class="iconfont">&#xe6f3;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('order_refund')); ?></div>
<div class="p_num" id="statistics_refund">0</div>
</div>
</a>
</li>
<li class="none">
<a href="<?php echo url('Returnmanage/return_manage'); ?>">
<div class="p_header bg-EC7E7F">
<i class="iconfont">&#xe6f3;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('order_return')); ?></div>
<div class="p_num" id="statistics_return">0</div>
</div>
</a>
</li>
<li class="none">
<a href="<?php echo url('Vrrefund/refund_manage'); ?>">
<div class="p_header bg-86CE86">
<i class="iconfont">&#xe71f;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('ds_vrrefund')); ?></div>
<div class="p_num" id="statistics_vr_refund">0</div>
</div>
</a>
</li>
</ul>
</div>
</div>
&lt;!&ndash;营销&ndash;&gt;
<div class="info-panel">
<div class="mt">营销</div>
<div class="mc">
<ul>
<li class="none">
<a href="<?php echo url('Groupbuy/index'); ?>">
<div class="p_header bg-E9BB5F">
<i class="iconfont">&#xe732;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_groupbuy')); ?></div>
<div class="p_num" id="dashboard_wel_groupbuy">0</div>
</div>
</a>
</li>
<li class="none">
<a href="<?php echo url('Pointorder/pointorder_list',['porderstate'=>'waitship']); ?>">
<div class="p_header bg-6CCDA5">
<i class="iconfont">&#xe6b7;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_point_order')); ?></div>
<div class="p_num" id="dashboard_wel_point_order">0</div>
</div>
</a>
</li>
</ul>
</div>
</div>
</div>-->
<div class="title"><?php echo htmlentities(lang('dashboard_wel_version_info')); ?></div>
<div class="info-system">
<table cellpadding="0" cellspacing="0" class="system_table">
<tbody><tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_version')); ?></td>
<td>V1.1.0</td>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_install_date')); ?></td>
<td><?php echo htmlentities($statistics['setup_date']); ?></td>
</tr>
<tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_program_development')); ?></td>
<td><?php echo htmlentities(lang('dashboard_wel_deshangwangluo')); ?></td>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_all_right_reserved')); ?></td>
<td><?php echo htmlentities(lang('dashboard_wel_piracy_must_be_studied')); ?></td>
</tr>
<tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_aboutus_website')); ?>:</td>
<td><a href="http://www.o1h.cn" target="_blank"><?php echo htmlentities(lang('dashboard_aboutus_website')); ?></a></td>
<td class="gray_bg">联系电话:</td>
<td><div style="color:red;">400-666-9736</div></td>
</tr>
</tbody>
</table>
</div>
<div class="title"><?php echo htmlentities(lang('dashboard_wel_sys_info')); ?></div>
<div class="info-system">
<div class="mc">
<table cellpadding="0" cellspacing="0" class="system_table">
<tbody>
<tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_thinkphp_version')); ?></td>
<td><?php echo htmlentities($statistics['tp_version']); ?></td>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_class_library_file_suffix')); ?></td>
<td>.php</td>
</tr>
<tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_server_os')); ?></td>
<td><?php echo htmlentities($statistics['os']); ?></td>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_server_domain_ip')); ?>:</td>
<td><?php echo htmlentities($statistics['domain']); ?> [ <?php echo htmlentities($statistics['ip']); ?> ]</td>
</tr>
<tr>
<td class="gray_bg">WEB <?php echo htmlentities(lang('dashboard_wel_server')); ?></td>
<td><?php echo htmlentities($statistics['web_server']); ?></td>
<td class="gray_bg">PHP <?php echo htmlentities(lang('dashboard_wel_version')); ?></td>
<td><?php echo htmlentities($statistics['php_version']); ?></td>
</tr>
<tr>
<td class="gray_bg">MYSQL <?php echo htmlentities(lang('dashboard_wel_version')); ?></td>
<td><?php echo htmlentities($statistics['sql_version']); ?></td>
<td class="gray_bg">GD <?php echo htmlentities(lang('dashboard_wel_version')); ?>:</td>
<td><?php echo htmlentities($statistics['gdinfo']); ?></td>
</tr>
<tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_file_uplode_limit')); ?>:</td>
<td><?php echo htmlentities($statistics['fileupload']); ?></td>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_max_occupied_memory')); ?>:</td>
<td><?php echo htmlentities($statistics['memory_limit']); ?></td>
</tr>
<tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_max_ex_time')); ?>:</td>
<td><?php echo htmlentities($statistics['max_ex_time']); ?></td>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_safe_mode')); ?>:</td>
<td><?php echo htmlentities($statistics['safe_mode']); ?></td>
</tr>
<tr>
<td class="gray_bg">Zlib<?php echo htmlentities(lang('dashboard_wel_support')); ?>:</td>
<td><?php echo htmlentities($statistics['zlib']); ?></td>
<td class="gray_bg">Curl<?php echo htmlentities(lang('dashboard_wel_support')); ?>:</td>
<td><?php echo htmlentities($statistics['curl']); ?></td>
</tr>
</tbody>
</table>
</div>
</div>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/highcharts/highcharts.js"></script>
<script type="text/javascript">
var normal = ['week_add_member', 'week_add_product'];
var work = ['cashlist', 'groupbuy_verify_list', 'points_order', 'product_verify', 'inform_list', 'refund', 'return', 'vr_refund', 'cms_article_verify', 'cms_picture_verify', 'circle_verify', 'check_billno', 'pay_billno', 'mall_consult', 'delivery_point', 'offline'];
$(document).ready(function () {
$.getJSON("<?php echo url('Dashboard/statistics'); ?>", function (data) {
$.each(data, function (k, v) {
$("#statistics_" + k).html(v);
if (v != 0 && $.inArray(k, work) !== -1) {
$("#statistics_" + k).parent().parent().parent().removeClass('none').addClass('high');
} else if (v == 0 && $.inArray(k, normal) !== -1) {
$("#statistics_" + k).parent().parent().parent().removeClass('normal').addClass('none');
}
});
});
});
$('#stat_json_week_member').highcharts(<?php echo $stat_json_week_member; ?>);
$('#stat_json_week_goods').highcharts(<?php echo $stat_json_week_goods; ?>);
$('#stat_json_week_order').highcharts(<?php echo $stat_json_week_order; ?>);
</script>
</div>

View File

@ -1,133 +0,0 @@
<?php /*a:3:{s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/message/email.html";i:1594017460;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>邮箱短信</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="post">
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('smtp_server')); ?></td>
<td class="vatop rowform"><input type="text" name="email_host" id="email_host" value="<?php echo htmlentities($list_config['email_host']); ?>" class="w200"/></td>
<td class="vatop tips"><p class="notic"><?php echo htmlentities(lang('set_smtp_server_address')); ?></p></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('email_secure')); ?></td>
<td class="vatop rowform">
<select name="email_secure" id="email_secure">
<option value="tls" <?php if($list_config['email_secure'] == 'tls'): ?>selected=selected<?php endif; ?>>非SSL协议</option>
<option value="ssl" <?php if($list_config['email_secure'] == 'ssl'): ?>selected=selected<?php endif; ?>>SSL协议</option>
</select>
</td>
<td class="vatop tips"><p class="notic"><?php echo htmlentities(lang('set_email_secure')); ?></p></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('email_port')); ?></td>
<td class="vatop rowform"><input type="text" name="email_port" id="email_port" value="<?php echo htmlentities($list_config['email_port']); ?>" class="w200"/></td>
<td class="vatop tips"><p class="notic"><?php echo htmlentities(lang('set_email_port')); ?></p></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('sender_mail_address')); ?></td>
<td class="vatop rowform"><input type="text" name="email_addr" id="email_addr" value="<?php echo htmlentities($list_config['email_addr']); ?>" class="w200"/></td>
<td class="vatop tips"><p class="notic"><?php echo htmlentities(lang('if_smtp_authentication')); ?></p></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('smtp_user_name')); ?></td>
<td class="vatop rowform"><input type="text" name="email_id" id="email_id" value="<?php echo htmlentities($list_config['email_id']); ?>" class="w200"/></td>
<td class="vatop tips"><p class="notic"><?php echo htmlentities(lang('smtp_user_name_tip')); ?></p></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('smtp_user_pwd')); ?></td>
<td class="vatop rowform"><input type="password" name="email_pass" id="email_pass" value="<?php echo htmlentities($list_config['email_pass']); ?>" class="w200"/></td>
<td class="vatop tips"><p class="notic"><?php echo htmlentities(lang('smtp_user_pwd_tip')); ?></p></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('test_mail_address')); ?></td>
<td class="vatop rowform">
<input type="text" name="email_test" id="email_test" value="" class="w200"/>
<input type="button" value="测试" name="send_test_email" class="btn btn-small" id="send_test_email" >
</td>
</tr>
</tbody>
<tfoot>
<tr class="tfoot">
<td></td>
<td colspan="15"><input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
</tr>
</tfoot>
</table>
</form>
</div>
<script>
$(document).ready(function(){
$('#send_test_email').click(function(){
$.ajax({
type:'POST',
url:"<?php echo url('Message/email_testing'); ?>",
data:{'email_host':$('#email_host').val(),'email_secure':$('#email_secure option:selected').val(),'email_port':$('#email_port').val(),'email_addr':$('#email_addr').val(),'email_id':$('#email_id').val(),'email_pass':$('#email_pass').val(),'email_test':$('#email_test').val()},
error:function(html){
layer.alert(html.msg);
},
success:function(html){
layer.alert(html.msg);
},
dataType:'json'
});
});
});
</script>

View File

@ -1,196 +0,0 @@
<?php /*a:2:{s:63:"/www/wwwroot/light.haix.cn/app/admin/view/order/show_order.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<table class="ds-default-table order">
<tbody>
<tr class="space">
<th colspan="2"><?php echo htmlentities(lang('order_detail')); ?></th>
</tr>
<tr>
<th><?php echo htmlentities(lang('order_info')); ?></th>
</tr>
<tr>
<td colspan="2"><ul>
<li>
<strong><?php echo htmlentities(lang('order_number')); ?>:</strong><?php echo htmlentities($order_info['order_sn']); ?>
( 支付单号 <?php echo htmlentities(lang('ds_colon')); ?> <?php echo htmlentities($order_info['pay_sn']); ?> )
</li>
<li><strong><?php echo htmlentities(lang('order_state')); ?>:</strong><?php echo get_order_state($order_info); ?></li>
<li><strong><?php echo htmlentities(lang('order_total_price')); ?>:</strong><span class="red_common"><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($order_info['order_amount']); ?> </span>
<?php if($order_info['refund_amount'] > 0): ?>
(<?php echo htmlentities(lang('order_refund')); ?>:<?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($order_info['refund_amount']); ?>)
<?php endif; ?>
</li>
<li><strong>使用预存款支付:</strong><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($order_info['pd_amount']); ?></li>
<li><strong>使用充值卡支付:</strong><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($order_info['rcb_amount']); ?></li>
<li><strong><?php echo htmlentities(lang('order_total_transport')); ?>:</strong><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($order_info['shipping_fee']); ?></li>
</ul></td>
</tr>
<tr>
<td><ul>
<li><strong><?php echo htmlentities(lang('buyer_name')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($order_info['buyer_name']); ?></li>
<li><strong><?php echo htmlentities(lang('payment')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo get_order_payment_name($order_info['payment_code']); ?></li>
<li><strong><?php echo htmlentities(lang('order_time')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($order_info['add_time'])? strtotime($order_info['add_time']) : $order_info['add_time'])); ?></li>
<?php if(isset($order_info['payment_time']) && $order_info['payment_time']!=''): ?>
<li><strong><?php echo htmlentities(lang('payment_time')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($order_info['payment_time'])? strtotime($order_info['payment_time']) : $order_info['payment_time'])); ?></li>
<?php endif; if(isset($order_info['shipping_time']) && $order_info['shipping_time']!=''): ?>
<li><strong><?php echo htmlentities(lang('ship_time')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($order_info['shipping_time'])? strtotime($order_info['shipping_time']) : $order_info['shipping_time'])); ?></li>
<?php endif; if(isset($order_info['finnshed_time']) && $order_info['finnshed_time']!=''): ?>
<li><strong><?php echo htmlentities(lang('complate_time')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($order_info['finnshed_time'])? strtotime($order_info['finnshed_time']) : $order_info['finnshed_time'])); ?></li>
<?php endif; if($order_info['extend_order_common']['order_message'] != ''): ?>
<li><strong><?php echo htmlentities(lang('buyer_message')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($order_info['extend_order_common']['order_message']); ?></li>
<?php endif; ?>
</ul></td>
</tr>
<tr>
<th>收货人信息</th>
</tr>
<tr>
<td><ul>
<li><strong><?php echo htmlentities(lang('consignee_name')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($order_info['extend_order_common']['reciver_name']); ?></li>
<li><strong><?php echo htmlentities(lang('tel_phone')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities((isset($order_info['extend_order_common']['reciver_info']['phone']) && ($order_info['extend_order_common']['reciver_info']['phone'] !== '')?$order_info['extend_order_common']['reciver_info']['phone']:'')); ?></li>
<li><strong><?php echo htmlentities(lang('address')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities((isset($order_info['extend_order_common']['reciver_info']['address']) && ($order_info['extend_order_common']['reciver_info']['address'] !== '')?$order_info['extend_order_common']['reciver_info']['address']:'')); ?></li>
<?php if($order_info['shipping_code'] != ''): ?>
<li><strong><?php echo htmlentities(lang('ship_code')); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($order_info['shipping_code']); ?></li>
<?php endif; ?>
</ul></td>
</tr>
<?php if(!(empty($daddress_info) || (($daddress_info instanceof \think\Collection || $daddress_info instanceof \think\Paginator ) && $daddress_info->isEmpty()))): ?>
<tr>
<th>发货信息</th>
</tr>
<tr>
<td><ul>
<li><strong>发货人<?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($daddress_info['seller_name']); ?></li>
<li><strong><?php echo htmlentities(lang('tel_phone')); ?>:</strong><?php echo htmlentities($daddress_info['daddress_telphone']); ?></li>
<li><strong>发货地<?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($daddress_info['area_info']); ?>&nbsp;<?php echo htmlentities($daddress_info['daddress_detail']); ?>&nbsp;<?php echo htmlentities($daddress_info['daddress_company']); ?></li>
</ul></td>
</tr>
<?php endif; if (!empty($order_info['extend_order_common']['invoice_info'])) {?>
<tr>
<th>发票信息</th>
</tr>
<tr>
<td><ul>
<?php foreach ((array)$order_info['extend_order_common']['invoice_info'] as $key => $value){?>
<li><strong><?php echo htmlentities($key); ?><?php echo htmlentities(lang('ds_colon')); ?></strong><?php echo htmlentities($value); ?></li>
<?php } ?>
</ul></td>
</tr>
<?php } ?>
<tr>
<th><?php echo htmlentities(lang('product_info')); ?></th>
</tr>
<tr>
<td><table class="ds-default-table goods ">
<tbody>
<tr>
<th></th>
<th><?php echo htmlentities(lang('product_info')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('product_price')); ?></th>
<th class="align-center">实际支付额</th>
<th class="align-center"><?php echo htmlentities(lang('product_num')); ?></th>
</tr>
<?php if(is_array($order_info['extend_order_goods']) || $order_info['extend_order_goods'] instanceof \think\Collection || $order_info['extend_order_goods'] instanceof \think\Paginator): if( count($order_info['extend_order_goods'])==0 ) : echo "" ;else: foreach($order_info['extend_order_goods'] as $key=>$goods): ?>
<tr>
<td class="w60 picture"><div class="size-56x56"><span class="thumb size-56x56"><i></i><a href="<?php echo url('/home/Goods/index',['goods_id'=>$goods['goods_id']]); ?>" target="_blank"><img src="<?php echo goods_cthumb($goods['goods_image']); ?>" width="60" height="60"/> </a></span></div></td>
<td class="w50pre"><p><a href="<?php echo url('/home/Goods/index',['goods_id'=>$goods['goods_id']]); ?>" target="_blank"><?php echo htmlentities($goods['goods_name']); ?></a></p><p><?php echo get_order_goodstype($goods['goods_type']);?></p></td>
<td class="w96 align-center"><span class="red_common"><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($goods['goods_price']); ?></span></td>
<td class="w96 align-center"><span class="red_common"><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($goods['goods_pay_price']); ?></span></td>
<td class="w96 align-center"><?php echo htmlentities($goods['goods_num']); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
</td>
</tr>
<!-- S 促销信息 -->
<?php if(!empty($order_info['extend_order_common']['promotion_info']) && !empty($order_info['extend_order_common']['voucher_code'])){ ?>
<tr>
<th>其它信息</th>
</tr>
<tr>
<td>
<?php if(!empty($order_info['extend_order_common']['promotion_info'])){ ?>
<?php echo $order_info['extend_order_common']['promotion_info'];?>
<?php } if(!empty($order_info['extend_order_common']['voucher_code'])){ ?>
使用了面额为 <?php echo htmlentities(lang('ds_colon')); ?> <?php echo $order_info['extend_order_common']['voucher_price'];?> 元的代金券,
编码 : <?php echo $order_info['extend_order_common']['voucher_code'];} ?>
</td>
</tr>
<?php } ?>
<!-- E 促销信息 -->
<?php if(!(empty($refund_list) || (($refund_list instanceof \think\Collection || $refund_list instanceof \think\Paginator ) && $refund_list->isEmpty()))): ?>
<tr>
<th>退款记录</th>
</tr>
<?php if(is_array($refund_list) || $refund_list instanceof \think\Collection || $refund_list instanceof \think\Paginator): if( count($refund_list)==0 ) : echo "" ;else: foreach($refund_list as $key=>$val): ?>
<tr>
<td>发生时间<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($val['admin_time'])? strtotime($val['admin_time']) : $val['admin_time'])); ?>&emsp;&emsp;退款单号<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities($val['refund_sn']); ?>&emsp;&emsp;退款金额<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($val['refund_amount']); ?>&emsp;备注<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities($val['goods_name']); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; if(!(empty($return_list) || (($return_list instanceof \think\Collection || $return_list instanceof \think\Paginator ) && $return_list->isEmpty()))): ?>
<tr>
<th>退货记录</th>
</tr>
<?php if(is_array($return_list) || $return_list instanceof \think\Collection || $return_list instanceof \think\Paginator): if( count($return_list)==0 ) : echo "" ;else: foreach($return_list as $key=>$val): ?>
<tr>
<td>发生时间<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($val['admin_time'])? strtotime($val['admin_time']) : $val['admin_time'])); ?>&emsp;&emsp;退货单号<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities($val['refund_sn']); ?>&emsp;&emsp;退款金额<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($val['refund_amount']); ?>&emsp;备注<?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities($val['goods_name']); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; if(!(empty($order_log) || (($order_log instanceof \think\Collection || $order_log instanceof \think\Paginator ) && $order_log->isEmpty()))): ?>
<tr>
<th><?php echo htmlentities(lang('order_handle_history')); ?></th>
</tr>
<?php if(is_array($order_log) || $order_log instanceof \think\Collection || $order_log instanceof \think\Paginator): if( count($order_log)==0 ) : echo "" ;else: foreach($order_log as $key=>$val): ?>
<tr>
<td>
<?php echo htmlentities($val['log_role']); ?> <?php echo htmlentities($val['log_user']); ?>&emsp;<?php echo htmlentities(lang('order_show_at')); ?>&emsp;<?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($val['log_time'])? strtotime($val['log_time']) : $val['log_time'])); ?>&emsp;<?php echo htmlentities($val['log_msg']); ?>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</tbody>
</table>
</div>

View File

@ -1,208 +0,0 @@
<?php /*a:3:{s:60:"/www/wwwroot/light.haix.cn/app/admin/view/member/member.html";i:1653516898;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_member_manage')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dd>
<select name="search_field_name" >
<option <?php if($search_field_name == 'member_name'): ?>selected='selected'<?php endif; ?> value="member_name"><?php echo htmlentities(lang('ds_member')); ?></option>
<option <?php if($search_field_name == 'member_email'): ?>selected='selected'<?php endif; ?> value="member_email"><?php echo htmlentities(lang('member_email')); ?></option>
<!-- <option <?php if($search_field_name == 'member_mobile'): ?>selected='selected'<?php endif; ?> value="member_mobile"><?php echo htmlentities(lang('member_mobile')); ?></option>-->
<option <?php if($search_field_name == 'member_truename'): ?>selected='selected'<?php endif; ?> value="member_truename"><?php echo htmlentities(lang('member_truename')); ?></option>
</select>
</dd>
<dd>
<input type="text" value="<?php echo htmlentities($search_field_value); ?>" name="search_field_value" class="txt">
</dd>
<dd>
<select name="search_sort" >
<option value=""><?php echo htmlentities(lang('ds_sort')); ?></option>
<option <?php if($search_sort == 'member_logintime desc'): ?>selected='selected'<?php endif; ?> value="member_logintime desc"><?php echo htmlentities(lang('member_logintime')); ?></option>
<option <?php if($search_sort == 'member_loginnum desc'): ?>selected='selected'<?php endif; ?> value="member_loginnum desc"><?php echo htmlentities(lang('member_loginnum')); ?></option>
</select>
</dd>
<!--<dd>
<select name="search_state" >
<option <?php if(app('request')->param('search_state')): ?>selected='selected'<?php endif; ?> value=""><?php echo htmlentities(lang('member_index_state')); ?></option>
<option <?php if(app('request')->param('search_state') == "no_informallow"): ?>selected='selected'<?php endif; ?> value="no_informallow"><?php echo htmlentities(lang('member_index_inform_deny')); ?></option>
<option <?php if(app('request')->param('search_state') == "no_isbuy"): ?>selected='selected'<?php endif; ?> value="no_isbuy"><?php echo htmlentities(lang('member_index_buy_deny')); ?></option>
<option <?php if(app('request')->param('search_state') == "no_isallowtalk"): ?>selected='selected'<?php endif; ?> value="no_isallowtalk"><?php echo htmlentities(lang('member_index_talk_deny')); ?></option>
<option <?php if(app('request')->param('search_state') == "no_memberstate"): ?>selected='selected'<?php endif; ?> value="no_memberstate"><?php echo htmlentities(lang('member_index_login_deny')); ?></option>
</select>
</dd>-->
<!-- <dd>
<select name="search_grade" >
<option value='-1'>会员级别</option>
<?php if(!(empty($member_grade) || (($member_grade instanceof \think\Collection || $member_grade instanceof \think\Paginator ) && $member_grade->isEmpty()))): if(is_array($member_grade) || $member_grade instanceof \think\Collection || $member_grade instanceof \think\Paginator): if( count($member_grade)==0 ) : echo "" ;else: foreach($member_grade as $k=>$v): ?>
<option <?php if(app('request')->get('search_grade') == $k): ?>selected='selected'<?php endif; ?> value="<?php echo htmlentities($k); ?>"><?php echo htmlentities($v['level_name']); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</select>
</dd>-->
</dl>
<div class="btn_group">
<input type="submit" class="btn" value="搜索">
<?php if($filtered): ?>
<a href="<?php echo url('Member/member'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
<?php endif; ?>
</div>
</div>
</form>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<!--<ul>
<li>系统平台全局设置,包括基础设置、购物、短信、邮件、水印和分销等相关模块。</li>
</ul>-->
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th>&nbsp;</th>
<th colspan="2"><?php echo htmlentities(lang('ds_member')); ?></th>
<th class="align-center"><span fieldname="logins" ds_type="order_by"><?php echo htmlentities(lang('member_loginnum')); ?></span></th>
<th class="align-center"><span fieldname="last_login" ds_type="order_by"><?php echo htmlentities(lang('member_logintime')); ?></span></th>
<!-- <th class="align-center"><?php echo htmlentities(lang('ds_member_points')); ?></th>-->
<!--<th class="align-center"><?php echo htmlentities(lang('ds_predeposit')); ?></th>-->
<!-- <th class="align-center"><?php echo htmlentities(lang('member_exppoints')); ?></th>-->
<!-- <th class="align-center"><?php echo htmlentities(lang('ds_membergrade')); ?></th>-->
<th class="align-center"><?php echo htmlentities(lang('member_index_login')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($member_list) || (($member_list instanceof \think\Collection || $member_list instanceof \think\Paginator ) && $member_list->isEmpty()))): if(is_array($member_list) || $member_list instanceof \think\Collection || $member_list instanceof \think\Paginator): if( count($member_list)==0 ) : echo "" ;else: foreach($member_list as $k=>$v): ?>
<tr class="hover member">
<td class="w24"><input type="checkbox" name='del_id[]' value="<?php echo htmlentities($v['member_id']); ?>" class="checkitem"></td>
<td class="w48 picture">
<div class="size-44x44">
<span class="thumb"><i></i>
<img src="<?php echo get_member_avatar($v['member_avatar']); ?>?<?php echo microtime(); ?>" width="44" height="44"/>
</span>
</div>
</td>
<td><p class="name"><strong><?php echo htmlentities($v['member_name']); ?></strong>(<?php echo htmlentities(lang('member_truename')); ?>: <?php echo htmlentities($v['member_truename']); ?>)</p>
<p class="smallfont"><?php echo htmlentities(lang('member_addtime')); ?>:&nbsp;<?php echo htmlentities($v['member_addtime']); ?></p>
<div class="im"><span class="email" >
<?php if($v['member_email'] != ''): ?>
<a href="mailto:<?php echo htmlentities($v['member_email']); ?>" class=" yes" title="<?php echo htmlentities(lang('member_email')); ?>:<?php echo htmlentities($v['member_email']); ?>"><?php echo htmlentities($v['member_email']); ?></a></span>
<?php else: ?>
<a href="JavaScript:void(0);" class="" title="<?php echo htmlentities(lang('member_index_null')); ?>" ><?php echo htmlentities($v['member_email']); ?></a></span>
<?php endif; if($v['member_ww'] != ''): ?>
<a target="_blank" href="http://web.im.alisoft.com/msg.aw?v=2&uid=<?php echo htmlentities($v['member_ww']); ?>&site=cnalichn&s=11" class="" title="WangWang: <?php echo htmlentities($v['member_ww']); ?>"><img border="0" src="http://web.im.alisoft.com/online.aw?v=2&uid=<?php echo htmlentities($v['member_ww']); ?>&site=cntaobao&s=2&charset=utf-8" /></a>
<?php endif; if($v['member_qq'] != ''): ?>
<a target="_blank" href="<?php echo htmlentities(HTTP_TYPE); ?>wpa.qq.com/msgrd?v=3&uin=<?php echo htmlentities($v['member_qq']); ?>&site=qq&menu=yes" class="" title="QQ: <?php echo htmlentities($v['member_qq']); ?>"><img border="0" src="<?php echo htmlentities(HTTP_TYPE); ?>wpa.qq.com/pa?p=2:<?php echo htmlentities($v['member_qq']); ?>:52"/></a>
<?php endif; if($v['member_mobile'] != ''): ?>
<div style="font-size:13px; padding-left:10px">&nbsp;&nbsp;<?php echo encrypt_show($v['member_mobile'],4,4); ?></div>
<?php endif; ?>
</div></td>
<td class="align-center"><?php echo htmlentities($v['member_loginnum']); ?></td>
<td class="w150 align-center"><p><?php echo htmlentities($v['member_logintime']); ?></p>
<p><?php echo htmlentities($v['member_login_ip']); ?></p></td>
<!-- <td class="align-center"><?php echo htmlentities($v['member_points']); ?></td>-->
<!-- <td class="align-center"><p><?php echo htmlentities(lang('member_index_available')); ?>:&nbsp;<strong class="red"><?php echo htmlentities($v['available_predeposit']); ?></strong>&nbsp;<?php echo htmlentities(lang('ds_yuan')); ?></p>
<p><?php echo htmlentities(lang('member_index_frozen')); ?>:&nbsp;<strong class="red"><?php echo htmlentities($v['freeze_predeposit']); ?></strong>&nbsp;<?php echo htmlentities(lang('ds_yuan')); ?></p>
</td>-->
<!-- <td class="align-center"><?php echo htmlentities($v['member_exppoints']); ?></td>-->
<!-- <td class="align-center"><?php echo htmlentities($v['member_grade']); ?></td>-->
<td class="align-center"><?php if($v['member_state'] == 1): ?><?php echo htmlentities(lang('member_edit_allow')); else: ?><?php echo htmlentities(lang('member_edit_deny')); ?><?php endif; ?></td>
<td class="align-center">
<a href="javascript:dsLayerOpen('<?php echo url('Member/edit',['member_id'=>$v['member_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($v['member_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i>查看</a>
<a href="javascript:dsLayerOpen('<?php echo url('Notice/notice',['member_name'=>$v['member_name']]); ?>','<?php echo htmlentities(lang('member_index_to_message')); ?>-<?php echo htmlentities($v['member_name']); ?>')" class="dsui-btn-add"><i class="iconfont"></i><?php echo htmlentities(lang('member_index_to_message')); ?></a>
<?php if($v['member_state'] == 0): ?>
<a href="javascript:dsLayerConfirm('<?php echo url('Member/memberstate',['member_id'=>$v['member_id'],'member_state'=>1]); ?>','<?php echo htmlentities(lang('ds_ensure_enable')); ?>')" class="dsui-btn-add"><i class="iconfont"></i><?php echo htmlentities(lang('member_edit_allowlogin')); ?></a>
<?php else: ?>
<a href="javascript:dsLayerConfirm('<?php echo url('Member/memberstate',['member_id'=>$v['member_id'],'member_state'=>0]); ?>','<?php echo htmlentities(lang('ds_ensure_disable')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('member_edit_denylogin')); ?></a>
<?php endif; ?>
<a href="javascript:dsLayerOpen('<?php echo url('Predeposit/pd_add',['member_id'=>$v['member_id']]); ?>','调节预存款-<?php echo htmlentities($v['member_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i>调节预存款</a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="11"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<tfoot class="tfoot">
<?php if(!(empty($member_list) || (($member_list instanceof \think\Collection || $member_list instanceof \think\Paginator ) && $member_list->isEmpty()))): ?>
<tr>
<td class="w24"><input type="checkbox" class="checkall" id="checkallBottom"></td>
<td colspan="16">
<label for="checkallBottom"><?php echo htmlentities(lang('ds_select_all')); ?></label>
&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('member_edit_denylogin')); ?></span></a>
</td>
</tr>
<?php endif; ?>
</tfoot>
</table>
<?php echo $show_page; ?>
</div>
<script type="text/javascript">
function submit_delete(ids_str){
_uri = ADMINSITEURL+"/Member/memberstate.html?member_id=" + ids_str;
dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_disable')); ?>');
}
</script>

View File

@ -1,153 +0,0 @@
<?php /*a:3:{s:64:"/www/wwwroot/light.haix.cn/app/admin/view/membergrade/index.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>会员等级</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li class="tips">“会员级别设置”提交后,当会员符合某个级别后将自动升至该级别,请谨慎设置会员级别</li>
<li class="tips">建议一、级别应该是逐层递增例如“级别2”所需经验值高于“级别1”二、设置的第一个级别所需经验值应为0三、信息应填写完整</li>
</ul>
</div>
<form method="post" id="mg_form" name="mg_form" enctype="multipart/form-data">
<table class="ds-default-table">
<thead>
<tr class="thead">
<th class="align-center">级别名称</th>
<th class="align-left">经验值</th>
<th class="align-left"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody id="mg_tbody">
<?php if(!(empty($membergrade_list) || (($membergrade_list instanceof \think\Collection || $membergrade_list instanceof \think\Paginator ) && $membergrade_list->isEmpty()))): if(is_array($membergrade_list) || $membergrade_list instanceof \think\Collection || $membergrade_list instanceof \think\Paginator): if( count($membergrade_list)==0 ) : echo "" ;else: foreach($membergrade_list as $k=>$membergrade): ?>
<tr>
<td><input type="text" ds_type="verify" name="mg[<?php echo htmlentities($membergrade['level']); ?>][level_name]" value="<?php echo htmlentities($membergrade['level_name']); ?>" class="w120" /></td>
<td><input type="text" ds_type="verify" name="mg[<?php echo htmlentities($membergrade['level']); ?>][exppoints]" value="<?php echo htmlentities($membergrade['exppoints']); ?>" class="w60" <?php if($membergrade['level'] == 1): ?>readonly<?php endif; ?>/></td>
<td><?php if($membergrade['level'] != 1): ?><a onclick="remove_tr($(this));" href="JavaScript:void(0);">删除</a><?php endif; ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<?php endif; ?>
</tbody>
<tbody>
<tr>
<td colspan="3">
<a id="add_membergrade" class="btn-add-nofloat marginleft" href="JavaScript:void(0);"> <span>新增等级</span> </a>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3"><a href="JavaScript:void(0);" class="btn" id="submitBtn"><span><?php echo htmlentities(lang('ds_submit')); ?></span></a></td>
</tr>
</tfoot>
</table>
</form>
<script type="text/javascript">
$(function () {
var i = <?php echo htmlentities($maxlevel); ?>;
var mg_tbody = '<tr>' +
'<td><input type="text" ds_type="verify" name="mg[key][level_name]" value="" class="w120" /></td>' +
'<td><input type="text" ds_type="verify" name="mg[key][exppoints]" value="" class="w60" /></td>' +
'<td><a onclick="remove_tr($(this));" href="JavaScript:void(0);">移除</a></td>' +
'</tr>';
$("#add_membergrade").click(function () {
$('#mg_tbody > tr:last').after(mg_tbody.replace(/key/g, i));
i++;
});
$('#submitBtn').click(function () {
var result = true;
var error = new Array();
$("#mg_tbody").find("[ds_type='verify']").each(function () {
if (result) {
data = $(this).val();
if (!data) {
result = false;
//error.push('请将信息填写完整');
error = '请将信息填写完整';
}
//验证类型
if (result) {
var data_str = $(this).attr('data-param');
if (data_str) {
eval("data_str = " + data_str);
switch (data_str.type) {
case 'int':
result = (data = parseInt(data)) > 0 ? true : false;
error = (result == false) ? (data_str.name + '应为整数') : '';
}
}
}
}
});
if (result) {
$('#mg_form').submit();
} else {
layer.alert(error);
}
});
})
function remove_tr(o) {
o.parents('tr:first').remove();
}
</script>
</div>

View File

@ -1,130 +0,0 @@
<?php /*a:2:{s:67:"/www/wwwroot/www.lightcourse.com/app/admin/view/type/attr_edit.html";i:1594017460;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/header.html";i:1643980182;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<form class="" method="post">
<div class="ncap-form-default">
<dl>
<dt><?php echo htmlentities(lang('type_add_attr_name')); ?></dt>
<dd>
<input type="hidden" name="attr_id" value="<?php echo htmlentities($attribute['attr_id']); ?>" />
<input type="hidden" name="type_id" value="<?php echo htmlentities($attribute['type_id']); ?>" />
<input type="text" name="attr_name" id="attr_name" value="<?php echo htmlentities($attribute['attr_name']); ?>" />
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('ds_sort')); ?></dt>
<dd>
<input type="text" name="attr_sort" id="attr_sort" value="<?php echo htmlentities($attribute['attr_sort']); ?>" />
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('type_edit_type_attr_is_show')); ?></dt>
<dd class="onoff">
<label for="attr_show1" class="cb-enable <?php if($attribute['attr_show'] == '1'): ?>selected<?php endif; ?>" ><span><?php echo htmlentities(lang('ds_yes')); ?></span></label>
<label for="attr_show2" class="cb-disable <?php if($attribute['attr_show'] == '0'): ?>selected<?php endif; ?>" ><span><?php echo htmlentities(lang('ds_no')); ?></span></label>
<input id="attr_show1" name="attr_show" <?php if($attribute['attr_show'] == '1'): ?>checked="checked"<?php endif; ?> value="1" type="radio">
<input id="attr_show2" name="attr_show" <?php if($attribute['attr_show'] == '0'): ?>checked="checked"<?php endif; ?> value="0" type="radio">
</dd>
</dl>
</div>
<table class="ds-default-table">
<thead>
<tr>
<th width="200"><?php echo htmlentities(lang('ds_del')); ?></th>
<th width="100"><?php echo htmlentities(lang('ds_sort')); ?></th>
<th><?php echo htmlentities(lang('type_add_attr_value')); ?></th>
<th width="100"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody id="tr_model">
<tr></tr>
<?php if($attributevalue_list): if(is_array($attributevalue_list) || $attributevalue_list instanceof \think\Collection || $attributevalue_list instanceof \think\Paginator): if( count($attributevalue_list)==0 ) : echo "" ;else: foreach($attributevalue_list as $key=>$val): ?>
<tr>
<td>
<input type="hidden" name='attr_value[<?php echo htmlentities($val['attrvalue_id']); ?>][form_submit]' value='' />
<input type="checkbox" name="attr_del[<?php echo htmlentities($val['attrvalue_id']); ?>]" value="<?php echo htmlentities($val['attrvalue_id']); ?>" />
</td>
<td><input type="text" class="form-control" name="attr_value[<?php echo htmlentities($val['attrvalue_id']); ?>][sort]" value="<?php echo htmlentities($val['attrvalue_sort']); ?>"/></td>
<td><input type="text" class="form-control" name="attr_value[<?php echo htmlentities($val['attrvalue_id']); ?>][name]" value="<?php echo htmlentities($val['attrvalue_name']); ?>"/></td>
<td></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</tbody>
<tbody>
<tr>
<td>
<a id="add_type" class="btn-add-nofloat marginleft" href="JavaScript:void(0);"> <span>添加一个属性</span> </a>
</td>
</tr>
<tr>
<td>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</td>
</tr>
</tbody>
</table>
</form>
</div>
<!--载入-->
<script>
$(function() {
var i = 0;
var tr_model = '<tr><td></td>' +
'<td><input type="text" class="form-control" name="attr_value[key][sort]" value="0" /></td>' +
'<td><input type="text" class="form-control" name="attr_value[key][name]" value="" /></td>' +
'<td><a onclick="remove_tr($(this));" href="JavaScript:void(0);">删除</a></td>' +
'</tr>';
$("#add_type").click(function() {
$('#tr_model > tr:last').after(tr_model.replace(/key/g, 's_' + i));
i++;
});
});
function remove_tr(o) {
o.parents('tr:first').remove();
}
</script>
</body>

View File

@ -1,281 +0,0 @@
<?php /*a:3:{s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/deliver/index.html";i:1623394458;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_deliver')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('shopping_guidelines1')); ?></li>
<li><?php echo htmlentities(lang('shopping_guidelines2')); ?></li>
<li><?php echo htmlentities(lang('shopping_guidelines3')); ?></li>
</ul>
</div>
<form method="get" name="formSearch" id="formSearch">
<input type="hidden" name="state" value="<?php echo htmlentities(app('request')->param('state')); ?>"/>
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('order_time')); ?></dt>
<dd>
<input type="text" class="text w70" name="query_start_date" id="query_start_date" value="<?php echo htmlentities(app('request')->param('query_start_date')); ?>"/>
<input id="query_end_date" class="text w70" type="text" name="query_end_date" value="<?php echo htmlentities(app('request')->param('query_end_date')); ?>"/>
</dd>
<dt><?php echo htmlentities(lang('buyer_name')); ?></dt>
<dd><input type="text" class="text w80" name="buyer_name" value="<?php echo htmlentities(app('request')->param('buyer_name')); ?>"/></dd>
<dt><?php echo htmlentities(lang('order_order_sn')); ?></dt>
<dd><input type="text" class="text w150" name="order_sn" value="<?php echo htmlentities(app('request')->param('order_sn')); ?>"/></dd>
</dl>
<div class="btn_group">
<input type="submit" class="btn left" value="搜索">
<a href="<?php echo url('Deliver/index'); ?>" class="btn btn-default left" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
</div>
</div>
</form>
<table class="ds-default-table">
<tbody>
<?php if(!(empty($order_list) || (($order_list instanceof \think\Collection || $order_list instanceof \think\Paginator ) && $order_list->isEmpty()))): if(is_array($order_list) || $order_list instanceof \think\Collection || $order_list instanceof \think\Paginator): if( count($order_list)==0 ) : echo "" ;else: foreach($order_list as $order_id=>$order): ?>
<tr>
<td colspan="21" class="sep-row"></td>
</tr>
<tr>
<th class="w24"><input type="checkbox" name="order_id[]" value="<?php echo htmlentities($order['order_id']); ?>" class="checkitem"></th>
<th colspan="20"><span class="ml5"><?php echo htmlentities(lang('order_order_sn')); ?><?php echo htmlentities(lang('ds_colon')); ?><strong><?php echo htmlentities($order['order_sn']); ?></strong></span><span><?php echo htmlentities(lang('order_time')); ?><?php echo htmlentities(lang('ds_colon')); ?><em
class="goods-time"><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($order['add_time'])? strtotime($order['add_time']) : $order['add_time'])); ?></em></span>
<?php if(!empty($order['extend_order_common']['shipping_time'])): ?>
<span><?php echo htmlentities(lang('ship_time')); ?><?php echo htmlentities(lang('ds_colon')); ?><em class="goods-time"><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($order['extend_order_common']['shipping_time'])? strtotime($order['extend_order_common']['shipping_time']) : $order['extend_order_common']['shipping_time'])); ?></em></span>
<?php endif; ?>
<span class="fr mr10">
<?php if($order['shipping_code'] != ''): ?>
<a href="<?php echo url('Deliver/search_deliver',['order_sn'=>$order['order_sn']]); ?>" class="dssc-btn-mini"><i
class="iconfont">&#xe69e;</i><?php echo htmlentities(lang('order_show_deliver')); ?></a>
<?php endif; ?>
<a href="<?php echo url('Order/order_print',['order_id'=>$order['order_id']]); ?>" class="dssc-btn-mini fr" target="_blank" title="打印发货单"><i
class="iconfont">&#xe7ca;</i>打印发货单</a>
</span>
</th>
</tr>
<?php $i = 0; if(is_array($order['goods_list']) || $order['goods_list'] instanceof \think\Collection || $order['goods_list'] instanceof \think\Paginator): if( count($order['goods_list'])==0 ) : echo "" ;else: foreach($order['goods_list'] as $k=>$goods): $i++; ?>
<tr>
<td class="bdl w10"></td>
<td class="w50">
<div class="pic-thumb"><a href="<?php echo htmlentities($goods['goods_url']); ?>" ><img class="img" width="80" height="80" src="<?php echo goods_thumb($goods, 240); ?>"/></a></div>
</td>
<td class="tl">
<dl class="goods-name">
<dt><a href="<?php echo htmlentities($goods['goods_url']); ?>"><?php echo htmlentities($goods['goods_name']); ?></a></dt>
<dd><strong><?php echo htmlentities($goods['goods_price']); ?></strong>&nbsp;x&nbsp;<em><?php echo htmlentities($goods['goods_num']); ?></em><?php echo htmlentities(lang('piece')); ?></dd>
</dl>
</td>
<!-- S 合并TD -->
<?php if(($order['goods_count'] > 1 && $k == 0) || ($order['goods_count'] == 1)): ?>
<td class="bdl bdr order-info w500" rowspan="<?php echo htmlentities($order['goods_count']); ?>">
<dl>
<dt><?php echo htmlentities(lang('buyer_name')); ?><?php echo htmlentities(lang('ds_colon')); ?>
<?php echo htmlentities($order['buyer_name']); ?> <span member_id="<?php echo htmlentities($order['buyer_id']); ?>"></span>
<?php if(!empty($order['extend_member']['member_qq'])): ?>
<a target="_blank"
href="<?php echo htmlentities(HTTP_TYPE); ?>wpa.qq.com/msgrd?v=3&uin=<?php echo htmlentities($order['extend_member']['member_qq']); ?>&site=qq&menu=yes"><img border="0" src="<?php echo htmlentities(HTTP_TYPE); ?>wpa.qq.com/pa?p=2:<?php echo htmlentities($order['extend_member']['member_qq']); ?>:52" style=" vertical-align: middle;"/></a>
<?php endif; if(!empty($order['extend_member']['member_ww'])): ?>
<a target="_blank"
href="http://amos.im.alisoft.com/msg.aw?v=2&uid=<?php echo htmlentities($order['extend_member']['member_ww']); ?>&site=cntaobao&s=2&charset=utf-8"
class="vm"><img border="0"
src="http://amos.im.alisoft.com/online.aw?v=2&uid=<?php echo htmlentities($order['extend_member']['member_ww']); ?>&site=cntaobao&s=2&charset=utf-8"
alt="Wang Wang" style=" vertical-align: middle;"/></a>
<?php endif; ?>
</dt>
</dl>
<dl>
<dt><?php echo htmlentities(lang('member_address_receiver_name')); ?><?php echo htmlentities(lang('ds_colon')); ?></dt>
<dd>
<div class="alert alert-info m0">
<p><i class="iconfont">&#xe667;</i><?php echo htmlentities($order['extend_order_common']['reciver_name']); ?></p>
<p><span class="ml30" title="<?php echo htmlentities(lang('order_phone')); ?>"><i class="iconfont">&#xe697;</i><?php echo htmlentities($order['extend_order_common']['reciver_info']['phone']); ?></span></p>
<p class="mt5" title="<?php echo htmlentities(lang('deliver_buyer_address')); ?>"><i class="iconfont">&#xe720;</i><?php echo htmlentities($order['extend_order_common']['reciver_info']['address']); ?>
</p>
<?php if($order['extend_order_common']['order_message'] != ''): ?>
<p class="mt5" title="<?php echo htmlentities(lang('deliver_buyer_address')); ?>"><i class="iconfont">&#xe720;</i><?php echo htmlentities($order['extend_order_common']['order_message']); ?>
</p>
<?php endif; ?>
</div>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('order_total_transport')); ?><?php echo htmlentities(lang('ds_colon')); ?></dt>
<dd>
<?php if(!empty($order['shipping_fee']) && $order['shipping_fee'] != '0.00'): ?>
<?php echo htmlentities($order['shipping_fee']); else: ?>
<?php echo htmlentities(lang('product_shipping_mfee')); ?>
<?php endif; if(empty($order['lock_state'])): if($order['order_state'] == ORDER_STATE_PAY): if(!isset($order['pintuanorder_state']) || $order['pintuanorder_state']==2): ?>
<span><a href="<?php echo url('Deliver/send',['order_id'=>$order['order_id']]); ?>" class="dssc-btn-mini dssc-btn-green fr"><i
class="iconfont">&#xe6f1;</i><?php echo htmlentities(lang('order_send')); ?></a></span>
<?php else: ?>
<span><?php echo htmlentities($order['pintuanorder_state_text']); ?></span>
<?php endif; elseif($order['order_state'] == ORDER_STATE_SEND): ?>
<span>
<a href="<?php echo url('Deliver/send',['order_id'=>$order['order_id']]); ?>" class="dssc-btn-mini dssc-btn-acidblue fr"><i
class="iconfont">&#xe731;</i><?php echo htmlentities(lang('deliver_modify_info')); ?></a>
</span>
<?php endif; ?>
<?php endif; ?>
</dd>
</dl>
</td>
<?php endif; ?>
<!-- E 合并TD -->
</tr>
<!-- S 赠品列表 -->
<?php if(!empty($order['zengpin_list']) && $i == count($order['goods_list'])): ?>
<tr>
<td class="bdl w10"></td>
<td colspan="2" class="tl">
<div class="dssc-goods-gift"><?php echo htmlentities(lang('deliver_gifts')); ?>
<ul>
<?php if(is_array($order['zengpin_list']) || $order['zengpin_list'] instanceof \think\Collection || $order['zengpin_list'] instanceof \think\Paginator): if( count($order['zengpin_list'])==0 ) : echo "" ;else: foreach($order['zengpin_list'] as $k=>$zengpin_info): ?>
<li><a title="<?php echo htmlentities(lang('deliver_gifts')); ?><?php echo htmlentities($zengpin_info['goods_name']); ?> * <?php echo htmlentities($zengpin_info['goods_num']); ?>"
href="<?php echo htmlentities($zengpin_info['goods_url']); ?>" target="_blank"><img src="<?php echo goods_thumb($zengpin_info, 240); ?>"/></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</div>
</td>
</tr>
<?php endif; ?>
<!-- E 赠品列表 -->
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr>
<td colspan="21" class="norecord">
<div class="warning-option"><i class="iconfont">&#xe64c;</i><span><?php echo htmlentities(lang('no_record')); ?></span></div>
</td>
</tr>
<?php endif; ?>
</tbody>
<tfoot>
<?php if(!(empty($order_list) || (($order_list instanceof \think\Collection || $order_list instanceof \think\Paginator ) && $order_list->isEmpty()))): ?>
<tr class="tfoot">
<td><input type="checkbox" class="checkall" ></td>
<td colspan="16"><label><?php echo htmlentities(lang('ds_select_all')); ?></label>
<a href="JavaScript:void(0);" class="btn btn-small" dstype="send_batch"><span>设置发货</span></a>
<a href="JavaScript:void(0);" class="btn btn-small" dstype="print_batch"><span>打印发货单</span></a>
</td>
</tr>
<tr>
<td colspan="21">
<div class="pagination"></div>
</td>
</tr>
<?php endif; ?>
</tfoot>
</table>
<?php echo $show_page; ?>
</div>
<script type="text/javascript">
$(function () {
// 发货批量处理
$('a[dstype="send_batch"]').click(function(){
var ids_str = getItems();
if (ids_str) {
order_send(ids_str);
}
});
// 打印批量处理
$('a[dstype="print_batch"]').click(function(){
var ids_str = getItems();
if (ids_str) {
order_print(ids_str);
}
});
$('#query_start_date').datepicker({dateFormat: 'yy-mm-dd'});
$('#query_end_date').datepicker({dateFormat: 'yy-mm-dd'});
});
// 获得选中ID
function getItems() {
/* 获取选中的项 */
var items = '';
$('.checkitem:checked').each(function () {
items += this.value + ',';
});
if (items != '') {
items = items.substr(0, (items.length - 1));
}else{
layer.alert('请勾选选项', {icon: 2})
}
return items;
}
// 发货
function order_send(ids_str) {
var _uri = ADMINSITEURL+"/Deliver/batch_send?order_id=" + ids_str;
dsLayerOpen(_uri,'设置发货');
}
// 打印
function order_print(ids_str) {
var _uri = ADMINSITEURL+"/Order/order_print?order_id=" + ids_str;
window.open(_uri);
}
</script>

View File

@ -1,129 +0,0 @@
<?php /*a:3:{s:61:"/www/wwwroot/light.haix.cn/app/admin/view/feedback/index.html";i:1659883728;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_feedback')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="fixed-empty"></div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('feedback_index_hlpe1')); ?></li>
</ul>
</div>
<form method='post' id="form_link">
<table class="ds-default-table nobdb">
<thead>
<tr class="thead">
<th>&nbsp;</th>
<th><?php echo htmlentities(lang('feedback_index_content')); ?></th>
<th><?php echo htmlentities(lang('ds_member_name')); ?></th>
<th><?php echo htmlentities(lang('feedback_index_time')); ?></th>
<th>课程代码</th>
<th>名称</th>
<th>学校</th>
<th><?php echo htmlentities(lang('feedback_index_from')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($feedback_list) || (($feedback_list instanceof \think\Collection || $feedback_list instanceof \think\Paginator ) && $feedback_list->isEmpty()))): if(is_array($feedback_list) || $feedback_list instanceof \think\Collection || $feedback_list instanceof \think\Paginator): if( count($feedback_list)==0 ) : echo "" ;else: foreach($feedback_list as $key=>$v): ?>
<tr class="hover edit">
<td class="w24"><input type="checkbox" name="del_id[]" value="<?php echo htmlentities($v['fb_id']); ?>" class="checkitem"></td>
<td width="200px"><?php echo htmlentities($v['fb_content']); ?></td>
<td><?php echo htmlentities($v['member_name']); ?></td>
<td><?php echo date('Y-m-d H:i:s',$v['fb_time']); ?></td>
<th><?php echo htmlentities($v['fb_code']); ?></th>
<th><?php echo htmlentities($v['fb_course']); ?></th>
<th><?php echo htmlentities($v['fb_school']); ?></th>
<td><?php echo $v['fb_type']==1 ? 'WAP' : 'PC'; ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<tfoot>
<?php if(!(empty($feedback_list) || (($feedback_list instanceof \think\Collection || $feedback_list instanceof \think\Paginator ) && $feedback_list->isEmpty()))): ?>
<tr class="tfoot" id="dataFuncs">
<td><input type="checkbox" class="checkall" id="checkallBottom"></td>
<td colspan="16" id="batchAction"><label for="checkallBottom"><?php echo htmlentities(lang('ds_select_all')); ?></label>
&nbsp;&nbsp; <a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('ds_del')); ?></span></a>
</td>
</tr>
<?php endif; ?>
</tfoot>
</table>
<?php echo $show_page; ?>
</form>
</div>
<script type="text/javascript">
function submit_delete(ids_str) {
_uri = ADMINSITEURL + "/Feedback/del.html?feedback_id=" + ids_str;
dsLayerConfirm(_uri, '<?php echo htmlentities(lang('ds_ensure_del')); ?>');
}
</script>

View File

@ -1,101 +0,0 @@
<?php /*a:3:{s:59:"/www/wwwroot/light.haix.cn/app/admin/view/notice/index.html";i:1594982154;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>会员通知</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<table class="ds-default-table">
<colgroup>
<col class="w24">
<col/>
<col class="w96">
<col class="w96">
<col class="w200">
<col class="w200">
</colgroup>
<thead>
<tr class="thead">
<th></th>
<th><?php echo htmlentities(lang('message_body')); ?></th>
<th><?php echo htmlentities(lang('to_member_id')); ?></th>
<th><?php echo htmlentities(lang('message_type')); ?></th>
<th><?php echo htmlentities(lang('message_time')); ?></th>
<th><?php echo htmlentities(lang('message_update_time')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($message_list) || (($message_list instanceof \think\Collection || $message_list instanceof \think\Paginator ) && $message_list->isEmpty()))): if(is_array($message_list) || $message_list instanceof \think\Collection || $message_list instanceof \think\Paginator): if( count($message_list)==0 ) : echo "" ;else: foreach($message_list as $key=>$v): ?>
<tr class="hover">
<td class="w24">
<input name="del_id[]" type="checkbox" class="checkitem" value="<?php echo htmlentities($v['message_id']); ?>">
</td>
<td><?php echo htmlspecialchars_decode($v['message_body']); ?></td>
<td><?php echo htmlentities($v['to_member_id']); ?></td>
<td><?php echo htmlentities($v['message_type']); ?></td>
<td><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($v['message_time'])? strtotime($v['message_time']) : $v['message_time'])); ?></td>
<td><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($v['message_update_time'])? strtotime($v['message_update_time']) : $v['message_update_time'])); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>

View File

@ -1,181 +0,0 @@
<?php /*a:3:{s:64:"/www/wwwroot/lianke.keyutest.com/app/admin/view/database/db.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_db')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<!-- 操作说明 -->
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('db_data_backup_help1')); ?></li>
<li><?php echo htmlentities(lang('db_data_backup_help2')); ?></li>
</ul>
</div>
<div class="ds-search-form">
<dl>
<dt style="font-size:14px;color: #09C;"><?php echo htmlentities(lang('db_database_table_list')); ?>(<?php echo htmlentities(lang('db_total_num')); ?><?php echo htmlentities($tableNum); ?><?php echo htmlentities(lang('db_tablenum_record')); ?><?php echo htmlentities(lang('db_total_size')); ?><?php echo htmlentities($total); ?>)</dt>
</dl>
<div class="btn_group">
<a id="export" class="btn"><?php echo htmlentities(lang('ds_db')); ?></a>
</div>
</div>
<table class="ds-default-table">
<thead>
<tr>
<th><input type="checkbox" onclick="javascript:$('input[name*=tables]').prop('checked', this.checked);"></th>
<th><?php echo htmlentities(lang('db_database_table')); ?></th>
<th><?php echo htmlentities(lang('db_data_length')); ?></th>
<th><?php echo htmlentities(lang('db_occupy_space')); ?></th>
<th><?php echo htmlentities(lang('db_code')); ?></th>
<th><?php echo htmlentities(lang('db_createtime')); ?></th>
<th><?php echo htmlentities(lang('db_backup_state')); ?></th>
<th><?php echo htmlentities(lang('db_handle')); ?></th>
</tr>
</thead>
<form method="post" id="export-form" action="<?php echo url('Database/export'); ?>">
<tbody>
<?php if(is_array($dbtable_list) || $dbtable_list instanceof \think\Collection || $dbtable_list instanceof \think\Paginator): if( count($dbtable_list)==0 ) : echo "" ;else: foreach($dbtable_list as $k=>$db): ?>
<tr data-id="<?php echo htmlentities($db['Name']); ?>">
<td class="sign">
<div style="width: 24px;"><input type="checkbox" name="tables[]" value="<?php echo htmlentities($db['Name']); ?>"></div>
</td>
<td><?php echo htmlentities($db['Name']); ?></td>
<td><?php echo htmlentities($db['Rows']); ?></td>
<td><?php echo htmlentities(format_bytes($db['Data_length'])); ?></td>
<td><?php echo htmlentities($db['Collation']); ?></td>
<td><?php echo htmlentities($db['Create_time']); ?></td>
<td class="info"><?php echo htmlentities(lang('db_unbackup')); ?></td>
<td class="handle">
<div style="text-align: center; width: 170px; max-width:170px;">
<a href="<?php echo url('Database/optimize',array('tablename'=>$db['Name'])); ?>"><i class="iconfont">&#xe6e0;</i><?php echo htmlentities(lang('db_magic')); ?></a> |
<a href="<?php echo url('Database/repair',array('tablename'=>$db['Name'])); ?>"><i class="iconfont">&#xe6e0;</i><?php echo htmlentities(lang('db_repair')); ?></a>
</div>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</form>
</table>
</div>
<script>
(function($) {
var $form = $("#export-form"), $export = $("#export"), tables;
$export.click(function() {
if ($("input[name^='tables']:checked").length == 0) {
layer.alert('<?php echo htmlentities(lang('db_backup_error')); ?>');
return false;
}
$export.addClass("disabled");
$export.html("<?php echo htmlentities(lang('db_backup_requer')); ?>");
$.post(
$form.attr("action"),
$form.serialize(),
function(data) {
if (data.status) {
tables = data.tables;
$export.html(data.info + "<?php echo htmlentities(lang('db_backup_strat')); ?>");
backup(data.tab);
window.onbeforeunload = function() {
return "<?php echo htmlentities(lang('db_backup_conduct')); ?>"
}
} else {
layer.alert(data.info);
$export.removeClass("disabled");
$export.html("<?php echo htmlentities(lang('db_backup')); ?>");
}
},
"json"
);
return false;
});
function backup(tab, status) {
status && showmsg(tab.id, "<?php echo htmlentities(lang('db_backup_state_strat')); ?>");
$.get($form.attr("action"), tab, function(data) {
if (data.status) {
showmsg(tab.id, data.info);
if (!$.isPlainObject(data.tab)) {
$export.removeClass("disabled");
$export.html("<?php echo htmlentities(lang('db_backup_restart')); ?>");
window.onbeforeunload = function() {
return null
}
return;
}
backup(data.tab, tab.id != data.tab.id);
} else {
$export.removeClass("disabled");
$export.html("<?php echo htmlentities(lang('db_backup')); ?>");
}
}, "json");
}
function showmsg(id, msg) {
$("input[value=" + tables[id] + "]").closest("tr").find(".info").html(msg);
// $("input[value=" + tables[id] + "]").closest("tr").hide(3000);
}
})(jQuery);
</script>
</body>
</html>

View File

@ -1,212 +0,0 @@
<?php /*a:3:{s:72:"/www/wwwroot/light.haix.cn/app/admin/view/statmember/stat_newmember.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>会员统计</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" action="" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dd>
<select name="search_type" id="search_type" class="querySelect">
<option value="day" <?php if(isset($search_arr['search_type']) && $search_arr['search_type'] == 'day'): ?>selected<?php endif; ?>>按照天统计</option>
<option value="week" <?php if(isset($search_arr['search_type']) && $search_arr['search_type'] == 'week'): ?>selected<?php endif; ?>>按照周统计</option>
<option value="month" <?php if(isset($search_arr['search_type']) && $search_arr['search_type'] == 'month'): ?>selected<?php endif; ?>>按照月统计</option>
</select>
</dd>
<dd id="searchtype_day" style="display:none;">
<input class="txt date" type="text" value="<?php echo date('Y-m-d',$search_arr['day']['search_time']); ?>" id="search_time" name="search_time">
</dd>
<dd id="searchtype_week" style="display:none;">
<select name="searchweek_year" class="querySelect">
<?php if(is_array($year_arr) || $year_arr instanceof \think\Collection || $year_arr instanceof \think\Paginator): if( count($year_arr)==0 ) : echo "" ;else: foreach($year_arr as $key=>$v): ?>
<option value="<?php echo htmlentities($key); ?>" <?php echo $search_arr['week']['current_year']==$key ? 'selected' : ''; ?>><?php echo htmlentities($v); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
<select name="searchweek_month" class="querySelect">
<?php if(is_array($month_arr) || $month_arr instanceof \think\Collection || $month_arr instanceof \think\Paginator): if( count($month_arr)==0 ) : echo "" ;else: foreach($month_arr as $key=>$v): ?>
<option value="<?php echo htmlentities($key); ?>" <?php echo $search_arr['week']['current_month']==$key ? 'selected' : ''; ?>><?php echo htmlentities($v); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
<select name="searchweek_week" class="querySelect">
<?php if(is_array($week_arr) || $week_arr instanceof \think\Collection || $week_arr instanceof \think\Paginator): if( count($week_arr)==0 ) : echo "" ;else: foreach($week_arr as $key=>$v): ?>
<option value="<?php echo htmlentities($v['key']); ?>" <?php echo $search_arr['week']['current_week']==$v['key'] ? 'selected' : ''; ?>><?php echo htmlentities($v['val']); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</dd>
<dd id="searchtype_month" style="display:none;">
<select name="searchmonth_year" class="querySelect">
<?php if(is_array($year_arr) || $year_arr instanceof \think\Collection || $year_arr instanceof \think\Paginator): if( count($year_arr)==0 ) : echo "" ;else: foreach($year_arr as $key=>$v): ?>
<option value="<?php echo htmlentities($key); ?>" <?php echo $search_arr['month']['current_year']==$key ? 'selected' : ''; ?>><?php echo htmlentities($v); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
<select name="searchmonth_month" class="querySelect">
<?php if(is_array($month_arr) || $month_arr instanceof \think\Collection || $month_arr instanceof \think\Paginator): if( count($month_arr)==0 ) : echo "" ;else: foreach($month_arr as $key=>$v): ?>
<option value="<?php echo htmlentities($key); ?>" <?php echo $search_arr['month']['current_month']==$key ? 'selected' : ''; ?>><?php echo htmlentities($v); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</dd>
</dl>
<div class="btn_group">
<a href="javascript:void(0);" id="dssubmit" class="btn" title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<a href="<?php echo url('Statmember/newmember'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
</div>
</div>
</form>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li>统计图展示了时间段内新增会员数的走势和与前一时间段的对比</li>
<li>统计表展示了时间段内新增会员数值和与前一时间段的同比数值,点击每条记录后的“查看”,了解新增会员的详细信息</li>
<li>点击列表上方的“导出Excel”将列表数据导出为Excel文件</li>
</ul>
</div>
<div id="container" class="w100pre close_float" style="height:400px"></div>
<div style="text-align:right;">
<input type="hidden" id="export_type" data-url="<?php echo url(request()->controller().'/'.request()->action()); ?>/exporttype/excel" name="export_type" data-param='{"url":"<?php echo htmlentities($actionurl); ?>&exporttype=excel"}' value="excel"/>
<a class="btn btn-mini" href="javascript:void(0);" id="export_btn"><span>导出Excel</span></a>
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<?php if(is_array($statlist['headertitle']) || $statlist['headertitle'] instanceof \think\Collection || $statlist['headertitle'] instanceof \think\Paginator): if( count($statlist['headertitle'])==0 ) : echo "" ;else: foreach($statlist['headertitle'] as $key=>$v): ?>
<th class="align-center"><?php echo htmlentities($v); ?></th>
<?php endforeach; endif; else: echo "" ;endif; ?>
<th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody id="datatable">
<?php if(!(empty($statlist['data']) || (($statlist['data'] instanceof \think\Collection || $statlist['data'] instanceof \think\Paginator ) && $statlist['data']->isEmpty()))): if(is_array($statlist['data']) || $statlist['data'] instanceof \think\Collection || $statlist['data'] instanceof \think\Paginator): if( count($statlist['data'])==0 ) : echo "" ;else: foreach($statlist['data'] as $key=>$v): ?>
<tr class="hover">
<td class="align-center"><?php echo htmlentities($v['timetext']); ?></td>
<td class="align-center"><?php echo htmlentities($v['updata']); ?></td>
<td class="align-center"><?php echo htmlentities($v['currentdata']); ?></td>
<td class="align-center"><?php echo htmlentities($v['tbrate']); ?></td>
<td class="align-center">
<a href="<?php echo url('Statmember/showmember',['type'=>'newbyday','t'=>$v['seartime']]); ?>>" class="dsui-btn-view"><i class="iconfont"></i><?php echo htmlentities(lang('ds_view')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<tr class="hover">
<td class="align-center"><b>总计</b></td>
<td class="align-center"><?php echo htmlentities($count_arr['up']); ?></td>
<td class="align-center"><?php echo htmlentities($count_arr['curr']); ?></td>
<td class="align-center"><?php echo htmlentities($count_arr['tbrate']); ?></td>
<td class="align-center">
<a href="<?php echo url('Statmember/showmember',['type'=>'newbyday','t'=>$count_arr['seartime']]); ?>" class="dsui-btn-view"><i class="iconfont"></i><?php echo htmlentities(lang('ds_view')); ?></a>
</td>
</tr>
<?php else: ?>
<tr class="no_data">
<td colspan="15"><?php echo htmlentities(lang('no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
</div>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/highcharts/highcharts.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/statistics.js"></script>
<script>
//展示搜索时间框
function show_searchtime(){
s_type = $("#search_type").val();
$("[id^='searchtype_']").hide();
$("#searchtype_"+s_type).show();
}
$(function () {
//统计数据类型
var s_type = $("#search_type").val();
$('#search_time').datepicker({dateFormat: 'yy-mm-dd'});
show_searchtime();
$("#search_type").change(function(){
show_searchtime();
});
//更新周数组
$("[name='searchweek_month']").change(function(){
var year = $("[name='searchweek_year']").val();
var month = $("[name='searchweek_month']").val();
$("[name='searchweek_week']").html('');
$.getJSON(ADMINSITEURL+'/Common/getweekofmonth',{y:year,m:month},function(data){
if(data != null){
for(var i = 0; i < data.length; i++) {
$("[name='searchweek_week']").append('<option value="'+data[i].key+'">'+data[i].val+'</option>');
}
}
});
});
$('#container').highcharts(<?php echo $stat_json; ?>);
$('#dssubmit').click(function(){
$('#formSearch').submit();
});
//导出图表
$("#export_btn").click(function(){
var item = $("#export_type");
var type = $(item).val();
if(type == 'excel'){
export_xls(item.attr('data-url').replace('.html',''));
}
});
});
</script>

View File

@ -1,108 +0,0 @@
<?php /*a:2:{s:68:"/www/wwwroot/light.haix.cn/app/admin/view/order/edit_spay_price.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<form id="user_form" enctype="multipart/form-data" method="post">
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td class="required w120"><label>买家:</label></td>
<td class="vatop rowform"><?php echo htmlentities($order_info['buyer_name']); ?></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><label>订单号:</label></td>
<td class="vatop rowform"><label style="color: #1b926c;font-weight: bold"><?php echo htmlentities($order_info['order_sn']); ?></label></td>
</tr>
<tr class="noborder">
<td class="required"><label>修改价格:</label></td>
<td class="vatop rowform"><input type="text" id="goods_amount" name="goods_amount" value="<?php echo htmlentities($order_info['goods_amount']); ?>" class="txt"></td>
<td class="vatop tips">请选择您要修改的价格</td>
</tr>
</tbody>
<tfoot>
<tr class="tfoot">
<td colspan="15"><input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
</tr>
</tfoot>
</table>
</form>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/mlselection.js" charset="utf-8"></script>
<script type="text/javascript">
$(function() {
$("#region").ds_region();
$('#user_form').validate({
errorPlacement: function(error, element) {
error.appendTo(element.parent().parent().find('td:last'));
},
rules: {
member_password: {
maxlength: 20,
minlength: 6
},
member_email: {
required: true,
email: true,
remote: {
url: ADMINSITEURL+'/Member/ajax.html?branch=check_email',
type: 'get',
data: {
user_name: function() {
return $('#member_email').val();
},
}
}
}
},
messages: {
member_password: {
maxlength: '<?php echo htmlentities(lang('member_edit_password_tip')); ?>',
minlength: '<?php echo htmlentities(lang('member_edit_password_tip')); ?>'
},
member_email: {
required: '<?php echo htmlentities(lang('member_edit_email_null')); ?>',
email: '<?php echo htmlentities(lang('member_edit_valid_email')); ?>',
remote: '<?php echo htmlentities(lang('member_edit_email_exists')); ?>'
}
}
});
});
</script>
</div>

View File

@ -1,305 +0,0 @@
<?php /*a:3:{s:64:"/www/wwwroot/lianke.keyutest.com/app/admin/view/config/base.html";i:1649753806;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('web_set')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="post" enctype="multipart/form-data" name="form1" action="">
<div class="ncap-form-default">
<dl>
<dt><?php echo htmlentities(lang('site_name')); ?></dt>
<dd>
<input id="site_name" name="site_name" value="<?php echo htmlentities($list_config['site_name']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"><?php echo htmlentities(lang('web_name_notice')); ?></p>
</dd>
</dl>
<!-- <dl>
<dt><?php echo htmlentities(lang('fixed_suspension_state')); ?></dt>
<dd>
<div class="onoff">
<label for="fixed_suspension_state1" class="cb-enable <?php if($list_config['fixed_suspension_state'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
<label for="fixed_suspension_state0" class="cb-disable <?php if($list_config['fixed_suspension_state'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
<input id="fixed_suspension_state1" name="fixed_suspension_state" value="1" type="radio" <?php if($list_config['fixed_suspension_state'] == 1): ?> checked="checked"<?php endif; ?>>
<input id="fixed_suspension_state0" name="fixed_suspension_state" value="0" type="radio" <?php if($list_config['fixed_suspension_state'] == 0): ?> checked="checked"<?php endif; ?>>
</div>
</dd>
</dl>-->
<!--<dl id="fixed_suspension_img" class="noborder">
<dt class="required"><label for="file_fixed_suspension_img"><?php echo htmlentities(lang('fixed_suspension_img')); ?></label></dt>
<dd class="vatop rowform">
<?php if(!(empty($list_config['fixed_suspension_img']) || (($list_config['fixed_suspension_img'] instanceof \think\Collection || $list_config['fixed_suspension_img'] instanceof \think\Paginator ) && $list_config['fixed_suspension_img']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo ds_get_pic(ATTACH_COMMON,$list_config['fixed_suspension_img']); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield6' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="fixed_suspension_img" id="file_fixed_suspension_img" type="file" class="type-file-file" id="site_logo" size="30" hidefocus="true">
</span>
<p class="notic"><?php echo htmlentities(lang('fixed_suspension_img_notice')); ?></p>
</dd>
</dl>-->
<!-- <dl>
<dt><?php echo htmlentities(lang('fixed_suspension_url')); ?></dt>
<dd>
<input id="fixed_suspension_url" name="fixed_suspension_url" value="<?php echo htmlentities($list_config['fixed_suspension_url']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"><?php echo htmlentities(lang('fixed_suspension_url_notice')); ?></p>
</dd>
</dl> -->
<dl>
<dt><?php echo htmlentities(lang('hot_search')); ?></dt>
<dd>
<textarea id="hot_search" name="hot_search"><?php echo htmlentities($list_config['hot_search']); ?></textarea>
<span class="err"></span>
<p class="notic"><?php echo htmlentities(lang('field_notice')); ?></p>
</dd>
</dl>
<!-- <dl>
<dt><?php echo htmlentities(lang('h5_site_url')); ?></dt>
<dd>
<input id="h5_site_url" name="h5_site_url" value="<?php echo htmlentities($list_config['h5_site_url']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>-->
<!-- <dl>
<dt><?php echo htmlentities(lang('h5_force_redirect')); ?></dt>
<dd>
<div class="onoff">
<label for="h5_force_redirect1" class="cb-enable <?php if($list_config['h5_force_redirect'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
<label for="h5_force_redirect0" class="cb-disable <?php if($list_config['h5_force_redirect'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
<input id="h5_force_redirect1" name="h5_force_redirect" value="1" type="radio" <?php if($list_config['h5_force_redirect'] == 1): ?> checked="checked"<?php endif; ?>>
<input id="h5_force_redirect0" name="h5_force_redirect" value="0" type="radio" <?php if($list_config['h5_force_redirect'] == 0): ?> checked="checked"<?php endif; ?>>
</div>
<p class="notic"><?php echo htmlentities(lang('h5_force_redirect_tips')); ?></p>
</dd>
</dl>-->
<!-- 开启实名认证 -->
<!--<dl>
<dt><?php echo htmlentities(lang('member_auth')); ?></dt>
<dd>
<div class="onoff">
<label for="member_auth_1" class="cb-enable <?php if($list_config['member_auth'] == '1'): ?>selected<?php endif; ?>" title="<?php echo htmlentities(lang('ds_open')); ?>"><span><?php echo htmlentities(lang('ds_open')); ?></span></label>
<label for="member_auth_0" class="cb-disable <?php if($list_config['member_auth'] == '0'): ?>selected<?php endif; ?>" title="<?php echo htmlentities(lang('ds_close')); ?>"><span><?php echo htmlentities(lang('ds_close')); ?></span></label>
<input id="member_auth_1" name="member_auth" <?php if($list_config['member_auth'] == '1'): ?> checked=checked <?php endif; ?> value="1" type="radio">
<input id="member_auth_0" name="member_auth" <?php if($list_config['member_auth'] == '0'): ?> checked=checked <?php endif; ?> value="0" type="radio">
</div>
<p class="notic"><?php echo htmlentities(lang('member_auth_notice')); ?></p>
</dd>
</dl>-->
<!-- <dl>
<dt><?php echo htmlentities(lang('baidu_map_ak_key')); ?></dt>
<dd>
<input id="baidu_ak" name="baidu_ak" value="<?php echo htmlentities($list_config['baidu_ak']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>-->
<dl>
<dt><?php echo htmlentities(lang('icp_number')); ?></dt>
<dd>
<input id="icp_number" name="icp_number" value="<?php echo htmlentities($list_config['icp_number']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('wab_number')); ?></dt>
<dd>
<input id="wab_number" name="wab_number" value="<?php echo htmlentities($list_config['wab_number']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('site_phone')); ?></dt>
<dd>
<input id="site_phone" name="site_phone" value="<?php echo htmlentities($list_config['site_phone']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('site_tel400')); ?></dt>
<dd>
<input id="site_tel400" name="site_tel400" value="<?php echo htmlentities($list_config['site_tel400']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('site_email')); ?></dt>
<dd>
<input id="site_email" name="site_email" value="<?php echo htmlentities($list_config['site_email']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('flow_static_code')); ?></dt>
<dd>
<textarea id="flow_static_code" name="flow_static_code"><?php echo htmlentities($list_config['flow_static_code']); ?></textarea>
<span class="err"></span>
<p class="notic"><?php echo htmlentities(lang('flow_static_code_notice')); ?></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('cache_open')); ?></dt>
<dd>
<div class="onoff">
<label for="cache_open1" class="cb-enable <?php if($list_config['cache_open'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
<label for="cache_open0" class="cb-disable <?php if($list_config['cache_open'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
<input id="cache_open1" name="cache_open" value="1" type="radio" <?php if($list_config['cache_open'] == 1): ?> checked="checked"<?php endif; ?>>
<input id="cache_open0" name="cache_open" value="0" type="radio" <?php if($list_config['cache_open'] == 0): ?> checked="checked"<?php endif; ?>>
</div>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('site_state')); ?></dt>
<dd>
<div class="onoff">
<label for="site_state1" class="cb-enable <?php if($list_config['site_state'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
<label for="site_state0" class="cb-disable <?php if($list_config['site_state'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
<input id="site_state1" name="site_state" value="1" type="radio" <?php if($list_config['site_state'] == 1): ?> checked="checked"<?php endif; ?>>
<input id="site_state0" name="site_state" value="0" type="radio" <?php if($list_config['site_state'] == 0): ?> checked="checked"<?php endif; ?>>
</div>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('closed_reason')); ?></dt>
<dd>
<textarea id="closed_reason" name="closed_reason"><?php echo htmlentities($list_config['closed_reason']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt>公司愿景</dt>
<dd>
<textarea id="our_wish" name="our_wish"><?php echo htmlentities($list_config['our_wish']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt>公司愿景(EN)</dt>
<dd>
<textarea id="our_wish_en" name="our_wish_en"><?php echo htmlentities($list_config['our_wish_en']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt>热门课程</dt>
<dd>
<textarea id="feature_credit" name="feature_credit"><?php echo htmlentities($list_config['feature_credit']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt>热门课程(EN)</dt>
<dd>
<textarea id="feature_credit_en" name="feature_credit_en"><?php echo htmlentities($list_config['feature_credit_en']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt>留学项目</dt>
<dd>
<textarea id="study_abroad" name="study_abroad"><?php echo htmlentities($list_config['study_abroad']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt>留学项目(EN)</dt>
<dd>
<textarea id="study_abroad_en" name="study_abroad_en"><?php echo htmlentities($list_config['study_abroad_en']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt></dt>
<dd><a href="JavaScript:void(0);" class="btn" onclick="document.form1.submit()"><?php echo htmlentities(lang('ds_confirm_submit')); ?></a></dd>
</dl>
</div>
</form>
</div>

View File

@ -1,152 +0,0 @@
<?php /*a:3:{s:64:"/www/wwwroot/lianke.keyutest.com/app/admin/view/brand/index.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_brand_manage')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('brand_index_name')); ?></dt>
<dd><input class="txt" name="search_brand_name" id="search_brand_name" value="<?php echo htmlentities($search_brand_name); ?>" type="text"></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('brand_index_class')); ?></dt>
<dd><input class="txt" name="search_brand_class" id="search_brand_class" value="<?php echo htmlentities($search_brand_class); ?>" type="text"></dd>
</dl>
<div class="btn_group">
<a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<?php if($search_brand_name != '' || $search_brand_class != ''): ?>
<a class="btn" href="<?php echo url('Brand/index'); ?>" title="<?php echo htmlentities(lang('ds_cancel_search')); ?>"><span><?php echo htmlentities(lang('ds_cancel_search')); ?></span></a>
<?php endif; ?>
<a class="btn btn-default" href="javascript:export_xls('<?php echo url('Brand/export_step1'); ?>')"><span><?php echo htmlentities(lang('ds_export')); ?>Excel</span></a>
</div>
</div>
<input type="hidden" value="" name="export">
</form>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('brand_index_help1')); ?></li>
<li><?php echo htmlentities(lang('brand_index_help2')); ?></li>
<li><?php echo htmlentities(lang('brand_index_help3')); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th class="w24"></th>
<th class="w48"><?php echo htmlentities(lang('ds_sort')); ?></th>
<th class="w270"><?php echo htmlentities(lang('brand_index_name')); ?></th>
<th class="w150"><?php echo htmlentities(lang('brand_index_class')); ?></th>
<th class="w150"><?php echo htmlentities(lang('brand_index_pic_sign')); ?></th>
<th class="w48 align-center"><?php echo htmlentities(lang('brand_showtype')); ?></th>
<th class="w48 align-center"><?php echo htmlentities(lang('ds_recommend')); ?></th>
<th class="w72 align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($brand_list) || (($brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator ) && $brand_list->isEmpty()))): if(is_array($brand_list) || $brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator): if( count($brand_list)==0 ) : echo "" ;else: foreach($brand_list as $key=>$v): ?>
<tr class="hover edit">
<td><input value="<?php echo htmlentities($v['brand_id']); ?>" class="checkitem" type="checkbox" name="del_brand_id[]"></td>
<td class="sort"><span class="editable" ds_type="inline_edit" fieldname="brand_sort" ajax_branch='brand_sort' fieldid="<?php echo htmlentities($v['brand_id']); ?>" datatype="pint" maxvalue="255" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($v['brand_sort']); ?></span></td>
<td class="name"><span class="editable" ds_type="inline_edit" fieldname="brand_name" ajax_branch='brand_name' fieldid="<?php echo htmlentities($v['brand_id']); ?>" required="1" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($v['brand_name']); ?></span></td>
<td class="class"><?php echo htmlentities($v['brand_class']); ?></td>
<td class="picture"><div class="brand-picture"><img src="<?php echo brand_image($v['brand_pic']); ?>" style="height:30px;"/></div></td>
<td class="align-center"><?php echo $v['brand_showtype']==1 ? lang('brand_showtype_text') : lang('brand_showtype_img'); ?></td>
<td class="align-center yes-onoff">
<?php if($v['brand_recommend'] == '0'): ?>
<a href="JavaScript:void(0);" class="disabled" ajax_branch='brand_recommend' ds_type="inline_edit" fieldname="brand_recommend" fieldid="<?php echo htmlentities($v['brand_id']); ?>" fieldvalue="0" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
<?php else: ?>
<a href="JavaScript:void(0);" class="enabled" ajax_branch='brand_recommend' ds_type="inline_edit" fieldname="brand_recommend" fieldid="<?php echo htmlentities($v['brand_id']); ?>" fieldvalue="1" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
<?php endif; ?>
</td>
<td class="align-center">
<a href="javascript:dsLayerOpen('<?php echo url('Brand/brand_edit',['brand_id'=>$v['brand_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($v['brand_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<a href="javascript:dsLayerConfirm('<?php echo url('Brand/brand_del',['brand_id'=>$v['brand_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<tfoot>
<?php if(!(empty($brand_list) || (($brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator ) && $brand_list->isEmpty()))): ?>
<tr colspan="15" class="tfoot">
<td><input type="checkbox" class="checkall" id="checkallBottom"></td>
<td colspan="16">
<label for="checkallBottom"><?php echo htmlentities(lang('ds_select_all')); ?></label>
&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('ds_del')); ?></span></a>
</td>
</tr>
<?php endif; ?>
</tfoot>
</table>
<?php echo $showpage; ?>
<div class="clear"></div>
</div>
<script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>
<script type="text/javascript">
function submit_delete(ids_str){
_uri = ADMINSITEURL+"/Brand/brand_del.html?brand_id=" + ids_str;
dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
}
</script>

View File

@ -1,187 +0,0 @@
<?php /*a:2:{s:57:"/www/wwwroot/light.haix.cn/app/admin/view/brand/form.html";i:1609141930;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<form id="brand_form" method="post" name="form1" enctype="multipart/form-data">
<input type="hidden" name="brand_id" value="<?php echo htmlentities($brand_array['brand_id']); ?>" />
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td class="required w120"><label class="validation"><?php echo htmlentities(lang('brand_index_name')); ?>:</label></td>
<td class="vatop rowform"><input type="text" value="<?php echo htmlentities($brand_array['brand_name']); ?>" name="brand_name" id="brand_name" class="txt"></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><label class="validation"><?php echo htmlentities(lang('brand_name_initial')); ?>:</label></td>
<td class="vatop rowform"><input type="text" value="<?php echo htmlentities($brand_array['brand_initial']); ?>" name="brand_initial" id="brand_initial" class="txt"></td>
<td class="vatop tips"><?php echo htmlentities(lang('brand_name_initial_tips')); ?></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('brand_index_class')); ?>: </td>
<td class="vatop rowform" id="gcategory"><input type="hidden" value="<?php echo htmlentities($brand_array['gc_id']); ?>" name="class_id" class="mls_id">
<input type="hidden" value="<?php echo htmlentities($brand_array['brand_class']); ?>" name="brand_class" class="mls_name">
<span class="mr10"><?php echo htmlentities($brand_array['brand_class']); ?></span>
<?php if(!(empty($brand_array['class_id']) || (($brand_array['class_id'] instanceof \think\Collection || $brand_array['class_id'] instanceof \think\Paginator ) && $brand_array['class_id']->isEmpty()))): ?>
<input class="edit_gcategory" type="button" value="<?php echo htmlentities(lang('ds_edit')); ?>">
<?php endif; ?>
<select <?php if(!(empty($brand_array['class_id']) || (($brand_array['class_id'] instanceof \think\Collection || $brand_array['class_id'] instanceof \think\Paginator ) && $brand_array['class_id']->isEmpty()))): ?>style="display:none;"<?php endif; ?> class="class-select">
<option value="0"><?php echo htmlentities(lang('ds_please_choose')); ?>...</option>
<?php if(!(empty($gc_list) || (($gc_list instanceof \think\Collection || $gc_list instanceof \think\Paginator ) && $gc_list->isEmpty()))): if(is_array($gc_list) || $gc_list instanceof \think\Collection || $gc_list instanceof \think\Paginator): if( count($gc_list)==0 ) : echo "" ;else: foreach($gc_list as $key=>$v): if($v['gc_parent_id'] == '0'): ?>
<option value="<?php echo htmlentities($v['gc_id']); ?>"><?php echo htmlentities($v['gc_name']); ?></option>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</select>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('brand_index_class_tips')); ?></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('brand_index_pic_sign')); ?>: </td>
<td class="vatop rowform">
<?php if(!(empty($brand_array['brand_pic']) || (($brand_array['brand_pic'] instanceof \think\Collection || $brand_array['brand_pic'] instanceof \think\Paginator ) && $brand_array['brand_pic']->isEmpty()))): ?>
<span class="type-file-show"> <img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview" style="display: none;"><img id="view_img" src="<?php echo ds_get_pic(ATTACH_BRAND,$brand_array['brand_pic']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='brand_pic' id='brand_pic' class='type-file-text' />
<input type='button' name='button' id='button' value='上传' class='type-file-button' />
<input name="_pic" type="file" class="type-file-file" id="_pic" size="30" hidefocus="true" />
</span>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('brand_index_upload_tips')); ?><?php echo htmlentities(lang('brand_add_support_type')); ?>gif,jpg,png</td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('brand_showtype')); ?>: </td>
<td class="vatop rowform">
<input id="brand_showtype_0" type="radio" <?php if($brand_array['brand_showtype']==0): ?>checked<?php endif; ?> value="0" style="margin-bottom:6px;" name="brand_showtype" />
<label for="brand_showtype_0"><?php echo htmlentities(lang('brand_showtype_img')); ?></label>
<input id="brand_showtype_1" type="radio" <?php if($brand_array['brand_showtype']==1): ?>checked<?php endif; ?> value="1" style="margin-bottom:6px;" name="brand_showtype" />
<label for="brand_showtype_1"><?php echo htmlentities(lang('brand_showtype_text')); ?></label>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('brand_showtype_tips')); ?></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('brand_add_if_recommend')); ?>: </td>
<td class="vatop rowform onoff"><label for="brand_recommend1" class="cb-enable <?php if($brand_array['brand_recommend'] == '1'): ?>selected<?php endif; ?>" title="<?php echo htmlentities(lang('ds_yes')); ?>"><span><?php echo htmlentities(lang('ds_yes')); ?></span></label>
<label for="brand_recommend0" class="cb-disable <?php if($brand_array['brand_recommend'] == '0'): ?>selected<?php endif; ?>" title="<?php echo htmlentities(lang('ds_no')); ?>"><span><?php echo htmlentities(lang('ds_no')); ?></span></label>
<input id="brand_recommend1" name="brand_recommend" <?php if($brand_array['brand_recommend'] == '1'): ?>checked="checked"<?php endif; ?> value="1" type="radio">
<input id="brand_recommend0" name="brand_recommend" <?php if($brand_array['brand_recommend'] == '0'): ?>checked="checked"<?php endif; ?> value="0" type="radio"></td>
<td class="vatop tips"><?php echo htmlentities(lang('brand_index_recommend_tips')); ?></td>
</tr>
<tr>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('ds_sort')); ?>: </td>
<td class="vatop rowform"><input type="text" value="<?php echo htmlentities($brand_array['brand_sort']); ?>" name="brand_sort" id="brand_sort" class="txt"></td>
<td class="vatop tips"><?php echo htmlentities(lang('brand_add_update_sort')); ?></td>
</tr>
</tbody>
<tfoot>
<tr class="tfoot">
<td colspan="15" ><input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
</tr>
</tfoot>
</table>
</form>
</div>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/mlselection.js"></script>
<script>
function call_back(picname){
$('#brand_pic').val(picname);
$('#view_img').attr('src','<?php echo htmlentities(UPLOAD_SITE_URL); ?>/<?php echo htmlentities(ATTACH_BRAND); ?>/'+picname);
}
//按钮先执行验证再提交表单
$(function(){
// 编辑分类时清除分类信息
$('.edit_gcategory').click(function(){
$('input[name="class_id"]').val('');
$('input[name="brand_class"]').val('');
});
jQuery.validator.addMethod("initial", function(value, element) {
return /^[A-Za-z0-9]$/i.test(value);
}, "");
$("#brand_form").validate({
errorPlacement: function(error, element){
error.appendTo(element.parent().parent().find('td:last'));
},
rules : {
brand_name : {
required : true,
remote : {
url :"<?php echo url('Brand/ajax',['branch'=>'check_brand_name']); ?>",
type:'get',
data:{
brand_name : function(){
return $('#brand_name').val();
},
id : '<?php echo htmlentities($brand_array['brand_id']); ?>'
}
}
},
brand_initial : {
initial : true
},
brand_sort : {
number : true,
range : [0,255]
}
},
messages : {
brand_name : {
required : '<?php echo htmlentities(lang('brand_add_name_null')); ?>',
remote : '<?php echo htmlentities(lang('brand_add_name_exists')); ?>'
},
brand_initial : {
initial : '<?php echo htmlentities(lang('brand_add_initial')); ?>'
},
brand_sort : {
number : '<?php echo htmlentities(lang('brand_add_sort_int')); ?>',
range : '<?php echo htmlentities(lang('class_sort_explain')); ?>'
}
}
});
});
gcategoryInit('gcategory');
</script>

View File

@ -1,961 +0,0 @@
<?php /*a:2:{s:62:"/www/wwwroot/lianke.keyutest.com/app/admin/view/seo/index.html";i:1647660218;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>SEO设置</h3>
<h5></h5>
</div>
<ul class="tab-base ds-row">
<li><a href="JavaScript:void(0);" dstype="index" class="current"><span><?php echo htmlentities(lang('homepage')); ?></span></a></li>
<li><a href="JavaScript:void(0);" dstype="group"><span>课程</span></a></li>
<li><a href="JavaScript:void(0);" dstype="brand"><span>项目</span></a></li>
<li><a href="JavaScript:void(0);" dstype="point"><span>Blog页面</span></a></li>
<li><a href="JavaScript:void(0);" dstype="subject"><span>总科目</span></a></li>
<li><a href="JavaScript:void(0);" dstype="arts"><span>艺术学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="business"><span>商科</span></a></li>
<li><a href="JavaScript:void(0);" dstype="communication"><span>通讯和媒体</span></a></li>
<li><a href="JavaScript:void(0);" dstype="computer"><span>计算机科学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="education"><span>教育学</span></a></li>
<br>
<li><a href="JavaScript:void(0);" dstype="engineering"><span>工程学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="english"><span>英文-写作</span></a></li>
<li><a href="JavaScript:void(0);" dstype="global"><span>全球观</span></a></li>
<li><a href="JavaScript:void(0);" dstype="human"><span>人文学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="math"><span>数学和统计学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="natural"><span>自然科学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="others"><span>其他学科</span></a></li>
<li><a href="JavaScript:void(0);" dstype="social"><span>社会学</span></a></li>
<li><a href="JavaScript:void(0);" dstype="law"><span>法学</span></a></li>
<!-- <li><a href="JavaScript:void(0);" dstype="article"><span><?php echo htmlentities(lang('seo_set_article')); ?></span></a></li>
<li><a href="JavaScript:void(0);" dstype="product"><span><?php echo htmlentities(lang('ds_goods')); ?></span></a></li>-->
</ul>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('seo_set_prompt')); ?></li>
<li><?php echo htmlentities(lang('seo_set_tips1')); ?></li>
<li><?php echo htmlentities(lang('seo_set_tips2')); ?></li>
<li><?php echo htmlentities(lang('seo_set_tips3')); ?></li>
<li><?php echo htmlentities(lang('seo_set_tips4')); ?></li>
<li><?php echo htmlentities(lang('seo_set_tips5')); ?></li>
<li><?php echo htmlentities(lang('seo_set_tips6')); ?></li>
</ul>
</div>
<form method="post" name="form_index" id="form_index">
<div class="ncap-form-default">
<dl>
<dt><?php echo htmlentities(lang('homepage')); ?></dt>
<dd>
<span><a>{sitename}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[index][seo_title]" name="SEO[index][seo_title]" value="<?php echo htmlentities($seo['index']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[index][seo_keywords]" name="SEO[index][seo_keywords]" value="<?php echo htmlentities($seo['index']['seo_keywords']); ?>" class="w300" type="text" maxlength="200" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[index][seo_description]" name="SEO[index][seo_description]" value="<?php echo htmlentities($seo['index']['seo_description']); ?>" class="w300" type="text" maxlength="200"/>
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_group" id="form_group">
<div class="ncap-form-default">
<dl>
<dt>课程</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[course][seo_title]" name="SEO[course][seo_title]" value="<?php echo htmlentities($seo['course']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[course][seo_keywords]" name="SEO[course][seo_keywords]" value="<?php echo htmlentities($seo['course']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[course][seo_description]" name="SEO[course][seo_description]" value="<?php echo htmlentities($seo['course']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_brand" id="form_brand">
<div class="ncap-form-default">
<dl>
<dt>项目</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[program][seo_title]" name="SEO[program][seo_title]" value="<?php echo htmlentities($seo['program']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[program][seo_keywords]" name="SEO[program][seo_keywords]" value="<?php echo htmlentities($seo['program']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[program][seo_description]" name="SEO[program][seo_description]" value="<?php echo htmlentities($seo['program']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_point" id="form_point">
<div class="ncap-form-default">
<dl>
<dt>Blog页面</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[blog][seo_title]" name="SEO[blog][seo_title]" value="<?php echo htmlentities($seo['blog']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[blog][seo_keywords]" name="SEO[blog][seo_keywords]" value="<?php echo htmlentities($seo['blog']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[blog][seo_description]" name="SEO[blog][seo_description]" value="<?php echo htmlentities($seo['blog']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_subject" id="form_subject">
<div class="ncap-form-default">
<dl>
<dt>总科目</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[subject][seo_title]" name="SEO[subject][seo_title]" value="<?php echo htmlentities($seo['subject']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[subject][seo_keywords]" name="SEO[subject][seo_keywords]" value="<?php echo htmlentities($seo['subject']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[subject][seo_description]" name="SEO[subject][seo_description]" value="<?php echo htmlentities($seo['subject']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_arts" id="form_arts">
<div class="ncap-form-default">
<dl>
<dt>艺术学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[arts][seo_title]" name="SEO[arts][seo_title]" value="<?php echo htmlentities($seo['arts']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[arts][seo_keywords]" name="SEO[arts][seo_keywords]" value="<?php echo htmlentities($seo['arts']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[arts][seo_description]" name="SEO[arts][seo_description]" value="<?php echo htmlentities($seo['arts']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_business" id="form_business">
<div class="ncap-form-default">
<dl>
<dt>商科</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[business][seo_title]" name="SEO[business][seo_title]" value="<?php echo htmlentities($seo['business']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[business][seo_keywords]" name="SEO[business][seo_keywords]" value="<?php echo htmlentities($seo['business']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[business][seo_description]" name="SEO[business][seo_description]" value="<?php echo htmlentities($seo['business']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_communication" id="form_communication">
<div class="ncap-form-default">
<dl>
<dt>通讯和媒体</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[communication][seo_title]" name="SEO[communication][seo_title]" value="<?php echo htmlentities($seo['communication']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[communication][seo_keywords]" name="SEO[communication][seo_keywords]" value="<?php echo htmlentities($seo['communication']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[communication][seo_description]" name="SEO[communication][seo_description]" value="<?php echo htmlentities($seo['communication']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_computer" id="form_computer">
<div class="ncap-form-default">
<dl>
<dt>计算机科学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[computer][seo_title]" name="SEO[computer][seo_title]" value="<?php echo htmlentities($seo['computer']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[computer][seo_keywords]" name="SEO[computer][seo_keywords]" value="<?php echo htmlentities($seo['computer']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[computer][seo_description]" name="SEO[computer][seo_description]" value="<?php echo htmlentities($seo['computer']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_education" id="form_education">
<div class="ncap-form-default">
<dl>
<dt>教育学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[education][seo_title]" name="SEO[education][seo_title]" value="<?php echo htmlentities($seo['education']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[education][seo_keywords]" name="SEO[education][seo_keywords]" value="<?php echo htmlentities($seo['education']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[education][seo_description]" name="SEO[education][seo_description]" value="<?php echo htmlentities($seo['education']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_engineering" id="form_engineering">
<div class="ncap-form-default">
<dl>
<dt>工程学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[engineering][seo_title]" name="SEO[engineering][seo_title]" value="<?php echo htmlentities($seo['engineering']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[engineering][seo_keywords]" name="SEO[engineering][seo_keywords]" value="<?php echo htmlentities($seo['engineering']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[engineering][seo_description]" name="SEO[engineering][seo_description]" value="<?php echo htmlentities($seo['engineering']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_english" id="form_english">
<div class="ncap-form-default">
<dl>
<dt>英文-写作</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[english][seo_title]" name="SEO[english][seo_title]" value="<?php echo htmlentities($seo['english']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[english][seo_keywords]" name="SEO[english][seo_keywords]" value="<?php echo htmlentities($seo['english']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[english][seo_description]" name="SEO[english][seo_description]" value="<?php echo htmlentities($seo['english']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_global" id="form_global">
<div class="ncap-form-default">
<dl>
<dt>全球观</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[global][seo_title]" name="SEO[global][seo_title]" value="<?php echo htmlentities($seo['global']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[global][seo_keywords]" name="SEO[global][seo_keywords]" value="<?php echo htmlentities($seo['global']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[global][seo_description]" name="SEO[global][seo_description]" value="<?php echo htmlentities($seo['global']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_human" id="form_human">
<div class="ncap-form-default">
<dl>
<dt>人文学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[human][seo_title]" name="SEO[human][seo_title]" value="<?php echo htmlentities($seo['human']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[human][seo_keywords]" name="SEO[human][seo_keywords]" value="<?php echo htmlentities($seo['human']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[human][seo_description]" name="SEO[human][seo_description]" value="<?php echo htmlentities($seo['human']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_math" id="form_math">
<div class="ncap-form-default">
<dl>
<dt>数学和统计学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[math][seo_title]" name="SEO[math][seo_title]" value="<?php echo htmlentities($seo['math']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[math][seo_keywords]" name="SEO[math][seo_keywords]" value="<?php echo htmlentities($seo['math']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[math][seo_description]" name="SEO[math][seo_description]" value="<?php echo htmlentities($seo['math']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_natural" id="form_natural">
<div class="ncap-form-default">
<dl>
<dt>自然科学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[natural][seo_title]" name="SEO[natural][seo_title]" value="<?php echo htmlentities($seo['natural']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[natural][seo_keywords]" name="SEO[natural][seo_keywords]" value="<?php echo htmlentities($seo['natural']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[natural][seo_description]" name="SEO[natural][seo_description]" value="<?php echo htmlentities($seo['natural']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_others" id="form_others">
<div class="ncap-form-default">
<dl>
<dt>其他学科</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[others][seo_title]" name="SEO[others][seo_title]" value="<?php echo htmlentities($seo['others']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[others][seo_keywords]" name="SEO[others][seo_keywords]" value="<?php echo htmlentities($seo['others']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[others][seo_description]" name="SEO[others][seo_description]" value="<?php echo htmlentities($seo['others']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_social" id="form_social">
<div class="ncap-form-default">
<dl>
<dt>社会学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[social][seo_title]" name="SEO[social][seo_title]" value="<?php echo htmlentities($seo['social']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[social][seo_keywords]" name="SEO[social][seo_keywords]" value="<?php echo htmlentities($seo['social']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[social][seo_description]" name="SEO[social][seo_description]" value="<?php echo htmlentities($seo['social']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
<form method="post" name="form_social" id="form_social">
<div class="ncap-form-default">
<dl>
<dt>法学</dt>
<dd>
<span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('title')); ?></dt>
<dd>
<input id="SEO[law][seo_title]" name="SEO[law][seo_title]" value="<?php echo htmlentities($seo['law']['seo_title']); ?>" class="w300" type="text"/>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('keywords')); ?></dt>
<dd>
<input id="SEO[law][seo_keywords]" name="SEO[law][seo_keywords]" value="<?php echo htmlentities($seo['law']['seo_keywords']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('description')); ?></dt>
<dd>
<input id="SEO[law][seo_description]" name="SEO[law][seo_description]" value="<?php echo htmlentities($seo['law']['seo_description']); ?>" class="w300" type="text" />
</dd>
</dl>
<dl>
<dt></dt>
<dd>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</dd>
</dl>
</div>
</form>
</div>
<script>
$(document).ready(function(){
$('#form_index').validate({
submitHandler:function(form){
ds_ajaxpost('form_index');
}
});
$('#form_group').validate({
submitHandler:function(form){
ds_ajaxpost('form_group');
}
});
$('#form_brand').validate({
submitHandler:function(form){
ds_ajaxpost('form_brand');
}
});
$('#form_point').validate({
submitHandler:function(form){
ds_ajaxpost('form_point');
}
});
$('#form_article').validate({
submitHandler:function(form){
ds_ajaxpost('form_article');
}
});
$('#form_shop').validate({
submitHandler:function(form){
ds_ajaxpost('form_shop');
}
});
$('#form_product').validate({
submitHandler:function(form){
ds_ajaxpost('form_product');
}
});
$('#form_subject').validate({
submitHandler:function(form){
ds_ajaxpost('form_subject');
}
});
$('#form_arts').validate({
submitHandler:function(form){
ds_ajaxpost('form_arts');
}
});
$('#form_business').validate({
submitHandler:function(form){
ds_ajaxpost('form_business');
}
});
$('#form_communication').validate({
submitHandler:function(form){
ds_ajaxpost('form_communication');
}
});
$('#form_computer').validate({
submitHandler:function(form){
ds_ajaxpost('form_computer');
}
});
$('#form_education').validate({
submitHandler:function(form){
ds_ajaxpost('form_education');
}
});
$('#form_engineering').validate({
submitHandler:function(form){
ds_ajaxpost('form_engineering');
}
});
$('#form_english').validate({
submitHandler:function(form){
ds_ajaxpost('form_english');
}
});
$('#form_global').validate({
submitHandler:function(form){
ds_ajaxpost('form_global');
}
});
$('#form_human').validate({
submitHandler:function(form){
ds_ajaxpost('form_human');
}
});
$('#form_math').validate({
submitHandler:function(form){
ds_ajaxpost('form_math');
}
});
$('#form_natural').validate({
submitHandler:function(form){
ds_ajaxpost('form_natural');
}
});
$('#form_others').validate({
submitHandler:function(form){
ds_ajaxpost('form_others');
}
});
$('#form_social').validate({
submitHandler:function(form){
ds_ajaxpost('form_social');
}
});
$('#form_law').validate({
submitHandler:function(form){
ds_ajaxpost('form_law');
}
});
});
</script>
<script type="text/javascript">
$(function() {
$('.tab-base').find('a').bind('click', function() {
$('.tab-base').find('a').removeClass('current');
$(this).addClass('current');
$('form').css('display', 'none');
$('form[name="form_' + $(this).attr('dstype') + '"]').css('display', '');
$('span[dstype="hide_tag"]').find('a').css('padding-left', '5px');
});
$('form').css('display', 'none');
$('form[name="form_index"]').css('display', '');
$('#toggmore').bind('click', function() {
$('li[dstype="vmore"]').toggle();
});
$('li[dstype="vmore"]').hide();
});
</script>

View File

@ -1,305 +0,0 @@
<?php /*a:3:{s:58:"/www/wwwroot/light.haix.cn/app/admin/view/config/base.html";i:1649753806;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('web_set')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="post" enctype="multipart/form-data" name="form1" action="">
<div class="ncap-form-default">
<dl>
<dt><?php echo htmlentities(lang('site_name')); ?></dt>
<dd>
<input id="site_name" name="site_name" value="<?php echo htmlentities($list_config['site_name']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"><?php echo htmlentities(lang('web_name_notice')); ?></p>
</dd>
</dl>
<!-- <dl>
<dt><?php echo htmlentities(lang('fixed_suspension_state')); ?></dt>
<dd>
<div class="onoff">
<label for="fixed_suspension_state1" class="cb-enable <?php if($list_config['fixed_suspension_state'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
<label for="fixed_suspension_state0" class="cb-disable <?php if($list_config['fixed_suspension_state'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
<input id="fixed_suspension_state1" name="fixed_suspension_state" value="1" type="radio" <?php if($list_config['fixed_suspension_state'] == 1): ?> checked="checked"<?php endif; ?>>
<input id="fixed_suspension_state0" name="fixed_suspension_state" value="0" type="radio" <?php if($list_config['fixed_suspension_state'] == 0): ?> checked="checked"<?php endif; ?>>
</div>
</dd>
</dl>-->
<!--<dl id="fixed_suspension_img" class="noborder">
<dt class="required"><label for="file_fixed_suspension_img"><?php echo htmlentities(lang('fixed_suspension_img')); ?></label></dt>
<dd class="vatop rowform">
<?php if(!(empty($list_config['fixed_suspension_img']) || (($list_config['fixed_suspension_img'] instanceof \think\Collection || $list_config['fixed_suspension_img'] instanceof \think\Paginator ) && $list_config['fixed_suspension_img']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo ds_get_pic(ATTACH_COMMON,$list_config['fixed_suspension_img']); ?>?<?php echo htmlentities(TIMESTAMP); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield6' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="fixed_suspension_img" id="file_fixed_suspension_img" type="file" class="type-file-file" id="site_logo" size="30" hidefocus="true">
</span>
<p class="notic"><?php echo htmlentities(lang('fixed_suspension_img_notice')); ?></p>
</dd>
</dl>-->
<!-- <dl>
<dt><?php echo htmlentities(lang('fixed_suspension_url')); ?></dt>
<dd>
<input id="fixed_suspension_url" name="fixed_suspension_url" value="<?php echo htmlentities($list_config['fixed_suspension_url']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"><?php echo htmlentities(lang('fixed_suspension_url_notice')); ?></p>
</dd>
</dl> -->
<dl>
<dt><?php echo htmlentities(lang('hot_search')); ?></dt>
<dd>
<textarea id="hot_search" name="hot_search"><?php echo htmlentities($list_config['hot_search']); ?></textarea>
<span class="err"></span>
<p class="notic"><?php echo htmlentities(lang('field_notice')); ?></p>
</dd>
</dl>
<!-- <dl>
<dt><?php echo htmlentities(lang('h5_site_url')); ?></dt>
<dd>
<input id="h5_site_url" name="h5_site_url" value="<?php echo htmlentities($list_config['h5_site_url']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>-->
<!-- <dl>
<dt><?php echo htmlentities(lang('h5_force_redirect')); ?></dt>
<dd>
<div class="onoff">
<label for="h5_force_redirect1" class="cb-enable <?php if($list_config['h5_force_redirect'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
<label for="h5_force_redirect0" class="cb-disable <?php if($list_config['h5_force_redirect'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
<input id="h5_force_redirect1" name="h5_force_redirect" value="1" type="radio" <?php if($list_config['h5_force_redirect'] == 1): ?> checked="checked"<?php endif; ?>>
<input id="h5_force_redirect0" name="h5_force_redirect" value="0" type="radio" <?php if($list_config['h5_force_redirect'] == 0): ?> checked="checked"<?php endif; ?>>
</div>
<p class="notic"><?php echo htmlentities(lang('h5_force_redirect_tips')); ?></p>
</dd>
</dl>-->
<!-- 开启实名认证 -->
<!--<dl>
<dt><?php echo htmlentities(lang('member_auth')); ?></dt>
<dd>
<div class="onoff">
<label for="member_auth_1" class="cb-enable <?php if($list_config['member_auth'] == '1'): ?>selected<?php endif; ?>" title="<?php echo htmlentities(lang('ds_open')); ?>"><span><?php echo htmlentities(lang('ds_open')); ?></span></label>
<label for="member_auth_0" class="cb-disable <?php if($list_config['member_auth'] == '0'): ?>selected<?php endif; ?>" title="<?php echo htmlentities(lang('ds_close')); ?>"><span><?php echo htmlentities(lang('ds_close')); ?></span></label>
<input id="member_auth_1" name="member_auth" <?php if($list_config['member_auth'] == '1'): ?> checked=checked <?php endif; ?> value="1" type="radio">
<input id="member_auth_0" name="member_auth" <?php if($list_config['member_auth'] == '0'): ?> checked=checked <?php endif; ?> value="0" type="radio">
</div>
<p class="notic"><?php echo htmlentities(lang('member_auth_notice')); ?></p>
</dd>
</dl>-->
<!-- <dl>
<dt><?php echo htmlentities(lang('baidu_map_ak_key')); ?></dt>
<dd>
<input id="baidu_ak" name="baidu_ak" value="<?php echo htmlentities($list_config['baidu_ak']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>-->
<dl>
<dt><?php echo htmlentities(lang('icp_number')); ?></dt>
<dd>
<input id="icp_number" name="icp_number" value="<?php echo htmlentities($list_config['icp_number']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('wab_number')); ?></dt>
<dd>
<input id="wab_number" name="wab_number" value="<?php echo htmlentities($list_config['wab_number']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('site_phone')); ?></dt>
<dd>
<input id="site_phone" name="site_phone" value="<?php echo htmlentities($list_config['site_phone']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('site_tel400')); ?></dt>
<dd>
<input id="site_tel400" name="site_tel400" value="<?php echo htmlentities($list_config['site_tel400']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('site_email')); ?></dt>
<dd>
<input id="site_email" name="site_email" value="<?php echo htmlentities($list_config['site_email']); ?>" class="input-txt" type="text">
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('flow_static_code')); ?></dt>
<dd>
<textarea id="flow_static_code" name="flow_static_code"><?php echo htmlentities($list_config['flow_static_code']); ?></textarea>
<span class="err"></span>
<p class="notic"><?php echo htmlentities(lang('flow_static_code_notice')); ?></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('cache_open')); ?></dt>
<dd>
<div class="onoff">
<label for="cache_open1" class="cb-enable <?php if($list_config['cache_open'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
<label for="cache_open0" class="cb-disable <?php if($list_config['cache_open'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
<input id="cache_open1" name="cache_open" value="1" type="radio" <?php if($list_config['cache_open'] == 1): ?> checked="checked"<?php endif; ?>>
<input id="cache_open0" name="cache_open" value="0" type="radio" <?php if($list_config['cache_open'] == 0): ?> checked="checked"<?php endif; ?>>
</div>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('site_state')); ?></dt>
<dd>
<div class="onoff">
<label for="site_state1" class="cb-enable <?php if($list_config['site_state'] == 1): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_open')); ?></label>
<label for="site_state0" class="cb-disable <?php if($list_config['site_state'] == 0): ?>selected<?php endif; ?>"><?php echo htmlentities(lang('ds_close')); ?></label>
<input id="site_state1" name="site_state" value="1" type="radio" <?php if($list_config['site_state'] == 1): ?> checked="checked"<?php endif; ?>>
<input id="site_state0" name="site_state" value="0" type="radio" <?php if($list_config['site_state'] == 0): ?> checked="checked"<?php endif; ?>>
</div>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('closed_reason')); ?></dt>
<dd>
<textarea id="closed_reason" name="closed_reason"><?php echo htmlentities($list_config['closed_reason']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt>公司愿景</dt>
<dd>
<textarea id="our_wish" name="our_wish"><?php echo htmlentities($list_config['our_wish']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt>公司愿景(EN)</dt>
<dd>
<textarea id="our_wish_en" name="our_wish_en"><?php echo htmlentities($list_config['our_wish_en']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt>热门课程</dt>
<dd>
<textarea id="feature_credit" name="feature_credit"><?php echo htmlentities($list_config['feature_credit']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt>热门课程(EN)</dt>
<dd>
<textarea id="feature_credit_en" name="feature_credit_en"><?php echo htmlentities($list_config['feature_credit_en']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt>留学项目</dt>
<dd>
<textarea id="study_abroad" name="study_abroad"><?php echo htmlentities($list_config['study_abroad']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt>留学项目(EN)</dt>
<dd>
<textarea id="study_abroad_en" name="study_abroad_en"><?php echo htmlentities($list_config['study_abroad_en']); ?></textarea>
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt></dt>
<dd><a href="JavaScript:void(0);" class="btn" onclick="document.form1.submit()"><?php echo htmlentities(lang('ds_confirm_submit')); ?></a></dd>
</dl>
</div>
</form>
</div>

View File

@ -1,397 +0,0 @@
<?php /*a:4:{s:58:"/www/wwwroot/light.haix.cn/app/admin/view/goods/index.html";i:1645674206;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/footer.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>课程管理</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="fixed-empty"></div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="提示相关设置操作时应注意的要点"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="收起提示" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('goods_index_help1')); ?></li>
<li><?php echo htmlentities(lang('goods_index_help2')); ?></li>
</ul>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('ds_goods_name')); ?></dt>
<dd><input type="text" value="<?php echo htmlentities((app('request')->get('search_goods_name') ?: '')); ?>" name="search_goods_name" id="search_goods_name" class="txt"></dd>
</dl>
<dl>
<dt>课程编号</dt>
<dd><input type="text" value="<?php echo htmlentities((app('request')->get('search_commonid') ?: '')); ?>" name="search_commonid" id="search_commonid" class="txt" /></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('ds_class')); ?></dt>
<dd id="searchgc_td"></dd>
<input type="hidden" id="choose_gcid" name="choose_gcid" value="0"/>
</dl>
<!-- <dl>
<dt><?php echo htmlentities(lang('goods_index_brand')); ?></dt>
<dd>
<div id="ajax_brand" class="dssc-brand-select w180">
<div class="selection">
<input name="b_name" id="b_name" value="<?php echo htmlentities((app('request')->param('b_name') ?: '')); ?>" type="text" class="txt w180" readonly="readonly" />
<input type="hidden" name="b_id" id="b_id" value="<?php echo htmlentities((app('request')->param('b_id') ?: '')); ?>" />
</div>
<div class="dssc-brand-select-container">
<div class="brand-index" data-url="<?php echo url('Common/ajax_get_brand'); ?>">
<div class="letter" dstype="letter">
<ul>
<li><a href="javascript:void(0);" data-letter="all">全部品牌</a></li>
<li><a href="javascript:void(0);" data-letter="A">A</a></li>
<li><a href="javascript:void(0);" data-letter="B">B</a></li>
<li><a href="javascript:void(0);" data-letter="C">C</a></li>
<li><a href="javascript:void(0);" data-letter="D">D</a></li>
<li><a href="javascript:void(0);" data-letter="E">E</a></li>
<li><a href="javascript:void(0);" data-letter="F">F</a></li>
<li><a href="javascript:void(0);" data-letter="G">G</a></li>
<li><a href="javascript:void(0);" data-letter="H">H</a></li>
<li><a href="javascript:void(0);" data-letter="I">I</a></li>
<li><a href="javascript:void(0);" data-letter="J">J</a></li>
<li><a href="javascript:void(0);" data-letter="K">K</a></li>
<li><a href="javascript:void(0);" data-letter="L">L</a></li>
<li><a href="javascript:void(0);" data-letter="M">M</a></li>
<li><a href="javascript:void(0);" data-letter="N">N</a></li>
<li><a href="javascript:void(0);" data-letter="O">O</a></li>
<li><a href="javascript:void(0);" data-letter="P">P</a></li>
<li><a href="javascript:void(0);" data-letter="Q">Q</a></li>
<li><a href="javascript:void(0);" data-letter="R">R</a></li>
<li><a href="javascript:void(0);" data-letter="S">S</a></li>
<li><a href="javascript:void(0);" data-letter="T">T</a></li>
<li><a href="javascript:void(0);" data-letter="U">U</a></li>
<li><a href="javascript:void(0);" data-letter="V">V</a></li>
<li><a href="javascript:void(0);" data-letter="W">W</a></li>
<li><a href="javascript:void(0);" data-letter="X">X</a></li>
<li><a href="javascript:void(0);" data-letter="Y">Y</a></li>
<li><a href="javascript:void(0);" data-letter="Z">Z</a></li>
<li><a href="javascript:void(0);" data-letter="0-9">其他</a></li>
</ul>
</div>
<div class="search" dstype="search"><input name="search_brand_keyword" id="search_brand_keyword" type="text" class="text" placeholder="品牌名称关键字查找"/><a href="javascript:void(0);" class="dssc-btn-mini" style="vertical-align: top;">Go</a></div>
</div>
<div class="brand-list" dstype="brandList">
<ul dstype="brand_list">
<?php if(!(empty($brand_list) || (($brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator ) && $brand_list->isEmpty()))): if(is_array($brand_list) || $brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator): if( count($brand_list)==0 ) : echo "" ;else: foreach($brand_list as $key=>$val): ?>
<li data-id='<?php echo htmlentities($val['brand_id']); ?>'data-name='<?php echo htmlentities($val['brand_name']); ?>'><em><?php echo htmlentities($val['brand_initial']); ?></em><?php echo htmlentities($val['brand_name']); ?></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</ul>
</div>
<div class="no-result" dstype="noBrandList" style="display: none;">没有符合"<strong>搜索关键字</strong>"条件的品牌</div>
</div>
</div>
</dd>
</dl>-->
<!-- <dl>
<dt><?php echo htmlentities(lang('goods_index_show')); ?></dt>
<dd>
<select name="goods_state">
<option value=""><?php echo htmlentities(lang('ds_please_choose')); ?>...</option>
<?php if(is_array($state) || $state instanceof \think\Collection || $state instanceof \think\Paginator): if( count($state)==0 ) : echo "" ;else: foreach($state as $key=>$val): ?>
<option value="<?php echo htmlentities($key); ?>" <?php if(isset($search['goods_state']) && $search['goods_state'] == $key): ?>selected<?php endif; ?>><?php echo htmlentities($val); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</dd>
</dl>-->
<dl>
<dt><?php echo htmlentities(lang('goods_index_stock')); ?></dt>
<dd>
<select name="stock">
<option value="" <?php if(app('request')->param('stock')): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('ds_please_choose')); ?></option>
<option value="1" <?php if(app('request')->param('stock') == '1'): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('goods_index_stock_warning')); ?></option>
</select>
</dd>
</dl>
<input type="hidden" name="type" value="<?php echo htmlentities(app('request')->get('type')); ?>"/>
<div class="btn_group">
<a href="javascript:void(0);" id="dssubmit" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<a href="<?php echo url('Goods/index'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
</div>
</div>
</form>
<form method='post' id="form_goods" action="<?php echo url('Goods/goods_del'); ?>">
<table class="ds-default-table">
<thead>
<tr class="thead">
<th class="w24"></th>
<th class="w24"></th>
<th class="w60 align-center">课程编号</th>
<th class="w24"><?php echo htmlentities(lang('goods_index_id')); ?></th>
<th colspan="2"><?php echo htmlentities(lang('ds_goods_name')); ?></th>
<th><?php echo htmlentities(lang('ds_class')); ?></th>
<th class="w72 align-center">价格()</th>
<th class="w72 align-center">库存</th>
<!--<th class="w72 align-center">课程状态</th>-->
<?php if($type == 'allgoods'): ?>
<th class="w72 align-center">是否热门</th>
<th class="w72 align-center">排序</th>
<?php endif; ?>
<th class="w200 align-center" ><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($goods_list) || (($goods_list instanceof \think\Collection || $goods_list instanceof \think\Paginator ) && $goods_list->isEmpty()))): if(is_array($goods_list) || $goods_list instanceof \think\Collection || $goods_list instanceof \think\Paginator): if( count($goods_list)==0 ) : echo "" ;else: foreach($goods_list as $key=>$v): ?>
<tr class="hover edit">
<td><input type="checkbox" name="id[]" value="<?php echo htmlentities($v['goods_commonid']); ?>" class="checkitem"></td>
<td><i class="iconfont" status="open" style="cursor: pointer;" dstype="ajaxGoodsList" data-comminid="<?php echo htmlentities($v['goods_commonid']); ?>" title="点击展开查看此商品全部规格;规格值过多时请横向拖动区域内的滚动条进行浏览。"></i></td>
<td class="align-center"><?php echo htmlentities($v['goods_serial']); ?></td>
<td class="align-center"><?php echo htmlentities($v['goods_commonid']); ?>-<?php echo htmlentities($v['goods_id']); ?></td>
<td class="w60 picture"><div class="size-56x56"><span class="thumb size-56x56"><i></i><img src="<?php echo goods_thumb($v, 240); ?>" width="56" height="56"/></span></div></td>
<td>
<dl class="goods-info"><dt class="goods-name"><?php echo htmlentities($v['goods_name']); ?></dt>
<dd class="goods-type">
<?php if($v['is_virtual'] == 1): ?><span class="virtual" title="虚拟兑换商品">虚拟</span><?php endif; if($v['is_goodsfcode'] == 1): ?><span class="fcode" title="F码优先购买商品">F码</span><?php endif; if($v['is_presell'] == 1): ?><span class="presell" title="预先发售商品">预售</span><?php endif; if($v['is_appoint'] == 1): ?><span class="appoint" title="预约销售提示商品">预约</span><?php endif; ?>
<i class="iconfont <?php if($v['mobile_body'] != ''): ?>open<?php endif; ?>" title="手机端商品详情">&#xe601;</i>
</dd>
<dd class="goods-store"></dd>
</dl>
</td>
<td>
<p><?php echo htmlentities($v['gc_name']); ?></p>
<p class="goods-brand"><?php echo htmlentities($v['gc_name']); ?></p>
</td>
<td class="align-center<?php if($val['goods_lock'] == 0): ?> hover<?php endif; ?>" onclick="dsLayerOpen('<?php echo url("Goods/edit_storage",["commonid"=>$v['goods_commonid']]); ?>','编辑库存')"><?php echo htmlentities($v['goods_price']); ?><i class="iconfont hidden">&#xe731;</i></td>
<td class="align-center hover" onclick="dsLayerOpen('<?php echo url("Goods/edit_storage",["commonid"=>$v['goods_commonid']]); ?>','编辑库存')" <?php if($v['alarm'] == true): ?>style="color:red"<?php endif; ?>><?php echo htmlentities($v['sum']); ?><i class="iconfont hidden">&#xe731;</i></td>
<!-- <td class="align-center"><?php echo htmlentities($state[$v['goods_state']]); ?></td>-->
<?php if($type == 'allgoods'): ?>
<td class="align-center yes-onoff">
<?php if($v['goods_commend'] == '0'): ?>
<a href="JavaScript:void(0);" class="disabled" ajax_branch='goods_commend' ds_type="inline_edit" fieldname="goods_commend" fieldid="<?php echo htmlentities($v['goods_commonid']); ?>" fieldvalue="0" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
<?php else: ?>
<a href="JavaScript:void(0);" class="enabled" ajax_branch='goods_commend' ds_type="inline_edit" fieldname="goods_commend" fieldid="<?php echo htmlentities($v['goods_commonid']); ?>" fieldvalue="1" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
<?php endif; ?>
</td>
<td class="align-center sort">
<span class="editable" ds_type="inline_edit" fieldname="goods_sort" ajax_branch='goods_sort' fieldid="<?php echo htmlentities($v['goods_commonid']); ?>" datatype="pint" maxvalue="255" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($v['goods_sort']); ?></span>
</td>
<?php endif; ?>
<td class="align-center">
<!--
<a href="<?php echo url('/home/goods/index',['goods_id' =>$v['goods_id']]); ?>" target="_blank" class="dsui-btn-view"><i class="iconfont"></i><?php echo htmlentities(lang('ds_view')); ?></a>
-->
<?php if($v['goods_lock'] == 0): ?>
<a href="<?php echo url('Goods/edit_goods',['commonid' =>$v['goods_commonid']]); ?>" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<?php else: ?>
<a readonly="readonly" class="dsui-btn-link"><i class="iconfont"></i><?php echo htmlentities(lang('goods_index_lock')); ?></a>
<?php endif; ?>
<a href="<?php echo url('Goods/goods_del',['common_id'=>$v['goods_commonid']]); ?>" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<tr style="display:none;">
<td colspan="20"><div class="dssc-goods-sku ps-container"></div></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="15"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<tfoot>
<tr class="tfoot">
<?php if($type == 'lockup'): ?>
<td><input type="checkbox" class="checkall" ></td>
<td colspan="16"><label><?php echo htmlentities(lang('ds_select_all')); ?></label>
<a href="JavaScript:void(0);" class="btn btn-small" dstype="reduction_batch"><span>售卖商品</span></a>
</td>
<?php elseif($type == 'allgoods'): ?>
<td><input type="checkbox" class="checkall" ></td>
<td colspan="16"><label><?php echo htmlentities(lang('ds_select_all')); ?></label>
<!-- <a href="JavaScript:void(0);" class="btn btn-small" dstype="lockup_batch"><span>存入仓库</span></a>-->
</td>
<?php endif; ?>
</tr>
</tfoot>
</table>
<?php echo $show_page; ?>
</form>
</div>
<script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.mousewheel.js"></script>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/mlselection.js" charset="utf-8"></script>
<script type="text/javascript">
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
$(function(){
//商品分类
init_gcselect(<?php echo $gc_choose_json; ?>,<?php echo $gc_json; ?>);
/* AJAX选择品牌 */
$("#ajax_brand").brandinit();
$('#dssubmit').click(function(){
$('#formSearch').submit();
});
// 删除
$('a[dstype="del_batch"]').click(function(){
layer.confirm("<?php echo htmlentities(lang('ds_ensure_del')); ?>", {
btn: ['确定', '取消'],
title: false,
}, function () {
ds_ajaxget($(this).attr('uri'));
});
});
// 存入仓库批量处理
$('a[dstype="lockup_batch"]').click(function(){
ids_str = getItems();
if (ids_str) {
goods_lockup(ids_str);
}
});
// 售卖商品批量处理
$('a[dstype="reduction_batch"]').click(function(){
ids_str = getItems();
if (ids_str) {
goods_reduction(ids_str);
}
});
// ajax获取商品列表
$('i[dstype="ajaxGoodsList"]').click(
function(){
var status = $(this).attr("status");
if (status == 'open') {
$(this).attr('status', 'close');
$(this).removeClass('icon-jia').addClass('icon-jian');
var _parenttr = $(this).parents('tr');
var _commonid = $(this).attr('data-comminid');
var _div = _parenttr.next().find('.dssc-goods-sku');
if (_div.html() == '') {
$.getJSON('<?php echo url("Goods/get_goods_list_ajax"); ?>' , {commonid : _commonid}, function(date){
if (date != 'false') {
var _ul = $('<ul class="dssc-goods-sku-list"></ul>');
var res = eval('(' + date + ')');
for (var i = 0; i < res.length; i++)
{
$('<li><div class="goods-thumb" title="商家货号:' + res[i].goods_serial + '"><a href="' + res[i].url + '" target="_blank"><image src="' + res[i].goods_image + '" ></a></div>' + res[i].goods_spec + '<div class="goods-price">价格:<em title="¥' + res[i].goods_price + '">¥' + res[i].goods_price + '</em></div><div class="goods-storage">库存:<em title="' + res[i].goods_storage + '">' + res[i].goods_storage + '</em></div><a href="' + res[i].url + '" target="_blank" class="dssc-btn-mini">查看商品详情</a></li>').appendTo(_ul);
_ul.appendTo(_div);
_parenttr.next().show();
}
// 计算div的宽度
_div.css('width', document.body.clientWidth-54);
// _div.perfectScrollbar();
}
});
} else {
_parenttr.next().show()
}
}else{
$(this).attr('status', 'open');
$(this).removeClass('icon-jian').addClass('icon-jia');
$(this).parents('tr').next().hide();
}
}
);
});
// 获得选中ID
function getId() {
var str = '';
$('#form_goods').find('input[name="id[]"]:checked').each(function(){
id = parseInt($(this).val());
if (!isNaN(id)) {
str += id + ',';
}
});
if (str == '') {
return false;
}
str = str.substr(0, (str.length - 1));
return str;
}
// 获得选中ID
function getItems() {
/* 获取选中的项 */
var items = '';
$('.checkitem:checked').each(function () {
items += this.value + ',';
});
if (items != '') {
items = items.substr(0, (items.length - 1));
}else{
layer.alert('请勾选选项', {icon: 2})
}
return items;
}
// 商品存入仓库
function goods_lockup(ids_str) {
_uri = ADMINSITEURL+"/Goods/goods_lockup?commonid=" + ids_str;
dsLayerOpen(_uri,'存入仓库理由','400px','200px');
}
// 商品售卖
function goods_reduction(ids_str) {
_uri = ADMINSITEURL+"/Goods/goods_lockup?type=reduction&commonid=" + ids_str;
dsLayerOpen(_uri,'商品售卖理由','400px','200px');
}
</script>

View File

@ -1,115 +0,0 @@
<?php /*a:3:{s:57:"/www/wwwroot/light.haix.cn/app/admin/view/link/index.html";i:1617869024;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_friendlink')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('link_index_title')); ?></dt>
<dd><input type="text" value="<?php echo htmlentities(app('request')->param('link_title')); ?>" name="link_title" class="txt"></dd>
</dl>
<div class="btn_group">
<a href="javascript:document.formSearch.submit();" class="btn" title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<?php if($filtered): ?>
<a href="<?php echo url('Link/index'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
<?php endif; ?>
</div>
</div>
</form>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li>通过合作伙伴管理你可以,编辑、查看、删除合作伙伴信息</li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr>
<th><?php echo htmlentities(lang('ds_sort')); ?></th>
<th><?php echo htmlentities(lang('link_title')); ?></th>
<th><?php echo htmlentities(lang('link_pic')); ?></th>
<th><?php echo htmlentities(lang('link_url')); ?></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($link_list) || (($link_list instanceof \think\Collection || $link_list instanceof \think\Paginator ) && $link_list->isEmpty()))): if(is_array($link_list) || $link_list instanceof \think\Collection || $link_list instanceof \think\Paginator): if( count($link_list)==0 ) : echo "" ;else: foreach($link_list as $key=>$link): ?>
<tr>
<td class="sort"><span class="editable" ds_type="inline_edit" fieldname="link_sort" ajax_branch='link' fieldid="<?php echo htmlentities($link['link_id']); ?>" datatype="pint" maxvalue="255" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($link['link_sort']); ?></span></td>
<td class="name"><span class="editable" ds_type="inline_edit" fieldname="link_title" ajax_branch='link' fieldid="<?php echo htmlentities($link['link_id']); ?>" required="1" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($link['link_title']); ?></span></td>
<td><?php if($link['link_pic']): ?><a data-lightbox="lightbox-image" data-title="<?php echo htmlentities($link['link_title']); ?>" href="<?php echo ds_get_pic('admin/link',$link['link_pic']); ?>"><img src="<?php echo ds_get_pic('admin/link',$link['link_pic']); ?>" onload="javascript:ResizeImage(this,31,31);"></a><?php endif; ?></td>
<td><?php echo htmlentities($link['link_url']); ?></td>
<td>
<a href="javascript:dsLayerOpen('<?php echo url('Link/edit',['link_id'=>$link['link_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($link['link_title']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<a href="javascript:dsLayerConfirm('<?php echo url('Link/drop',['link_id'=>$link['link_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="20"><?php echo htmlentities(lang('no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.lightbox/css/lightbox.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.lightbox/js/lightbox.min.js"></script>
<script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>

View File

@ -1,247 +0,0 @@
<?php /*a:3:{s:65:"/www/wwwroot/lianke.keyutest.com/app/admin/view/article/form.html";i:1649415810;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<style>
.type-file-preview{z-index: 99999}
</style>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_article')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form id="article_form" method="post" enctype="multipart/form-data">
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('article_title')); ?></td>
<td class="vatop rowform"><input type="text" name="article_title" id="article_title" value="<?php echo htmlentities($article['article_title']); ?>" class="w200"/></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required w120">博客简介</td>
<td class="vatop rowform"><input type="text" name="article_desc" id="article_desc" value="<?php echo htmlentities($article['article_desc']); ?>" class="w200"/></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('article_cate')); ?></td>
<td class="vatop rowform">
<select name="ac_id">
<option value=""><?php echo htmlentities(lang('ds_please_choose')); ?></option>
<?php if(is_array($ac_list) || $ac_list instanceof \think\Collection || $ac_list instanceof \think\Paginator): if( count($ac_list)==0 ) : echo "" ;else: foreach($ac_list as $key=>$cate): ?>
<option value="<?php echo htmlentities($cate['ac_id']); ?>" <?php if($cate['ac_id'] === $article['ac_id']): ?>selected<?php endif; ?>><?php if($cate['ac_parent_id'] > 0): ?>&nbsp&nbsp<?php endif; ?><?php echo htmlentities($cate['ac_name']); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('article_url')); ?></td>
<td class="vatop rowform"><input type="text" name="article_url" id="article_url" value="<?php echo htmlentities($article['article_url']); ?>" class="w200"/></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('article_pic')); ?>: </td>
<td class="vatop rowform">
<?php if(!(empty($article['article_pic']) || (($article['article_pic'] instanceof \think\Collection || $article['article_pic'] instanceof \think\Paginator ) && $article['article_pic']->isEmpty()))): ?>
<span class="type-file-show"> <img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview" style="display: none;"><img id="view_img" src="<?php echo ds_get_pic(ATTACH_ARTICLE,$article['article_pic']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='article_pic' id='article_pic' class='type-file-text' />
<input type='button' name='button' id='button' value='上传' class='type-file-button' />
<input name="_pic" type="file" class="type-file-file" id="_pic" size="30" hidefocus="true" />
</span>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('article_add_img_wrong')); ?></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('article_show')); ?></td>
<td class="vatop rowform onoff">
<label for="article_show1" class="cb-enable <?php if($article['article_show'] == '1'): ?>selected<?php endif; ?>" ><span><?php echo htmlentities(lang('ds_yes')); ?></span></label>
<label for="article_show2" class="cb-disable <?php if($article['article_show'] == '0'): ?>selected<?php endif; ?>" ><span><?php echo htmlentities(lang('ds_no')); ?></span></label>
<input id="article_show1" name="article_show" <?php if($article['article_show'] == '1'): ?>checked="checked"<?php endif; ?> value="1" type="radio">
<input id="article_show2" name="article_show" <?php if($article['article_show'] == '0'): ?>checked="checked"<?php endif; ?> value="0" type="radio">
</td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('article_sort')); ?></td>
<td class="vatop rowform"><input type="text" name="article_sort" id="article_sort" value="<?php echo htmlentities($article['article_sort']); ?>" class="w200"/></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('article_content')); ?></td>
<?php echo build_editor(['name'=>'article_content','content'=>htmlspecialchars_decode($article['article_content'])]); ?>
<td class="vatop rowform" colspan="2"><textarea name="article_content" id="article_content" style="width:100%;"></textarea></td>
</tr>
<tr>
<td class="required"><?php echo htmlentities(lang('article_index_pic_upload')); ?>:</td>
<td id="divComUploadContainer"><input type="file" multiple="multiple" id="fileupload" name="fileupload" /></td>
<td class="vatop tips"></td>
<tr class="noborder">
<td class="required w120">添加评论</td>
<td class="vatop rowform"><input type="text" name="article_comment" id="article_comment" class="w200"/>
<span style="color:red;font-size:10px;"> + </span> </td>
<td class="vatop tips"></td>
</tr>
</tr>
<tr>
<td class="required"><?php echo htmlentities(lang('article_index_uploaded_pic')); ?>:</td>
<td><div class="tdare">
<table width="600px" cellspacing="0" class="dataTable">
<tbody id="thumbnails">
<?php if(!(empty($file_upload) || (($file_upload instanceof \think\Collection || $file_upload instanceof \think\Paginator ) && $file_upload->isEmpty()))): if(is_array($file_upload) || $file_upload instanceof \think\Collection || $file_upload instanceof \think\Paginator): if( count($file_upload)==0 ) : echo "" ;else: foreach($file_upload as $key=>$v): ?>
<tr id="<?php echo htmlentities($v['upload_id']); ?>" class="tatr2">
<input type="hidden" name="file_id[]" value="<?php echo htmlentities($v['upload_id']); ?>" />
<td><img width="40px" height="40px" src="<?php echo ds_get_pic(ATTACH_ARTICLE,$v['file_name']); ?>" /></td>
<td><?php echo htmlentities($v['file_name']); ?></td>
<td><a href="javascript:insert_editor('<?php echo ds_get_pic(ATTACH_ARTICLE,$v['file_name']); ?>');"><?php echo htmlentities(lang('article_index_insert')); ?></a> | <a href="javascript:del_file_upload('<?php echo htmlentities($v['upload_id']); ?>');"><?php echo htmlentities(lang('ds_del')); ?></a></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</tbody>
</table>
</div></td>
<td class="vatop tips"></td>
</tr>
</tbody>
<tfoot>
<tr class="tfoot">
<td colspan="15"><input id="submitBtn" class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
</tr>
</tfoot>
</table>
</form>
</div>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-file-upload/jquery.fileupload.js"></script>
<script type="text/javascript">
$(function() {
$("#_pic").change(function () {
$("#article_pic").val($(this).val());
});
$('#article_form').validate({
errorPlacement: function(error, element) {
error.appendTo(element.parent().parent().find('td:last'));
},
rules: {
article_title : {
required: true
},
article_url :{
url : true
},
article_sort :{
number:true,
range:[0,255]
}
},
messages: {
article_title : {
required : '<?php echo htmlentities(lang('article_title_error')); ?>'
},
article_url :{
url : '<?php echo htmlentities(lang('ds_url_error')); ?>'
},
article_sort:{
number: '<?php echo htmlentities(lang('article_sort_error')); ?>',
range:'<?php echo htmlentities(lang('class_sort_explain')); ?>'
}
}
});
// 图片上传
$('#fileupload').each(function(){
$(this).fileupload({
dataType: 'json',
url: "<?php echo url('Article/article_pic_upload',['item_id'=>$article['article_id']]); ?>",
done: function (e,data) {
if(data != 'error'){
add_uploadedfile(data.result);
}
}
});
});
});
function add_uploadedfile(file_data)
{
var newImg = '<tr id="' + file_data.file_id + '" class="tatr2"><input type="hidden" name="file_id[]" value="' + file_data.file_id + '" /><td><img width="40px" height="40px" src="' + file_data.file_path + '" /></td><td>' + file_data.file_name + '</td><td><a href="javascript:insert_editor(\'' + file_data.file_path + '\');"><?php echo htmlentities(lang('article_index_insert')); ?></a> | <a href="javascript:del_file_upload(' + file_data.file_id + ');"><?php echo htmlentities(lang('ds_del')); ?></a></td></tr>';
$('#thumbnails').prepend(newImg);
}
function insert_editor(file_path){
ue.execCommand('insertimage', {src:file_path});
}
function del_file_upload(file_id)
{
layer.confirm('<?php echo htmlentities(lang('ds_ensure_del')); ?>', {
btn: ['确定', '取消'],
title: false,
}, function () {
$.getJSON("<?php echo url('Article/ajax'); ?>",{branch:'del_file_upload',file_id: + file_id}, function(result){
if(result){
$('#' + file_id).remove();
layer.msg('<?php echo htmlentities(lang('ds_common_del_succ')); ?>');
}else{
layer.alert('<?php echo htmlentities(lang('article_index_del_fail')); ?>');
}
});
});
}
</script>

View File

@ -1,197 +0,0 @@
<?php /*a:3:{s:68:"/www/wwwroot/light.haix.cn/app/admin/view/goods/goods_add_step3.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>商品管理</h3>
<h5></h5>
</div>
<?php if(isset($edit_goods_sign)): if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; else: ?>
<ul class="add-goods-step">
<li><i class="iconfont">&#xe600;</i>
<h6>STEP.1</h6>
<h2><?php echo htmlentities(lang('select_category')); ?></h2>
<i class="iconfont">&#xe687;</i> </li>
<li><i class="icon iconfont">&#xe731;</i>
<h6>STEP.2</h6>
<h2><?php echo htmlentities(lang('fill_item_details')); ?></h2>
<i class="iconfont">&#xe687;</i> </li>
<li class="current"><i class="icon iconfont">&#xe6a2;</i>
<h6>STEP.3</h6>
<h2><?php echo htmlentities(lang('goods_index_upload_goods_pic')); ?></h2>
<i class="iconfont">&#xe687;</i> </li>
<li><i class="icon iconfont">&#xe64d;</i>
<h6>STEP.4</h6>
<h2><?php echo htmlentities(lang('goods_index_flow_chart_step3')); ?></h2>
</li>
</ul>
<?php endif; ?>
</div>
</div>
<div class="fixed-empty"></div>
<form method="post" id="goods_image" action="<?php if (isset($edit_goods_sign)) { echo url('Goods/edit_save_image'); } else { echo url('Goodsadd/save_image');}?>">
<input type="hidden" name="commonid" value="<?php echo htmlentities($commonid); ?>">
<?php if(!(empty($value_array) || (($value_array instanceof \think\Collection || $value_array instanceof \think\Paginator ) && $value_array->isEmpty()))): ?>
<div class="dssc-form-goods-pic">
<div class="container">
<?php if(is_array($value_array) || $value_array instanceof \think\Collection || $value_array instanceof \think\Paginator): if( count($value_array)==0 ) : echo "" ;else: foreach($value_array as $key=>$value): ?>
<div class="dssc-goodspic-list">
<div class="title">
<h3><?php echo $spec_value[1][$value['spvalue_id']];?></h3></div>
<ul dstype="ul<?php echo htmlentities($value['spvalue_id']); ?>">
<?php for ($i = 0; $i < 5; $i++) {?>
<li class="dssc-goodspic-upload">
<div class="upload-thumb"><img src="<?php echo goods_cthumb(isset($img[$value['spvalue_id']][$i]['goodsimage_url'])?$img[$value['spvalue_id']][$i]['goodsimage_url']:'', 240);?>" dstype="file_<?php echo $value['spvalue_id'] . $i;?>">
<input type="hidden" name="img[<?php echo $value['spvalue_id'];?>][<?php echo $i;?>][name]" value="<?php if(isset($img[$value['spvalue_id']][$i]['goodsimage_url'])){echo $img[$value['spvalue_id']][$i]['goodsimage_url'];}?>" dstype="file_<?php echo $value['spvalue_id'] . $i;?>">
</div>
<div class="show-default<?php if (isset($img[$value['spvalue_id']][$i]['goodsimage_url']) && $img[$value['spvalue_id']][$i]['goodsimage_isdefault'] == 1) {echo ' selected';}?>" dstype="file_<?php echo $value['spvalue_id'] . $i;?>">
<p><i class="iconfont">&#xe64d;</i><?php echo htmlentities(lang('default_main_map')); ?>
<input type="hidden" name="img[<?php echo $value['spvalue_id'];?>][<?php echo $i;?>][default]" value="<?php if ( isset($img[$value['spvalue_id']][$i]['goodsimage_url']) && $img[$value['spvalue_id']][$i]['goodsimage_isdefault'] == 1) {echo '1';}else{echo '0';}?>">
</p><a href="javascript:void(0)" dstype="del" class="del" title="<?php echo htmlentities(lang('remove')); ?>">X</a>
</div>
<div class="show-sort"><?php echo htmlentities(lang('ds_sort')); ?>
<input name="img[<?php echo $value['spvalue_id'];?>][<?php echo $i;?>][sort]" type="text" class="text" value="<?php if(isset($img[$value['spvalue_id']][$i]['goodsimage_url'])){echo intval($img[$value['spvalue_id']][$i]['goodsimage_sort']);}?>" size="1" maxlength="1">
</div>
<div class="dssc-upload-btn"><a href="javascript:void(0);"><span><input type="file" hidefocus="true" size="1" class="input-file" name="file_<?php echo $value['spvalue_id'] . $i;?>" id="file_<?php echo $value['spvalue_id'] . $i;?>"></span><p><i class="iconfont">&#xe733;</i><?php echo htmlentities(lang('ds_common_button_upload')); ?></p>
</a>
</div>
</li>
<?php }?>
</ul>
<div class="dssc-select-album">
<a class="dssc-btn" href="<?php echo url('Goodsalbum/pic_list',['item'=>'goods_image','color_id'=>$value['spvalue_id']]); ?>" dstype="select-<?php echo htmlentities($value['spvalue_id']); ?>"><i class="iconfont">&#xe72a;</i><?php echo htmlentities(lang('image_space_selection')); ?></a>
<a href="javascript:void(0);" dstype="close_album" class="dssc-btn ml5" style="display: none;"><i class="iconfont">&#xe67a;</i><?php echo htmlentities(lang('close_album')); ?></a>
</div>
<div dstype="album-<?php echo htmlentities($value['spvalue_id']); ?>"></div>
</div>
<?php endforeach; endif; else: echo "" ;endif; ?>
</div>
<div class="sidebar"><div class="alert alert-info alert-block" id="uploadHelp">
<div class="faq-img"></div>
<h4><?php echo htmlentities(lang('upload_request')); ?></h4><ul>
<li><?php echo htmlentities(lang('upload_information1')); ?><?php echo intval(config('ds_config.image_max_filesize'))/1024;?><?php echo htmlentities(lang('upload_information2')); ?></li>
<li><?php echo htmlentities(lang('upload_information3')); ?></li>
<li><?php echo htmlentities(lang('upload_information4')); ?></li>
<li><?php echo htmlentities(lang('upload_information5')); ?></li>
<li><?php echo htmlentities(lang('upload_information6')); ?></li>
<li><?php echo htmlentities(lang('upload_information7')); ?></li>
</ul><h4><?php echo htmlentities(lang('advice')); ?></h4><ul><li><?php echo htmlentities(lang('upload_advice1')); ?></li><li><?php echo htmlentities(lang('upload_advice2')); ?></li></ul></div></div>
</div>
<?php endif; ?>
<div class="bottom tc hr32"><input type="submit" class="btn" value="<?php if (isset($edit_goods_sign)) { echo lang('ds_submit'); } else { ?><?php echo htmlentities(lang('goods_add_next')); ?><?php echo htmlentities(lang('confirm_product_release')); }?>" /></div>
</form>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/ajaxfileupload.js" charset="utf-8"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.ajaxContent.pack.js" type="text/javascript"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/goods_add_step3.js"></script>
<script>
var DEFAULT_GOODS_IMAGE = "<?php echo goods_cthumb(''); ?>";
$(function(){
<?php if (isset($edit_goods_sign)) {?>
$(function(){
$('#goods_image').validate({
submitHandler:function(form){
ds_ajaxpost('goods_image','default');
},
rules : {
},
messages : {
}
});
});
<?php }?>
/* ajax 打开图片空间 */
<?php foreach ($value_array as $value) {?>
$('a[dstype="select-<?php echo htmlentities($value['spvalue_id']); ?>"]').ajaxContent({
event:'click', //mouseover
loaderType:"img",
loadingMsg:ADMINSITEURL+'/images/loading.gif',
target:'div[dstype="album-<?php echo htmlentities($value['spvalue_id']); ?>"]'
}).click(function(){
$(this).hide();
$(this).next().show();
});
<?php }?>
});
</script>
</div>

View File

@ -1,393 +0,0 @@
<?php /*a:3:{s:64:"/www/wwwroot/light.haix.cn/app/admin/view/dashboard/welcome.html";i:1643981916;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page welcome">
<!--
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_welcome')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
-->
<ul class="info-message">
<?php if($version_message): ?>
<li><?php echo htmlentities($version_message); ?></li>
<?php endif; ?>
</ul>
<div class="title">基本信息</div>
<div class="info-total">
<ul>
<li>
<a href="<?php echo url('Member/member'); ?>">
<div class="p_header bg-79BAD0">
<i class="iconfont">&#xe667;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_member_des')); ?></div>
<div class="p_num" id="statistics_member">0</div>
</div>
</a>
</li>
<li>
<a href="<?php echo url('Goods/index'); ?>">
<div class="p_header bg-86CE86">
<i class="iconfont">&#xe732;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_total_goods')); ?></div>
<div class="p_num" id="statistics_goods">0</div>
</div>
</a>
</li>
<li>
<a href="<?php echo url('Order/index'); ?>">
<div class="p_header bg-E9BB5F">
<i class="iconfont">&#xe69c;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_trade_des')); ?></div>
<div class="p_num" id="statistics_order">0</div>
</div>
</a>
</li>
<!-- <li>
<a href="<?php echo url('Operation/setting'); ?>">
<div class="p_header bg-6CCDA5">
<i class="iconfont">&#xe704;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_stat_des')); ?></div>
</div>
</a>
</li>-->
</ul>
</div>
<div class="title">一周概况</div>
<div class="info-chart">
<div class="week">
<ul class="tab">
<li class="active">会员增长</li>
<li>课程增长</li>
<li>订单增长</li>
</ul>
<div class="tab-content">
<div class="content show">
<div id="stat_json_week_member" class="w100pre close_float" style="height:300px"></div>
</div>
<div class="content">
<div id="stat_json_week_goods" class="w100pre close_float" style="height:300px"></div>
</div>
<div class="content">
<div id="stat_json_week_order" class="w100pre close_float" style="height:300px"></div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
$(".info-chart .week li").each(function (index) {
$(this).click(function () {
$("li.active").removeClass("active"); //注意这里
$(this).addClass("active"); //注意这里
$(".tab-content>div.show").removeClass("show");
$(".tab-content>div").eq(index).addClass("show");
});
})
});
</script>
<!-- <div class="title">待处理事项</div>
<div class="info-statistical clearfix">
&lt;!&ndash;会员&ndash;&gt;
<div class="info-panel">
<div class="mt">会员</div>
<div class="mc">
<ul>
<li class="none">
<a href="<?php echo url('Member/member'); ?>">
<div class="p_header bg-79BAD0">
<i class="iconfont">&#xe667;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_new_add')); ?></div>
<div class="p_num" id="statistics_week_add_member">0</div>
</div>
</a>
</li>
<li class="none">
<a href="<?php echo url('Predeposit/pdcash_list'); ?>">
<div class="p_header bg-EC7E7F">
<i class="iconfont">&#xe6f3;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_predeposit_get')); ?></div>
<div class="p_num" id="statistics_cashlist">0</div>
</div>
</a>
</li>
</ul>
</div>
</div>
&lt;!&ndash;商品&ndash;&gt;
<div class="info-panel">
<div class="mt">商品</div>
<div class="mc">
<ul>
<li class="none">
<a href="<?php echo url('Goods/index'); ?>">
<div class="p_header bg-E9BB5F">
<i class="iconfont">&#xe732;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_new_add')); ?></div>
<div class="p_num" id="statistics_week_add_product">0</div>
</div>
</a>
</li>
<li class="none">
<a href="<?php echo url('Inform/inform_list'); ?>">
<div class="p_header bg-EC7E7F">
<i class="iconfont">&#xe747;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_inform')); ?></div>
<div class="p_num" id="statistics_inform_list">0</div>
</div>
</a>
</li>
</ul>
</div>
</div>
&lt;!&ndash;交易&ndash;&gt;
<div class="info-panel">
<div class="mt">交易</div>
<div class="mc">
<ul>
<li class="none">
<a href="<?php echo url('Refund/refund_manage'); ?>">
<div class="p_header bg-86CE86">
<i class="iconfont">&#xe6f3;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('order_refund')); ?></div>
<div class="p_num" id="statistics_refund">0</div>
</div>
</a>
</li>
<li class="none">
<a href="<?php echo url('Returnmanage/return_manage'); ?>">
<div class="p_header bg-EC7E7F">
<i class="iconfont">&#xe6f3;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('order_return')); ?></div>
<div class="p_num" id="statistics_return">0</div>
</div>
</a>
</li>
<li class="none">
<a href="<?php echo url('Vrrefund/refund_manage'); ?>">
<div class="p_header bg-86CE86">
<i class="iconfont">&#xe71f;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('ds_vrrefund')); ?></div>
<div class="p_num" id="statistics_vr_refund">0</div>
</div>
</a>
</li>
</ul>
</div>
</div>
&lt;!&ndash;营销&ndash;&gt;
<div class="info-panel">
<div class="mt">营销</div>
<div class="mc">
<ul>
<li class="none">
<a href="<?php echo url('Groupbuy/index'); ?>">
<div class="p_header bg-E9BB5F">
<i class="iconfont">&#xe732;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_groupbuy')); ?></div>
<div class="p_num" id="dashboard_wel_groupbuy">0</div>
</div>
</a>
</li>
<li class="none">
<a href="<?php echo url('Pointorder/pointorder_list',['porderstate'=>'waitship']); ?>">
<div class="p_header bg-6CCDA5">
<i class="iconfont">&#xe6b7;</i>
</div>
<div class="p_content">
<div class="p_text"><?php echo htmlentities(lang('dashboard_wel_point_order')); ?></div>
<div class="p_num" id="dashboard_wel_point_order">0</div>
</div>
</a>
</li>
</ul>
</div>
</div>
</div>-->
<div class="title"><?php echo htmlentities(lang('dashboard_wel_version_info')); ?></div>
<div class="info-system">
<table cellpadding="0" cellspacing="0" class="system_table">
<tbody><tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_version')); ?></td>
<td>V1.1.0</td>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_install_date')); ?></td>
<td><?php echo htmlentities($statistics['setup_date']); ?></td>
</tr>
<tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_program_development')); ?></td>
<td><?php echo htmlentities(lang('dashboard_wel_deshangwangluo')); ?></td>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_all_right_reserved')); ?></td>
<td><?php echo htmlentities(lang('dashboard_wel_piracy_must_be_studied')); ?></td>
</tr>
<tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_aboutus_website')); ?>:</td>
<td><a href="http://www.o1h.cn" target="_blank"><?php echo htmlentities(lang('dashboard_aboutus_website')); ?></a></td>
<td class="gray_bg">联系电话:</td>
<td><div style="color:red;">400-666-9736</div></td>
</tr>
</tbody>
</table>
</div>
<div class="title"><?php echo htmlentities(lang('dashboard_wel_sys_info')); ?></div>
<div class="info-system">
<div class="mc">
<table cellpadding="0" cellspacing="0" class="system_table">
<tbody>
<tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_thinkphp_version')); ?></td>
<td><?php echo htmlentities($statistics['tp_version']); ?></td>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_class_library_file_suffix')); ?></td>
<td>.php</td>
</tr>
<tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_server_os')); ?></td>
<td><?php echo htmlentities($statistics['os']); ?></td>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_server_domain_ip')); ?>:</td>
<td><?php echo htmlentities($statistics['domain']); ?> [ <?php echo htmlentities($statistics['ip']); ?> ]</td>
</tr>
<tr>
<td class="gray_bg">WEB <?php echo htmlentities(lang('dashboard_wel_server')); ?></td>
<td><?php echo htmlentities($statistics['web_server']); ?></td>
<td class="gray_bg">PHP <?php echo htmlentities(lang('dashboard_wel_version')); ?></td>
<td><?php echo htmlentities($statistics['php_version']); ?></td>
</tr>
<tr>
<td class="gray_bg">MYSQL <?php echo htmlentities(lang('dashboard_wel_version')); ?></td>
<td><?php echo htmlentities($statistics['sql_version']); ?></td>
<td class="gray_bg">GD <?php echo htmlentities(lang('dashboard_wel_version')); ?>:</td>
<td><?php echo htmlentities($statistics['gdinfo']); ?></td>
</tr>
<tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_file_uplode_limit')); ?>:</td>
<td><?php echo htmlentities($statistics['fileupload']); ?></td>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_max_occupied_memory')); ?>:</td>
<td><?php echo htmlentities($statistics['memory_limit']); ?></td>
</tr>
<tr>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_max_ex_time')); ?>:</td>
<td><?php echo htmlentities($statistics['max_ex_time']); ?></td>
<td class="gray_bg"><?php echo htmlentities(lang('dashboard_wel_safe_mode')); ?>:</td>
<td><?php echo htmlentities($statistics['safe_mode']); ?></td>
</tr>
<tr>
<td class="gray_bg">Zlib<?php echo htmlentities(lang('dashboard_wel_support')); ?>:</td>
<td><?php echo htmlentities($statistics['zlib']); ?></td>
<td class="gray_bg">Curl<?php echo htmlentities(lang('dashboard_wel_support')); ?>:</td>
<td><?php echo htmlentities($statistics['curl']); ?></td>
</tr>
</tbody>
</table>
</div>
</div>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/highcharts/highcharts.js"></script>
<script type="text/javascript">
var normal = ['week_add_member', 'week_add_product'];
var work = ['cashlist', 'groupbuy_verify_list', 'points_order', 'product_verify', 'inform_list', 'refund', 'return', 'vr_refund', 'cms_article_verify', 'cms_picture_verify', 'circle_verify', 'check_billno', 'pay_billno', 'mall_consult', 'delivery_point', 'offline'];
$(document).ready(function () {
$.getJSON("<?php echo url('Dashboard/statistics'); ?>", function (data) {
$.each(data, function (k, v) {
$("#statistics_" + k).html(v);
if (v != 0 && $.inArray(k, work) !== -1) {
$("#statistics_" + k).parent().parent().parent().removeClass('none').addClass('high');
} else if (v == 0 && $.inArray(k, normal) !== -1) {
$("#statistics_" + k).parent().parent().parent().removeClass('normal').addClass('none');
}
});
});
});
$('#stat_json_week_member').highcharts(<?php echo $stat_json_week_member; ?>);
$('#stat_json_week_goods').highcharts(<?php echo $stat_json_week_goods; ?>);
$('#stat_json_week_order').highcharts(<?php echo $stat_json_week_order; ?>);
</script>
</div>

View File

@ -1,163 +0,0 @@
<?php /*a:3:{s:70:"/www/wwwroot/lianke.keyutest.com/app/admin/view/order/receive_pay.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('order_manage')); ?></h3>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="post" name="form1" id="form1" action="">
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td colspan="2" class="required"><label for="order_sn">订单编号</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><?php echo htmlentities($order_info['order_sn']); ?></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td colspan="2" class="required"><label for="pay_sn">支付单号</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><?php echo htmlentities($order_info['pay_sn']); ?></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td colspan="2" class="required"><label for="order_amount">订单总金额 </label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><?php echo htmlentities($order_info['order_amount']); ?></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td colspan="2" class="required"><label for="payment_time">付款时间</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input readonly id="payment_time" class="" name="payment_time" value="" type="text" /></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td colspan="2" class="required"><label for="payment_code">付款方式 </label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<select name="payment_code" class="querySelect">
<option value=""><?php echo htmlentities(lang('ds_please_choose')); ?></option>
<?php if(is_array($payment_list) || $payment_list instanceof \think\Collection || $payment_list instanceof \think\Paginator): if( count($payment_list)==0 ) : echo "" ;else: foreach($payment_list as $key=>$val): ?>
<option value="<?php echo htmlentities($val['payment_code']); ?>"><?php echo htmlentities($val['payment_name']); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</td>
<td class="vatop tips"></td>
</tr>
<tr>
<td colspan="2" class="required"><label for="trade_no">第三方支付平台交易号</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" class="txt2" name="trade_no" id="trade_no" maxlength="40"></td>
<td class="vatop tips"><span class="vatop rowform">支付宝等第三方支付平台交易号</span></td>
</tr>
</tbody>
<tfoot id="submit-holder">
<tr class="tfoot">
<td colspan="2" ><a href="javascript:void(0)" id="dssubmit" class="btn"><?php echo htmlentities(lang('ds_submit')); ?></a></td>
</tr>
</tfoot>
</table>
</form>
</div>
<script type="text/javascript">
$(function(){
$('#payment_time').datepicker({dateFormat: "yy-mm-dd",maxDate: "<?php echo htmlentities(date('Y-m-d',!is_numeric(TIMESTAMP)? strtotime(TIMESTAMP) : TIMESTAMP)); ?>"});
$('#dssubmit').click(function(){
if($("#form1").valid()){
layer.confirm("操作提醒:\n该操作不可撤销\n提交前请务必确认是否已收到付款\n继续操作吗?", {
btn: ['确定', '取消'],
title: false,
}, function () {
$('#form1').submit();
});
}
});
$("#form1").validate({
errorPlacement: function(error, element){
error.appendTo(element.parent().parent().prev().find('td:first'));
},
rules : {
payment_time : {
required : true
},
payment_code : {
required : true
},
trade_no :{
required : true
}
},
messages : {
payment_time : {
required : '请填写付款准确时间'
},
payment_code : {
required : '请选择付款方式'
},
trade_no : {
required : '请填写第三方支付平台交易号'
}
}
});
});
</script>

View File

@ -1,247 +0,0 @@
<?php /*a:3:{s:59:"/www/wwwroot/light.haix.cn/app/admin/view/article/form.html";i:1649415810;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<style>
.type-file-preview{z-index: 99999}
</style>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_article')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form id="article_form" method="post" enctype="multipart/form-data">
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('article_title')); ?></td>
<td class="vatop rowform"><input type="text" name="article_title" id="article_title" value="<?php echo htmlentities($article['article_title']); ?>" class="w200"/></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required w120">博客简介</td>
<td class="vatop rowform"><input type="text" name="article_desc" id="article_desc" value="<?php echo htmlentities($article['article_desc']); ?>" class="w200"/></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('article_cate')); ?></td>
<td class="vatop rowform">
<select name="ac_id">
<option value=""><?php echo htmlentities(lang('ds_please_choose')); ?></option>
<?php if(is_array($ac_list) || $ac_list instanceof \think\Collection || $ac_list instanceof \think\Paginator): if( count($ac_list)==0 ) : echo "" ;else: foreach($ac_list as $key=>$cate): ?>
<option value="<?php echo htmlentities($cate['ac_id']); ?>" <?php if($cate['ac_id'] === $article['ac_id']): ?>selected<?php endif; ?>><?php if($cate['ac_parent_id'] > 0): ?>&nbsp&nbsp<?php endif; ?><?php echo htmlentities($cate['ac_name']); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('article_url')); ?></td>
<td class="vatop rowform"><input type="text" name="article_url" id="article_url" value="<?php echo htmlentities($article['article_url']); ?>" class="w200"/></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('article_pic')); ?>: </td>
<td class="vatop rowform">
<?php if(!(empty($article['article_pic']) || (($article['article_pic'] instanceof \think\Collection || $article['article_pic'] instanceof \think\Paginator ) && $article['article_pic']->isEmpty()))): ?>
<span class="type-file-show"> <img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview" style="display: none;"><img id="view_img" src="<?php echo ds_get_pic(ATTACH_ARTICLE,$article['article_pic']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='article_pic' id='article_pic' class='type-file-text' />
<input type='button' name='button' id='button' value='上传' class='type-file-button' />
<input name="_pic" type="file" class="type-file-file" id="_pic" size="30" hidefocus="true" />
</span>
</td>
<td class="vatop tips"><?php echo htmlentities(lang('article_add_img_wrong')); ?></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('article_show')); ?></td>
<td class="vatop rowform onoff">
<label for="article_show1" class="cb-enable <?php if($article['article_show'] == '1'): ?>selected<?php endif; ?>" ><span><?php echo htmlentities(lang('ds_yes')); ?></span></label>
<label for="article_show2" class="cb-disable <?php if($article['article_show'] == '0'): ?>selected<?php endif; ?>" ><span><?php echo htmlentities(lang('ds_no')); ?></span></label>
<input id="article_show1" name="article_show" <?php if($article['article_show'] == '1'): ?>checked="checked"<?php endif; ?> value="1" type="radio">
<input id="article_show2" name="article_show" <?php if($article['article_show'] == '0'): ?>checked="checked"<?php endif; ?> value="0" type="radio">
</td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('article_sort')); ?></td>
<td class="vatop rowform"><input type="text" name="article_sort" id="article_sort" value="<?php echo htmlentities($article['article_sort']); ?>" class="w200"/></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><?php echo htmlentities(lang('article_content')); ?></td>
<?php echo build_editor(['name'=>'article_content','content'=>htmlspecialchars_decode($article['article_content'])]); ?>
<td class="vatop rowform" colspan="2"><textarea name="article_content" id="article_content" style="width:100%;"></textarea></td>
</tr>
<tr>
<td class="required"><?php echo htmlentities(lang('article_index_pic_upload')); ?>:</td>
<td id="divComUploadContainer"><input type="file" multiple="multiple" id="fileupload" name="fileupload" /></td>
<td class="vatop tips"></td>
<tr class="noborder">
<td class="required w120">添加评论</td>
<td class="vatop rowform"><input type="text" name="article_comment" id="article_comment" class="w200"/>
<span style="color:red;font-size:10px;"> + </span> </td>
<td class="vatop tips"></td>
</tr>
</tr>
<tr>
<td class="required"><?php echo htmlentities(lang('article_index_uploaded_pic')); ?>:</td>
<td><div class="tdare">
<table width="600px" cellspacing="0" class="dataTable">
<tbody id="thumbnails">
<?php if(!(empty($file_upload) || (($file_upload instanceof \think\Collection || $file_upload instanceof \think\Paginator ) && $file_upload->isEmpty()))): if(is_array($file_upload) || $file_upload instanceof \think\Collection || $file_upload instanceof \think\Paginator): if( count($file_upload)==0 ) : echo "" ;else: foreach($file_upload as $key=>$v): ?>
<tr id="<?php echo htmlentities($v['upload_id']); ?>" class="tatr2">
<input type="hidden" name="file_id[]" value="<?php echo htmlentities($v['upload_id']); ?>" />
<td><img width="40px" height="40px" src="<?php echo ds_get_pic(ATTACH_ARTICLE,$v['file_name']); ?>" /></td>
<td><?php echo htmlentities($v['file_name']); ?></td>
<td><a href="javascript:insert_editor('<?php echo ds_get_pic(ATTACH_ARTICLE,$v['file_name']); ?>');"><?php echo htmlentities(lang('article_index_insert')); ?></a> | <a href="javascript:del_file_upload('<?php echo htmlentities($v['upload_id']); ?>');"><?php echo htmlentities(lang('ds_del')); ?></a></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</tbody>
</table>
</div></td>
<td class="vatop tips"></td>
</tr>
</tbody>
<tfoot>
<tr class="tfoot">
<td colspan="15"><input id="submitBtn" class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
</tr>
</tfoot>
</table>
</form>
</div>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-file-upload/jquery.fileupload.js"></script>
<script type="text/javascript">
$(function() {
$("#_pic").change(function () {
$("#article_pic").val($(this).val());
});
$('#article_form').validate({
errorPlacement: function(error, element) {
error.appendTo(element.parent().parent().find('td:last'));
},
rules: {
article_title : {
required: true
},
article_url :{
url : true
},
article_sort :{
number:true,
range:[0,255]
}
},
messages: {
article_title : {
required : '<?php echo htmlentities(lang('article_title_error')); ?>'
},
article_url :{
url : '<?php echo htmlentities(lang('ds_url_error')); ?>'
},
article_sort:{
number: '<?php echo htmlentities(lang('article_sort_error')); ?>',
range:'<?php echo htmlentities(lang('class_sort_explain')); ?>'
}
}
});
// 图片上传
$('#fileupload').each(function(){
$(this).fileupload({
dataType: 'json',
url: "<?php echo url('Article/article_pic_upload',['item_id'=>$article['article_id']]); ?>",
done: function (e,data) {
if(data != 'error'){
add_uploadedfile(data.result);
}
}
});
});
});
function add_uploadedfile(file_data)
{
var newImg = '<tr id="' + file_data.file_id + '" class="tatr2"><input type="hidden" name="file_id[]" value="' + file_data.file_id + '" /><td><img width="40px" height="40px" src="' + file_data.file_path + '" /></td><td>' + file_data.file_name + '</td><td><a href="javascript:insert_editor(\'' + file_data.file_path + '\');"><?php echo htmlentities(lang('article_index_insert')); ?></a> | <a href="javascript:del_file_upload(' + file_data.file_id + ');"><?php echo htmlentities(lang('ds_del')); ?></a></td></tr>';
$('#thumbnails').prepend(newImg);
}
function insert_editor(file_path){
ue.execCommand('insertimage', {src:file_path});
}
function del_file_upload(file_id)
{
layer.confirm('<?php echo htmlentities(lang('ds_ensure_del')); ?>', {
btn: ['确定', '取消'],
title: false,
}, function () {
$.getJSON("<?php echo url('Article/ajax'); ?>",{branch:'del_file_upload',file_id: + file_id}, function(result){
if(result){
$('#' + file_id).remove();
layer.msg('<?php echo htmlentities(lang('ds_common_del_succ')); ?>');
}else{
layer.alert('<?php echo htmlentities(lang('article_index_del_fail')); ?>');
}
});
});
}
</script>

View File

@ -1,102 +0,0 @@
<?php /*a:3:{s:64:"/www/wwwroot/www.lightcourse.com/app/admin/view/login/index.html";i:1643979128;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/header.html";i:1643980182;s:66:"/www/wwwroot/www.lightcourse.com/app/admin/view/public/footer.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<style>
body{background-image:url(<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/wallpage/bg_<?php echo rand(1,8); ?>.jpg););background-size: cover;}
</style>
<div class="login">
<div class="login_body">
<div class="login_header">
<h1 style="margin-bottom: 25px;margin-left: 75px;">联课教育商城后台</h1>
<!--<img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/logo.png"/>-->
</div>
<div class="login_content">
<form method="post" id="login_form">
<div class="form-group">
<input type="text" name="admin_name" placeholder="用户名" required class="text">
</div>
<div class="form-group">
<input type="password" name="admin_password" autocomplete="new-password" placeholder="密码" required class="text">
</div>
<div class="form-group">
<input type="text" name="captcha" placeholder="验证码" required class="text" style="width:60%;float:left;">
<img src="<?php echo url('Login/makecode'); ?>" style="width:30%;height:38px;" id="change_captcha"/>
</div>
<div class="form-group">
<input type="button" class="btn" id="login_btn" value="登录" style="width:100%"/>
</div>
</form>
</div>
</div>
</div>
<script>
$(document).keyup(function (event) {
if (event.keyCode == 13) {
login_form();
}
});
$('#login_btn').on('click', function () {
login_form();
});
function login_form()
{
var _form = $('#login_form');
$.ajax({
type: "POST",
url: "<?php echo url('Login/index'); ?>",
data: _form.serialize(),
dataType: 'json',
success: function (res) {
layer.msg(res.message, {time: 1500}, function () {
if (res.code == 10000) {
location.href = "<?php echo url('Index/index'); ?>";
} else {
$('#change_captcha').attr('src', '<?php echo url("Login/makecode"); ?>?' + (new Date().getTime()));
}
});
}
});
}
$('#change_captcha').click(function () {
$(this).attr('src', '<?php echo url("Login/makecode"); ?>?' + (new Date().getTime()));
});
</script>

View File

@ -1,132 +0,0 @@
<?php /*a:3:{s:69:"/www/wwwroot/light.haix.cn/app/admin/view/goodsclass/goods_class.html";i:1643894516;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('goods_class_index_class')); ?></h3>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('goods_class_index_help1')); ?></li>
<li><?php echo htmlentities(lang('goods_class_index_help2')); ?></li>
<li><?php echo lang('goods_class_index_help3'); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th></th>
<th><?php echo htmlentities(lang('ds_sort')); ?></th>
<th><?php echo htmlentities(lang('goods_class_index_name')); ?></th>
<th><?php echo htmlentities(lang('type')); ?></th>
<th></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): if(is_array($class_list) || $class_list instanceof \think\Collection || $class_list instanceof \think\Paginator): if( count($class_list)==0 ) : echo "" ;else: foreach($class_list as $k=>$v): ?>
<tr class="hover edit">
<td class="w48"><input type="checkbox" name="check_gc_id[]" value="<?php echo htmlentities($v['gc_id']); ?>" class="checkitem">
<?php if(isset($v['have_child']) && $v['have_child'] == '1'): ?>
<img fieldid="<?php echo htmlentities($v['gc_id']); ?>" status="open" ds_type="flex" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/tv-expandable.gif">
<?php else: ?>
<img fieldid="<?php echo htmlentities($v['gc_id']); ?>" status="close" ds_type="flex" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/tv-item.gif">
<?php endif; ?>
</td>
<td class="w48 sort"><span title="<?php echo htmlentities(lang('ds_editable')); ?>" ajax_branch="goods_class_sort" datatype="number" fieldid="<?php echo htmlentities($v['gc_id']); ?>" fieldname="gc_sort" ds_type="inline_edit" class="editable "><?php echo htmlentities($v['gc_sort']); ?></span></td>
<td class="w50pre name">
<span title="<?php echo htmlentities(lang('ds_editable')); ?>" required="1" fieldid="<?php echo htmlentities($v['gc_id']); ?>" ajax_branch="goods_class_name" fieldname="gc_name" ds_type="inline_edit" class="editable "><?php echo htmlentities($v['gc_name']); ?></span>
<a class="btn-add-nofloat marginleft" href="<?php echo url('Goodsclass/goods_class_add',['gc_parent_id'=>$v['gc_id']]); ?>"><span><?php echo htmlentities(lang('ds_add_sub_class')); ?></span></a>
</td>
<td><?php echo htmlentities($v['type_name']); ?></td>
<td><?php if($v['gc_virtual'] == 1): ?>虚拟<?php endif; ?></td>
<td class="w120">
<a href="<?php echo url('Goodsclass/nav_edit',['gc_id'=>$v['gc_id']]); ?>"><?php echo htmlentities(lang('ds_set')); ?></a> |
<a href="<?php echo url('Goodsclass/goods_class_edit',['gc_id'=>$v['gc_id']]); ?>"><?php echo htmlentities(lang('ds_edit')); ?></a> |
<a href="javascript:void(0)" onclick="submit_delete(<?php echo htmlentities($v['gc_id']); ?>)"><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): ?>
<tfoot>
<tr class="tfoot">
<td><input type="checkbox" class="checkall" id="checkall_2"></td>
<td id="batchAction" colspan="15"><span class="all_checkbox">
<label for="checkall_2"><?php echo htmlentities(lang('ds_select_all')); ?></label>
</span>&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('ds_del')); ?></span></a>
</td>
</tr>
</tfoot>
<?php endif; ?>
</table>
</div>
<script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.goods_class.js"></script>
<script type="text/javascript">
function submit_delete(ids_str){
_uri = ADMINSITEURL+"/Goodsclass/goods_class_del.html?gc_id=" + ids_str;
dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
}
</script>

View File

@ -1,87 +0,0 @@
<?php /*a:3:{s:69:"/www/wwwroot/light.haix.cn/app/admin/view/message/email_tpl_edit.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>邮箱短信</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="post" >
<input type="hidden" name="code" value="<?php echo htmlentities($templates_array['mailmt_code']); ?>" />
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('ds_current_edit')); ?></td>
<td><?php echo $templates_array['mailmt_name']; ?></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('mailtemplates_edit_title')); ?></td>
<td class="vatop rowform"><input type="text" value="<?php echo htmlentities($templates_array['mailmt_title']); ?>" name="title" id="title" class="txt"></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('mailtemplates_edit_content')); ?></td>
<td><textarea style="width: 300px; height: 100px" name="content" id="content" ><?php echo htmlentities($templates_array['mailmt_content']); ?></textarea></td>
</tr>
</tbody>
<tfoot>
<tr class="tfoot">
<td></td>
<td colspan="15"><input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
</tr>
</tfoot>
</table>
</form>
</div>

View File

@ -1,102 +0,0 @@
<?php /*a:3:{s:64:"/www/wwwroot/lianke.keyutest.com/app/admin/view/login/index.html";i:1643979128;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/footer.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<style>
body{background-image:url(<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/wallpage/bg_<?php echo rand(1,8); ?>.jpg););background-size: cover;}
</style>
<div class="login">
<div class="login_body">
<div class="login_header">
<h1 style="margin-bottom: 25px;margin-left: 75px;">联课教育商城后台</h1>
<!--<img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/logo.png"/>-->
</div>
<div class="login_content">
<form method="post" id="login_form">
<div class="form-group">
<input type="text" name="admin_name" placeholder="用户名" required class="text">
</div>
<div class="form-group">
<input type="password" name="admin_password" autocomplete="new-password" placeholder="密码" required class="text">
</div>
<div class="form-group">
<input type="text" name="captcha" placeholder="验证码" required class="text" style="width:60%;float:left;">
<img src="<?php echo url('Login/makecode'); ?>" style="width:30%;height:38px;" id="change_captcha"/>
</div>
<div class="form-group">
<input type="button" class="btn" id="login_btn" value="登录" style="width:100%"/>
</div>
</form>
</div>
</div>
</div>
<script>
$(document).keyup(function (event) {
if (event.keyCode == 13) {
login_form();
}
});
$('#login_btn').on('click', function () {
login_form();
});
function login_form()
{
var _form = $('#login_form');
$.ajax({
type: "POST",
url: "<?php echo url('Login/index'); ?>",
data: _form.serialize(),
dataType: 'json',
success: function (res) {
layer.msg(res.message, {time: 1500}, function () {
if (res.code == 10000) {
location.href = "<?php echo url('Index/index'); ?>";
} else {
$('#change_captcha').attr('src', '<?php echo url("Login/makecode"); ?>?' + (new Date().getTime()));
}
});
}
});
}
$('#change_captcha').click(function () {
$(this).attr('src', '<?php echo url("Login/makecode"); ?>?' + (new Date().getTime()));
});
</script>

View File

@ -1,45 +0,0 @@
<?php /*a:1:{s:67:"/www/wwwroot/light.haix.cn/app/admin/view/public/dispatch_jump.html";i:1594017460;}*/ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>跳转提示</title>
<style type="text/css">
*{ padding: 0; margin: 0; }
body{ background: #fff; font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif; color: #333; font-size: 12px; }
.system-message{margin:auto;width:400px;border-radius:5px;border:1px solid #D4D4D4;margin-top:100px;}
.system-message h1{font-weight: normal; line-height:32px;height:32px;font-size:16px;background:#FF9933;color:#fff;padding:5px 0;}
.system-message h1 img{float:left;margin:0 10px;}
.system-message .success,.system-message .error{ line-height:32px; font-size:20px;text-align:center;margin:10px 20px;}
.system-message .detail{ font-size: 12px; line-height: 20px; margin-top: 12px; display: none; }
.system-message .jump{ padding:15px 0; text-align:center;background:#F9F9F9;font-size:13px;}
.system-message .jump a{ color: #333; }
</style>
</head>
<body>
<div class="system-message">
<?php switch ($code) {case 1:?>
<h1><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/dispatch_jump_success.png"/>操作成功!</h1>
<p class="success"><?php echo(strip_tags($msg));?></p>
<?php break;case 0:?>
<h1><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/dispatch_jump_error.png"/>有错误发生!</h1>
<p class="error"><?php echo(strip_tags($msg));?></p>
<?php break;} ?>
<p class="detail"></p>
<p class="jump">页面自动 <a id="href" href="<?php echo htmlentities($url); ?>">跳转</a> 等待时间: <b id="wait"><?php echo htmlentities($wait); ?></b></p>
</div>
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),
href = document.getElementById('href').href;
var interval = setInterval(function(){
var time = --wait.innerHTML;
if(time <= 0) {
location.href = href;
clearInterval(interval);
};
}, 1000);
})();
</script>
</body>
</html>

View File

@ -1,121 +0,0 @@
<?php /*a:3:{s:57:"/www/wwwroot/light.haix.cn/app/admin/view/spec/index.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>规格管理</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('spec_index_tip1')); ?></li>
<li><?php echo htmlentities(lang('spec_index_tip2')); ?></li>
<li><?php echo htmlentities(lang('spec_index_tip3')); ?></li>
</ul>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('sp_name')); ?></dt>
<dd><input type="text" value="<?php echo htmlentities((app('request')->get('sp_name') ?: '')); ?>" name="sp_name" id="sp_name" class="txt"></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('gc_name')); ?></dt>
<dd><input type="text" value="<?php echo htmlentities((app('request')->get('gc_name') ?: '')); ?>" name="gc_name" id="gc_name" class="txt"></dd>
</dl>
<div class="btn_group">
<input type="hidden" name="type" value="<?php echo htmlentities(app('request')->param('type')); ?>">
<a href="javascript:void(0);" id="dssubmit" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<a href="<?php echo url('spec/index',['type'=>app('request')->param('type')]); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
</div>
</div>
</form>
<table class="ds-default-table">
<thead>
<tr>
<th><?php echo htmlentities(lang('sp_id')); ?></th>
<th><?php echo htmlentities(lang('sp_name')); ?></th>
<th><?php echo htmlentities(lang('gc_name')); ?></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(is_array($spec_list) || $spec_list instanceof \think\Collection || $spec_list instanceof \think\Paginator): if( count($spec_list)==0 ) : echo "" ;else: foreach($spec_list as $key=>$spec): ?>
<tr>
<td><?php echo htmlentities($spec['sp_id']); ?></td>
<td><?php echo htmlentities($spec['sp_name']); ?></td>
<td><?php echo htmlentities($spec['gc_name']); ?></td>
<td>
<a href="javascript:dsLayerOpen('<?php echo url('Spec/spec_edit',['sp_id'=>$spec['sp_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($spec['sp_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<?php if($spec['sp_id'] != 1): ?>
<a href="javascript:dsLayerConfirm('<?php echo url('Spec/spec_drop',['sp_id'=>$spec['sp_id']]); ?>','您确定删除此规格')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
<?php endif; ?>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>
<script>
$('#dssubmit').click(function(){
$('#formSearch').submit();
});
</script>

View File

@ -1,109 +0,0 @@
<?php /*a:2:{s:67:"/www/wwwroot/light.haix.cn/app/admin/view/goodsalbum/album_add.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<form method="post" id="album_class_form">
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td class="required w120"><label class="validation" for="aclass_name"><?php echo htmlentities(lang('album_class_add_name')); ?><?php echo htmlentities(lang('ds_colon')); ?></label></td>
<td class="vatop rowform"><input class="w300 text" type="text" name="aclass_name" id="aclass_name" value="<?php echo htmlentities((isset($class_info['aclass_name']) && ($class_info['aclass_name'] !== '')?$class_info['aclass_name']:'')); ?>" /></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><label class="validation" for="aclass_des"><?php echo htmlentities(lang('album_class_add_des')); ?><?php echo htmlentities(lang('ds_colon')); ?></label></td>
<td class="vatop rowform"><textarea class="w300 textarea" rows="3" name="aclass_des" id="aclass_des"><?php echo htmlentities((isset($class_info['aclass_des']) && ($class_info['aclass_des'] !== '')?$class_info['aclass_des']:'')); ?></textarea></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td class="required"><label class="validation" for="aclass_sort"><?php echo htmlentities(lang('ds_sort')); ?><?php echo htmlentities(lang('ds_colon')); ?></label></td>
<td class="vatop rowform"><input class="w50 text" type="text" name="aclass_sort" id="aclass_sort" value="<?php echo htmlentities((isset($class_info['aclass_sort']) && ($class_info['aclass_sort'] !== '')?$class_info['aclass_sort']:'0')); ?>" /></td>
<td class="vatop tips"></td>
</tr>
</tbody>
<tfoot>
<tr class="tfoot">
<td colspan="15"><input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
</tr>
</tfoot>
</table>
</form>
</div>
<script type="text/javascript">
$(function() {
$('#album_class_form').validate({
errorPlacement: function(error, element) {
error.appendTo(element.parent().parent().find('td:last'));
},
rules: {
aclass_name: {
required: true,
maxlength: 20,
remote: {
url: "<?php echo url('Goodsalbum/ajax_check_class_name',['column'=>'ok','type'=>$controller]); ?>",
type: 'get',
data: {
ac_name: function() {
return $('#aclass_name').val();
}
}
}
},
aclass_des: {
maxlength: 100
},
aclass_sort: {
digits: true
}
},
messages: {
aclass_name: {
required: '<i class="iconfont">&#xe64c;</i><?php echo htmlentities(lang('album_class_add_name_null')); ?>',
maxlength: '<i class="iconfont">&#xe64c;</i><?php echo htmlentities(lang('album_class_add_name_max')); ?>',
remote: '<i class="iconfont">&#xe64c;</i><?php echo htmlentities(lang('album_class_add_name_repeat')); ?>'
},
aclass_des: {
maxlength: '<i class="iconfont">&#xe64c;</i><?php echo htmlentities(lang('album_class_add_des_max')); ?>'
},
aclass_sort: {
digits: '<i class="iconfont">&#xe64c;</i><?php echo htmlentities(lang('album_class_add_sort_digits')); ?>'
}
}
});
});
</script>

View File

@ -1,183 +0,0 @@
<?php /*a:3:{s:66:"/www/wwwroot/light.haix.cn/app/admin/view/statgeneral/general.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>概述及设置</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('stat_validorder_explain')); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead class="thead">
<tr class="space">
<th colspan="15"><?php echo htmlentities(date("Y-m-d",!is_numeric($stat_time)? strtotime($stat_time) : $stat_time)); ?>最新情报</th>
</tr>
</thead>
<tbody>
<tr>
<td>
下单金额&nbsp;<i title="有效订单的总金额" class="tip iconfont">&#xe71c;</i>
<br><b><?php echo htmlentities($statnew_arr['orderamount']); ?>元</b>
</td>
<td>
下单会员数&nbsp;<i title="有效订单的下单会员总数" class="tip iconfont">&#xe71c;</i>
<br><b><?php echo htmlentities($statnew_arr['ordermembernum']); ?></b>
</td>
<td>
下单量&nbsp;<i title="有效订单的总数量" class="tip iconfont">&#xe71c;</i>
<br><b><?php echo htmlentities($statnew_arr['ordernum']); ?></b>
</td>
<td>
下单商品数&nbsp;<i title="有效订单包含的商品总数量" class="tip iconfont">&#xe71c;</i>
<br><b><?php echo htmlentities($statnew_arr['ordergoodsnum']); ?></b>
</td>
</tr>
<tr>
<td>
平均价格&nbsp;<i title="有效订单包含商品的平均单价" class="tip iconfont">&#xe71c;</i>
<br><b><?php echo htmlentities($statnew_arr['priceavg']); ?>元</b>
</td>
<td>
平均客单价&nbsp;<i title="有效订单的平均每单的金额" class="tip iconfont">&#xe71c;</i>
<br><b><?php echo htmlentities($statnew_arr['orderavg']); ?></b>
</td>
<td>
新增会员&nbsp;<i title="期间内新注册会员总数" class="tip iconfont">&#xe71c;</i>
<br><b><?php echo htmlentities($statnew_arr['newmember']); ?></b>
</td>
<td>
会员数量&nbsp;<i title="平台所有会员的数量" class="tip iconfont">&#xe71c;</i>
<br><b><?php echo htmlentities($statnew_arr['membernum']); ?></b>
</td>
</tr>
<tr>
<td>
新增商品&nbsp;<i title="期间内新增商品总数" class="tip iconfont">&#xe71c;</i>
<br><b><?php echo htmlentities($statnew_arr['newgoods']); ?></b></td>
<td>
商品数量&nbsp;<i title="平台所有商品的数量" class="tip iconfont">&#xe71c;</i>
<br><b><?php echo htmlentities($statnew_arr['goodsnum']); ?></b></td>
</tr>
</tbody>
</table>
<table class="ds-default-table">
<thead class="thead">
<tr class="space">
<th colspan="15"><?php echo htmlentities(date("Y-m-d",!is_numeric($stat_time)? strtotime($stat_time) : $stat_time)); ?>销售走势</th>
</tr>
</thead>
<tbody>
<tr>
<td><div id="container" class="w100pre close_float" style="height:400px"></div></td>
</tr>
</tbody>
</table>
<div class="" style="margin-left: 50px;">
<table class="ds-default-table">
<thead class="thead">
<tr class="space">
<th colspan="15">7日内商品销售TOP30&nbsp;<i title="从昨天开始7日内热销商品前30名" class="tip iconfont">&#xe71c;</i></th>
</tr>
</thead>
<tbody>
<tr>
<td>序号</td>
<td>商品名称</td>
<td>销量</td>
</tr>
<?php if(is_array($goodstop30_arr) || $goodstop30_arr instanceof \think\Collection || $goodstop30_arr instanceof \think\Paginator): if( count($goodstop30_arr)==0 ) : echo "" ;else: foreach($goodstop30_arr as $key=>$v): ?>
<tr>
<td><?php echo htmlentities($key+1); ?></td>
<td class="alignleft"><a href="<?php echo url('home/Goods/index',['goods_id'=>$v['goods_id']]); ?>" target="_blank"><?php echo htmlentities($v['goods_name']); ?></a></td>
<td><?php echo htmlentities($v['ordergoodsnum']); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
</div>
<div class="close_float"></div>
</div>
</div>
<script>
jQuery.browser={};(function(){jQuery.browser.msie=false; jQuery.browser.version=0;if(navigator.userAgent.match(/MSIE ([0-9]+)./)){ jQuery.browser.msie=true;jQuery.browser.version=RegExp.$1;}})();
</script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.poshytip.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/highcharts/highcharts.js"></script>
<script>
$(function () {
//Ajax提示
$('.tip').poshytip({
className: 'tip-yellowsimple',
showTimeout: 1,
alignTo: 'target',
alignX: 'center',
alignY: 'top',
offsetY: 5,
allowTipHover: false
});
});
var chart = new Highcharts.Chart('container', <?php echo $stattoday_json; ?>);
</script>

View File

@ -1,133 +0,0 @@
<?php /*a:3:{s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/message/email.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>邮箱短信</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="post">
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('smtp_server')); ?></td>
<td class="vatop rowform"><input type="text" name="email_host" id="email_host" value="<?php echo htmlentities($list_config['email_host']); ?>" class="w200"/></td>
<td class="vatop tips"><p class="notic"><?php echo htmlentities(lang('set_smtp_server_address')); ?></p></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('email_secure')); ?></td>
<td class="vatop rowform">
<select name="email_secure" id="email_secure">
<option value="tls" <?php if($list_config['email_secure'] == 'tls'): ?>selected=selected<?php endif; ?>>非SSL协议</option>
<option value="ssl" <?php if($list_config['email_secure'] == 'ssl'): ?>selected=selected<?php endif; ?>>SSL协议</option>
</select>
</td>
<td class="vatop tips"><p class="notic"><?php echo htmlentities(lang('set_email_secure')); ?></p></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('email_port')); ?></td>
<td class="vatop rowform"><input type="text" name="email_port" id="email_port" value="<?php echo htmlentities($list_config['email_port']); ?>" class="w200"/></td>
<td class="vatop tips"><p class="notic"><?php echo htmlentities(lang('set_email_port')); ?></p></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('sender_mail_address')); ?></td>
<td class="vatop rowform"><input type="text" name="email_addr" id="email_addr" value="<?php echo htmlentities($list_config['email_addr']); ?>" class="w200"/></td>
<td class="vatop tips"><p class="notic"><?php echo htmlentities(lang('if_smtp_authentication')); ?></p></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('smtp_user_name')); ?></td>
<td class="vatop rowform"><input type="text" name="email_id" id="email_id" value="<?php echo htmlentities($list_config['email_id']); ?>" class="w200"/></td>
<td class="vatop tips"><p class="notic"><?php echo htmlentities(lang('smtp_user_name_tip')); ?></p></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('smtp_user_pwd')); ?></td>
<td class="vatop rowform"><input type="password" name="email_pass" id="email_pass" value="<?php echo htmlentities($list_config['email_pass']); ?>" class="w200"/></td>
<td class="vatop tips"><p class="notic"><?php echo htmlentities(lang('smtp_user_pwd_tip')); ?></p></td>
</tr>
<tr class="noborder">
<td class="required w120"><?php echo htmlentities(lang('test_mail_address')); ?></td>
<td class="vatop rowform">
<input type="text" name="email_test" id="email_test" value="" class="w200"/>
<input type="button" value="测试" name="send_test_email" class="btn btn-small" id="send_test_email" >
</td>
</tr>
</tbody>
<tfoot>
<tr class="tfoot">
<td></td>
<td colspan="15"><input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
</tr>
</tfoot>
</table>
</form>
</div>
<script>
$(document).ready(function(){
$('#send_test_email').click(function(){
$.ajax({
type:'POST',
url:"<?php echo url('Message/email_testing'); ?>",
data:{'email_host':$('#email_host').val(),'email_secure':$('#email_secure option:selected').val(),'email_port':$('#email_port').val(),'email_addr':$('#email_addr').val(),'email_id':$('#email_id').val(),'email_pass':$('#email_pass').val(),'email_test':$('#email_test').val()},
error:function(html){
layer.alert(html.msg);
},
success:function(html){
layer.alert(html.msg);
},
dataType:'json'
});
});
});
</script>

View File

@ -1,152 +0,0 @@
<?php /*a:3:{s:58:"/www/wwwroot/light.haix.cn/app/admin/view/brand/index.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_brand_manage')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('brand_index_name')); ?></dt>
<dd><input class="txt" name="search_brand_name" id="search_brand_name" value="<?php echo htmlentities($search_brand_name); ?>" type="text"></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('brand_index_class')); ?></dt>
<dd><input class="txt" name="search_brand_class" id="search_brand_class" value="<?php echo htmlentities($search_brand_class); ?>" type="text"></dd>
</dl>
<div class="btn_group">
<a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<?php if($search_brand_name != '' || $search_brand_class != ''): ?>
<a class="btn" href="<?php echo url('Brand/index'); ?>" title="<?php echo htmlentities(lang('ds_cancel_search')); ?>"><span><?php echo htmlentities(lang('ds_cancel_search')); ?></span></a>
<?php endif; ?>
<a class="btn btn-default" href="javascript:export_xls('<?php echo url('Brand/export_step1'); ?>')"><span><?php echo htmlentities(lang('ds_export')); ?>Excel</span></a>
</div>
</div>
<input type="hidden" value="" name="export">
</form>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('brand_index_help1')); ?></li>
<li><?php echo htmlentities(lang('brand_index_help2')); ?></li>
<li><?php echo htmlentities(lang('brand_index_help3')); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th class="w24"></th>
<th class="w48"><?php echo htmlentities(lang('ds_sort')); ?></th>
<th class="w270"><?php echo htmlentities(lang('brand_index_name')); ?></th>
<th class="w150"><?php echo htmlentities(lang('brand_index_class')); ?></th>
<th class="w150"><?php echo htmlentities(lang('brand_index_pic_sign')); ?></th>
<th class="w48 align-center"><?php echo htmlentities(lang('brand_showtype')); ?></th>
<th class="w48 align-center"><?php echo htmlentities(lang('ds_recommend')); ?></th>
<th class="w72 align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($brand_list) || (($brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator ) && $brand_list->isEmpty()))): if(is_array($brand_list) || $brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator): if( count($brand_list)==0 ) : echo "" ;else: foreach($brand_list as $key=>$v): ?>
<tr class="hover edit">
<td><input value="<?php echo htmlentities($v['brand_id']); ?>" class="checkitem" type="checkbox" name="del_brand_id[]"></td>
<td class="sort"><span class="editable" ds_type="inline_edit" fieldname="brand_sort" ajax_branch='brand_sort' fieldid="<?php echo htmlentities($v['brand_id']); ?>" datatype="pint" maxvalue="255" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($v['brand_sort']); ?></span></td>
<td class="name"><span class="editable" ds_type="inline_edit" fieldname="brand_name" ajax_branch='brand_name' fieldid="<?php echo htmlentities($v['brand_id']); ?>" required="1" title="<?php echo htmlentities(lang('ds_editable')); ?>"><?php echo htmlentities($v['brand_name']); ?></span></td>
<td class="class"><?php echo htmlentities($v['brand_class']); ?></td>
<td class="picture"><div class="brand-picture"><img src="<?php echo brand_image($v['brand_pic']); ?>" style="height:30px;"/></div></td>
<td class="align-center"><?php echo $v['brand_showtype']==1 ? lang('brand_showtype_text') : lang('brand_showtype_img'); ?></td>
<td class="align-center yes-onoff">
<?php if($v['brand_recommend'] == '0'): ?>
<a href="JavaScript:void(0);" class="disabled" ajax_branch='brand_recommend' ds_type="inline_edit" fieldname="brand_recommend" fieldid="<?php echo htmlentities($v['brand_id']); ?>" fieldvalue="0" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
<?php else: ?>
<a href="JavaScript:void(0);" class="enabled" ajax_branch='brand_recommend' ds_type="inline_edit" fieldname="brand_recommend" fieldid="<?php echo htmlentities($v['brand_id']); ?>" fieldvalue="1" title="<?php echo htmlentities(lang('ds_editable')); ?>"><img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/transparent.gif"></a>
<?php endif; ?>
</td>
<td class="align-center">
<a href="javascript:dsLayerOpen('<?php echo url('Brand/brand_edit',['brand_id'=>$v['brand_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($v['brand_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<a href="javascript:dsLayerConfirm('<?php echo url('Brand/brand_del',['brand_id'=>$v['brand_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
<tfoot>
<?php if(!(empty($brand_list) || (($brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator ) && $brand_list->isEmpty()))): ?>
<tr colspan="15" class="tfoot">
<td><input type="checkbox" class="checkall" id="checkallBottom"></td>
<td colspan="16">
<label for="checkallBottom"><?php echo htmlentities(lang('ds_select_all')); ?></label>
&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('ds_del')); ?></span></a>
</td>
</tr>
<?php endif; ?>
</tfoot>
</table>
<?php echo $showpage; ?>
<div class="clear"></div>
</div>
<script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>
<script type="text/javascript">
function submit_delete(ids_str){
_uri = ADMINSITEURL+"/Brand/brand_del.html?brand_id=" + ids_str;
dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
}
</script>

View File

@ -1,540 +0,0 @@
<?php /*a:3:{s:74:"/www/wwwroot/light.haix.cn/app/admin/view/goodsclass/goods_class_edit.html";i:1647348242;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('goods_class_index_class')); ?></h3>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('goods_class_edit_prompts_one')); ?></li>
<li><?php echo htmlentities(lang('goods_class_edit_prompts_two')); ?></li>
</ul>
</div>
<form id="goods_class_form" name="goodsClassForm" enctype="multipart/form-data" method="post">
<input type="hidden" name="gc_id" value="<?php echo htmlentities($class_array['gc_id']); ?>" />
<input type="hidden" name="gc_parent_id" id="gc_parent_id" value="<?php echo htmlentities($class_array['gc_parent_id']); ?>" />
<input type="hidden" name="old_type_id" value="<?php echo htmlentities($class_array['type_id']); ?>">
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td colspan="2" class="required"><label class="gc_name validation" for="gc_name"><?php echo htmlentities(lang('goods_class_index_name')); ?>:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" maxlength="20" value="<?php echo htmlentities($class_array['gc_name']); ?>" name="gc_name" id="gc_name" class="txt"></td>
<td class="vatop tips"></td>
</tr>
<tr>
<td colspan="2" class="required"><label for="parent_id"><?php echo htmlentities(lang('goods_class_add_sup_class')); ?>:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><select name="gc_parent_id" id="gc_parent_id">
<option value="<?php echo htmlentities($class_array['gc_parent_id']); ?>">不更改所属分类(更改下拉)</option>
<?php if(!(empty($parent_list) || (($parent_list instanceof \think\Collection || $parent_list instanceof \think\Paginator ) && $parent_list->isEmpty()))): if(is_array($parent_list) || $parent_list instanceof \think\Collection || $parent_list instanceof \think\Paginator): if( count($parent_list)==0 ) : echo "" ;else: foreach($parent_list as $k=>$v): ?>
<option <?php if($class_array['gc_parent_id'] == $v['gc_id']): ?>selected='selected'<?php endif; ?> value="<?php echo htmlentities($v['gc_id']); ?>"><?php echo $v['gc_name']; ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</select></td>
<td class="vatop tips"><span style="color:#ff0000">注意:不要把顶级分类整体移动到其它分类下;</span> <?php echo htmlentities(lang('goods_class_add_sup_class_notice')); ?></td>
</tr>
<tr>
<td colspan="2" class="required"><label for="pic">项目图片:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pic']) || (($class_array['pic'] instanceof \think\Collection || $class_array['pic'] instanceof \think\Paginator ) && $class_array['pic']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pic']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield1' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="pic" type="file" class="type-file-file" id="pic" size="30" hidefocus="true" ds_type="change_pic">
</span>
</td>
</tr>
<tr>
<td colspan="2" class="required"><label for="logo">项目LOGO:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_logo']) || (($class_array['pro_logo'] instanceof \think\Collection || $class_array['pro_logo'] instanceof \think\Paginator ) && $class_array['pro_logo']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_logo']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield2' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="logo" type="file" class="type-file-file" id="logo" size="30" hidefocus="true" ds_type="change_logo">
</span>
</td>
</tr>
<tr>
<td colspan="2" class="required"><label for="big">项目Banner大图:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_big']) || (($class_array['pro_big'] instanceof \think\Collection || $class_array['pro_big'] instanceof \think\Paginator ) && $class_array['pro_big']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_big']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield3' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="big" type="file" class="type-file-file" id="big" size="30" hidefocus="true" ds_type="change_big">
</span>
</td>
</tr>
<tr class="noborder">
<td colspan="2" id="gcategory">
<select class="class-select">
<option value="0"><?php echo htmlentities(lang('ds_please_choose')); ?>...</option>
<?php if(!(empty($gc_list) || (($gc_list instanceof \think\Collection || $gc_list instanceof \think\Paginator ) && $gc_list->isEmpty()))): if(is_array($gc_list) || $gc_list instanceof \think\Collection || $gc_list instanceof \think\Paginator): if( count($gc_list)==0 ) : echo "" ;else: foreach($gc_list as $k=>$v): if($v['gc_parent_id'] == 0): ?>
<option value="<?php echo htmlentities($v['gc_id']); ?>"><?php echo htmlentities($v['gc_name']); ?></option>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</select><?php echo htmlentities(lang('ds_quickly_targeted')); ?></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="hidden" name="t_name" id="t_name" value="<?php echo htmlentities($class_array['type_name']); ?>" />
<input type="hidden" name="t_sign" id="t_sign" value="" />
<div id="type_div" class="goods-sort-type">
<div class="container">
<dl>
<dd>
<input type="radio" name="t_id" value="0" <?php if($class_array['type_id']): ?>checked="checked"<?php endif; ?> /><?php echo htmlentities(lang('goods_class_null_type')); ?>
</dd>
</dl>
<?php if(!(empty($type_list) || (($type_list instanceof \think\Collection || $type_list instanceof \think\Paginator ) && $type_list->isEmpty()))): if(is_array($type_list) || $type_list instanceof \think\Collection || $type_list instanceof \think\Paginator): if( count($type_list)==0 ) : echo "" ;else: foreach($type_list as $k=>$val): if(!(empty($val['type']) || (($val['type'] instanceof \think\Collection || $val['type'] instanceof \think\Paginator ) && $val['type']->isEmpty()))): ?>
<dl>
<dt id="type_dt_<?php echo htmlentities($k); ?>"><?php echo htmlentities($val['name']); ?></dt>
<?php if(is_array($val['type']) || $val['type'] instanceof \think\Collection || $val['type'] instanceof \think\Paginator): if( count($val['type'])==0 ) : echo "" ;else: foreach($val['type'] as $key=>$v): ?>
<dd>
<input type="radio" class="radio" name="t_id" value="<?php echo htmlentities($v['type_id']); ?>" <?php if($class_array['type_id'] == $v['type_id']): ?>checked="checked"<?php endif; ?> />
<span><?php echo htmlentities($v['type_name']); ?></span></dd>
<?php endforeach; endif; else: echo "" ;endif; ?>
</dl>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</div>
</div></td>
<td class="vatop tips"><?php echo htmlentities(lang('goods_class_add_type_desc_one')); ?><a onclick="window.parent.openItem('index,type,goods')" href="JavaScript:void(0);"><?php echo htmlentities(lang('ds_type')); ?></a><?php echo htmlentities(lang('goods_class_add_type_desc_two')); ?></td>
</tr>
<tr>
<td colspan="2" class="required"><label for="gc_sort"><?php echo htmlentities(lang('ds_sort')); ?>:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" value="<?php if($class_array['gc_sort'] == ''): ?>0<?php else: ?><?php echo htmlentities($class_array['gc_sort']); ?><?php endif; ?>" name="gc_sort" id="gc_sort" class="txt"></td>
<td class="vatop tips"><?php echo htmlentities(lang('goods_class_add_update_sort')); ?></td>
</tr>
<tr>
<td colspan="2" class="required"><label>项目描述:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<textarea type="text" name="pro_desc" style="height:100px;"> <?php echo htmlentities($class_array['pro_desc']); ?></textarea>
</td>
<td class="vatop tips">请简短概括</td>
</tr>
<tr>
<td colspan="2" class="required"><label>项目地点:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<input type="text" value="<?php echo htmlentities($class_array['pro_locate']); ?>" name="pro_locate" id="pro_locate" class="txt">
</td>
<td class="vatop tips">填写项目地点位置</td>
</tr>
<tr>
<td colspan="2" class="required"><label>提供院校:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" value="<?php echo htmlentities($class_array['pro_college']); ?>" name="pro_college" id="pro_college" class="txt"></td>
<td class="vatop tips">填写项目提供院校</td>
</tr>
<tr>
<td colspan="2" class="required"><label>项目时间:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" value="<?php echo htmlentities($class_array['pro_period']); ?>" name="pro_period" id="pro_period" class="txt"></td>
<td class="vatop tips">填写项目时间区间</td>
</tr>
<tr>
<td colspan="2" class="required"><label>项目时长:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" value="<?php echo htmlentities($class_array['pro_duration']); ?>" name="pro_duration" id="pro_duration" class="txt"></td>
<td class="vatop tips">填写项目时间时长</td>
</tr>
<tr>
<td colspan="2" class="required"><label>面向人群:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" value="<?php echo htmlentities($class_array['pro_people']); ?>" name="pro_people" id="pro_people" class="txt"></td>
<td class="vatop tips">填写面向人群</td>
</tr>
<tr>
<td colspan="2" class="required"><label>项目特色:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php echo build_editor(['name'=>'pro_info','content'=>$class_array['pro_info']?htmlspecialchars_decode($class_array['pro_info']):'']); ?>
<textarea name="pro_info" id="pro_info" class="textarea h60 w400"></textarea>
</td>
</tr>
<tr>
<td colspan="2" class="required"><label for="pro_info_image">项目特色图片:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_info_image']) || (($class_array['pro_info_image'] instanceof \think\Collection || $class_array['pro_info_image'] instanceof \think\Paginator ) && $class_array['pro_info_image']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_info_image']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield4' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="pro_info_image" type="file" class="type-file-file" id="pro_info_image" size="30" hidefocus="true" ds_type="change_pro_info_image">
</span>
</td>
</tr>
<tr>
<td colspan="2" class="required"><label>校区概况:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<textarea type="text" name="pro_overview" style="height:100px;">
<?php echo htmlentities($class_array['pro_overview']); ?>
</textarea>
<td class="vatop tips"></td>
</tr>
<tr>
<td colspan="2" class="required"><label for="pro_overview_image">校区概况图片:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_overview_image1']) || (($class_array['pro_overview_image1'] instanceof \think\Collection || $class_array['pro_overview_image1'] instanceof \think\Paginator ) && $class_array['pro_overview_image1']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_overview_image1']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield5' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="pro_overview_image1" type="file" class="type-file-file" id="pro_overview_image1" size="30" hidefocus="true" ds_type="change_pro_info_image">
</span>
</td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_overview_image2']) || (($class_array['pro_overview_image2'] instanceof \think\Collection || $class_array['pro_overview_image2'] instanceof \think\Paginator ) && $class_array['pro_overview_image2']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_overview_image2']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield6' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="pro_overview_image2" type="file" class="type-file-file" id="pro_overview_image2" size="30" hidefocus="true" ds_type="change_pro_info_image">
</span>
</td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_overview_image3']) || (($class_array['pro_overview_image3'] instanceof \think\Collection || $class_array['pro_overview_image3'] instanceof \think\Paginator ) && $class_array['pro_overview_image3']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_overview_image3']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield7' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="pro_overview_image3" type="file" class="type-file-file" id="pro_overview_image3" size="30" hidefocus="true" ds_type="change_pro_info_image">
</span>
</td>
</tr>
<tr>
<td colspan="2" class="required"><label>住宿信息:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<textarea type="text" name="pro_accommodation" style="height:100px;">
<?php echo htmlentities($class_array['pro_accommodation']); ?>
</textarea>
<td class="vatop tips"></td>
</tr>
<tr>
<td colspan="2" class="required"><label for="pro_accommodation_image">住宿信息图片:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<?php if(!(empty($class_array['pro_accommodation_image']) || (($class_array['pro_accommodation_image'] instanceof \think\Collection || $class_array['pro_accommodation_image'] instanceof \think\Paginator ) && $class_array['pro_accommodation_image']->isEmpty()))): ?>
<span class="type-file-show"><img class="show_image" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/preview.png">
<div class="type-file-preview"><img src="<?php echo htmlentities($class_array['pro_accommodation_image']); ?>"></div>
</span>
<?php endif; ?>
<span class="type-file-box">
<input type='text' name='textfield' id='textfield8' class='type-file-text' />
<input type='button' name='button' id='button1' value='上传' class='type-file-button' />
<input name="pro_accommodation_image" type="file" class="type-file-file" id="pro_accommodation_image" size="30" hidefocus="true" ds_type="change_pro_info_image">
</span>
</td>
</tr>
<tr>
<td colspan="2" class="required"><label>机票信息:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<textarea type="text" name="pro_flight" style="height:100px;">
<?php echo htmlentities($class_array['pro_flight']); ?>
</textarea>
<td class="vatop tips"></td>
</tr>
<tr>
<td colspan="2" class="required"><label>开始申请:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<textarea type="text" name="pro_apply" style="height:100px;">
<?php echo htmlentities($class_array['pro_apply']); ?>
</textarea>
</td>
</tr>
</tbody>
<tfoot>
<tr class="tfoot">
<td colspan="15" ><input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
</tr>
</tfoot>
</table>
</form>
</div>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/mlselection.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.mousewheel.js"></script>
<script>
$(function() {
$("#pic").change(function() {
$("#textfield1").val($(this).val());
});
$("#logo").change(function() {
$("#textfield2").val($(this).val());
});
$("#big").change(function() {
$("#textfield3").val($(this).val());
});
$("#pro_info_image").change(function() {
$("#textfield4").val($(this).val());
});
$("#pro_overview_image1").change(function() {
$("#textfield5").val($(this).val());
});
$("#pro_overview_image2").change(function() {
$("#textfield6").val($(this).val());
});
$("#pro_overview_image3").change(function() {
$("#textfield7").val($(this).val());
});
$("#pro_accommodation_image").change(function() {
$("#textfield8").val($(this).val());
});
$('input[type="radio"][name="t_id"]').change(function() {
// 标记类型时候修改 修改为ok
var t_id = <?php echo htmlentities($class_array['type_id']); ?>;
if (t_id != $(this).val()) {
$('#t_sign').val('ok');
} else {
$('#t_sign').val('');
}
if ($(this).val() == '0') {
$('#t_name').val('');
} else {
$('#t_name').val($(this).next('span').html());
}
});
$('#goods_class_form').validate({
errorPlacement: function(error, element) {
error.appendTo(element.parent().parent().prev().find('td:first'));
},
rules: {
gc_name: {
required: true,
remote: {
url: "<?php echo url('Goodsclass/ajax',['branch'=>'check_class_name']); ?>",
type: 'get',
data: {
gc_name: function() {
return $('#gc_name').val();
},
gc_parent_id: function() {
return $('#gc_parent_id').val();
},
gc_id: '<?php echo htmlentities($class_array['gc_id']); ?>'
}
}
},
gc_sort: {
number: true
}
},
messages: {
gc_name: {
required: '<?php echo htmlentities(lang('goods_class_add_name_null')); ?>',
remote: '<?php echo htmlentities(lang('goods_class_add_name_exists')); ?>'
},
gc_sort: {
number: '<?php echo htmlentities(lang('goods_class_add_sort_int')); ?>'
}
}
});
// 类型搜索
$(document).off('change',"#gcategory > select").on("change","#gcategory > select", function() {
type_scroll($(this));
});
});
var typeScroll = 0;
function type_scroll(o) {
var id = o.val();
if (!$('#type_dt_' + id).is('dt')) {
return false;
}
$('#type_div').scrollTop(-typeScroll);
var sp_top = $('#type_dt_' + id).offset().top;
var div_top = $('#type_div').offset().top;
$('#type_div').scrollTop(sp_top - div_top);
typeScroll = sp_top - div_top;
}
gcategoryInit('gcategory');
</script>

View File

@ -1,102 +0,0 @@
<?php /*a:3:{s:80:"D:\phpStudy\phpstudy_pro\WWW\www.lightcourse.com\app\admin\view\login\index.html";i:1643979128;s:82:"D:\phpStudy\phpstudy_pro\WWW\www.lightcourse.com\app\admin\view\public\header.html";i:1643980182;s:82:"D:\phpStudy\phpstudy_pro\WWW\www.lightcourse.com\app\admin\view\public\footer.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<style>
body{background-image:url(<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/wallpage/bg_<?php echo rand(1,8); ?>.jpg););background-size: cover;}
</style>
<div class="login">
<div class="login_body">
<div class="login_header">
<h1 style="margin-bottom: 25px;margin-left: 75px;">联课教育商城后台</h1>
<!--<img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/logo.png"/>-->
</div>
<div class="login_content">
<form method="post" id="login_form">
<div class="form-group">
<input type="text" name="admin_name" placeholder="用户名" required class="text">
</div>
<div class="form-group">
<input type="password" name="admin_password" autocomplete="new-password" placeholder="密码" required class="text">
</div>
<div class="form-group">
<input type="text" name="captcha" placeholder="验证码" required class="text" style="width:60%;float:left;">
<img src="<?php echo url('Login/makecode'); ?>" style="width:30%;height:38px;" id="change_captcha"/>
</div>
<div class="form-group">
<input type="button" class="btn" id="login_btn" value="登录" style="width:100%"/>
</div>
</form>
</div>
</div>
</div>
<script>
$(document).keyup(function (event) {
if (event.keyCode == 13) {
login_form();
}
});
$('#login_btn').on('click', function () {
login_form();
});
function login_form()
{
var _form = $('#login_form');
$.ajax({
type: "POST",
url: "<?php echo url('Login/index'); ?>",
data: _form.serialize(),
dataType: 'json',
success: function (res) {
layer.msg(res.message, {time: 1500}, function () {
if (res.code == 10000) {
location.href = "<?php echo url('Index/index'); ?>";
} else {
$('#change_captcha').attr('src', '<?php echo url("Login/makecode"); ?>?' + (new Date().getTime()));
}
});
}
});
}
$('#change_captcha').click(function () {
$(this).attr('src', '<?php echo url("Login/makecode"); ?>?' + (new Date().getTime()));
});
</script>

View File

@ -1,161 +0,0 @@
<?php /*a:3:{s:65:"/www/wwwroot/lianke.keyutest.com/app/admin/view/points/index.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>积分管理</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li>积分明细,展示了被操作人员(会员)、操作人员(管理员)、操作积分数(积分值,“-”表示减少,无符号表示增加)、操作时间(添加时间)等信息</li>
</ul>
</div>
<form method="get" name="formSearch" id="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('admin_points_membername')); ?></dt>
<dd><input type="text" name="mname" class="txt" value='<?php echo htmlentities(app('request')->param('mname')); ?>'></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('admin_points_addtime')); ?></dt>
<dd>
<input type="text" id="stime" name="stime" class="txt date" value="<?php echo htmlentities(app('request')->param('stime')); ?>" >
~
<input type="text" id="etime" name="etime" class="txt date" value="<?php echo htmlentities(app('request')->param('etime')); ?>" >
</dd>
</dl>
<dl>
<dd>
<select name="stage">
<option value="" <?php if(!(empty(app('request')->param('stage')) || ((app('request')->param('stage') instanceof \think\Collection || app('request')->param('stage') instanceof \think\Paginator ) && app('request')->param('stage')->isEmpty()))): ?>selected=selected<?php endif; ?>><?php echo htmlentities(lang('admin_points_stage')); ?></option>
<option value="regist" <?php if(app('request')->param('stage') == 'regist'): ?>selected=selected<?php endif; ?>><?php echo htmlentities(lang('admin_points_stage_regist')); ?></option>
<option value="login" <?php if(app('request')->param('stage') == 'login'): ?>selected=selected<?php endif; ?>><?php echo htmlentities(lang('admin_points_stage_login')); ?></option>
<option value="comments" <?php if(app('request')->param('stage') == 'comments'): ?>selected=selected<?php endif; ?>><?php echo htmlentities(lang('admin_points_stage_comments')); ?></option>
<option value="order" <?php if(app('request')->param('stage') == 'order'): ?>selected=selected<?php endif; ?>><?php echo htmlentities(lang('admin_points_stage_order')); ?></option>
<option value="system" <?php if(app('request')->param('stage') == 'system'): ?>selected=selected<?php endif; ?>><?php echo htmlentities(lang('admin_points_stage_system')); ?></option>
<option value="pointorder" <?php if(app('request')->param('stage') == 'pointorder'): ?>selected=selected<?php endif; ?>><?php echo htmlentities(lang('admin_points_stage_pointorder')); ?></option>
<option value="app" <?php if(app('request')->param('stage') == 'app'): ?>selected=selected<?php endif; ?>><?php echo htmlentities(lang('admin_points_stage_app')); ?></option>
<option value="signin" <?php if(app('request')->param('stage') == 'signin'): ?>selected=selected<?php endif; ?>><?php echo htmlentities(lang('admin_points_stage_signin')); ?></option>
<option value="inviter" <?php if(app('request')->param('stage') == 'inviter'): ?>selected=selected<?php endif; ?>><?php echo htmlentities(lang('admin_points_stage_inviter')); ?></option>
<option value="rebate" <?php if(app('request')->param('stage') == 'rebate'): ?>selected=selected<?php endif; ?>><?php echo htmlentities(lang('admin_points_stage_rebate')); ?></option>
</select>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('admin_points_adminname')); ?></dt>
<dd><input type="text" name="aname" class="txt" value='<?php echo htmlentities(app('request')->param('aname')); ?>'></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('admin_points_pointsdesc')); ?></dt>
<dd><input type="text" id="description" name="description" class="txt2" value="<?php echo htmlentities(app('request')->param('description')); ?>" ></dd>
</dl>
<div class="btn_group">
<a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
<a href="<?php echo url('Points/index'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
<a class="btn btn-mini" href="javascript:export_xls('<?php echo url('Points/export_step1'); ?>')"><span><?php echo htmlentities(lang('ds_export')); ?>Excel</span></a>
</div>
</div>
</form>
<table class="ds-default-table">
<thead>
<tr>
<th><?php echo htmlentities(lang('admin_points_membername')); ?></th>
<th><?php echo htmlentities(lang('admin_points_adminname')); ?></th>
<th><?php echo htmlentities(lang('admin_points_pointsnum')); ?></th>
<th><?php echo htmlentities(lang('admin_points_addtime')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('admin_points_stage')); ?></th>
<th><?php echo htmlentities(lang('admin_points_pointsdesc')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($pointslog) || (($pointslog instanceof \think\Collection || $pointslog instanceof \think\Paginator ) && $pointslog->isEmpty()))): if(is_array($pointslog) || $pointslog instanceof \think\Collection || $pointslog instanceof \think\Paginator): if( count($pointslog)==0 ) : echo "" ;else: foreach($pointslog as $key=>$log): ?>
<tr>
<td><?php echo htmlentities($log['pl_membername']); ?></td>
<td><?php echo htmlentities($log['pl_adminname']); ?></td>
<td><?php echo htmlentities($log['pl_points']); ?></td>
<td><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($log['pl_addtime'])? strtotime($log['pl_addtime']) : $log['pl_addtime'])); ?></td>
<td class="align-center">
<?php
$lang='admin_points_stage_'.$log['pl_stage'];
echo lang($lang);
?>
</td>
<td><?php echo htmlentities($log['pl_desc']); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="20"><?php echo htmlentities(lang('no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>
<script language="javascript">
$(function(){
$('#stime').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
var year2 = dateText.split('-') ;
$('#etime').datepicker( "option", "minDate", new Date(parseInt(year2[0]),parseInt(year2[1])-1,parseInt(year2[2])+1) );
}});
$('#etime').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
var year1 = dateText.split('-') ;
$('#stime').datepicker( "option", "maxDate", new Date(parseInt(year1[0]),parseInt(year1[1])-1,parseInt(year1[2])-1) );
}});
});
</script>

View File

@ -1,152 +0,0 @@
<?php /*a:5:{s:58:"/www/wwwroot/light.haix.cn/app/admin/view/index/index.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/topnav.html";i:1643984736;s:58:"/www/wwwroot/light.haix.cn/app/admin/view/public/left.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/footer.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="admincp-header">
<div class="logo">
<div style="font-size: 30px;color:darkorange;margin-left:10px;margin-top:5px;">联课教育</div>
<!-- <img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/backlogo.png"/>-->
</div>
<div class="navbar">
<ul class="fl" style="float:left;">
<?php if(is_array($menu_list) || $menu_list instanceof \think\Collection || $menu_list instanceof \think\Paginator): if( count($menu_list)==0 ) : echo "" ;else: foreach($menu_list as $key=>$menu): ?>
<li id="nav_<?php echo htmlentities($menu['name']); ?>" <?php if(!$menu['show']): ?>style="display:none"<?php endif; ?>>
<a href="javascript:void(0)" onclick="openItem('<?php echo htmlentities($menu['name']); ?>')"><?php echo htmlentities($menu['text']); ?></a>
</li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<ul class="fr" style="float:right">
<li>
<span>您好,<?php echo session('admin_name'); ?></span>
<div class="sub-meun">
<dl>
<dd><a href="<?php echo url('Index/modifypw'); ?>" target="main-frame"><i class="iconfont">&#xe67b;</i>修改密码</a></dd>
<dd><a href="javascript:dsLayerConfirm('<?php echo url('Login/logout'); ?>','您确定退出吗?')"><i class="iconfont">&#xe70c;</i>安全退出</a></dd>
</dl>
</div>
</li>
<li><a href="javascript:dsLayerConfirm('<?php echo url('Index/clear'); ?>','确定清理全部缓存?')" target="main-frame"><?php echo htmlentities(lang('ds_cache')); ?></a></li>
<li><a href="<?php echo url('/home/Index/index'); ?>" target="_blank">访问首页</a></li>
</ul>
</div>
</div>
<div class="admincp-container">
<div class="admincp-container-left">
<div id="mainMenu">
<?php if(is_array($menu_list) || $menu_list instanceof \think\Collection || $menu_list instanceof \think\Paginator): if( count($menu_list)==0 ) : echo "" ;else: foreach($menu_list as $menu_k=>$menu): ?>
<ul id="sort_<?php echo htmlentities($menu['name']); ?>" <?php if($menu_k != 'dashboard'): ?>style="display:none"<?php endif; ?>>
<?php if(is_array($menu['children']) || $menu['children'] instanceof \think\Collection || $menu['children'] instanceof \think\Paginator): if( count($menu['children'])==0 ) : echo "" ;else: foreach($menu['children'] as $submenu_key=>$submenu): $args_array = explode(",",$submenu['args']); ?>
<li id="left_<?php echo $args_array[2].$args_array[1].$args_array[0] ?>"><a href="javascript:void(0)" onclick="openItem('<?php echo htmlentities($submenu['args']); ?>')" ><i class="iconfont"><?php echo (isset($submenu['ico']) && ($submenu['ico'] !== '')?$submenu['ico']:'&#xe652;'); ?></i><?php echo htmlentities($submenu['text']); ?></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endforeach; endif; else: echo "" ;endif; ?>
</div>
</div>
<div class="admincp-container-right">
<div class="top-border"></div>
<iframe src="<?php echo url('Dashboard/index'); ?>" id="main-frame" name="main-frame" style="overflow: visible;" frameborder="0" width="100%" height="94%" scrolling="yes" onload="window.parent"></iframe>
</div>
</div>
<script>
$(function() {
$('#welcome,dashboard,dashboard').addClass('active');
if ($.cookie('now_location_controller') != null) {
openItem($.cookie('now_location_action') + ',' + $.cookie('now_location_controller') + ',' + $.cookie('now_location_module'));
} else {
$('#mainMenu>ul').first().css('display', 'block');
//第一次进入后台时,默认定到欢迎界面
$('#item_welcome').addClass('selected');
$('#workspace').attr('src', ADMINSITEURL+'/Dashboard/welcome.html');
}
$('#iframe_refresh').click(function() {
var fr = document.frames ? document.frames("workspace") : document.getElementById("workspace").contentWindow;
fr.location.reload();
});
});
function openItem(args) {
spl = args.split(',');
action = spl[0];
try {
controller = spl[1];
module = spl[2];
}
catch (ex) {
}
if (typeof(controller) == 'undefined') {
var module = args;
}
//顶部导航样式处理
$('.actived').removeClass('actived');
$('#nav_' + module).addClass('actived');
//清除左侧样式
$('.selected').removeClass('selected');
//show
$('#mainMenu ul').css('display', 'none');
$('#sort_' + module).css('display', 'block');
if (typeof(controller) == 'undefined') {
//顶部菜单事件
html = $('#sort_' + module + '>li').first().html();
str = html.match(/openItem\('(.*)'\)/ig);
arg = str[0].split("'");
spl = arg[1].split(',');
action = spl[0];
controller = spl[1];
module = spl[2];
first_obj = $('#sort_' + module + '>li').first();
$(first_obj).addClass('selected');
} else {
//左侧菜单事件
//location
$.cookie('now_location_module', module);
$.cookie('now_location_controller', controller);
$.cookie('now_location_action', action);
$("#left_"+ module + controller + action).addClass('selected');
}
src = ADMINSITEURL + '/' + controller + '/' + action + '/';
$('#main-frame').attr('src', src);
}
</script>

View File

@ -1,91 +0,0 @@
<?php /*a:3:{s:67:"/www/wwwroot/lianke.keyutest.com/app/admin/view/document/index.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_document')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('document_index_help1')); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th><?php echo htmlentities(lang('document_index_title')); ?></th>
<th class="align-center"><?php echo htmlentities(lang('document_edit_time')); ?></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($doc_list) || (($doc_list instanceof \think\Collection || $doc_list instanceof \think\Paginator ) && $doc_list->isEmpty()))): if(is_array($doc_list) || $doc_list instanceof \think\Collection || $doc_list instanceof \think\Paginator): if( count($doc_list)==0 ) : echo "" ;else: foreach($doc_list as $key=>$v): ?>
<tr class="hover">
<td ><?php echo htmlentities($v['document_title']); ?></td>
<td class="w25pre align-center"><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($v['document_time'])? strtotime($v['document_time']) : $v['document_time'])); ?></td>
<td class="w96"><a href="<?php echo url('Document/edit',['document_id'=>$v['document_id']]); ?>" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="15"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
</div>

View File

@ -1,305 +0,0 @@
<?php /*a:3:{s:61:"/www/wwwroot/light.haix.cn/app/admin/view/type/type_form.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<style>
tr.disable{-webkit-opacity: 0.3;
/* Netscape and Older than Firefox 0.9 */
-moz-opacity: 0.3;
/* Safari 1.x (pre WebKit!) 老式khtml内核的Safari浏览器*/
-khtml-opacity: 0.3;
/* IE9 + etc...modern browsers */
opacity: .3;
/* IE 4-9 */
filter:alpha(opacity=30);
/*This works in IE 8 & 9 too*/
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
/*IE4-IE9*/
filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=30);}
</style>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>类型管理</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form class="" id="type_form" method="post">
<div class="ncap-form-default">
<dl>
<dt></dt>
<dd>
<div id="gcategory" class="default_select">
<input type="hidden" name="class_id" value="<?php echo htmlentities($type['class_id']); ?>" class="mls_id" />
<input type="hidden" name="class_name" value="<?php echo htmlentities((isset($type['class_name']) && ($type['class_name'] !== '')?$type['class_name']:'')); ?>" class="mls_name" />
<?php if($type['class_id']): ?>
<span><?php echo htmlentities((isset($type['class_name']) && ($type['class_name'] !== '')?$type['class_name']:'')); ?></span>
<input type="button" value="<?php echo htmlentities(lang('ds_edit')); ?>" class="edit_gcategory" />
<?php endif; ?>
<select <?php if($type['class_id']): ?>style="display:none"<?php endif; ?>>
<option value="0">请选择分类</option>
<?php if(is_array($gc_list) || $gc_list instanceof \think\Collection || $gc_list instanceof \think\Paginator): if( count($gc_list)==0 ) : echo "" ;else: foreach($gc_list as $key=>$gc): ?>
<option value="<?php echo htmlentities($gc['gc_id']); ?>"><?php echo htmlentities($gc['gc_name']); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</div>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('type_name')); ?></dt>
<dd>
<input type="text" name="type_name" id="type_name" value="<?php echo htmlentities((isset($type['type_name']) && ($type['type_name'] !== '')?$type['type_name']:'')); ?>" />
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('type_sort')); ?></dt>
<dd>
<input type="text" name="type_sort" id="type_sort" value="<?php echo htmlentities((isset($type['type_sort']) && ($type['type_sort'] !== '')?$type['type_sort']:'255')); ?>" />
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl data-brand="title">
<dt>选择相关品牌</dt>
<dd>
</dd>
</dl>
<?php if(!(empty($brand_list) || (($brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator ) && $brand_list->isEmpty()))): if(is_array($brand_list) || $brand_list instanceof \think\Collection || $brand_list instanceof \think\Paginator): if( count($brand_list)==0 ) : echo "" ;else: foreach($brand_list as $key=>$brand_gc): ?>
<dl data-brand="content">
<dt><?php echo htmlentities($brand_gc['name']); ?></dt>
<dd>
<?php if(is_array($brand_gc['brand']) || $brand_gc['brand'] instanceof \think\Collection || $brand_gc['brand'] instanceof \think\Paginator): if( count($brand_gc['brand'])==0 ) : echo "" ;else: foreach($brand_gc['brand'] as $key=>$brand): ?>
<input type="checkbox" id="brand_<?php echo htmlentities($brand['brand_id']); ?>" value="<?php echo htmlentities($brand['brand_id']); ?>" name="brand_id[]" <?php if($brand['checked']): ?>checked="checked"<?php endif; ?> />
<label for="brand_<?php echo htmlentities($brand['brand_id']); ?>"><?php echo htmlentities($brand['brand_name']); ?></label>
<?php endforeach; endif; else: echo "" ;endif; ?>
</dd>
</dl>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
<dl data-spec="title">
<dt>选择相关规格</dt>
<dd>
</dd>
</dl>
<?php if(!(empty($spec_list) || (($spec_list instanceof \think\Collection || $spec_list instanceof \think\Paginator ) && $spec_list->isEmpty()))): if(is_array($spec_list) || $spec_list instanceof \think\Collection || $spec_list instanceof \think\Paginator): if( count($spec_list)==0 ) : echo "" ;else: foreach($spec_list as $key=>$spec_gc): ?>
<dl data-spec="content">
<dt><?php echo htmlentities($spec_gc['name']); ?></dt>
<dd>
<?php if(is_array($spec_gc['spec']) || $spec_gc['spec'] instanceof \think\Collection || $spec_gc['spec'] instanceof \think\Paginator): if( count($spec_gc['spec'])==0 ) : echo "" ;else: foreach($spec_gc['spec'] as $key=>$spec): ?>
<input type="checkbox" id="spec_<?php echo htmlentities($spec['sp_id']); ?>" value="<?php echo htmlentities($spec['sp_id']); ?>" name="spec_id[]" <?php if(!(empty($spec['checked']) || (($spec['checked'] instanceof \think\Collection || $spec['checked'] instanceof \think\Paginator ) && $spec['checked']->isEmpty()))): ?>checked="checked"<?php endif; ?>/>
<label for="spec_<?php echo htmlentities($spec['sp_id']); ?>"><?php echo htmlentities($spec['sp_name']); ?></label>
<?php endforeach; endif; else: echo "" ;endif; ?>
</dd>
</dl>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</div>
<table class="ds-default-table">
<thead>
<tr>
<th width="100">排序</th>
<th width="200">属性名称</th>
<th>属性可选值</th>
<th width="100">显示</th>
<th width="100"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody id="tr_model">
<tr></tr>
<?php if(!(empty($attr_list) || (($attr_list instanceof \think\Collection || $attr_list instanceof \think\Paginator ) && $attr_list->isEmpty()))): if(is_array($attr_list) || $attr_list instanceof \think\Collection || $attr_list instanceof \think\Paginator): if( count($attr_list)==0 ) : echo "" ;else: foreach($attr_list as $key=>$attr): ?>
<tr data-attr="old">
<td><input type="text" class="form-control" name="at_value[<?php echo htmlentities($attr['attr_id']); ?>][sort]" value="<?php echo htmlentities($attr['attr_sort']); ?>"/></td>
<td><input type="text" class="form-control" name="at_value[<?php echo htmlentities($attr['attr_id']); ?>][name]" value="<?php echo htmlentities($attr['attr_name']); ?>"/></td>
<td><?php echo htmlentities($attr['attr_value']); ?></td>
<td><input type="checkbox" name="at_value[<?php echo htmlentities($attr['attr_id']); ?>][show]" <?php if($attr['attr_show']): ?> checked="checked" <?php endif; ?> /></td>
<td>
<input type="hidden" value="" name="at_value[<?php echo htmlentities($attr['attr_id']); ?>][form_submit]" />
<input type="hidden" value="<?php echo htmlentities($attr['attr_id']); ?>" name="at_value[<?php echo htmlentities($attr['attr_id']); ?>][attr_id]" />
<input type="checkbox" data-attr="del" name="a_del[<?php echo htmlentities($attr['attr_id']); ?>]" value="<?php echo htmlentities($attr['attr_id']); ?>" style="display:none" />
<a href="javascript:dsLayerOpen('<?php echo url('Type/attr_edit',['attr_id'=>$attr['attr_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($attr['attr_name']); ?>')"><?php echo htmlentities(lang('ds_edit')); ?></a>
<a onclick="remove_tr($(this));" href="JavaScript:void(0);">移除</a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr data-attr="new">
<td><input type="text" class="form-control" name="at_value[key][sort]" value="0"/></td>
<td><input type="text" class="form-control" name="at_value[key][name]" value=""/></td>
<td><textarea rows="5" cols="80" class="form-control" name="at_value[key][value]"></textarea></td>
<td><input type="checkbox" name="at_value[key][show]" checked="checked" /></td>
<td>
<a onclick="remove_tr($(this));" href="JavaScript:void(0);">移除</a>
</td>
</tr>
<?php endif; ?>
</tbody>
<tbody>
<tr>
<td>
<a id="add_type" class="btn-add-nofloat marginleft" href="JavaScript:void(0);"> <span>添加一个属性</span> </a>
</td>
</tr>
</tbody>
</table>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</form>
</div>
<!--载入-->
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/mlselection.js"></script>
<script>
$(function () {
gcategoryInit("gcategory");
$(function () {
gcategoryInit("gcategory");
var i = 0;
var tr_model = '<tr data-attr="new">' +
'<td><input type="text" class="form-control" name="at_value[key][sort]" value="0" /></td>' +
'<td><input type="text" class="form-control" name="at_value[key][name]" value="" /></td>' +
'<td><textarea rows="5" cols="80" class="form-control" name="at_value[key][value]"></textarea></td>' +
'<td><input type="checkbox" name="at_value[key][show]" checked="checked" /></td>' +
'<td><a onclick="remove_tr($(this));" href="JavaScript:void(0);">移除</a></td>' +
'</tr>';
$("#add_type").click(function () {
$('#tr_model > tr:last').after(tr_model.replace(/key/g, i));
i++;
});
});
$('#gcategory').click(function(){
$.getJSON("<?php echo url('Type/ajaxGetSpecAndBrand'); ?>"+"?type_id=<?php echo htmlentities((isset($type['type_id']) && ($type['type_id'] !== '')?$type['type_id']:0)); ?>&class_id="+$('[name=class_id]').val(),function(data){
$('[data-spec=content]').remove();
var s_list=data.s_list;
var html='';
for(var i in s_list){
var html_spec='';
var spec=s_list[i].spec;
for(var j in spec){
html_spec+='<input type="checkbox" id="spec_'+spec[j].sp_id+'" value="'+spec[j].sp_id+'" name="spec_id[]" '+((spec[j].checked=='1')?'checked="checked"':"")+' />'+
'<label for="spec_'+spec[j].sp_id+'">'+spec[j].sp_name+'</label>';
}
html+='<dl data-spec="content">'+
'<dt>'+s_list[i].name+'</dt>'+
'<dd>'+
html_spec+
'</dd>'+
'</dl>';
}
$('[data-spec=title]').after(html);
$('[data-brand=content]').remove();
var b_list=data.b_list;
var html='';
for(var i in b_list){
var html_brand='';
var brand=b_list[i].brand;
for(var j in brand){
html_brand+='<input type="checkbox" id="brand_'+brand[j].brand_id+'" value="'+brand[j].brand_id+'" name="brand_id[]" '+((brand[j].checked=='1')?'checked="checked"':"")+' />'+
'<label for="brand_'+brand[j].brand_id+'">'+brand[j].brand_name+'</label>';
}
html+='<dl data-brand="content">'+
'<dt>'+b_list[i].name+'</dt>'+
'<dd>'+
html_brand+
'</dd>'+
'</dl>';
}
$('[data-brand=title]').after(html);
})
});
$('#type_form').submit(function(){
$('tr[data-attr=old].disable').find('[data-attr=del]').prop('checked',true);
$('tr[data-attr=new].disable').find('input').prop('disabled',true);
});
});
function remove_tr(o) {
if(o.parents('tr:first').hasClass('disable')){
o.parents('tr:first').removeClass('disable');
o.text('移除');
}else{
o.parents('tr:first').addClass('disable');
o.text('还原');
}
};
$(document).ready(function() {
$("#type_form").validate({
errorPlacement: function(error, element) {
error.appendTo(element.nextAll('span.err'));
},
rules: {
type_name : {
required : true
},
type_sort : {
required : true,
number : true,
range : [0,255]
},
},
messages: {
type_name : {
required : '请输入类型名称',
},
type_sort : {
required : '<?php echo htmlentities(lang('type_edit_type_attr_sort_no_null')); ?>',
number : '<?php echo htmlentities(lang('type_edit_type_attr_sort_no_digits')); ?>',
range : '<?php echo htmlentities(lang('class_sort_explain')); ?>'
},
}
});
});
</script>

View File

@ -1,90 +0,0 @@
<?php /*a:3:{s:63:"/www/wwwroot/lianke.keyutest.com/app/admin/view/type/index.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>类型管理</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('type_index_tip1')); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr>
<th><?php echo htmlentities(lang('type_id')); ?></th>
<th><?php echo htmlentities(lang('type_name')); ?></th>
<th><?php echo htmlentities(lang('gc_name')); ?></th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(is_array($type_list) || $type_list instanceof \think\Collection || $type_list instanceof \think\Paginator): if( count($type_list)==0 ) : echo "" ;else: foreach($type_list as $key=>$type): ?>
<tr>
<td><?php echo htmlentities($type['type_id']); ?></td>
<td><?php echo htmlentities($type['type_name']); ?></td>
<td><?php echo htmlentities($type['class_name']); ?></td>
<td>
<a href="<?php echo url('Type/type_edit',['type_id'=>$type['type_id']]); ?>" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<a href="javascript:dsLayerConfirm('<?php echo url('Type/type_drop',['type_id'=>$type['type_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>

View File

@ -1,163 +0,0 @@
<?php /*a:3:{s:64:"/www/wwwroot/light.haix.cn/app/admin/view/order/receive_pay.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('order_manage')); ?></h3>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="post" name="form1" id="form1" action="">
<table class="ds-default-table">
<tbody>
<tr class="noborder">
<td colspan="2" class="required"><label for="order_sn">订单编号</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><?php echo htmlentities($order_info['order_sn']); ?></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td colspan="2" class="required"><label for="pay_sn">支付单号</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><?php echo htmlentities($order_info['pay_sn']); ?></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td colspan="2" class="required"><label for="order_amount">订单总金额 </label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><?php echo htmlentities($order_info['order_amount']); ?></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td colspan="2" class="required"><label for="payment_time">付款时间</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input readonly id="payment_time" class="" name="payment_time" value="" type="text" /></td>
<td class="vatop tips"></td>
</tr>
<tr class="noborder">
<td colspan="2" class="required"><label for="payment_code">付款方式 </label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform">
<select name="payment_code" class="querySelect">
<option value=""><?php echo htmlentities(lang('ds_please_choose')); ?></option>
<?php if(is_array($payment_list) || $payment_list instanceof \think\Collection || $payment_list instanceof \think\Paginator): if( count($payment_list)==0 ) : echo "" ;else: foreach($payment_list as $key=>$val): ?>
<option value="<?php echo htmlentities($val['payment_code']); ?>"><?php echo htmlentities($val['payment_name']); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</td>
<td class="vatop tips"></td>
</tr>
<tr>
<td colspan="2" class="required"><label for="trade_no">第三方支付平台交易号</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><input type="text" class="txt2" name="trade_no" id="trade_no" maxlength="40"></td>
<td class="vatop tips"><span class="vatop rowform">支付宝等第三方支付平台交易号</span></td>
</tr>
</tbody>
<tfoot id="submit-holder">
<tr class="tfoot">
<td colspan="2" ><a href="javascript:void(0)" id="dssubmit" class="btn"><?php echo htmlentities(lang('ds_submit')); ?></a></td>
</tr>
</tfoot>
</table>
</form>
</div>
<script type="text/javascript">
$(function(){
$('#payment_time').datepicker({dateFormat: "yy-mm-dd",maxDate: "<?php echo htmlentities(date('Y-m-d',!is_numeric(TIMESTAMP)? strtotime(TIMESTAMP) : TIMESTAMP)); ?>"});
$('#dssubmit').click(function(){
if($("#form1").valid()){
layer.confirm("操作提醒:\n该操作不可撤销\n提交前请务必确认是否已收到付款\n继续操作吗?", {
btn: ['确定', '取消'],
title: false,
}, function () {
$('#form1').submit();
});
}
});
$("#form1").validate({
errorPlacement: function(error, element){
error.appendTo(element.parent().parent().prev().find('td:first'));
},
rules : {
payment_time : {
required : true
},
payment_code : {
required : true
},
trade_no :{
required : true
}
},
messages : {
payment_time : {
required : '请填写付款准确时间'
},
payment_code : {
required : '请选择付款方式'
},
trade_no : {
required : '请填写第三方支付平台交易号'
}
}
});
});
</script>

View File

@ -1,143 +0,0 @@
<?php /*a:3:{s:62:"/www/wwwroot/light.haix.cn/app/admin/view/exppoints/index.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_exppoints')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch" id="formSearch" action="">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('explog_membername')); ?></dt>
<dd><input type="text" name="mname" class="txt" value='<?php echo htmlentities(app('request')->param('mname')); ?>'></dd>
</dl>
<dl>
<dt>添加时间</dt>
<dd>
<input type="text" id="stime" name="stime" class="txt date" value="<?php echo htmlentities(app('request')->param('stime')); ?>">
<label>~</label>
<input type="text" id="etime" name="etime" class="txt date" value="<?php echo htmlentities(app('request')->param('etime')); ?>">
</dd>
</dl>
<dl>
<dd>
<select name="stage">
<option value="" <?php if(!(empty(app('request')->param('stage')) || ((app('request')->param('stage') instanceof \think\Collection || app('request')->param('stage') instanceof \think\Paginator ) && app('request')->param('stage')->isEmpty()))): ?>selected=selected<?php endif; ?>>操作阶段</option>
<?php if(is_array($stage_arr) || $stage_arr instanceof \think\Collection || $stage_arr instanceof \think\Paginator): if( count($stage_arr)==0 ) : echo "" ;else: foreach($stage_arr as $k=>$v): ?>
<option value="<?php echo htmlentities($k); ?>" <?php if(app('request')->param('stage') == $k): ?>selected=selected<?php endif; ?>><?php echo htmlentities($v); ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</dd>
</dl>
<dl>
<dt>描述</dt>
<dd><input type="text" id="description" name="description" class="txt2" value="<?php echo htmlentities(app('request')->param('description')); ?>" ></dd>
</dl>
<div class="btn_group">
<input type="submit" class="btn" value="<?php echo htmlentities(lang('ds_query')); ?>"/>
<a href="<?php echo url('Exppoints/index'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
<a class="btn btn-default" href="javascript:export_xls('<?php echo url('Exppoints/export_step1'); ?>')"><?php echo htmlentities(lang('ds_export')); ?>Excel</a>
</div>
</div>
</form>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li>经验值明细,展示了会员经验值增减情况的详细情况记录,经验值前有符号“-”表示减少,无符号表示增加</li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr>
<th><?php echo htmlentities(lang('explog_membername')); ?></th>
<th><?php echo htmlentities(lang('exp_value')); ?></th>
<th><?php echo htmlentities(lang('explog_addtime')); ?></th>
<th><?php echo htmlentities(lang('explog_stage')); ?></th>
<th><?php echo htmlentities(lang('explog_desc')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($list_log) || (($list_log instanceof \think\Collection || $list_log instanceof \think\Paginator ) && $list_log->isEmpty()))): if(is_array($list_log) || $list_log instanceof \think\Collection || $list_log instanceof \think\Paginator): if( count($list_log)==0 ) : echo "" ;else: foreach($list_log as $key=>$log): ?>
<tr>
<td><?php echo htmlentities($log['explog_membername']); ?></td>
<td><?php echo htmlentities($log['explog_points']); ?></td>
<td><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($log['explog_addtime'])? strtotime($log['explog_addtime']) : $log['explog_addtime'])); ?></td>
<td><?php echo htmlentities($stage_arr[$log['explog_stage']]); ?></td>
<td><?php echo htmlentities($log['explog_desc']); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="15"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php echo $show_page; ?>
</div>
<script language="javascript">
$(function () {
$('#stime').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
var year2 = dateText.split('-') ;
$('#etime').datepicker( "option", "minDate", new Date(parseInt(year2[0]),parseInt(year2[1])-1,parseInt(year2[2])+1) );
}});
$('#etime').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
var year1 = dateText.split('-') ;
$('#stime').datepicker( "option", "maxDate", new Date(parseInt(year1[0]),parseInt(year1[1])-1,parseInt(year1[2])-1) );
}});
});
</script>

View File

@ -1,150 +0,0 @@
<?php /*a:3:{s:61:"/www/wwwroot/light.haix.cn/app/admin/view/evaluate/index.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;s:65:"/www/wwwroot/light.haix.cn/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3><?php echo htmlentities(lang('ds_evaluate')); ?></h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<form method="get" name="formSearch">
<div class="ds-search-form">
<dl>
<dt><?php echo htmlentities(lang('ds_goods_name')); ?></dt>
<dd><input class="txt" type="text" name="goods_name" id="goods_name" value="<?php echo htmlentities(app('request')->get('goods_name')); ?>" /></dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('admin_evaluate_addtime')); ?></dt>
<dd>
<input class="txt date" type="text" name="stime" id="stime" value="<?php echo htmlentities(app('request')->get('stime')); ?>" />
~
<input class="txt date" type="text" name="etime" id="etime" value="<?php echo htmlentities(app('request')->get('etime')); ?>" />
</dd>
</dl>
<div class="btn_group">
<input type="submit"class="btn" value="<?php echo htmlentities(lang('ds_query')); ?>"/>
<?php if($filtered): ?>
<a href="<?php echo url('Evaluate/evalgoods_list'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
<?php endif; ?>
</div>
</div>
</form>
<div class="explanation" id="explanation">
<div class="title" id="checkZoom">
<h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
<span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
</div>
<ul>
<li><?php echo htmlentities(lang('admin_evaluate_help1')); ?></li>
<li><?php echo htmlentities(lang('admin_evaluate_help2')); ?></li>
</ul>
</div>
<table class="ds-default-table">
<thead>
<tr class="thead">
<th class="w300"><?php echo htmlentities(lang('ds_goods_name')); ?> </th>
<th><?php echo htmlentities(lang('admin_evaluate_buyerdesc')); ?></th>
<th class="w108 align-center"><?php echo htmlentities(lang('admin_evaluate_frommembername')); ?> </th>
<th class="w200 align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(!(empty($evalgoods_list) || (($evalgoods_list instanceof \think\Collection || $evalgoods_list instanceof \think\Paginator ) && $evalgoods_list->isEmpty()))): if(is_array($evalgoods_list) || $evalgoods_list instanceof \think\Collection || $evalgoods_list instanceof \think\Paginator): if( count($evalgoods_list)==0 ) : echo "" ;else: foreach($evalgoods_list as $key=>$v): ?>
<tr class="hover">
<td><a href="<?php echo url('home/Goods/index',['goods_id'=>$v['geval_goodsid']]); ?>" target="_blank"><?php echo htmlentities($v['geval_goodsname']); ?></a></td>
<td class="evaluation"><div><?php echo htmlentities(lang('admin_geval_scores')); ?><span class="raty" data-score="<?php echo htmlentities($v['geval_scores']); ?>"></span><time>[<?php echo date('Y-m-d',$v['geval_addtime']); ?>]</time></div>
<div><?php echo htmlentities(lang('admin_geval_content')); ?><?php echo htmlentities($v['geval_content']); ?></div>
<?php if(!(empty($v['geval_image']) || (($v['geval_image'] instanceof \think\Collection || $v['geval_image'] instanceof \think\Paginator ) && $v['geval_image']->isEmpty()))): ?>
<div><?php echo htmlentities(lang('admin_geval_image')); ?>
<ul class="evaluation-pic-list">
<?php $image_array = explode(',', $v['geval_image']);if(is_array($image_array) || $image_array instanceof \think\Collection || $image_array instanceof \think\Paginator): if( count($image_array)==0 ) : echo "" ;else: foreach($image_array as $key=>$value): ?>
<li style="width: auto"><a data-lightbox="lightbox-image" href="<?php echo sns_thumb($value, 1024); ?>"><img src="<?php echo sns_thumb($value); ?>"> </a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</div>
<?php endif; if(!(empty($v['geval_explain']) || (($v['geval_explain'] instanceof \think\Collection || $v['geval_explain'] instanceof \think\Paginator ) && $v['geval_explain']->isEmpty()))): ?>
<div id="explain_div_<?php echo htmlentities($v['geval_id']); ?>"> <span style="color:#996600;padding:5px 0px;">[<?php echo htmlentities(lang('admin_evaluate_explain')); ?>]<?php echo htmlentities($v['geval_explain']); ?></span> </div>
<?php endif; ?></td>
<td class="align-center"><?php echo htmlentities($v['geval_frommembername']); ?></td>
<td class="align-center">
<a href="javascript:dsLayerOpen('<?php echo url('Evaluate/explain_save',['geval_id'=>$v['geval_id']]); ?>','回复评论')" class="dsui-btn-edit"><i class="iconfont"></i>回复评论</a>
<a href="javascript:dsLayerConfirm('<?php echo url('Evaluate/evalgoods_del',['geval_id'=>$v['geval_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; else: ?>
<tr class="no_data">
<td colspan="15"><?php echo htmlentities(lang('ds_no_record')); ?></td>
</tr>
<?php endif; ?>
</table>
<?php echo $show_page; ?>
</div>
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.lightbox/css/lightbox.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.lightbox/js/lightbox.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.raty/jquery.raty.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#stime').datepicker({dateFormat: 'yy-mm-dd'});
$('#etime').datepicker({dateFormat: 'yy-mm-dd'});
$('.raty').raty({
path: "<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.raty/img",
readOnly: true,
score: function() {
return $(this).attr('data-score');
}
});
});
</script>

View File

@ -1,92 +0,0 @@
<?php /*a:3:{s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/payment/index.html";i:1594017460;s:66:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/header.html";i:1643980182;s:71:"/www/wwwroot/lianke.keyutest.com/app/admin/view/public/admin_items.html";i:1594017460;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>支付方式</h3>
<h5></h5>
</div>
<?php if($admin_item): ?>
<ul class="tab-base ds-row">
<?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
<li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</div>
</div>
<table class="ds-default-table">
<thead>
<tr>
<th width="10%">支付方式</th>
<th width="10%">启用</th>
<th width="10%">适配平台</th>
<th width="20%">描述</th>
<th><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody>
<?php if(is_array($payment_list) || $payment_list instanceof \think\Collection || $payment_list instanceof \think\Paginator): if( count($payment_list)==0 ) : echo "" ;else: foreach($payment_list as $key=>$payment): ?>
<tr>
<td><?php echo htmlentities($payment['payment_name']); ?></td>
<td><?php if($payment['payment_state'] == '1'): ?><?php echo htmlentities(lang('payment_index_enable_ing')); else: ?><?php echo htmlentities(lang('payment_index_disable_ing')); ?><?php endif; ?></td>
<td><?php echo htmlentities($payment['payment_platform']); ?></td>
<td><?php echo htmlentities($payment['payment_desc']); ?></td>
<td>
<?php if($payment['install'] == '1'): ?>
<a href="javascript:dsLayerOpen('<?php echo url('Payment/edit',['payment_code'=>$payment['payment_code']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($payment['payment_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
<a href="javascript:dsLayerConfirm('<?php echo url('Payment/del',['payment_code'=>$payment['payment_code']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
<?php else: ?>
<a href="javascript:dsLayerConfirm('<?php echo url('Payment/install',['payment_code'=>$payment['payment_code']]); ?>','<?php echo htmlentities(lang('ds_ensure_install')); ?>')" class="dsui-btn-add"><i class="iconfont"></i><?php echo htmlentities(lang('ds_install')); ?></a>
<?php endif; ?>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
</div>

View File

@ -1,130 +0,0 @@
<?php /*a:2:{s:61:"/www/wwwroot/light.haix.cn/app/admin/view/type/attr_edit.html";i:1594017460;s:60:"/www/wwwroot/light.haix.cn/app/admin/view/public/header.html";i:1643980182;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?>商城系统后台</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
<link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
<script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<script type="text/javascript">
var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
</script>
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<form class="" method="post">
<div class="ncap-form-default">
<dl>
<dt><?php echo htmlentities(lang('type_add_attr_name')); ?></dt>
<dd>
<input type="hidden" name="attr_id" value="<?php echo htmlentities($attribute['attr_id']); ?>" />
<input type="hidden" name="type_id" value="<?php echo htmlentities($attribute['type_id']); ?>" />
<input type="text" name="attr_name" id="attr_name" value="<?php echo htmlentities($attribute['attr_name']); ?>" />
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('ds_sort')); ?></dt>
<dd>
<input type="text" name="attr_sort" id="attr_sort" value="<?php echo htmlentities($attribute['attr_sort']); ?>" />
<span class="err"></span>
<p class="notic"></p>
</dd>
</dl>
<dl>
<dt><?php echo htmlentities(lang('type_edit_type_attr_is_show')); ?></dt>
<dd class="onoff">
<label for="attr_show1" class="cb-enable <?php if($attribute['attr_show'] == '1'): ?>selected<?php endif; ?>" ><span><?php echo htmlentities(lang('ds_yes')); ?></span></label>
<label for="attr_show2" class="cb-disable <?php if($attribute['attr_show'] == '0'): ?>selected<?php endif; ?>" ><span><?php echo htmlentities(lang('ds_no')); ?></span></label>
<input id="attr_show1" name="attr_show" <?php if($attribute['attr_show'] == '1'): ?>checked="checked"<?php endif; ?> value="1" type="radio">
<input id="attr_show2" name="attr_show" <?php if($attribute['attr_show'] == '0'): ?>checked="checked"<?php endif; ?> value="0" type="radio">
</dd>
</dl>
</div>
<table class="ds-default-table">
<thead>
<tr>
<th width="200"><?php echo htmlentities(lang('ds_del')); ?></th>
<th width="100"><?php echo htmlentities(lang('ds_sort')); ?></th>
<th><?php echo htmlentities(lang('type_add_attr_value')); ?></th>
<th width="100"><?php echo htmlentities(lang('ds_handle')); ?></th>
</tr>
</thead>
<tbody id="tr_model">
<tr></tr>
<?php if($attributevalue_list): if(is_array($attributevalue_list) || $attributevalue_list instanceof \think\Collection || $attributevalue_list instanceof \think\Paginator): if( count($attributevalue_list)==0 ) : echo "" ;else: foreach($attributevalue_list as $key=>$val): ?>
<tr>
<td>
<input type="hidden" name='attr_value[<?php echo htmlentities($val['attrvalue_id']); ?>][form_submit]' value='' />
<input type="checkbox" name="attr_del[<?php echo htmlentities($val['attrvalue_id']); ?>]" value="<?php echo htmlentities($val['attrvalue_id']); ?>" />
</td>
<td><input type="text" class="form-control" name="attr_value[<?php echo htmlentities($val['attrvalue_id']); ?>][sort]" value="<?php echo htmlentities($val['attrvalue_sort']); ?>"/></td>
<td><input type="text" class="form-control" name="attr_value[<?php echo htmlentities($val['attrvalue_id']); ?>][name]" value="<?php echo htmlentities($val['attrvalue_name']); ?>"/></td>
<td></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<?php endif; ?>
</tbody>
<tbody>
<tr>
<td>
<a id="add_type" class="btn-add-nofloat marginleft" href="JavaScript:void(0);"> <span>添加一个属性</span> </a>
</td>
</tr>
<tr>
<td>
<input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/>
</td>
</tr>
</tbody>
</table>
</form>
</div>
<!--载入-->
<script>
$(function() {
var i = 0;
var tr_model = '<tr><td></td>' +
'<td><input type="text" class="form-control" name="attr_value[key][sort]" value="0" /></td>' +
'<td><input type="text" class="form-control" name="attr_value[key][name]" value="" /></td>' +
'<td><a onclick="remove_tr($(this));" href="JavaScript:void(0);">删除</a></td>' +
'</tr>';
$("#add_type").click(function() {
$('#tr_model > tr:last').after(tr_model.replace(/key/g, 's_' + i));
i++;
});
});
function remove_tr(o) {
o.parents('tr:first').remove();
}
</script>
</body>

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