]nbmbmbnmbnmbnmnbnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
bnmbnmbnmnbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbn
/
home
/
rizant5
/
public_html
/
admin
/
Upload FileeE
HOME
<?php require_once("../config.php"); require_once("function-file.php"); require_once("function-menu.php"); cookiecheck(); if(isset($_POST['save'])){ $content=$_POST['content']; $conn->exec("update privacy_policy SET content='$content'"); header("location:privacy-policy.php"); } $data=$conn->prepare("select * from privacy_policy"); $data->execute();$row=$data->fetch(); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Privacy policy</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <?php cssfile();?> </head> <body class="hold-transition skin-blue layout-top-nav"> <!-- Site wrapper --> <div class="wrapper"> <?php headermenu();?> <!-- =============================================== --> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <!-- Main content --> <section class="content"> <!-- Default box --> <div class="box"> <div class="box-header with-border"> <h3 class="box-title">Privacy policy</h3> </div> <div class="box-body"> <form action="#" method="post" role="form" class="form-horizontal"> <div class="form-group"> <div class="col-sm-12"><label>Content</label> <textarea name="content" id="editor1" class="form-control editors" ><?php echo $row['content']?></textarea></div> </div> <div class="form-group"> <div class="col-sm-12" align="right"> <button type="reset" class="btn btn-default" rows="4">Reset</button> <button type="submit" name="save" class="btn btn-success" >Save</button></div> </div> </div><!-- /.box-body --> </div><!-- /.box --> </section><!-- /.content --> </div></div><!-- /.content-wrapper --> <?php footer();?> </div><!-- ./wrapper --> <?php jsfile();ratenum();?> <script src="//cdn.ckeditor.com/4.5.8/full/ckeditor.js"></script> <script> $(function() { $('.editors').each(function(){ CKEDITOR.replace( $(this).attr('id') ); }); }); </script> </body> </html>