CertificateBackup

CertificateBackup - <?php session_start(); i include...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
<?php session_start(); include '. ./tribaldb.php'; i $email = $_SESSION['email']; $ $c = mysql_query("SELECT first, last, complettion FROM users WHERE email='$email'")or die(mysql_error()); while($s = mysql_fetch_row($c)){ $first = $s[0]; $last = $s[1]; $compl = $s[2]; $ } if((!$first) || (!$last)){ $first = "Something is wrong log back in"; } if ($compl!="1-1-1-1"){ echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0; URL=http://tribal.golearnportal.org/login.php\">"; exit(); } $gre = explode("-", $compl); $ ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> < <HTML> <HEAD> <base href="http://tribalgov.golearnportal.org/tribal/images/certificate.htm/" /> < <TITLE>Certificate</TITLE> </HEAD> <BODY> < <FORM NAME="form1"> <INPUT TYPE="hidden" NAME="info" SIZE="35"> </FORM> < <SCRIPT LANGUAGE="javascript"> var locate = window.location; document.form1.info.value = locate; d var now = new Date(); var certMonthNum = now.getMonth() var monthNames = new Array("January","February","March","April","May","June","July","August","September"
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

CertificateBackup - &lt;?php session_start(); i include...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online