本文整理汇总了PHP中xtable::foot_option方法的典型用法代码示例。如果您正苦于以下问题:PHP xtable::foot_option方法的具体用法?PHP xtable::foot_option怎么用?PHP xtable::foot_option使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类xtable
的用法示例。
在下文中一共展示了xtable::foot_option方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: iText
if (mysql_num_rows($t1) > 0) {
$r1 = mysql_fetch_array($t1);
$absen = $r1['absen'];
$info = $r1['keterangan'];
} else {
$absen = '';
$info = '';
}
$s = '<button id="presensi_btn_H_' . $r['replid'] . '" class="presensi_btn' . ($absen == 'H' ? '_H' : '') . '" onclick="xtable2_cekall(false);presensi_list_get_setabsen(' . $r['replid'] . ',\'H\')"><b>H</b></button>';
$s .= ' <button id="presensi_btn_S_' . $r['replid'] . '" class="presensi_btn' . ($absen == 'S' ? '_S' : '') . '" onclick="xtable2_cekall(false);presensi_list_get_setabsen(' . $r['replid'] . ',\'S\')"><b>S</b></button>';
$s .= ' <button id="presensi_btn_I_' . $r['replid'] . '" class="presensi_btn' . ($absen == 'I' ? '_I' : '') . '" onclick="xtable2_cekall(false);presensi_list_get_setabsen(' . $r['replid'] . ',\'I\')"><b>I</b></button>';
$s .= ' <button id="presensi_btn_A_' . $r['replid'] . '" class="presensi_btn' . ($absen == 'A' ? '_A' : '') . '" onclick="xtable2_cekall(false);presensi_list_get_setabsen(' . $r['replid'] . ',\'A\')"><b>A</b></button>';
//$xtable->td($s,110,'c');
echo '<td style="width:110px;text-align:center">' . $s . '</td>';
$s = iText('keterangan_' . $r['replid'], $info, 'width:100%');
echo '<td>' . $s . '</td>';
hiddenval('absen_' . $r['replid'], $absen);
$xtable->row_end();
}
$s = '<div style="float:left">';
//$s.='<button class="presensi_btn" onclick="presensi_list_get_setabsen_sel(\'\')"><b> </b></button>';
$s .= '<button class="presensi_btn" onclick="presensi_list_get_setabsen_sel(\'H\')"><b>H</b></button>';
$s .= ' <button class="presensi_btn" onclick="presensi_list_get_setabsen_sel(\'S\')"><b>S</b></button>';
$s .= ' <button class="presensi_btn" onclick="presensi_list_get_setabsen_sel(\'I\')"><b>I</b></button>';
$s .= ' <button class="presensi_btn" onclick="presensi_list_get_setabsen_sel(\'A\')"><b>A</b></button>';
$s .= '</div>';
$xtable->select_opt = '<div class="sfont" style="width:164px;float:left;margin-top:4px;margin-left:0px;margin-right:5px">set presensi siswa yang dipilih:</div>' . $s;
$xtable->foot(0);
echo '</div>';
$xtable->foot_option();
}