Ejemplo n.º 1
0
   content="<iframe frameborder=0 width=100% height=100% src='"+tujuan+"'></iframe>"
   showDialog1('Detail Biaya Alokasi Kendaraan',content,width,height,ev); 
}
</script>
<link rel=stylesheet type=text/css href='style/zTable.css'>
<?php 
//echo "qwe";
//exit;
echo "<table>\n     <thead>\n     </thead>\n        <tbody>\n        <tr>\n            <td valign='top'>";
OPEN_BOX('', 'LBM');
echo "<fieldset><legend>" . $_SESSION['lang']['navigasi'] . "</legend>\n                 <div id='navcontainer' style='width:200px;height:500px;overflow:scroll;background-color:#FFFFFF;'>";
if ($_SESSION['language'] == 'ID') {
    $x = readCountry('config/lbm.lst');
} else {
    $x = readCountry('config/lbm_en.lst');
}
foreach ($x as $bar => $val) {
    echo "<a onmouseover=ubah(this) onmouseout=ubah(this) style='font-size:10px;cursor:pointer;' onclick=\"lempar('" . $val[1] . "','" . $val[2] . "');\" title='" . $val[2] . "'>" . $val[0] . "</a><br>";
}
echo "</div>\n                    </fieldset>";
CLOSE_BOX();
echo "</td><td>";
OPEN_BOX('', '');
echo "<fieldset><legend>" . $_SESSION['lang']['form'] . "</legend>\n                 <div id='formcontainer' style='width:900px;height:150px;overflow:scroll'></div> \n                 </fieldset>";
CLOSE_BOX();
OPEN_BOX('', '');
echo "<fieldset><legend>" . $_SESSION['lang']['list'] . " <span id=isiJdlBawah></span></legend>\n                 <div id='reportcontainer' style='width:900px;height:550px;overflow:scroll;background-color:#FFFFFF;'></div> \n                 </fieldset>";
CLOSE_BOX();
echo "</td>\n        </tr>\n        </tbody>\n     <tfoot>\n     </tfoot>\n     </table>";
echo close_body();
Ejemplo n.º 2
0
    else{
       obj.style.backgroundColor='darkgreen'; 
       obj.style.color='#FFFFFF';
       obj.style.fontWeight='bolder';
    }
}

</script>
<link rel=stylesheet type=text/css href='style/zTable.css'>
<?php 
//echo "qwe";
//exit;
echo "<table>\r\n     <thead>\r\n     </thead>\r\n        <tbody>\r\n        <tr>\r\n            <td valign='top'>";
OPEN_BOX('', 'LBM-PROCUREMENT');
echo "<fieldset><legend>" . $_SESSION['lang']['navigasi'] . "</legend>\r\n                 <div id='navcontainer' style='width:285px;height:500px;overflow:scroll;background-color:#FFFFFF;'>";
$x = readCountry('config/lbm_proc.lst');
foreach ($x as $bar => $val) {
    echo "<a onmouseover=ubah(this) onmouseout=ubah(this) style='font-size:10px;cursor:pointer;' onclick=\"lempar('" . $val[1] . "','" . $val[2] . "');\" title='" . $val[2] . "'>" . $val[0] . "</a><br>";
}
echo "</div>\r\n                    </fieldset>";
CLOSE_BOX();
echo "</td><td>";
OPEN_BOX('', '');
echo "<fieldset><legend>" . $_SESSION['lang']['form'] . "</legend>\r\n                 <div id='formcontainer' style='width:900px;height:120px;overflow:scroll'></div> \r\n                 </fieldset>";
CLOSE_BOX();
OPEN_BOX('', '');
echo "<div id=mainPrint><fieldset><legend><span id=isiJdlBawah></span></legend>\r\n                 <div id='reportcontainer' style='width:900px;height:550px;overflow:scroll;background-color:#FFFFFF;'></div> \r\n                 </fieldset></div>";
echo "<div id=lyrPertama style=display:none;>\r\n                 <fieldset><legend><span id=isiJdlBawah1></span></legend>\r\n                 <div id='reportcontainer1' style='width:900px;height:550px;overflow:scroll;background-color:#FFFFFF;'></div> \r\n                 </fieldset>\r\n                 </div>";
echo "<div id=lyrKedua style=display:none;>\r\n                 <fieldset><legend><span id=isiJdlBawah2></span></legend>\r\n                 <div id='reportcontainer2' style='width:900px;height:550px;overflow:scroll;background-color:#FFFFFF;'></div> \r\n                 </fieldset>\r\n                 </div>";
CLOSE_BOX();
echo "</td>\r\n        </tr>\r\n        </tbody>\r\n     <tfoot>\r\n     </tfoot>\r\n     </table>";
Ejemplo n.º 3
0
?>
<link rel=stylesheet type='text/css' href=style/orgchart.css>
<script   language=javascript1.2 src=js/menusetting.js></script>
<script   language=javascript1.2 src=js/orgChart.js></script>
<?php 
include 'master_mainMenu.php';
OPEN_BOX();
echo OPEN_THEME($_SESSION['lang']['orgchartcap'] . ':');
echo "<div class=maincontent>\r\n      <fieldset class=legend><legend>Structure:</legend>\r\n\t  </fildset>\r\n\t  ";
$country = readCountry("./config/country.lst");
$optCountry = '';
for ($x = 0; $x < count($country); $x++) {
    $optCountry .= "<option value='" . $country[$x][2] . "' >" . $country[$x][0] . "</option>";
}
//get organization type
$tipeOrg = readCountry("./config/tipeorganisasi.lst");
$optTipeOrg = '';
for ($x = 0; $x < count($tipeOrg); $x++) {
    $optTipeOrg .= "<option value='" . $tipeOrg[$x][0] . "' >" . $tipeOrg[$x][1] . "</option>";
}
//================================
//ambil alokasi biaya
$str = "select kodeorganisasi,namaorganisasi from " . $dbname . ".organisasi where\r\n      tipe='PT' order by namaorganisasi";
$res = mysql_query($str);
$optalokasi = "<option value=''></option>";
while ($bark = mysql_fetch_object($res)) {
    $optalokasi .= "<option value='" . $bark->kodeorganisasi . "'>" . $bark->namaorganisasi . "</option>";
}
//======================================
//nomor akun masing-masing
$strc = "select noakun,namaakun from " . $dbname . ".keu_5akun \r\n       where detail=1 order by noakun";
Ejemplo n.º 4
0
//@Copy nangkoelframework
require_once 'master_validation.php';
include 'lib/nangkoelib.php';
echo open_body();
?>
<script language=javascript src=js/zTools.js></script>
<script language=javascript1.2 src='js/kebun_5stproduksi.js'></script>
<?php 
$arr = "##bibit##tanah##umur##produksi##method##oldjb##oldkt##oldum";
include 'master_mainMenu.php';
OPEN_BOX();
$optbibit = "<option value=''></option>";
$str = "select * from " . $dbname . ".setup_jenisbibit order by jenisbibit";
$res = mysql_query($str);
while ($bar = mysql_fetch_object($res)) {
    $optbibit .= "<option value='" . $bar->jenisbibit . "'>" . $bar->jenisbibit . "</option>";
}
$opttanah = "<option value=''></option>";
$x = readCountry('config/jenistanah.lst');
foreach ($x as $bar => $val) {
    $opttanah .= "<option value='" . $val[0] . "'>" . $val[1] . "</option>";
}
echo "<fieldset>\r\n     <legend>" . $_SESSION['lang']['standardprodkebun'] . "</legend>\r\n\t <table>\r\n\t <tr>\r\n\t   <td>" . $_SESSION['lang']['jenisbibit'] . "<input type='hidden' id=oldjb name=oldjb /></td>\r\n\t   <td><select id=bibit style='width:150px;'>" . $optbibit . "</select></td>\r\n\t </tr>\r\n\t <tr>\r\n\t   <td>" . $_SESSION['lang']['klasifikasitanah'] . "<input type='hidden' id=oldkt name=oldkt /></td>\r\n\t   <td><select id=tanah style='width:150px;'>" . $opttanah . "</select></td>\r\n\t </tr>\r\n\t <tr>\r\n\t   <td>" . $_SESSION['lang']['umur'] . "<input type='hidden' id=oldum name=oldum /></td>\r\n\t   <td><input type=text class=myinputtext id=umur name=umur onkeypress=\"return angkadowang(event);\" style=\"width:150px;\" maxlength=2/></td>\r\n\t </tr>\t\r\n\t <tr>\r\n\t   <td>" . $_SESSION['lang']['kg'] . " " . $_SESSION['lang']['produksi'] . "/Ha</td>\r\n\t   <td><input type=text class=myinputtext id=produksi name=produksi onkeypress=\"return angka_doang(event);\" style=\"width:150px;\" maxlength=10></td>\r\n\t </tr>\t \r\n\t </table>\r\n\t <input type=hidden value=insert id=method>\r\n\t <button class=mybutton onclick=saveFranco('kebun_slave_5stproduksi','" . $arr . "')>" . $_SESSION['lang']['save'] . "</button>\r\n\t <button class=mybutton onclick=cancelIsi()>" . $_SESSION['lang']['cancel'] . "</button>\r\n     </fieldset><input type='hidden' id=hiddenz name=hiddenz />";
CLOSE_BOX();
OPEN_BOX();
echo "<fieldset><legend>" . $_SESSION['lang']['list'] . "</legend><table class=sortable cellspacing=1 border=0>\r\n     <thead>\r\n\t  <tr class=rowheader>\r\n\t   <td>No</td>\r\n\t   <td>" . $_SESSION['lang']['jenisbibit'] . "</td>\r\n\t   <td>" . $_SESSION['lang']['klasifikasitanah'] . "</td>\r\n\t   <td>" . $_SESSION['lang']['umur'] . "</td>\r\n\t   <td>" . $_SESSION['lang']['kg'] . " " . $_SESSION['lang']['produksi'] . "/Ha</td>\r\n\t   <td>" . $_SESSION['lang']['action'] . "</td>\r\n\t  </tr>\r\n     </thead>\r\n     <tbody id=container>";
echo "<script>loadData()</script>";
echo "</tbody>\r\n     <tfoot>\r\n     </tfoot>\r\n     </table></fieldset>";
CLOSE_BOX();
echo close_body();
Ejemplo n.º 5
0
}
//golongan
$optgolongan = '';
$str = "select * from " . $dbname . ".sdm_5golongan order by kodegolongan";
$res = mysql_query($str);
while ($bar = mysql_fetch_object($res)) {
    $optgolongan .= "<option value='" . $bar->kodegolongan . "'>" . $bar->namagolongan . "</option>";
}
// Get country list
$country = readCountry("./config/country.lst");
$optCountry = '';
for ($x = 0; $x < count($country); $x++) {
    $optCountry .= "<option value='" . $country[$x][2] . "' >" . $country[$x][0] . "</option>";
}
// Get provinsi list
$country = readCountry("./config/provinsi.lst");
$optProvinsi = '';
for ($x = 0; $x < count($country); $x++) {
    $optProvinsi .= "<option value='" . $country[$x][1] . "' >" . $country[$x][0] . "</option>";
}
// Get status pajak
$optstatuspajak = '';
$str = "select * from " . $dbname . ".sdm_5statuspajak kode";
$res = mysql_query($str);
while ($bar = mysql_fetch_object($res)) {
    if ($_SESSION['language'] == 'EN') {
        switch ($bar->kode) {
            case 'K0':
                $bar->nama = 'Married without children';
                break;
            case 'K1':