Example #1
0
<?php

require_once "includes/initialize.php";
if (!$session->is_logged_in()) {
    redirect_to("login.php");
}
// For Pagination
//current page number($current_page)
$page = !empty($_GET['page']) ? (int) $_GET['page'] : 1;
//records per page ($per_page)
$per_page = 10;
//total record count ($total_count)
$total_count = 0;
$user = User::select_user_details($session->user_id);
$test = new Test();
$total_count = $test->test_record_count($_SESSION['owner_id'], $_SESSION['uname']);
$pagination = new Pagination($page, $per_page, $total_count);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Profile Page</title>
<link rel="stylesheet" href="css/style_examinee.css" type="text/css">
	<link type="text/css" href="css/menu.css" rel="stylesheet" >
    <link rel="stylesheet" href="css/validationEngine.jquery.css" type="text/css" media="screen" charset="utf-8" />
           <link rel="stylesheet" href="css/modalbox.css" type="text/css" />
       <script type="text/javascript" src="js/prototype.js"></script>
	   <script type="text/javascript" src="js/scriptaculous.js"></script>

	<script type="text/javascript" src="js/jquery.js"></script>
Example #2
0
<?php

require_once "includes/initialize.php";
$id = $_REQUEST['record'];
$result = User::select_user_details($id);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
       <script src="js/jquery-1.4.2.js"></script>
       <link rel="stylesheet" href="css/validationEngine.jquery.css" type="text/css" media="screen" charset="utf-8" />
       <script src="js/jquery.validationEngine-en.js" type="text/javascript"></script>
       <script src="js/jquery.validationEngine.js" type="text/javascript"></script>
 <script type="text/javascript" src="js/jquery.textshadow.js"></script>
    <script type="text/javascript" src="js/jquery.color.js"></script>
    <script type="text/javascript" src="js/aja.js"></script>

    <script>$(document).ready(function(){
  if ($.browser.msie) {
	  var sha = {
			x      : 0,
			y      : 0,
			radius : 2,
			color  : '#191919',
			opacity: 50
		};
  $(".txtshd").textShadow(sha);
  
}