| 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 : |
<?php
include '../configchannel.php';
include 'configtotal.php';
if(isset($_POST['channel']))
{
$dataInsert = array(
'IdChannel' => mysql_real_escape_string($_POST['channel']),
'KeywordControl' => mysql_real_escape_string($_POST['keyword'])
);
Insert('ViewYoutube_ChannelBuff', $dataInsert);
Header( "Location: https://rubymedia.studio/admin/buffchannel.php" );
exit;
}
?>
<!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>
</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">NHÂN SỰ</h4>
<ol class="breadcrumb">
<li><a href="#">Ruby Media</a></li>
<li class="active">Buff View</li>
</ol>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="card-box">
<?php if($_SESSION['login']['Admin'] == 1) : ?>
<div class="row">
<div class="col-sm-4">
<a href="#custom-modal" class="btn btn-default btn-md waves-effect waves-light m-b-30" data-animation="fadein" data-plugin="custommodal"
data-overlaySpeed="200" data-overlayColor="#36404a"><i class="md md-add"></i> Thêm Channel</a>
</div>
</div>
<?php endif; ?>
<div class="table-responsive">
<table class="table table-hover mails m-0 table table-actions-bar">
<thead>
<tr>
<th width="50">#</th>
<th style="width: 30%;">ID Channel</th>
<th style="width: 70%;">Keywords Control</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
$result = Select('ViewYoutube_ChannelBuff', false, "", "");
$dem = 1;
while($res = mysqli_fetch_array($result)) :
?>
<tr>
<td>
<?php echo $dem++; ?>
</td>
<td>
<a href="https://www.youtube.com/channel/<?php echo $res['IdChannel']; ?>" target="_blank"><?php echo $res['IdChannel']; ?></a>
</td>
<td>
<?php echo $res['KeywordControl']; ?>
</td>
</tr>
<?php endwhile; ?>
</tbody>
</table>
</div>
</div>
</div> <!-- end col -->
</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>×</span><span class="sr-only">Close</span>
</button>
<h4 class="custom-modal-title">Thêm Kênh BuffView</h4>
<div class="custom-modal-text text-left">
<form role="form" method="POST">
<div class="form-group">
<label for="name">ID Channel</label>
<input type="text" class="form-control" name="channel" placeholder="Nhập ID Channel">
</div>
<div class="form-group">
<label for="name">Keyword Sreach Control</label>
<input type="text" class="form-control" name="keyword" placeholder="Nhập Định Dạng Sreach">
<label for="name">[tags] [idvideo] [namechannel] [idchannel]</label>
</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>
<script src="assets/js/jquery.core.js"></script>
<script src="assets/js/jquery.app.js"></script>
<!-- Modal-Effect -->
<script src="assets/plugins/custombox/js/custombox.min.js"></script>
<script src="assets/plugins/custombox/js/legacy.min.js"></script>
</body>
</html>