PHP Classes

XML Based Question

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  XML Based Question  
Subject:XML Based Question
Summary:I want to print the Content from XML As per My requirement.
Messages:4
Author:srikanth
Date:2010-04-01 06:15:03
Update:2010-04-01 09:49:05
 

  1. XML Based Question   Reply   Report abuse  
Picture of srikanth srikanth - 2010-04-01 06:28:51
I have an Dynamic XML File( Means I am doing a project like online coaching, so in that every time we are taking the new exam means it will update the XML file as per exam we are writing, The XML File name is like"exam_paper.xml".

Till now i am printing the individual question in the exam taken page.
i.e 1 question per page....

Now My requirement is i want to print some 20 Questions per page and wit the pagination we have to select the next pages.


For that i am adding my code of both php and html...


question_paper.php
----------------------------------------------------------
<?php
session_start();
include_once("common/database.class.php");
include_once("common/common.class.php");
require_once "class.xmltoarray.php";

$db=new database;
$common=new common;
$click1="";$click2="";$click3="";$click4="";$click5="";

//---------To insert spaces in between questions-------------
function add_spaces($temp)
{
$ques=$temp;
$ques1=$temp;
$flag=false;
$sri_temp=explode("#",$ques);
$ques="";
for($z=0;$z<count($sri_temp);$z++)
{
if(count($sri_temp)>1)
{
$flag=true;
$rest=substr($sri_temp[$z], -2);
$ques.=$sri_temp[$z];
if($z!=(count($sri_temp)-1))
{
$ques=substr_replace($ques,"",-2);
}
$val=substr($rest,0,2);
if($val[0]=="")
$num=$val[1];
else
$num=$val[0].$val[1];
for($x=0;$x<$num;$x++)
{
$ques.="&nbsp;";
}
}
}
if($flag==true)
{
$temp=$ques;
}
else
{
$temp=$ques1;
}
return $temp;
}

// Funtion end--------------
$instructions_display="";
$_SESSION['flag']="true";
$_SESSION['cans'][0]="answers";
$id1=$_REQUEST['id'];
$qpaper_id=$_REQUEST['qid'];
$uname=$_SESSION['user_full_name'];
$exam_number=$_SESSION['exam_number'];
$sectionid=$_REQUEST['sectionid'];
$moduleid=$_REQUEST['module'];
$m=$_SESSION['numberofquestions'];
//$date1=date("d-m-Y");

$gmtdate=explode("-",gmdate("Y-m-d"));
$gmttime=explode(":",gmdate("H:i:s"));
$gmttotlsec=mktime($gmttime[0],$gmttime[1],$gmttime[2],$gmtdate[1],$gmtdate[2],$gmtdate[0]);
$addsec=(5*60*60)+(30*60);
$isttotlsec=$gmttotlsec+$addsec;
$today=$istdate=date("d-m-Y",$isttotlsec);
$isttime=date("h:i:s A",$isttotlsec);
$newdate2t = strtotime ( $today ) ;
$date1 = date ( 'Y-m-d' , $newdate2t );

$pid=$id1-1;
$nid=$id1+1;
if($nid==1)
$nid=2;

$visibility="hidden";
$type1="hidden";
$type3="hidden";
$submit_exam="";
$visibility_exam="hidden";

//$curans=$_REQUEST['choice'];

/*$sql6="select * from question_paper where question_paperid='$qpaper_id'";
$rsql6=$db->get_a_line($sql6);
$exam_name1=$rsql6['examname'];
$question_paperid=$rsql6['question_paperid'];*/

/* $sqql6="select * from question_paper_section where question_paperid='$qpaper_id'";
$rsqql6=$db->get_rsltset($sqql6);
for($m=0;$m<count($rsqql6);$m++)
{
$secid=$rsqql6[$m]['question_paper_sectionid'];

$sqsecl6="select * from questions where sectionid ='$secid'";
$rsqsecl6=$db->get_rsltset($sqsecl6);

for($k=0;$k<count($rsqsecl6);$k++)
{
$instructionid=$rsqsecl6[$k]['instructionid'];
$sql20="select * from instructions where instructionid=$instructionid";
$rsql20=$db->get_a_line($sql20);

}

$instructions_display.='<tr>
<td height="20" align="left" valign="middle">'.$rsql20['instruction'].'</td>
</tr>';
}*/



/*$sql20="select * from instructions ";
$rsql20=$db->get_rsltset($sql20);
for($k=0;$k<count($rsql20);$k++)
{
$instructions_display.='<tr>
<td height="20" align="left" valign="middle">'.$rsql20[$k]['instruction'].'</td>
</tr>';
} */

$rcontent=join("",file("templates/test_inner1.html"));

/*question_paper*/

if($_REQUEST['act']=="insert")
{
$cans1=$_REQUEST['choice'];
if($cans1=="")
{
$cans1='p';
}
$curans=$_SESSION['cans'][$id1];
$_SESSION['cans'][$pid]=$cans1;

if($curans!="")
{
if($curans=='a')
{
$checked1='checked="checked"';
}
elseif ($curans=='b')
{
$checked2='checked="checked"';
}
elseif ($curans=='c')
{
$checked3='checked="checked"';
}
elseif ($curans=='d')
{
$checked4='checked="checked"';
}
elseif ($curans=='e')
{
$checked5='checked="checked"';
}
}
}

if($_REQUEST['act']=="insert1")
{
$curans=$_GET['choice'];
if($curans=="")
{
$curans='p';
}
$_SESSION['cans'][$id1]=$curans;
if($curans=='a')
{
$checked1='checked="checked"';
}
elseif ($curans=='b')
{
$checked2='checked="checked"';
}
elseif ($curans=='c')
{
$checked3='checked="checked"';
}
elseif ($curans=='d')
{
$checked4='checked="checked"';
}
elseif ($curans=='e')
{
$checked5='checked="checked"';
}
}

if($_REQUEST['act']=="get" || $pid==1)
{

$gans=$_SESSION['cans'][$id1];

if($gans=='a')
{
$checked1='checked="checked"';
}
elseif ($gans=='b')
{
$checked2='checked="checked"';
}
elseif ($gans=='c')
{
$checked3='checked="checked"';
}
elseif ($gans=='d')
{
$checked4='checked="checked"';
}
elseif ($gans=='e')
{
$checked5='checked="checked"';
}
}

$myXMLString = file_get_contents('exam_paper.xml');
$myXMLString = utf8_encode($myXMLString);
$doc = new DOMDocument('1.0','UTF-8');
$doc->loadXML($myXMLString);

$questions = $doc->getElementsByTagName( "questions" );
$i=1;
$n=$_SESSION['numberofquestions'];
foreach( $questions as $q )
{

$ids = $q->getElementsByTagName( "id" );
$id11 = $ids->item(0)->nodeValue;
$_SESSION['id']=$id11;

$qids = $q->getElementsByTagName( "qid" );
$qid11 = $qids->item(0)->nodeValue;
$questionid=$qid;

$question1 = $q->getElementsByTagName( "question" );
$question11 = $question1->item(0)->nodeValue;
$question2=explode("Â",$question1);
$question2a=implode(" ",$question2);
$question3a=explode('~',$question2a);
if(count($question3a)!="")
$question=implode(',',$question3a);
else
$question=$question2a;
$question=add_spaces($question);


$paragraph1 = $q->getElementsByTagName( "paragraph" );
$paragraph1 = $paragraph1->item(0)->nodeValue;
//print $paragraph1;
if($paragraph1=="Nil")
{
$paragraph="";
}
else
{
//$paragraph2=explode("Â",$paragraph1);
//$paragraph=implode(" ",$paragraph2);
$paragraph=add_spaces($paragraph1);
}

//print para.$paragraph;

$as= $q->getElementsByTagName( "a" );
$answer11= $as->item(0)->nodeValue;

$answer1a=explode("Â",$answer12);
if(count($answer1a)!="")
$ans1=implode(" ",$answer1a);
else
$ans1=$answer12;
$temp=explode('""',$ans1);
if(count($temp)!="")
$answer1b=implode('"',$temp);
else
$answer1b=$ans1;
$answer1c=explode('~',$answer1b);
if(count($answer1c)!="")
$answer1=implode(',',$answer1c);
else
$answer1=$answer1b;
$answer1=add_spaces($answer1);

//Answer 2

$bs= $q->getElementsByTagName( "b" );
$answer22= $bs->item(0)->nodeValue;
$answer2a=explode("Â",$answer22);
if(count($answer2a)!="")
$ans2=implode(" ",$answer2a);
else
$ans2=$answer22;
$temp=explode('""',$ans2);
if(count($temp)!="")
$answer2b=implode('"',$temp);
else
$answer2b=$ans2;
$answer2c=explode('~',$answer2b);
if(count($answer2c)!="")
$answer2=implode(',',$answer2c);
else
$answer2=$answer2b;
$answer2=add_spaces($answer2);


//Answer 3

$cs= $q->getElementsByTagName( "c" );
$answer31= $cs->item(0)->nodeValue;

$answer3a=explode("Â",$answer32);
if(count($answer3a)!="")
$ans3=implode(" ",$answer3a);
else
$ans3=$answer32;
$temp=explode('""',$ans3);
if(count($temp)!="")
$answer3b=implode('"',$temp);
else
$answer3b=$ans3;
$answer3c=explode('~',$answer3b);
if(count($answer3c)!="")
$answer3=implode(',',$answer3c);
else
$answer3=$answer3b;
$answer3=add_spaces($answer3);

//Answer 4

$ds= $q->getElementsByTagName( "d" );
$answer41= $ds->item(0)->nodeValue;

$answer4a=explode("Â",$answer42);

if(count($answer4a)!="")
$ans4=implode(" ",$answer4a);
else
$ans4=$answer42;
$temp=explode('""',$ans4);
if(count($temp)!="")
$answer4b=implode('"',$temp);
else
$answer4b=$ans4;
$answer4c=explode('~',$answer4b);
if(count($answer4c)!="")
$answer4=implode(',',$answer4c);
else
$answer4=$answer4b;
$answer4=add_spaces($answer4);

//Answer 5

$es= $q->getElementsByTagName( "e" );
$answer52= $es->item(0)->nodeValue;
$answer5a=explode("Â",$answer52);
if(count($answer5a)!="")
$ans5=implode(" ",$answer5a);
else
$ans5=$answer52;
$temp=explode('""',$ans5);
if(count($temp)!="")
$answer5b=implode('"',$temp);
else
$answer5b=$ans5;
$answer5c=explode('~',$answer5b);
if(count($answer5c)!="")
$answer5=implode(',',$answer5c);
else
$answer5=$answer5b;
$answer5=add_spaces($answer5);

$_SESSION['numberofanswers']=$i;
$qn=$id;


if($answer1=="")
$answer1="None of these";
if($answer2=="")
$answer2="None of these";
if($answer3=="")
$answer3="None of these";
if($answer4=="")
$answer4="None of these";
if($answer5=="" || $answer5=="Nil" || $answer5=="Null")
{
$visibil5='visibility:hidden';
}
else
{
$visibil5='visibility:visible';
}
//$answer5="None of these";

/* if($pid>0)
$type1="Button";

if($nid<=$n)
$visibility="visible";
else
$type3="Button";

if($i<$id1)
$i++;
else
break;*/
if($pid>0)
$type1="Button";

if($nid<($n+2))
$visibility="visible";
else
$type3="Button";

if($qn==$n)
{
$visibility="hidden";
$visibility_exam="visible";
$submit_exam='<a href="javascript:exit();" style="text-decoration:none;"><input type="button" name="submit" value="Submit Exam" /></a>';
}

if($i<$id1)
$i++;
else
break;

}

$page = empty($_GET['page']) ? 1 : $_GET['page'];
$num_per_page = 20;
$total_pages = ceil($n/$num_per_page);

$break=1;
//echo "<table align=\"center\"><tr>";
for($i = ($page - 1) * $num_per_page; $i < $page * $num_per_page; $i++)
{

$exam_view.= '<tr><td align="left" valign="top">
<form name="question_paper" action="question_paper2.php">
<input type="hidden" value="true" name="login" />
<input type="hidden" value="'.$nid.'" name="id" />
<input type="hidden" value="insert" name="act" />
<input type="hidden" value="av" name="qp" />
<input type="hidden" value="'.$qpaper_id.'" name="qid" />
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30" class="question">'.$qn.' Q : '.$question.'</td>
</tr>
<tr>
<td height="30" class="question" style="padding-left:15px;">'.$paragraph.'</td>
</tr>
<tr><td>&nbsp;</td></tr>
<tr>
<td height="30" align="left" valign="middle"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle"><label>
<input type="radio" name="choice" value="a" '.$checked1.'>
</label> </td>
<td class="answer">'.$answer1.'</td>
</tr>
</table></td>
<td align="left" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle"><label>
<input type="radio" name="choice" value="b" '.$checked2.'>
</label> </td>
<td class="answer">'.$answer2.'</td>
</tr>
</table></td>
<td align="left" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle"><label>
<input type="radio" name="choice" value="c" '.$checked3.'>
</label> </td>
<td class="answer">'.$answer3.'</td>
</tr>
</table></td>
<td align="left" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle"><label>
<input type="radio" name="choice" value="d" '.$checked4.'>
</label> </td>
<td class="answer">'.$answer4.'</td>
</tr>
</table></td>
<td align="left" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle"><label>
<input type="radio" name="choice" value="e" '.$checked5.' style="'.$visibil5.'" >
</label> </td>
<td class="answer" style="'.$visibil5.'" >'.$answer5.'</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="40" align="left" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="middle"><a href="question_paper2.php?id='.$pid.'&login='.$login.'&qp='.$qp.'&act=get&qid='.$qpaper_id.'"><img src="images/prev.jpg" alt="previous" width="84" height="28" border="0" style="visibility:'.$type1.'"/></a></td>
<td align="right" valign="middle" style=" padding-right: 40px;"><input type="image" src="images/next.jpg" alt="next" width="84" height="28" border="0" name="submit" style="visibility:'.$visibility.';"/>'.$submit_exam.'</td>
</tr>
</table></td>
</tr>
</table>
</form>
</td></tr>';

if($break==20)
{
$exam_view. "</tr><tr>";
} // Breaks the table into two rows of 6
//if($break==6){echo "</tr><tr>";}

//$break++;
}

/*for($j=1;$j<=$n;$j++)
{
if($_SESSION['cans'][$j]!="" && $j!=$i)
{
if($_SESSION['cans'][$j]=='p')
{
//$userans='p';
$bottom_menu.='<td width="32" height="33" align="center" valign="middle" class="nonactive" style=" background-image: url(images/nonactive_image.jpg); background-repeat: no-repeat; background-position: center;"><a href="question_paper2.php?act=get&qid='.$qpaper_id.'&id='.$j.'&qp=av" style="color:#003399;">'.$j.'</a></td>';
}
else
{
/* if($curans=='a')
{
$userans='a';
}
elseif ($curans=='b')
{
$userans='b';
}
elseif ($curans=='c')
{
$userans='c';
}
elseif ($curans=='d')
{
$userans='d';
}
elseif ($curans=='e')
{
$userans='e';
}
$bottom_menu.='<td width="32" height="33" align="center" valign="middle" class="active" style=" background-image: url(images/active_image.jpg); background-repeat: no-repeat; background-position: center;"><a href="question_paper2.php?act=get&qid='.$qpaper_id.'&id='.$j.'&qp=av" style="color:#ffffff;">'.$j.'</a></td>';
}
}
elseif($j==$i)
{
$bottom_menu.='<td width="32" height="33" align="center" valign="middle" class="complete" style=" background-image: url(images/complete_image.jpg); background-repeat: no-repeat; background-position: center;"><a href="question_paper2.php?act=get&qid='.$qpaper_id.'&id='.$j.'&qp=av" style="color:#ffffff;">'.$j.'</a></td>';
}
else
{
$bottom_menu.='<td width="32" height="33" align="center" valign="middle" class="nonactive" style=" background-image: url(images/nonactive_image.jpg); background-repeat: no-repeat; background-position: center;"><a href="question_paper2.php?act=get&qid='.$qpaper_id.'&id='.$j.'&qp=av" style="color:#003399;">'.$j.'</a></td>';
}
if($j%20==0)
{
$bottom_menu.='</tr><tr><td colspan="20">&nbsp;</td></tr><tr>';
}

}*/

if ($page == 1)
{
}
else
{
$first = 1;
$prev = $page-1;
$bottom_menu= " <a class=\"IconLink\" href=\"$self?manage=media&page=$prev\"><b>Previous</b> </a>&nbsp;";
}
$bottom_menu.='<strong>'.$page.' of '.$total_pages.'</strong>';
if ($page < $total_pages)
{
$next = $page+1;
$bottom_menu.= "&nbsp; <a class=\"IconLinkRight\" href=\"$self?manage=media&page=$next\"> <b>Next </b></a> ";
}
else
{
$next = '';
$last = '';
}


$sqsecel6="select questionid,instructionid from questions where questionid='$questionid'";
$rsqsecel6=$db->get_a_line($sqsecel6);
$instructionid=$rsqsecel6['instructionid'];
$sql20="select instructionid,instruction from instructions where instructionid='$instructionid'";
$rsql20=$db->get_a_line($sql20);
$instructions_display='<tr><td height="20" align="left" valign="middle">'.$rsql20['instruction'].'</td></tr>';

$rcontent=preg_replace("/{{(.*?)}}/e","$$1",$rcontent);
echo $rcontent;

?>

<script type="text/javascript">
function exit()//finish
{
url="user_answers.php?qid=<?=$qpaper_id?>&moduleid=<?=$moduleid?>&sectionid=<?=$sectionid?>";
parent.window.close('exam.php');
self.location.href=url;
}
</script>

test_inne1.html
-----------------------------------------------------------------
<!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=iso-8859-1" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<title>Sura Coaching :: {{meta_title}}</title>
<meta name="Description" content="{{meat_description}}" />
<meta name="Keywords" content="{{meta_keyword}}" />
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.menu a {
text-decoration: none;
}
.style4 {color: #FFFFFF; font-weight: bold; }
.style1 {color: #2069A0}
-->
</style>
<style type="text/css">
.complete
{
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #ffffff;
font-weight: bold;
}
.active
{
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #ffffff;
font-weight: bold;
}
.nonactive
{
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #20548b;
font-weight: bold;
}
.question
{
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
color: #000000;
text-decoration: none;
}
.answer
{
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
color: #20548b;
text-decoration: none;
}

body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.menu a {
text-decoration: none;
}
-->
</style>
<script language="javascript" type="text/javascript">

function MM_findObj(n, d) { //v4.0
var p,i,x;
if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
/*function go(a,b,c)
{
url="question_paper2.php?qid="+a+"&act=insert1&id="+b+"&choice="+c+"";
self.location.href=url;
}*/
</script>
<script type="text/javascript">
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
//alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
//alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("return false")


function disableSelection(target){
if (typeof target.onselectstart!="undefined") //IE route
target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
target.style.MozUserSelect="none"
else //All other route (ie: Opera)
target.onmousedown=function(){return false}
target.style.cursor = "default"
}


// -->
</script>

</head>

<body>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="14" align="left" valign="top"><img src="images/left_top11.jpg" width="14" height="30" alt="lefttop" /></td>
<td align="left" valign="middle" class="heading1"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="680" align="left" valign="middle" class="heading1">QUESTION PAPER - {{exam_name1}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Question : {{qn}} of {{n}}</td>

</tr>
</table></td>
<td width="14" align="right" valign="top"><img src="images/right_top11.jpg" width="14" height="30" alt="righttop" /></td>
</tr>
<tr>
<td bgcolor="#f1f1f1" style=" border-left: 1px solid #cccccc;">&nbsp;</td>
<td align="left" valign="top" bgcolor="#f1f1f1"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30"><table width="100%">
<tr>
<td align="center">

</tr>

</table></td>
</tr>
<tr>
<td align="left" valign="top" ><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40%" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" align="right" valign="middle" style=" padding-right: 10px; color: #20548b; font-size:14px">NAME: </td>
<td height="25" align="left" valign="middle" style="font-size:14px">{{uname}}</td>
</tr>
<tr>
<td height="25" align="right" valign="middle" style=" padding-right: 10px; color: #20548b; font-size:14px">EXAM NUMBER:</td>
<td height="25" align="left" valign="middle" style="font-size:14px">{{exam_number}}</td>
</tr>
<tr>
<td height="25" align="right" valign="middle" style=" padding-right: 10px; color: #20548b; font-size:14px">DATE:</td>
<td height="25" align="left" valign="middle" style="font-size:14px">{{date1}}</td>
</tr>
</table></td>
</tr>
</table></td>
<td width="60%" align="left" valign="top"><table width="100%" height="72" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="19" align="left" valign="middle" style="color: #20548b;font-size:14px">INSTRUCTIONS:</td>
</tr>
{{instructions_display}}
<tr>
<td height="20" align="left" valign="middle"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>
<td bgcolor="#f1f1f1">&nbsp;</td>
<td bgcolor="#f1f1f1" ><table width="100%" border="0">
<tr>
<td align="center" valign="top"><table width="935" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><img src="images/dates_top.jpg" width="935" height="27" alt="datestop" /></td>
</tr>
<tr>
<td align="left" valign="top" style=" background-repeat: repeat-x; background-image: url(images/dates_bg.jpg); border-left: 1px solid #87a5c6; border-right: 1px solid #87a5c6;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
{{exam_view}}


</table></td>
</tr>
<tr>
<td align="center" valign="bottom"><img src="images/dates_bottom11.jpg" width="935" height="27" alt="datesbottom" /></td>
</tr>
</table></td>
</tr>
<tr><td>&nbsp;</td></tr>
<tr>
<td height="70" align="center" valign="middle"><table width="70%" border="0" cellspacing="0" cellpadding="0">
<tr>


{{bottom_menu}}

</tr>
</table></td>
</tr>
</table></td>
<td bgcolor="#f1f1f1">&nbsp;</td>
</tr>
</table></td>
</tr>
</table></td>
<td bgcolor="#f1f1f1" style=" border-right: 1px solid #cccccc;">&nbsp;</td>
</tr>
<tr>
<td height="21" align="left" valign="bottom"><img src="images/left_bottom11.jpg" width="14" height="22" alt="leftbottom" /></td>
<td bgcolor="#f1f1f1" style=" border-bottom: 1px solid #cccccc;">&nbsp;</td>
<td align="right" valign="bottom"><img src="images/right_bottom11.jpg" width="14" height="22" alt="rightbottom" /></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

There are 3 replies in this thread, which are not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.