Line 228: | Line 228: | ||
// The function to write profile | // The function to write profile | ||
function write_profile(index){ | function write_profile(index){ | ||
− | var out = '<table rulles="none" | + | var out = '<table rulles="none">' |
+ '<tr><td class="profile_header">Name:</td><td>' + profiles[index][0] + '</td></tr>' | + '<tr><td class="profile_header">Name:</td><td>' + profiles[index][0] + '</td></tr>' | ||
+ '<tr><td class="profile_header">School:</td><td>' + profiles[index][1] + '</td></tr>' | + '<tr><td class="profile_header">School:</td><td>' + profiles[index][1] + '</td></tr>' | ||
Line 235: | Line 235: | ||
out += '<tr><td class="profile_header">Cource:</td><td>' + profiles[index][3] + '</td></tr>'; | out += '<tr><td class="profile_header">Cource:</td><td>' + profiles[index][3] + '</td></tr>'; | ||
} | } | ||
− | out += ' | + | out += '</table>'; |
document.getElementById("member_profile").innerHTML = out; | document.getElementById("member_profile").innerHTML = out; |
Revision as of 08:40, 16 August 2016