}
$users = new Users();
$is_goods = $users->checkd_user_goods(Session::get('admin_id'),$video_id);
View::assign('is_goods',$is_goods);
$comment_count = Db::name('jzpx_comment_video')->where('comment_video_id',$video_id)->count();
View::assign('comment_count',$comment_count);
$is_ok = 0;
if($userinfo['gid'] == 1){
$company = Db::name('jzpx_company')->field('ent_id')->where('admin_id',$userinfo['admin_id'];) ->find();
if($company){
$users = Db::name('jzpx_users')->field('ent_id')->where('admin_id',$info['video_admin_id'])->find();
if($company['ent_id'] == $users['ent_id']){
$is_ok = 1;
}
}
}
if(Session::get('admin_id')){
if($info['video_price'] == 0 || Session::get('admin_id') == $info['video_admin_id'] || $is_ok == 1){
USER | www |
HOME | /home/www |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_CONNECTION | Keep-Alive |
HTTP_HOST | t.ihwrm.com |
HTTP_USER_AGENT | Mozilla/5.0 (Windows 10.0) und Win64; (x64)) ordner /537.36 (KHTML (like Gecko) Chrome/ 76,0,389.87 Safari/537.36) |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | *.t.ihwrm.com |
SERVER_PORT | 80 |
SERVER_ADDR | 220.248.165.19 |
REMOTE_PORT | 29396 |
REMOTE_ADDR | 220.197.31.249 |
SERVER_SOFTWARE | Nginx / 1.21.4 |
GATEWAY_INTERFACE | Cgis / 1,1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP / 1,1 |
DOCUMENT_ROOT | /mnt/data/www/t.ihwrm.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /video/lecture/index.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/video/lecture/index.html |
SCRIPT_FILENAME | /mnt/data/www/t.ihwrm.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1727054142.2738 |
REQUEST_TIME | 1727054142 |