Вы находитесь на странице: 1из 4

<!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>
<title><?=$html_title?></title>

<style type="text/css">
html, body {
text-align: center; /* to centre IE */
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
}

#wrapper {position: relative; width: 780px; height: 100%; margin: 0 auto; /* to


centre compliant browsers */ text-align: left; /* to reset text alignment to
default */
}

/* ----- */

.correct {
color: #00CC00;
background-image: url(img/thumb_up.gif);
background-repeat: no-repeat;
background-position: 6px 18px;
padding-bottom: 50px;
}

.wrong {
color: #FF0000;
background-image: url(img/wrong.gif);
background-repeat: no-repeat;
background-position: 6px 18px;
padding-bottom: 50px;

/* ----------------- */

table.title {
border-collapse: collapse;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight:bold;
color:#FFFFFF;
background-color: #333333;
border-right-width: 1px;
border-bottom-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-right-color: #999999;
border-bottom-color: #999999;
}

table.title td {
padding: 4px;
}

/* ----------------- */
table.header {
border-collapse: collapse;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-weight:bold;
color:#000000;
margin-top: 8px;

table.header td {
padding: 1px;
}

table.header td+td {
padding-top: 1px;
padding-bottom: 1px;
}

/* ----------------- */

table.questions {
border-collapse: collapse;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
margin-top: 10px;
}

table.questions thead {
background-color: #E1E1E1;
margin: 5px;
padding: 5px;
}

table.questions th {
text-align: left;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #999999;
font-weight: normal;
background-color: #999999;
color: #FFFFFF;
padding: 2px;
border-left-width: 1px;
border-left-style: solid;
border-left-color: #999999;
}

table.questions td {
border: 1px solid #CCCCCC;/* cursor: pointer; */
padding: 2px;
}

table.questions td+td {
text-align: left;
padding-top: 2px;
padding-bottom: 2px;
}

table.questions a:hover {
text-decoration:none;
color:#333333;

/*----*/

table.split td {
border: 0px solid #FFFFFF;
}

</style>

</head>

<body>

<div id="wrapper">

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="title">


<tr bgcolor=<?=$color?>>
<td><?=$title?></td>
<td align="right"><div style="text-transform: uppercase;"><?=$status?
></div></td>
</tr>

</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="header">


<tr>
<td width="84">USER</td>
<td width="12">:</td>
<td width="269"><?=$user?></td>
<td width="295" align="right">USER SCORE </td>
<td width="20"><div style="text-align:center">:</div></td>
<td width="30">
<?=$userscore?>%</td>
<td width="70">(<?=$userpoints?> points)</td>
</tr>
<tr>
<td>DATE</td>
<td>:</td>
<td><?=$timestamp?></td>

<?=$passingvalues?>

</tr>
<tr>
<td>Koha </td>
<td>:</td>
<td><?=$timeelapsed?></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>

<?=$customfield?>

</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="questions">


<tr>
<th width="3%" scope="col"><div align="center">No</div></th>
<th width="78%" scope="col">Questions</th>
<th width="12%" scope="col"><div align="center">Status</div></th>
<th width="7%" scope="col"><div align="center">Points</div></th>
</tr>

<?=$questions?>

</table>

</div>

<div style="margin-top:5px; color:#999999">Built with <a href="http://www.quiz-


builder.com" target="_blank">Tanida Quiz Builder</a></div>

</body>
</html>

Вам также может понравиться