PHP 8.1.33
Preview: head.php Size: 3.03 KB
/home/jambtst2015/public_html/giraffeng.com/admin/includes/head.php

<?php include("loginauthenticate.php");

include("lib/conn.php");

$currentFile = $_SERVER["PHP_SELF"];

$parts = Explode('/', $currentFile);

$pageName = $parts[count($parts) - 1];

//echo $pageName;

//exit();

?>

<?php

/*$perRow = getPermission($pageName);

if($perRow == 0){

		header("location:index.php");

}*/

/*if($pageName!='changepassword.php'){

	$sqlpage = "select page_id from sat_page_name where page_name='".$pageName."'";

	$qrypage = mysql_query($sqlpage);

	$arrpage = mysql_fetch_array($qrypage);

	$pageId = $arrpage['page_id'];

	//echo "<br>";

	$sqluser = "select userclass from sat_users where user_id='".$_SESSION['sat_login_id']."'";

	$qryuser = mysql_query($sqluser);

	$arruser = mysql_fetch_array($qryuser);

	$user_level = $arruser['userclass'];

	

	$qryaut = mysql_query("select id from sat_permition where page_id='".$pageId."' and user_level='".$user_level."'");

	$perRow = mysql_num_rows($qryaut);

	if($perRow == 0){

		header("location:index.php?error=1");

	}

}*/

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Giraffeng : Admin</title>

<link href="css/style.css?rend=<?php echo rand(100,500); ?>" rel="stylesheet" type="text/css" />

<!-- For Font -->
<link rel="stylesheet" href="css/font-awesome.css" />
<link href='http://fonts.googleapis.com/css?family=Arimo' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Titillium+Web:600' rel='stylesheet' type='text/css'>


<!--for calender-->
<link rel="stylesheet" href="calender/jquery-ui.css" />

<script src="calender/jquery-1.8.3.js"></script>

<script src="calender/jquery-ui.js"></script>

<!--end-->

<!--jquery validation-->

<link rel="stylesheet" href="css/validationEngine.jquery.css" type="text/css"/>

<link rel="stylesheet" href="css/template.css" type="text/css"/>

<script src="js/jquery-1.8.2.min.js" type="text/javascript"></script>

<script src="js/jquery.validationEngine-en.js" type="text/javascript" charset="utf-8"></script>

<script src="js/jquery.validationEngine.js" type="text/javascript" charset="utf-8"></script>

<!--end-->

<script type="text/javascript">

<!--load datetime-->

function changeDateTime(){

	$('#date_time').load('<?php echo $site_path; ?>currentdatetime.php');

}

setInterval('changeDateTime();',60000);

<!--end-->

<!--last time set-->

function getlasttime(){

	$.ajax({

		url : 'last_active_time.php',

		type : 'POST',

		//data : 'ID=' + val,

		//dataType : 'json',

		beforeSend : function(jqXHR, settings ){

			//alert(1);

		},

		success : function( data, textStatus, jqXHR){

			//alert(data);

		},

		/*complete : function( jqXHR, textStatus){

			alert(3);

		},*/

		error : function( jqXHR, textStatus, errorThrown){

		}

	});

}

setInterval('getlasttime();',10000);

<!--end-->

</script>

</head>

Directory Contents

Dirs: 0 × Files: 11

Name Size Perms Modified Actions
87.70 KB lrw-r--r-- 2025-11-04 01:10:16
Edit Download
4.07 KB lrw-r--r-- 2024-11-22 17:53:01
Edit Download
3.03 KB lrw-r--r-- 2024-11-22 17:53:01
Edit Download
11.30 KB lrw-r--r-- 2024-11-22 17:53:01
Edit Download
12.18 KB lrw-r--r-- 2024-11-22 17:53:01
Edit Download
9.58 KB lrw-r--r-- 2024-11-22 17:53:01
Edit Download
436 B lrw-r--r-- 2024-11-22 17:53:01
Edit Download
2.40 KB lrw-r--r-- 2024-11-22 17:53:01
Edit Download
2.04 KB lrw-r--r-- 2024-11-22 17:53:01
Edit Download
425 B lrw-r--r-- 2024-11-22 17:53:01
Edit Download
2.53 KB lrw-r--r-- 2024-11-22 17:53:01
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).