The full page source:
Code:
<!doctype html public '-//w3c//dtd html 4.01 transitional//en'>
<html>
<head>
<title> A little web platform for your language school</title>
<meta http-equiv='content-type' content='text/html; charset=iso-8859-1'>
<link rel='stylesheet' type='text/css' href='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/system/panel/css/default.css' />
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/popup.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/ajax.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/utilities.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/cookies.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/adddomloadevent-compressed.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/jquery-1.7.1.min.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/datepicker/language/jquery.ui.datepicker-da.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/datepicker/language/jquery.ui.datepicker-de.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/datepicker/language/jquery.ui.datepicker-en-GB.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/datepicker/language/jquery.ui.datepicker-es.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/datepicker/language/jquery.ui.datepicker-fi.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/datepicker/language/jquery.ui.datepicker-fr.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/datepicker/language/jquery.ui.datepicker-it.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/datepicker/language/jquery.ui.datepicker-nl.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/datepicker/language/jquery.ui.datepicker-no.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/datepicker/language/jquery.ui.datepicker-ru.js'></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/datepicker/language/jquery.ui.datepicker-sv.js'></script>
<link rel='stylesheet' type='text/css' href='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/ui/css/smoothness/jquery-ui-1.8.17.custom.css' />
<script type="text/javascript" src="http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/ui/jquery-ui-1.8.17.custom.min.js"></script>
<script type="text/javascript" src="http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/jquery-ui-autocomplete-extension/scottgonzalez-jquery-ui-extensions-e34c945/autocomplete/jquery.ui.autocomplete.html.js"></script>
<script type='text/javascript' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/wtooltip.min.js'></script>
<script type="text/javascript" src="http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/js/jquery/cycle/jquery.cycle.all.min.2.99.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".tooltip").wTooltip({
follow: false,
fadeIn: 300,
fadeOut: 500,
delay: 500,
style: {
width: "500px", // Required to avoid the tooltip being displayed off the right
background: "#ffffff",
color: "#000",
fontSize: 14
}
});
});
</script>
<script type="text/javascript">
function setPageTitle() {
parent.document.title = " A little web platform for your language school";
}
</script>
</head>
<body onLoad="setPageTitle(); formFocus(); ">
<table border='0' id='bodyTable' class='admin' style='width:100%; height:94%;'><tbody><tr><td class='no_style_body'>
<table border='0' width='100%' cellpadding='2' cellspacing='2'><tr>
<td align='left' width='25%'>
<a href='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/modules/elearning/assignment/admin.php' onmouseover="(window.status=''); return(true);">
<img src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/system/panel/image/common/parent_menu.png' border='0' title='Back to the upper level'></a>
</td>
<td align='center'>
<div class='header'>Give an assignment</div>
</td>
<td align='right' width='25%'><span class='tooltip' title='<span class="system_tooltip">It is possible to give an assignment to one or more participants.<br /><br />All the participants will then be able to do the assignment.<br /><br />For example, it is possible to give an assignment to all the participants of a class.</span>'><img src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/system/panel/image/common/help.png' style='border-width:0px; vertical-align:middle;' title='' alt='' /></span>
</td>
</tr></table>
<br/><table class='list_lines' border='0' width='100%' cellpadding='4' cellspacing='0'><tbody>
<tr class=''>
<td style='' width='10%' colspan=2>
</td>
</tr>
<form action='/dev/php/learnintouch/www/learnintouch.com/engine/modules/elearning/assignment/add.php' method='post' name='edit' id='edit' target='_self'>
<script type='text/javascript'>
$(document).ready(function() {
$("#elearningExerciseName").keyup(function() {
if (!this.value) {
$("#elearningExerciseId").attr("value", '-1');
$("#elearningExerciseId").change();
$("#elearningExerciseName").attr("value", '');
$("#elearningExerciseName").change();
}
});
$("#elearningExerciseName").autocomplete({
source: "http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/modules/elearning/exercise/suggestExercises.php",
minLength: 2,
html: true,
select: function(event, ui) {
if (ui.item) {
$("#elearningExerciseId").attr("value", ui.item.id);
$("#elearningExerciseId").change();
}
}
});
});
</script>
<input type='hidden' name='elearningExerciseId' id='elearningExerciseId' value=''>
<tr class=''>
<td style=' font-weight:bold;' width='10%' align='right' nowrap valign='top'>
Exercise:
</td>
<td style='' width='10%' >
<input type='text' id='elearningExerciseName' value='' size='40' />
</td>
</tr>
<tr class=''>
<td style='' width='10%' colspan=2>
</td>
</tr>
<script type='text/javascript'>
$(document).ready(function() {
$("#participantName").keyup(function() {
if (!this.value) {
$("#elearningSubscriptionId").attr("value", '-1');
$("#elearningSubscriptionId").change();
$("#participantName").attr("value", '');
$("#participantName").change();
}
});
$("#participantName").autocomplete({
source: "http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/modules/elearning/subscription/suggest.php",
minLength: 2,
html: true,
select: function(event, ui) {
if (ui.item) {
$("#elearningSubscriptionId").attr("value", ui.item.id);
$("#elearningSubscriptionId").change();
}
}
});
});
</script>
<input type='hidden' name='elearningSubscriptionId' id='elearningSubscriptionId' value=''>
<tr class=''>
<td style=' font-weight:bold;' width='10%' align='right' nowrap valign='top'>
Participant:
</td>
<td style='' width='10%' >
<input type='text' id='participantName' name='participantName' value='' />
</td>
</tr>
<tr class=''>
<td style='' width='10%' colspan=2>
</td>
</tr>
<script type='text/javascript'>
$(document).ready(function() {
$("#className").keyup(function() {
if (!this.value) {
$("#elearningClassId").attr("value", '-1');
$("#elearningClassId").change();
$("#className").attr("value", '');
$("#className").change();
}
});
$("#className").autocomplete({
source: "http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/modules/elearning/class/suggest.php",
minLength: 2,
html: true,
select: function(event, ui) {
if (ui.item) {
$("#elearningClassId").attr("value", ui.item.id);
$("#elearningClassId").change();
}
}
});
});
</script>
<input type='hidden' name='elearningClassId' id='elearningClassId' value=''>
<tr class=''>
<td style=' font-weight:bold;' width='10%' align='right' nowrap valign='top'>
Class:
</td>
<td style='' width='10%' >
<input type='text' id='className' value='' />
</td>
</tr>
<tr class=''>
<td style='' width='10%' colspan=2>
</td>
</tr>
<tr class=''>
<td style=' font-weight:bold;' width='10%' align='right' nowrap valign='top'>
To the participants:
</td>
<td style='' width='10%' >
<p id='checkboxes' />
</td>
</tr>
<tr class=''>
<td style='' width='10%' colspan=2>
</td>
</tr>
<tr class=''>
<td style=' font-weight:bold;' width='10%' align='right' nowrap valign='top'>
<span class='tooltip' title='<span class="system_tooltip">By default, a participant can do an assignment several times over.<br /><br />But it is possible to only allow him to do the assignment once.<br /><br />In that case, the participant will not be able to do the assignment a second time.</span>' style='margin-right:4px;'>Only once <img src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/system/panel/image/common/question.png' style='border-width:0px; vertical-align:middle; margin-bottom:2px;' alt='' /></span>
</td>
<td style='' width='10%' >
<input type='checkbox' name='onlyOnce' value='1'>
</td>
</tr>
<tr class=''>
<td style='' width='10%' colspan=2>
</td>
</tr>
<tr class=''>
<td style=' font-weight:bold;' width='10%' align='right' nowrap valign='top'>
<span class='tooltip' title='<span class="system_tooltip">If an opening date is specified then the assignment will not be available before the opening date.</span>' style='margin-right:4px;'>Opening date: <img src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/system/panel/image/common/question.png' style='border-width:0px; vertical-align:middle; margin-bottom:2px;' alt='' /></span>
</td>
<td style='' width='10%' >
<input type='text' name='openingDate' id='openingDate' value='' size='12' maxlength='10'> (JJ-MM-AAAA)
</td>
</tr>
<tr class=''>
<td style='' width='10%' colspan=2>
</td>
</tr>
<tr class=''>
<td style=' font-weight:bold;' width='10%' align='right' nowrap valign='top'>
<span class='tooltip' title='<span class="system_tooltip">If a closing date is specified then the assignment will not be available after the opening date.</span>' style='margin-right:4px;'>Closing date: <img src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/system/panel/image/common/question.png' style='border-width:0px; vertical-align:middle; margin-bottom:2px;' alt='' /></span>
</td>
<td style='' width='10%' >
<input type='text' name='closingDate' id='closingDate' value='' size='12' maxlength='10'> (JJ-MM-AAAA)
</td>
</tr>
<tr class=''>
<td style='' width='10%' colspan=2>
</td>
</tr>
<tr class=''>
<td style='' width='10%' >
</td>
<td style='' width='10%' >
<input type='image' border='0' name='okButton' id='okButton' src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/system/panel/image/common/green_tick_large.png' title=''>
</td>
</tr>
<input type='hidden' name='formSubmitted' id='formSubmitted' value='1'>
</form>
<script type='text/javascript'>
$(document).ready(function() {
function getSubscriptions() {
var elearningSubscriptionId = $('#elearningSubscriptionId').val();
var elearningClassId = $('#elearningClassId').val();
var url = 'http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/modules/elearning/subscription/get_list.php?elearningSubscriptionId='+elearningSubscriptionId+'&elearningClassId='+elearningClassId;
ajaxAsynchronousRequest(url, renderSubscriptions);
}
$('#elearningSubscriptionId').change(function() {
getSubscriptions();
});
$('#elearningClassId').change(function() {
getSubscriptions();
});
function renderSubscriptions(responseText) {
var response = eval('(' + responseText + ')');
var subscriptions = response.subscriptions;
$('#checkboxes').empty();
if (subscriptions.length > 0) {
for (var i in subscriptions) {
var elearningSubscriptionId = subscriptions[i].elearningSubscriptionId;
var elearningSubscriptionId = subscriptions[i].elearningSubscriptionId;
var firstname = subscriptions[i].firstname;
var lastname = subscriptions[i].lastname;
var elearningSubscriptionId = subscriptions[i].elearningSubscriptionId;
if (elearningSubscriptionId > 0) {
// $('#checkboxes').append(
// $(document.createElement("div")).html(firstname + ' ' + lastname).append(
// $(document.createElement("input")).attr('name', 'subscriptionId_' + elearningSubscriptionId).attr('value', 1).attr('type', 'checkbox').attr('checked', true)
// )
// )
$('#checkboxes').append(firstname + " " + lastname + " <input type='checkbox' value='1' checked='checked' name='subscriptionId_" + elearningSubscriptionId+ "'><br/>");
}
}
}
}
});
</script>
<script type='text/javascript'>
$(function() {
$("#openingDate").datepicker({ dateFormat:'dd-mm-yy' });
$("#closingDate").datepicker({ dateFormat:'dd-mm-yy' });
});
</script><script type='text/javascript'>
$(function() {
$.datepicker.setDefaults($.datepicker.regional['en-GB']);
});
</script>
</tbody></table>
</td></tr></tbody></table><div style='width:100%; text-align:center;'><a onclick="window.open(this.href, '_blank'); return(false);" href='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/modules/language/translate.php?toLanguageCode=se&filePath=%2Fhome%2Fstephane%2Fdev%2Fphp%2Flearnintouch%2Fwww%2Flearnintouch.com%2Fengine%2Fmodules%2Felearning%2Fassignment%2Fadd.php' onmouseover="(window.status=''); return(true);">
<span class='language_item'><img src='http://localhost/dev/php/learnintouch/www/learnintouch.com/engine/modules/language/image/flag_se.gif' class='language_item_img' title='Svenska' alt='' /></span></a> <a href='http://8fub189.copyrightfrance.com' onmouseover="(window.status=''); return(true);" target='_blank' title='The name LearnInTouch and the software are registered at Copyright France.'>Copyright</a> 2010 <a href='http://www.thalasoft.com' onmouseover="(window.status=''); return(true);" target='_blank' title='The name LearnInTouch and the software are registered at Copyright France.'>Thalasoft</a> All Rights Reserved.</div>
</body>
</html>
Bookmarks