本文整理汇总了PHP中close_body函数的典型用法代码示例。如果您正苦于以下问题:PHP close_body函数的具体用法?PHP close_body怎么用?PHP close_body使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了close_body函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: open_body
<?php
//@Copy nangkoelframework
//ind
require_once 'master_validation.php';
include 'lib/nangkoelib.php';
include_once 'lib/zLib.php';
echo open_body();
include 'master_mainMenu.php';
?>
<script language=javascript1.2 src='js/log_2posisiBarang.js'></script>
<script language="javascript" src="js/zMaster.js"></script>
<!--<link rel=stylesheet type=text/css href="style/zTable.css">-->
<script language=javascript src='js/zReport.js'></script>
<script language=javascript src=js/zTools.js></script>
<?php
$arr = "##nopo";
OPEN_BOX('', "<b>Laporan Posisi Barang</b>");
//1 O
echo "<table>\r\n <tr>\r\n\t\r\n\t <td><fieldset><legend>" . $_SESSION['lang']['find'] . "</legend>";
echo " " . $_SESSION['lang']['nopo'] . " :<input type=text id=nopo size=25 maxlength=30 disabled class=myinputtext>\r\n\t\t\t<img src=images/zoom.png title='" . $_SESSION['lang']['find'] . "' id=tmblCariNoPo class=resicon onclick=cariNoPo('" . $_SESSION['lang']['find'] . "',event)>\r\n\t\t\r\n\t\t\r\n\t\t<button onclick=zPreview('log_slave_2posisiBarang','" . $arr . "','printContainer') class=mybutton name=preview id=preview>Preview</button>\r\n <button onclick=zExcel(event,'log_slave_2posisiBarang.php','" . $arr . "') class=mybutton name=preview id=preview>" . $_SESSION['lang']['excel'] . "</button>\r\n\t\t<button onclick=batal() class=mybutton name=btnBatal id=btnBatal>" . $_SESSION['lang']['cancel'] . "</button>";
echo "</fieldset></td>\r\n </tr>\r\n\t </table> ";
CLOSE_BOX();
OPEN_BOX();
echo "\r\n<fieldset style='clear:both'><legend><b>" . $_SESSION['lang']['printArea'] . "</b></legend>\r\n<div id='printContainer'>\r\n</div></fieldset>";
//style='overflow:auto;height:350px;max-width:1500px';
CLOSE_BOX();
echo close_body();
示例2: CLOSE_BOX
<td><select id=tahun style='width:200px;' onchange="getUnit2()"><?php
echo $optthn;
?>
</select></td>
</tr>
<tr><td><label><?php
echo $_SESSION['lang']['kontraktor'];
?>
</label></td>
<td><select id=kontaktor style='width:200px;' ><?php
echo $optUnit;
?>
</select></td>
</tr>
<tr>
<td colspan="3">
<?php
echo " <button onclick=\"zPreview('summary_slave_progress_spk2','" . $arr2 . "','reportcontainer')\" class=\"mybutton\" name=\"preview\" id=\"preview\">" . $_SESSION['lang']['preview'] . "</button>\r\n <button onclick=\"zExcel(event,'summary_slave_progress_spk2.php','" . $arr2 . "','reportcontainer')\" class=\"mybutton\" name=\"excel\" id=\"excel\">" . $_SESSION['lang']['excel'] . "</button> \r\n <!--<button onclick=\"zPdf('summary_slave_progress_spk2','" . $arr2 . "','reportcontainer')\" class=\"mybutton\" name=\"pdf\" id=\"pdf\">" . $_SESSION['lang']['pdf'] . "</button>-->";
?>
</td>
</tr>
</table>
</fieldset>
<?php
CLOSE_BOX();
OPEN_BOX('', 'Result:');
echo "<fieldset><legend>" . $_SESSION['lang']['list'] . "</legend>\r\n <div id='reportcontainer' style='width:100%;height:550px;overflow:scroll;background-color:#FFFFFF;'></div> \r\n </fieldset>";
CLOSE_BOX();
close_body();
exit;
示例3: getEnum
$arrenum = getEnum($dbname, 'datakaryawan', 'jeniskelamin');
foreach ($arrenum as $key => $val) {
$optJK .= "<option value='" . $key . "'>" . $val . "</option>";
}
echo "<table>\r\n <tr valign=middle>\r\n <td><fieldset><legend>" . $_SESSION['lang']['find'] . "</legend>";
if ($_SESSION['empl']['tipelokasitugas'] == 'HOLDING') {
echo $_SESSION['lang']['perusahaan'] . " : <select id=schpt style='width:150px' onchange='filterlokasitugas()'><option value=''>" . $_SESSION['lang']['all'] . "</option>" . $optpt . "</select><p />";
} else {
echo "<select id=schpt style='width:150px;display:none' onchange='filterlokasitugas()'><option value=''>" . $_SESSION['lang']['all'] . "</option></select>";
}
echo " " . $_SESSION['lang']['caripadanama'] . " : <input type=text id=txtsearch style='width:120px' size=25 maxlength=30 class=myinputtext>  ";
echo $_SESSION['lang']['lokasitugas'] . " : <select id=schorg style='width:150px' onchange=changeCaption(this.options[this.selectedIndex].text);><option value=''>" . $_SESSION['lang']['all'] . "</option>" . $optlokasitugas . "</select>   ";
echo $_SESSION['lang']['tipekaryawan'] . " : <select id=schtipe onchange=changeCaption1(this.options[this.selectedIndex].text);><option value=''>" . $_SESSION['lang']['all'] . "</option>" . $opttipekaryawan . "</select>   ";
echo $_SESSION['lang']['status'] . " : <select id=schstatus style='width:75px' onchange=changeCaption(this.options[this.selectedIndex].text);><option value=''>" . $_SESSION['lang']['all'] . "</option><option value='0000-00-00'>" . $_SESSION['lang']['aktif'] . "</option><option value='*'>" . $_SESSION['lang']['tidakaktif'] . "</select>   ";
echo $_SESSION['lang']['jeniskelamin'] . " : <select id=schjk style='width:150px' onchange=changeCaption(this.options[this.selectedIndex].text);>" . $optJK . "</select>   ";
//echo "<td align=right>".$_SESSION['lang']['jeniskelamin']."</td><td><select id=jeniskelamin style='width:150px;'>".$optJK."</select></td>";
echo "<button class=mybutton onclick=cariKaryawanLaporan(1)>" . $_SESSION['lang']['find'] . "</button>";
echo "</fieldset></td>\r\n </tr>\r\n </table> ";
///////////////////
echo "<table>\r\n <tr valign=middle>\r\n <td><fieldset><legend>Find by period</legend>";
echo "" . $_SESSION['lang']['tahun'] . " " . $_SESSION['lang']['masuk'] . " : <select id='thnmsk' style='width:150px;' onchange=changeCaption1(this.options[this.selectedIndex].text);>" . $optthnmsk . "   </select>";
echo " " . $_SESSION['lang']['bulan'] . " " . $_SESSION['lang']['masuk'] . " : <select id='blnmsk' style='width:150px;' onchange=changeCaption1(this.options[this.selectedIndex].text);>" . $optblnmsk . "   </select>";
echo "" . $_SESSION['lang']['tahun'] . " " . $_SESSION['lang']['keluar'] . " : <select id='thnkel' style='width:150px;' onchange=changeCaption1(this.options[this.selectedIndex].text);>" . $optthnkel . "   </select>";
echo " " . $_SESSION['lang']['bulan'] . " " . $_SESSION['lang']['keluar'] . " : <select id='blnkel' style='width:150px;' onchange=changeCaption1(this.options[this.selectedIndex].text);>" . $optblnkel . "</select> ";
echo "<button class=mybutton onclick=cariKaryawanLaporan(1)>" . $_SESSION['lang']['find'] . "</button> ";
echo "</fieldset></td>\r\n </tr>\r\n </table> ";
echo "<div id='searchplace'>" . $_SESSION['lang']['daftarkaryawan'] . ":<span id=cap1></span>-<span id=cap2></span>\r\n\r\n ";
echo " <img src=images/excel.jpg class=resicon title='Excel' onclick=datakaryawanExcel(event,'" . $thnm . "','" . $blnm . "','" . $thnk . "','" . $blnk . "','sdm_slave_datakaryawan_Excel.php')>\r\n\r\n\r\n <table class=sortable border=0 cellspacing=1>\r\n <thead>\r\n <tr class=rowheader>\r\n <td align=center>" . substr($_SESSION['lang']['nomor'], 0, 2) . "</td>\r\n <td align=center>" . $_SESSION['lang']['nik'] . "</td>\r\n <td align=center>" . $_SESSION['lang']['nama'] . "</td>\r\n <td align=center>" . $_SESSION['lang']['functionname'] . "</td>\r\n <td align=center>" . $_SESSION['lang']['kodegolongan'] . "</td>\r\n <td align=center>" . $_SESSION['lang']['lokasitugas'] . "</td>\r\n <td align=center>" . $_SESSION['lang']['pt'] . "</td>\r\n <td align=center>" . $_SESSION['lang']['subunit'] . "</td>\r\n <td align=center>" . $_SESSION['lang']['pendidikan'] . "</td>\r\n <td align=center>" . str_replace(" ", "<br>", $_SESSION['lang']['statuspajak']) . "</td>\r\n <td align=center>" . str_replace(" ", "<br>", $_SESSION['lang']['statusperkawinan']) . "</td>\r\n <td align=center>" . str_replace(" ", "<br>", $_SESSION['lang']['jumlahanak']) . "</td>\r\n <td align=center>" . $_SESSION['lang']['tanggalmasuk'] . "</td>\r\n <td align=center>" . $_SESSION['lang']['tanggalkeluar'] . "</td>\r\n <td align=center>" . str_replace(" ", "<br>", $_SESSION['lang']['tipekaryawan']) . "</td>\r\n <td align=center>" . $_SESSION['lang']['action'] . "</td>\r\n </tr>\r\n </thead>\r\n\r\n <tbody id=searchplaceresult>\r\n </tbody>\r\n <tfoot>\r\n </tfoot> \r\n <tr align=center><td colspan=20 align=center>\r\n <button align=center class=mybutton value=0 onclick=prefDatakaryawan1(this,this.value) id=prefbtn>< " . $_SESSION['lang']['pref'] . " </button> \r\n   \r\n <button align=center class=mybutton value=2 onclick=nextDatakaryawan1(this,this.value) id=nextbtn> " . $_SESSION['lang']['lanjut'] . " ></button>\r\n </td><tr>\r\n </table>\r\n </div>";
CLOSE_BOX();
close_body('');
示例4: imo_bottom
function imo_bottom()
{
end_content();
footer();
close_body();
}
示例5: length
//=========================
if (substr($_SESSION['empl']['lokasitugas'], 2, 2) == 'HO') {
$str = " select kodeorganisasi,namaorganisasi from " . $dbname . ".organisasi \r\n where length(kodeorganisasi)=4";
} else {
if ($_SESSION['empl']['tipelokasitugas'] == 'KANWIL') {
$str = " select kodeorganisasi,namaorganisasi from " . $dbname . ".organisasi \r\n where kodeorganisasi in(select kodeunit from " . $dbname . ".bgt_regional_assignment\r\n where regional='" . $_SESSION['empl']['regional'] . "')";
} else {
$str = " select kodeorganisasi,namaorganisasi from " . $dbname . ".organisasi \r\n where kodeorganisasi='" . $_SESSION['empl']['lokasitugas'] . "'";
}
}
$rss = mysql_query($str);
$optLok = "<option value='%'>" . $_SESSION['lang']['all'] . "</option>";
while ($bar = mysql_fetch_object($rss)) {
$optLok .= "<option value='" . $bar->kodeorganisasi . "'>" . $bar->namaorganisasi . "</option>";
}
//=========================
$str = " select id,tipe from " . $dbname . ".sdm_5tipekaryawan";
$rss = mysql_query($str);
$optT = "<option value='%'>" . $_SESSION['lang']['all'] . "</option>";
while ($bar = mysql_fetch_object($rss)) {
$optT .= "<option value='" . $bar->id . "'>" . $bar->tipe . "</option>";
}
#=========================
$frm[0] = "\r\n<fieldset>\r\n\t<legend>" . $_SESSION['lang']['form'] . "</legend>\r\n\t<table>\r\n\t\t<tr> \t \r\n\t\t\t<td>\r\n\t\t\t\t<input type=hidden value='insert' id=method>\r\n\t\t\t\t<input type=hidden value='' id=nosp>\r\n\t\t\t\t" . $_SESSION['lang']['memotype'] . "\r\n\t\t\t</td>\r\n\t\t\t<td><select id=jenissp onchange=\"memotypeChange()\">" . $opts . "</select></td>\r\n\t\t</tr>\r\n\t\t<tr> \t \r\n\t\t\t<td>" . $_SESSION['lang']['lokasitugas'] . "</td>\r\n\t\t\t<td><select id=lokasitugas onchange=filterK()>" . $optLok . "</select></td>\r\n\t\t</tr>\r\n\t\t<tr> \t \r\n\t\t\t<td>" . $_SESSION['lang']['tipekaryawan'] . "</td>\r\n\t\t\t<td><select id=tipekaryawan onchange=filterK()>" . $optT . "</select></td>\r\n\t\t</tr> \r\n\t\t<tr> \t \r\n\t\t\t<td>" . $_SESSION['lang']['karyawan'] . "</td>\r\n\t\t\t<td><select id=karyawanid>" . $optkar . "</select></td>\r\n\t\t</tr>\r\n\t\t<tr> \t \r\n\t\t\t<td>" . $_SESSION['lang']['tanggalsurat'] . "</td>\r\n\t\t\t<td><input type=text id=tanggalsp size=10 maxlength=10 class=myinputtext onkeypress=\"return false;\" onmouseover=setCalendar(this)></td>\r\n\t\t</tr>\r\n\t\t<tr style='display:none'> \t \r\n\t\t\t<td>" . $_SESSION['lang']['masaberlaku'] . "</td>\r\n\t\t\t<td><select id=masaberlaku>\r\n\t\t\t\t<option value='1'>1</option>\r\n\t\t\t\t<option value='2'>2</option>\r\n\t\t\t\t<option value='3'>3</option>\r\n\t\t\t\t<option value='6'>6</option>\r\n\t\t\t\t<option value='9'>9</option>\r\n\t\t\t\t<option value='12'>12</option>\r\n\t\t\t </select> " . $_SESSION['lang']['bulan'] . "\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr>\t\r\n\t\t\t<td style='vertical-align:top'><label id='txt1'>" . $_SESSION['lang']['pelanggaran'] . "</label></td></td><td><textarea id=pelanggaran onkeypress=\"return tanpa_kutip(event);\" cols=80 rows=3></textarea></td>\r\n\t\t</tr>\t\r\n\t\t<tr>\r\n\t\t\t<td style='vertical-align:top'><label id='txt2'>Paragraf 2</label></td><td><textarea id=paragraf1 onkeypress=\"return tanpa_kutip(event);\" cols=80 rows=3></textarea></td>\r\n\t\t</tr>\t\r\n\t\t<tr>\r\n\t\t\t<td style='vertical-align:top'><label id='txt3'>Paragraf 3</label></td><td><textarea id=paragraf3 onkeypress=\"return tanpa_kutip(event);\" cols=80 rows=3></textarea></td>\r\n\t\t</tr>\t\r\n\t\t<tr>\r\n\t\t\t<td style='vertical-align:top'><label id='txt4'>Paragraf 4</label></td><td><textarea id=paragraf4 onkeypress=\"return tanpa_kutip(event);\" cols=80 rows=3></textarea></td>\r\n\t\t</tr>\r\n\t</table>\r\n\t<table>\r\n\t\t<tr>\r\n\t\t\t<td id='tdDistujui'><label id='labelPersetujuan1'>" . $_SESSION['lang']['disetujui'] . "</label></td>\r\n\t\t\t<td id='tdDistujui2'><input type=text class=myinputtext id=penandatangan size=25 maxlength=35 onkeypress=\"return tanpa_kutip(event);\"></td>\r\n\t\t\t<td id='tdDiketahui'><label id='labelPersetujuan2'>" . $_SESSION['lang']['diketahuioleh'] . "</label></td>\r\n\t\t\t<td id='tdDiketahui2'><input type=text class=myinputtext id=verifikasi size=25 maxlength=35 onkeypress=\"return tanpa_kutip(event);\"></td> \r\n\t\t\t<td id='tdDibuat'><label id='labelPersetujuan3'>" . $_SESSION['lang']['dibuat'] . "</label></td>\r\n\t\t\t<td id='tdDibuat2'><input type=text class=myinputtext id=dibuat size=25 maxlength=35 onkeypress=\"return tanpa_kutip(event);\"></td> \r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td id='tdDistujui3'>" . $_SESSION['lang']['functionname'] . "</td>\r\n\t\t\t<td id='tdDistujui4'><input type=text class=myinputtext id=jabatan size=25 maxlength=50 onkeypress=\"return tanpa_kutip(event);\"></td> \r\n\t\t\t<td id='tdDiketahui3'>" . $_SESSION['lang']['functionname'] . "</td>\r\n\t\t\t<td id='tdDiketahui4'><input type=text class=myinputtext id=jabatan1 size=25 maxlength=50 onkeypress=\"return tanpa_kutip(event);\"></td>\r\n\t\t\t<td id='tdDibuat3'>" . $_SESSION['lang']['functionname'] . "</td>\r\n\t\t\t<td id='tdDibuat4'><input type=text class=myinputtext id=jabatan2 size=25 maxlength=50 onkeypress=\"return tanpa_kutip(event);\"></td> \r\n\t\t</tr>\r\n\t</table>\r\n\t<br>\r\n\t<table>\r\n\t\t<tr>\r\n\t\t\t<td>" . $_SESSION['lang']['tembusan'] . "(i)</td>\r\n\t\t\t<td><input type=text class=myinputtext id=tembusan1 size=25 maxlength=35 onkeypress=\"return tanpa_kutip(event);\"></td> \r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>" . $_SESSION['lang']['tembusan'] . "(ii)</td>\r\n\t\t\t<td><input type=text class=myinputtext id=tembusan2 size=25 maxlength=35 onkeypress=\"return tanpa_kutip(event);\"></td> \r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>" . $_SESSION['lang']['tembusan'] . "(iii)</td>\r\n\t\t\t<td><input type=text class=myinputtext id=tembusan3 size=25 maxlength=35 onkeypress=\"return tanpa_kutip(event);\"></td> \r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>" . $_SESSION['lang']['tembusan'] . "(iiii)</td>\r\n\t\t\t<td><input type=text class=myinputtext id=tembusan4 size=25 maxlength=35 onkeypress=\"return tanpa_kutip(event);\"></td> \r\n\t\t</tr>\t \t \t \t \r\n\t</table>\r\n\t \r\n\t<center>\r\n\t\t<button class=mybutton onclick=saveSP()>" . $_SESSION['lang']['save'] . "</button>\r\n\t\t<button class=mybutton onclick=batal()>" . $_SESSION['lang']['new'] . "</button>\r\n\t</center>\r\n </fieldset>";
$frm[1] = "<fieldset>\r\n <legend>" . $_SESSION['lang']['list'] . "</legend>\r\n <fieldset><legend></legend>\r\n " . $_SESSION['lang']['caripadanama'] . "\r\n <input type=text id=txtbabp size=25 class=myinputtext onkeypress=\"return tanpa_kutip(event);\" maxlength=9>\r\n <button class=mybutton onclick=cariSP(0)>" . $_SESSION['lang']['find'] . "</button>\r\n </fieldset>\r\n <table class=sortable cellspacing=1 border=0>\r\n <thead>\r\n <tr class=rowheader>\r\n <td>No.</td>\r\n <td>" . $_SESSION['lang']['nomorsk'] . "</td>\r\n <td>" . $_SESSION['lang']['karyawan'] . "</td>\r\n <td>" . $_SESSION['lang']['tanggalsurat'] . "</td>\r\n <td>" . $_SESSION['lang']['tanggalsampai'] . "</td>\r\n <td>" . $_SESSION['lang']['tipetransaksi'] . "</td>\r\n <td>" . $_SESSION['lang']['dbuat_oleh'] . "</td>\r\n <td></td>\r\n </tr>\r\n </head>\r\n <tbody id=containerlist>\r\n </tbody>\r\n <tfoot>\r\n </tfoot>\r\n </table>\r\n </fieldset>";
$hfrm[0] = $_SESSION['lang']['form'];
$hfrm[1] = $_SESSION['lang']['list'];
drawTab('FRM', $hfrm, $frm, 100, 900);
CLOSE_BOX();
echo close_body('');