Certificate -

Info iconThis preview shows pages 1–3. 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, survey FROM users WHERE email='$email'")or die(mysql_error()); while($s = mysql_fetch_row($c)){ $first = $s[0]; $last = $s[1]; $compl = $s[2]; $sur = $s[3]; $ } 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> <link rel="stylesheet" href="/css/main_gecko.css" type="text/css" /> </HEAD> <BODY> <FORM NAME="form1" METHOD="post" ACTION=""> < <? < if($_POST['Over']){ i $Quest1=$_POST['Over']; $Quest2=$_POST['Clar']; $Quest3=$_POST['Func']; $Quest4=$_POST['Do']; $Quest5=$_POST['com']; mysql_query("UPDATE users set survey='2' WHERE email='$email'"); mysql_query("INSERT INTO `tribal`.`Survey` (`id` ,`email` , `quest1` ,`quest2` ,`quest3` ,`quest4` ,`quest5` )VALUES (NULL , '$email', '$Quest1', '$Quest2', '$Quest3', '$Quest4', '$Quest5');"); $sur=2; } if ($sur==1){ i
Background image of page 1

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

View Full DocumentRight Arrow Icon
i echo " <div id=pageBox> <div id=headerBox title=OPM GoLearn On-Line Courses> <div style=position:absolute;><a href=/ title=Home [alt-shift-h] accesskey=h tabindex=1><img src=. ./images/space.gif width=200 height=80 alt=Home border=0/></a></div> <div id=titleBox> <h1>Working Effectively with Tribal Governments</h1> <a class=hidden accesskey=0 alt=OPM GoLearn On-line Learning Portal href=javascript:simplePopup('./helpAccessibility', 'HOWTO', 400, 300)>Click here or type alt 0 for a list of keyboard shortcuts</a>
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

Certificate -

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

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