SLameN,
у вас формы в макете нет
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<script type="text/javascript">
function checkAllOne(formName, checkboxName, varChecked) {
var tablinks = formName[checkboxName];
if(tablinks.length) {
for (var i = 0, j = tablinks.length; i < j; i++) {
tablinks[i].checked = varChecked;
} }
else tablinks.checked = varChecked
}
</script>
</head>
<body><form action="http://">
<input type="checkbox" name="total" onClick="checkAllOne(this.form,'phone[]',this.checked)" />
<div id='one'>
<input type='checkbox' name='phone[]' />
</div>
</form>
</body>
</html>