Пример #1
0
<?php

session_start();
include '../../connection/connect.php';
include '../../common/functions.php';
$credit = new credential();
?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>mySkulMate::Library</title>
<link rel="stylesheet" href="/sms/modules/academics/new_style.css" type="text/css" />
<script src="/sms/modules/admissions/jquery/development-bundle/jquery-1.9.1.js"></script>
<script> 
$(document).ready( function printpage() {  window.print();      });
</script>
</head>

<body>
<table width="720" border="1" align="center" cellpadding="5" cellspacing="0">
  <tr><td>
   <div  class="totalhead">
      <div class="logo_box"><img src="<?php 
$log = $credit->creds();
echo $log['key4'];
?>
" alt="logo" width="120" height="120" border="0" /></div>
      <div class="centreedge" align="center">
        <div class="schhead"><?php 
$nam = $credit->creds();
Пример #2
0
<?php

session_start();
include '../../connection/connect.php';
include '../../common/functions.php';
isLoggedIn();
$myterm = getActiveTerm();
//get active term
$activeterm = $myterm['key3'];
$credit = new credential();
//generate receipt no
$possible = '123456789BCDEFGHJKMNPQRSTVWXYZ';
$code = '';
$i = 0;
while ($i < 5) {
    $code .= substr($possible, mt_rand(0, strlen($possible) - 1), 1);
    $i++;
}
$sql = "SELECT * FROM tblaccount a inner join tbltransactions t on a.id=t.account_id WHERE term_id=" . $activeterm . " order by t.date asc";
$result = mysql_query($sql) or die('Cannot get Info.');
?>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Skulsys|Trial Balance </title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Keywords" content="mobile applications">
<meta name="Description" content="categories.">
<link rel="stylesheet" type="text/css" href="styles.css" media="screen" />
<link rel="stylesheet" type="text/css" href="print.css" media="print" />
Пример #3
0
<?php

session_start();
include '../../connection/connect.php';
include '../../common/functions.php';
$credit = new credential();
//generate reportcardNo no
$possible = '123456789BCDEFGHJKMNPQRSTVWXYZ';
$code = '';
$i = 0;
while ($i < 5) {
    $code .= substr($possible, mt_rand(0, strlen($possible) - 1), 1);
    $i++;
}
$adminNo = $_POST['adminNo'];
$sel_sql = "SELECT student_details.*,class.class_name,class.class_for FROM student_details left join class on student_details.class_id= class.class_id WHERE student_details.adminNo='{$adminNo}'";
$sel_result = mysql_query($sel_sql) or die(mysql_error());
$sel_row = mysql_fetch_assoc($sel_result);
if ($sel_row == null) {
    header("location:/sms/index.php?view=pre_reportCard&info=no_record");
    echo "No such record";
}
extract($sel_row);
//get active term
$sql_period = "SELECT * from term_period where active='1'";
$result_period = mysql_fetch_assoc(mysql_query($sql_period));
extract($result_period);
$sql = "SELECT student_marks.stud_id,adminNo,fname,mname,lname\n\t\t\t\tFROM student_marks,student_details\n\t\t\t\tWHERE student_marks.stud_id=student_details.stud_id and term_id='{$term_id}' and class_id='{$class_id}' and student_marks.stud_id='{$stud_id}'";
$result = mysql_query($sql) or die(mysql_error());
$row = mysql_fetch_assoc($result);
extract($row);
Пример #4
0
<?php

session_start();
include '../../connection/connect.php';
include '../../common/functions.php';
$credit = new credential();
$school_details = $credit->creds();
//extract($_POST);
$term_name2 = $_SESSION['term_name'];
$class_name2 = $_SESSION['class_name'];
$year_name2 = $_SESSION['year_name'];
$sql = "SELECT term_id from term_period where term_name='{$term_name2}' ";
$result = mysql_query($sql) or die(mysql_error());
$row = mysql_fetch_assoc($result);
extract($row);
$sql = "select class.class_id from class join gradebk on gradebk.class_id join student_marks on student_marks.gradebk_id and class_name='{$class_name2}'";
$result = mysql_query($sql) or die(mysql_error());
$row = mysql_fetch_assoc($result);
extract($row);
?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>mySkulMate::Merit List</title>
<link rel="stylesheet" href="new_style.css" type="text/css" />
</head>

<body>

<table width="720" border="1" align="center" cellpadding="5" cellspacing="0">
Пример #5
0
<?php

$credits = new credential();
$nam = $credits->creds();
$schoolname = $nam['key1'];
$initials = $nam['key5'];
$_SESSION['schoolname'] = $schoolname;
$_SESSION['initials'] = $initials;
?>
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<title>MySkulMate</title>

<link rel="stylesheet" href="sm_css.css" type="text/css">
  <link rel="stylesheet" href="/sms/jq/jquery-ui.css">
	<script src="/sms/jq/jquery3.js"></script>
  <script src="/sms/jq/jquery-ui.js"></script>
 	<script src="/sms/jq/highlight.js"></script>
	<script>
	$(function() {
		$( "#tabs" ).tabs();
		});
		function printpage() {
	window.print();
  
			}
		</script>
	<script>
	$(function() {