12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?php
- session_start();
- if(!isset($_SESSION['login'])){
- header('Location: index.php');
-
- }else{ ?>
- <?php include "header.php" ?>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js"></script>
- <link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
- <body class="hold-transition skin-blue sidebar-mini">
- <div>
- <?php include("nav.php"); ?>
- <div class="content-wrapper navbar navbar-static-top">
-
- <br>
- <iframe src="home.php" id="loadFrame" scrolling="no"></iframe>
- </div>
- </div>
- <script type="text/javascript">
- function changePages(fileLocation) {
- // alert(fileLocation);
- document.getElementById('loadFrame').src = fileLocation;
- }
-
- var selector='.sidebar-menu li';
- $(selector).on('click', function(){
- // alert(selector);
- $(selector).removeClass('active');
- $(this).addClass('active');
- });
-
- </script>
- <script type="text/javascript">
- // Wrap every letter in a span
- $('.ml13').each(function(){
- $(this).html($(this).text().replace(/([^\x00-\x80]|\w)/g, "<span class='letter'>$&</span>"));
- });
- anime.timeline({loop: true})
- .add({
- targets: '.ml13 .letter',
- translateY: [100,0],
- translateZ: 0,
- opacity: [0,1],
- easing: "easeOutExpo",
- duration: 1400,
- delay: function(el, i) {
- return 300 + 30 * i;
- }
- }).add({
- targets: '.ml13 .letter',
- translateY: [0,-100],
- opacity: [1,0],
- easing: "easeInExpo",
- duration: 1200,
- delay: function(el, i) {
- return 100 + 30 * i;
- }
- });
- </script>
- </body>
- <?php } ?>
|