?
Current Path : /home1/savoy/public_html/savoysadmin/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoysadmin/header.php |
<?php include_once 'auth.php'; ?> <html> <head> <title>Savoys Admin Section</title> <link rel="stylesheet" type="text/css" href="css/basic_layout.css" /> <link rel="stylesheet" type="text/css" href="css/basic_present.css" /> <link href="tablecloth/tablecloth.css" rel="stylesheet" type="text/css" media="screen" /> <link href="../images/favicon.ico" rel="icon"/> <script type="text/javascript" src="<?php echo $path_to_root;?>/admin/tablecloth/tablecloth.js"></script> <style> body{ margin:0; padding:0; background:#f1f1f1; font:70% Arial, Helvetica, sans-serif; color:#555; line-height:150%; text-align:left; } a{ text-decoration:none; color:#057fac; } a:hover{ text-decoration:none; color:#999; } h1{ font-size:140%; margin:0 20px; line-height:80px; } h2{ font-size:120%; } #container{ margin:0 auto; width:680px; background:#fff; padding-bottom:20px; } #content{margin:0 20px;} p.sig{ margin:0 auto; width:680px; padding:1em 0; } form{ margin:1em 0; padding:.2em 20px; background:#eee; } </style> </head> <body> <div id="hdr"> <br> <script type="text/javascript"> message = document.getElementById("fly").innerHTML; // $ = taking a new line distance = 50; // pixel(s) speed = 100; // milliseconds var txt="", num=0, num4=0, flyofle="", flyofwi="", flyofto="", fly=document.getElementById("fly"); function stfly() { for(i=0;i != message.length;i++) { if(message.charAt(i) != "$") txt += "<span style='position:relative;visibility:hidden;' id='n"+i+"'>"+message.charAt(i)+"<\/span>"; else txt += "<br>"; } fly.innerHTML = txt; txt = ""; flyofle = fly.offsetLeft; flyofwi = fly.offsetWidth; flyofto = fly.offsetTop; fly2b(); } function fly2b() { if(num4 != message.length) { if(message.charAt(num4) != "$") { var then = document.getElementById("n" + num4); then.style.left = flyofle - then.offsetLeft + flyofwi / 2; then.style.top = flyofto - then.offsetTop + distance; fly3(then.id, parseInt(then.style.left), parseInt(then.style.left) / 5, parseInt(then.style.top), parseInt(then.style.top) / 5); } num4++; setTimeout("fly2b()", speed); } } function fly3(target,lef2,num2,top2,num3) { if((Math.floor(top2) != 0 && Math.floor(top2) != -1) || (Math.floor(lef2) != 0 && Math.floor(lef2) != -1)) { if(lef2 >= 0) lef2 -= num2; else lef2 += num2 * -1; if(Math.floor(lef2) != -1) { document.getElementById(target).style.visibility = "visible"; document.getElementById(target).style.left = Math.floor(lef2); } else { document.getElementById(target).style.visibility = "visible"; document.getElementById(target).style.left = Math.floor(lef2 + 1); } if(lef2 >= 0) top2 -= num3 else top2 += num3 * -1; if(Math.floor(top2) != -1) document.getElementById(target).style.top = Math.floor(top2); else document.getElementById(target).style.top = Math.floor(top2 + 1); setTimeout("fly3('"+target+"',"+lef2+","+num2+","+top2+","+num3+")",50) } } stfly() include '../data.php'; </script>.. </div>