<?php
if( !defined('ISDVBBS') ){
	header('HTTP/1.0 404 Not Found');
	exit;
}
?><!--<?php print <<<EOT
-->
<table class="mainbox tableborder" cellspacing="0" cellpadding="0"  align=center>
<tr align=center>
<th width=16%><a href="?boardid={$boardid}&orders=1&action={$action}">{$lang['tpl.str1']}<a></th>
<th width=16%><a href="?boardid={$boardid}&orders=2&action={$action}">{$lang['tpl.str2']}<a></th>
<th width=16%><a href="?boardid={$boardid}&orders=3&action={$action}">{$lang['tpl.str3']}<a></th>
<th width=16%><a href="?boardid={$boardid}&orders=4&action={$action}">{$lang['tpl.str4']}<a></th>
<th width=16%><a href="?boardid={$boardid}&orders=5&action={$action}">{$lang['tpl.str5']}<a></th>
<th width=16%><a href="?boardid={$boardid}&orders=6&action={$action}">{$lang['tpl.str6']}<a></th>
</tr>
</table>
<table class="mainbox tableborder" cellspacing="0" cellpadding="0"  align=center>
<!--
EOT;
switch(intval($orders)){
case 1:
print <<<EOT
-->
<tr  align=center>
<th colspan=5 style="text-align:center">{$lang['tpl.str7']}</th>
</tr>
<tr>
<td height="25" width=20%>{$lang['tpl.str8']}</td>
<td height="23" width=20%>{$lang['tpl.str9']}</td>
<td height="23" width=20%>{$lang['tpl.str10']}</td>
<td height="23" width=20%>{$lang['tpl.str11']}</td>
<td height="23" width=20%>{$lang['tpl.str12']}</td>
</tr>
<!--
EOT;
break;
case 2:
print <<<EOT
-->
<tr  align=center>
<th colspan=13 style="text-align:center">{$lang['tpl.str13']}</th>
</tr>
<tr>
<td height="25" width=16%>{$lang['tpl.str14']}</td>
<td height="23" width=7%>{$lang['tpl.str15']}</td>
<td height="23" width=7%>{$lang['tpl.str16']}</td>
<td height="23" width=7%>{$lang['tpl.str17']}</td>
<td height="23" width=7%>{$lang['tpl.str18']}</td>
<td height="23" width=7%>{$lang['tpl.str19']}</td>
<td height="23" width=7%>{$lang['tpl.str20']}</td>
<td height="23" width=7%>{$lang['tpl.str21']}</td>
<td height="23" width=7%>{$lang['tpl.str22']}</td>
<td height="23" width=7%>{$lang['tpl.str23']}</td>
<td height="23" width=7%>{$lang['tpl.str24']}</td>
<td height="23" width=7%>{$lang['tpl.str25']}</td>
<td height="23" width=7%>{$lang['tpl.str26']}</td>
</tr>
<!--
EOT;
break;
case 3:
print <<<EOT
-->
<tr  align=center>
<th colspan=5 style="text-align:center">{$lang['tpl.str27']}</th>
</tr>
<tr>
<td height="25" width=20%>{$lang['tpl.str28']}</td>
<td height="23" width=20%>{$lang['tpl.str29']}</td>
<td height="23" width=20%>{$lang['tpl.str30']}</td>
<td height="23" width=20%>{$lang['tpl.str31']}</td>
<td height="23" width=20%>{$lang['tpl.str32']}</td>
</tr>
<!--
EOT;
break;
case 4:
print <<<EOT
-->
<tr  align=center>
<th colspan=8 style="text-align:center">{$lang['tpl.str33']}</th>
</tr>
<tr>
<td height="25" width=12.5%>{$lang['tpl.str34']}</td>
<td height="23" width=12.5%>{$lang['tpl.str35']}</td>
<td height="23" width=12.5%>{$lang['tpl.str36']}</td>
<td height="23" width=12.5%>{$lang['tpl.str37']}</td>
<td height="23" width=12.5%>{$lang['tpl.str38']}</td>
<td height="23" width=12.5%>{$lang['tpl.str39']}</td>
<td height="23" width=12.5%>{$lang['tpl.str40']}</td>
<td height="23" width=12.5%>{$lang['tpl.str41']}</td>
</tr>
<!--
EOT;
break;
case 5:
print <<<EOT
-->
<tr  align=center>
<th colspan=18 style="text-align:center">{$lang['tpl.str42']}</th>
</tr>
<tr>
<td height="25" width=10%>{$lang['tpl.str43']}</td>
<td height="23" width=5%>{$lang['tpl.str44']}</td>
<td height="23" width=5%>{$lang['tpl.str45']}</td>
<td height="23" width=5%>{$lang['tpl.str46']}</td>
<td height="23" width=5%>{$lang['tpl.str47']}</td>
<td height="23" width=5%>{$lang['tpl.str48']}</td>
<td height="23" width=5%>{$lang['tpl.str49']}</td>
<td height="23" width=5%>{$lang['tpl.str50']}</td>
<td height="23" width=5%>{$lang['tpl.str51']}</td>
<td height="23" width=5%>{$lang['tpl.str52']}</td>
<td height="23" width=5%>{$lang['tpl.str53']}</td>
<td height="23" width=5%>{$lang['tpl.str54']}</td>
<td height="23" width=5%>{$lang['tpl.str55']}</td>
<td height="23" width=5%>{$lang['tpl.str56']}</td>
<td height="23" width=5%>{$lang['tpl.str57']}</td>
<td height="23" width=5%>{$lang['tpl.str58']}</td>
<td height="23" width=5%>{$lang['tpl.str59']}</td>
<td height="23" width=5%>{$lang['tpl.str60']}</td>
</tr>
<!--
EOT;
break;
case 6:
print <<<EOT
-->
<tr  align=center>
<th colspan=5 style="text-align:center">{$lang['tpl.str61']}</th>
</tr>
<tr>
<td height="25" width=12.5%>{$lang['tpl.str62']}</td>
<td height="23" width=12.5%>{$lang['tpl.str63']}</td>
<td height="23" width=12.5%>{$lang['tpl.str64']}</td>
<td height="23" width=12.5%>{$lang['tpl.str65']}</td>
<td height="23" width=12.5%>{$lang['tpl.str66']}</td>
</tr>
<!--
EOT;
break;
default:
print <<<EOT
-->
<tr  align=center>
<th colspan=5 style="text-align:center">{$lang['tpl.str67']}</th>
</tr>
<tr>
<td height="25" width=20%>{$lang['tpl.str68']}</td>
<td height="23" width=20%>{$lang['tpl.str69']}</td>
<td height="23" width=20%>{$lang['tpl.str70']}</td>
<td height="23" width=20%>{$lang['tpl.str71']}</td>
<td height="23" width=20%>{$lang['tpl.str72']}</td>
</tr>
<!--
EOT;
break;
}
for($i=0;$i<count($groupname);$i++){
$groupsetting[$i] = explode(',',$groupsetting[$i]);
for($k=0;$k<count($groupsetting[$i]);$k++){
	$mygroupsetting[$k] = yesorno($groupsetting[$i][$k]);
}
switch($orders){
case 1:
print <<<EOT
-->
<tr>
<td height="23" >{$groupname[$i]}</td>
<td height="23" ><B>{$mygroupsetting[0]}</B></td>
<td height="23" ><B>{$mygroupsetting[1]}</B></td>
<td height="23" ><B>{$mygroupsetting[2]}</B></td>
<td height="23" ><B>{$mygroupsetting[41]}</B></td>
</tr>
<!--
EOT;
break;
case 2:
print <<<EOT
-->
<tr>
<td height="23" >{$groupname[$i]}</td>
<td height="23" ><B>{$mygroupsetting[3]}</B></td>
<td height="23" ><B>{$mygroupsetting[4]}</B></td>
<td height="23" ><B>{$mygroupsetting[5]}</B></td>
<td height="23" ><B>{$mygroupsetting[6]}</B></td>
<td height="23" ><B>{$groupsetting[$i][47]}</B></td>
<td height="23" ><B>{$mygroupsetting[7]}</B></td>
<td height="23" ><B>{$groupsetting[$i][40]}</B></td>
<td height="23" ><B>{$groupsetting[$i][44]}</B> KB</td>
<td height="23" ><B>{$mygroupsetting[8]}</B></td>
<td height="23" ><B>{$mygroupsetting[9]}</B></td>
<td height="23" ><B>{$mygroupsetting[17]}</B></td>
<td height="23" ><B>{$groupsetting[$i][46]}</B></td>
</tr>
<!--
EOT;
break;
case 3:
print <<<EOT
-->
<tr>
<td height="23" >{$groupname[$i]}</td>
<td height="23" ><B>{$mygroupsetting[10]}</B></td>
<td height="23" ><B>{$mygroupsetting[11]}</B></td>
<td height="23" ><B>{$mygroupsetting[12]}</B></td>
<td height="23" ><B>{$mygroupsetting[13]}</B></td>
</tr>
<!--
EOT;
break;
case 4:
print <<<EOT
-->
<tr>
<td height="23" >{$groupname[$i]}</td>
<td height="23" ><B>{$mygroupsetting[14]}</B></td>
<td height="23" ><B>{$mygroupsetting[15]}</B></td>
<td height="23" ><B>{$mygroupsetting[16]}</B></td>
<td height="23" ><B>{$mygroupsetting[36]}</td>
<td height="23" ><B>{$mygroupsetting[37]}</B></td>
<td height="23" ><B>{$mygroupsetting[38]}</B></td>
<td height="23" ><B>{$mygroupsetting[39]}</B></td>
</tr>
<!--
EOT;
break;
case 5:
print <<<EOT
-->
<tr>
<td height="23" >{$groupname[$i]}</td>
<td height="23" ><B>{$mygroupsetting[18]}</B></td>
<td height="23" ><B>{$mygroupsetting[19]}</B></td>
<td height="23" ><B>{$mygroupsetting[20]}</B></td>
<td height="23" ><B>{$mygroupsetting[21]}</B></td>
<td height="23" ><B>{$mygroupsetting[22]}</B></td>
<td height="23" ><B>{$mygroupsetting[43]}</B></td>
<td height="23" ><B>{$mygroupsetting[23]}</B></td>
<td height="23" ><B>{$mygroupsetting[24]}</B></td>
<td height="23" ><B>{$mygroupsetting[25]}</B></td>
<td height="23" ><B>{$mygroupsetting[26]}</B></td>
<td height="23" ><B>{$mygroupsetting[27]}</B></td>
<td height="23" ><B>{$mygroupsetting[28]}</B></td>
<td height="23" ><B>{$mygroupsetting[29]}</B></td>
<td height="23" ><B>{$mygroupsetting[30]}</B></td>
<td height="23" ><B>{$mygroupsetting[31]}</B></td>
<td height="23" ><B>{$mygroupsetting[42]}</B></td>
<td height="23" ><B>{$mygroupsetting[45]}</B></td>
</tr>
<!--
EOT;
break;
case 6:
print <<<EOT
-->
<tr>
<td height="23" >{$groupname[$i]}</td>
<td height="23" ><B>{$mygroupsetting[32]}</B></td>
<td height="23" ><B>{$groupsetting[$i][33]}</B></td>
<td height="23" ><B>{$groupsetting[$i][34]}</B> byte</td>
<td height="23" ><B>{$groupsetting[$i][35]}</B> KB</td>
</tr>
<!--
EOT;
break;
default:
print <<<EOT
-->
<tr>
<td height="23" >{$groupname[$i]}</td>
<td height="23" ><B>{$mygroupsetting[0]}</B></td>
<td height="23" ><B>{$mygroupsetting[1]}</B></td>
<td height="23" ><B>{$mygroupsetting[2]}</B></td>
<td height="23" ><B>{$mygroupsetting[41]}</B></td>
</tr>
<!--
EOT;
break;
case 6:
print <<<EOT
-->
<!--
EOT;
}
}
print <<<EOT
-->
</table>
<!--
EOT;
?>-->