当前位置: 首页>>代码示例>>PHP>>正文


PHP iText函数代码示例

本文整理汇总了PHP中iText函数的典型用法代码示例。如果您正苦于以下问题:PHP iText函数的具体用法?PHP iText怎么用?PHP iText使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了iText函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: iPopbox

function iPopbox($d, $t, $p = "", $cb = "")
{
    if ($p == "") {
        $p = $t;
    }
    $s = "<div id=\"popd_" . $d . "\" style=\"float:left;margin-left:2px\">";
    $s .= "<button type=\"button\" class=\"obtna\" title=\"Add new " . $t . "\" onclick=\"open_popbox('" . $d . "')\" style=\"margin-left:2px\">";
    $s .= "<img src=\"" . IMGR . "add.png\" /></button>";
    $s .= "<div id=\"popb_" . $d . "\" class=\"popblock2\" style=\"display:none;position:fixed;top:0;left:0\" onclick=\"close_popbox('" . $d . "')\"></div>";
    $s .= "<div id=\"popx_" . $d . "\" class=\"popbox\" style=\"background-position:0 0;display:none\">";
    $s .= "<table cellspacing=\"0\" cellpadding=\"0\" width=\"310px\"><tr height=\"58px\" style=\"padding-top:10px\">";
    $s .= "<td width=\"35px\" align=\"right\"><input type=\"button\" class=\"popx\" title=\"Cancel\" onclick=\"close_popbox('" . $d . "')\"/></td>";
    $s .= "<td align=\"center\">" . iText("popi_" . $d, '', "width:220px", "New " . $p) . "</td>";
    $s .= "<td width=\"35px\" align=\"left\"><input type=\"button\" class=\"popy\" title=\"Add\" onclick=\"popbox_save('" . $d . "',function(){" . $cb . "})\"/></td>";
    $s .= "</tr></table>";
    $s .= "</div>";
    $s .= "</div>";
    return $s;
}
开发者ID:epiii,项目名称:siadu-epiii,代码行数:19,代码来源:popbox.php

示例2: iText

<table cellspacing="0" cellpadding="0" border="0" width=""><tr valign="top">
<td width="450px">
	<div class="hl2" style="margin-bottom:6px">Find available book with...</div>
	<table class="stable" cellspacing="0" cellpadding="0" border="0" width="450px"><tr>
		<td width="*">barcode or title:</td>
		<td width="250px"><?php 
echo iText('keyw', '', 'width:240px', '', 'onkeyup="lookUp()"');
?>
</td>
		<td width="24px" align="left"><input title="find" type="button" class="find21" onclick="lookUp()"/></td>
		<td width="20px"></td>
	</tr>
	<tr>
		<td></td><td  width="250px" style="padding-top:2px;font:11px <?php 
echo SFONT;
?>
;color:#aaa">Use numeric characters to find barcode or alphanumeric to find title.</td><td colspan="2"></td>
	</tr>
	</table>
	<div id="emp_result" style="width:420px;margin-top:20px;height:250px">
		<?php 
require_once VWDIR . 'vi_loan.php';
?>
	</div>
	<input type="button" value="Cancel" class="btn" onclick="jumpTo('<?php 
echo RLNK;
?>
circulation.php?tab=loan')" style="float:left;margin-top:6px"/>
</td>
<td width="450px" style="padding-left:10px">
	<form action="<?php 
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:v_staff_loan.php

示例3: app_form_getpegawai

function app_form_getpegawai($d = 'pegawai', $v = 'x', $c = '', $s = 'float:left')
{
    $ng = '';
    $ag = '';
    if ($v == 'x') {
        $v = gpost($d);
    }
    if (is_array($v)) {
        $v = $v[$d];
    }
    if ($v != 0 && $v != '' && $v != '0') {
        $q = mysql_query("SELECT * FROM hrd_pegawai WHERE replid='{$v}' LIMIT 0,1");
        if (mysql_num_rows($q) > 0) {
            $h = mysql_fetch_array($q);
            $ng = $h['nip'];
            $ag = $h['nama'];
        }
    }
    $k = '<div style="' . $s . '">';
    $k .= iText('nippegawai', $ng, 'float:left;width:100px;margin-right:5px;cursor:default', 'nip', 'onclick="aka_getpegawai(\'' . $c . '\')"', 'readonly');
    $k .= iText('namapegawai', $ag, 'float:left;width:200px;margin-right:4px;cursor:default', 'nama', 'onclick="aka_getpegawai(\'' . $c . '\')"', 'readonly');
    $k .= '<input type="hidden" id="' . $d . '" value="' . $v . '" />';
    $k .= '<button class="find21" style="float:left;margin-top:2px" onclick="aka_getpegawai(\'' . $c . '\')"></button>';
    $k .= '</div>';
    return $k;
}
开发者ID:epiii,项目名称:siadu-epiii,代码行数:26,代码来源:common.php

示例4: satuan_r

        $satuan = satuan_r($sat);
        $tingkatbuku = tingkatbuku_r($tingb);
    }
    $fform->ptop = 20;
    $fform->head();
    if ($opt == 'uf') {
        require_once MODDIR . 'control.php';
        // Add or Edit form
        hiddenval('katalog', $r['katalog']);
        $fform->fg('Data buku');
        $fform->fl('Judul', '<b>' . buku_judul($rk['judul']) . '</b>');
        hiddenval('nbuku', 0);
        $fform->fi('ID buku', iText('idbuku', $r['idbuku'], $fform->rwidths, '', '', 'disabled'));
        //hiddenval('idbuku',$r['idbuku']);
        $fform->fi('Barkode', iText('barkode', $r['barkode'], $fform->rwidths, '', '', 'disabled'));
        $fform->fi('Callnumber', iText('callnumber', $r['callnumber'], $fform->rwidths));
        $fform->fi('Sumber', iRadio('sumber1', 'sumber', 0, 'Beli', $r['sumber'], '', 'onclick="katalog_buku_getkode(' . $cid . ')"'));
        $fform->fi('', iRadio('sumber2', 'sumber', 1, 'Pemberian', $r['sumber'], '', 'onclick="katalog_buku_getkode(' . $cid . ')"'));
        $fform->fi('Harga', iSelect('satuan', $satuan, $sat) . '&nbsp;' . iText('harga', $r['harga'], 'width:120px'));
        $fform->fi('Tanggal diperoleh', inputTanggal('tanggal', $r['tanggal']));
        $fform->fg('Alokasi buku');
        $fform->fi('Lokasi', iSelect('tlokasi', $lokasi, $lok, '', 'katalog_buku_getkode(' . $cid . ')'));
        $fform->fi('Tingkat', iSelect('ttingkatbuku', $tingkatbuku, $tingb, '', 'katalog_buku_getkode(' . $cid . ')'));
    } else {
        if ($opt == 'df') {
            // Delete form
            $fform->dlg_del($r['idbuku']);
        }
    }
    $fform->foot();
}
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:daftarbuku.php

示例5: form_insertar_externo_validar

 public function form_insertar_externo_validar(array $datos = array())
 {
     // Guardamos la password sin cifrar
     $password = \core\Array_Datos::contenido("password", $_REQUEST);
     // Datos que no han venido en el formulario
     $_REQUEST['clave_confirmacion'] = \core\Random_String::generar(30);
     $validacion_catcha = true;
     // Iniciamos la variable.
     if (\core\Configuracion::$form_insertar_externo_catcha) {
         require_once PATH_APP . 'lib/php/recaptcha-php-1.11/recaptchalib.php';
         $privatekey = "6Lem1-sSAAAAAPfnSmYe5wyruyuj1B7001AJ3CBh";
         $resp = recaptcha_check_answer($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]);
         if (!$resp->is_valid) {
             $validacion_catcha = false;
             $datos['errores']['validacion'] = 'Error de intruducción del captcha.';
             //                        \core\Distribuidor::cargar_controlador("usuarios", "form_login", $datos);
         }
     }
     if (self::form_insertar_validar($datos) && $validacion_catcha) {
         $datos["mensaje"] = "Se ha grabado correctamente el usuario. ";
         // Envío del email
         $url = \core\URL::generar("usuarios/confirmar_alta/{$datos['values']['id']}/" . urlencode($datos['values']['clave_confirmacion']));
         $to = $datos["values"]["email"];
         $subject = "Confirmación de alta de usuario en " . TITULO;
         $message = "\n<html>\n<head>\n  <title>Confirmación cuenta en " . TITULO . "</title>\n</head>\n<body>\n\t<h3>Confirmación cuenta en " . TITULO . "</h3>\n\t<p>Login: <b>{$datos['values']['login']}</b><br/> Password: <b>{$password}</b></p>\n\t<p>Bienvenido a " . TITULO . ". Para confirmar su registro pulse en el siguiente hipervínculo:<br/><a href='{$url}' target='_blank' >{$url}</a>\n\t</p>\n\t<p>En caso de no funcionar puede copiar y pegar el hipervínculo en la barra de direcciones de su navegador.</p>\n</body>\n</html>";
         $additional_headers = "From: " . \core\Configuracion::$email_noreply . "\r\n";
         $additional_headers .= 'MIME-Version: 1.0' . "\r\n";
         $additional_headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
         $additional_headers .= 'X-Mailer: PHP/' . phpversion();
         if ($envio_email = mail($to, $subject, $message, $additional_headers)) {
             //$datos["mensaje"] .= "<p>Se ha enviado un correo electrónico a la cuenta de email aportada.</p> <p>Para confimar su alta, consulte su correo electrónico y haga click en el vínculo que se le ha enviado. Si no lo encuentra en la bandeja de entrada <b>revise su spam</b>, por favor.</p>";
             $datos["mensaje"] .= iText('mensajeRegistro', 'frases');
         } else {
             // Si falla el envío del email
             $datos["mensaje"] .= "No se ha podido enviar el correo electrónico. Su cuenta está pendiente de confirmar por email, pinchando en el enlace que se envía <a href='{$url}' target='_blank'>{$url}</a>";
         }
         $this->cargar_controlador('mensajes', 'mensaje', $datos);
     } else {
         if (!$validacion_catcha) {
             usset($datos["errores"]);
             $datos["errores"]["validacion"] = "Errores en el código catcha.";
         }
         \core\Distribuidor::cargar_controlador("usuarios", "form_insertar_externo", $datos);
     }
 }
开发者ID:rodsanjo,项目名称:3da2,代码行数:45,代码来源:usuarios.php

示例6: iText

		<div style="text-align:left;padding:15px 15px;width:<?php 
    echo $fwidth;
    ?>
px">
			<table class="stable" cellspacing="0" cellpadding="4px" width="<?php 
    echo $fwidth;
    ?>
px">
		<?php 
    if ($opt == 'af' || $opt == 'uf') {
        $okbtn = $opt == 'af' ? "Save" : "OK";
        $gd = 'true';
        // Add or Edit form
        ?>
			<tr><td>NIP:</td><td><?php 
        echo iText('nip', $r['nip'], $iTextFw);
        ?>
</td></tr>
			<tr><td width="<?php 
        echo $lwidth;
        ?>
px">Level:</td>
				<td><?php 
        echo iSelect('level', $mstr_level, $r['level'], "width:175px;float:left");
        echo iAddMstrx2('level', 'level', 'level name');
        ?>
</td>
			</tr>
			<tr><td width="<?php 
        echo $lwidth;
        ?>
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:pf_info1.php

示例7: dbSFA

    $fform->notif($q);
} else {
    if ($opt == 'uf' || $opt == 'df') {
        // Prepocessing form
        $r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
    } else {
        $r['departemen'] = gpost('departemen');
        $r['tahunajaran'] = gpost('tahunajaran');
    }
    $fform->head();
    if ($opt == 'af' || $opt == 'uf') {
        require_once MODDIR . 'control.php';
        // Add or Edit form
        $fform->fl('Departemen', departemen_name($r['departemen']));
        $fform->fl('Departemen', tahunajaran_name($r['tahunajaran']));
        $fform->fi('Semester', iText('nama', $r['nama'], 'width:100px'));
        $fform->fa('Keterangan', iTextarea('keterangan', $r['keterangan'], $fform->rwidths, 3));
    } else {
        if ($opt == 'df') {
            // Delete form
            if (intval($r['aktif']) == 1) {
                $fform->reg['dlg_del'] = 'Semester ini masih aktif.<br/ >Apakah anda yakin untuk menghapus <idata> <data>?';
                $fform->dlg_delw($r['nama']);
            } else {
                $fform->dlg_del($r['nama']);
            }
            //$fform->dlg_del($r['nilai']);
        }
    }
    $fform->foot();
}
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:semester.php

示例8: iText

        $okbtn = $opt == 'af' ? "Save" : "OK";
        $gd = 'true';
        // Add or Edit form
        ?>
			<tr><td width="<?php 
        echo $lwidth;
        ?>
px">Reward:</td><td><?php 
        echo iText('reward', $r['host'], $iTextFw);
        ?>
</td></tr>
			<tr><td width="<?php 
        echo $lwidth;
        ?>
px">By:</td><td><?php 
        echo iText('rewardby', $r['rewardby'], $iTextFw);
        ?>
</td></tr>
			<tr valign="top"><td>Description:</td><td><?php 
        echo iTextarea('description', $r['participant'], $iTextFw, 2);
        ?>
</td></tr>
			<tr><td>Date:</td><td><?php 
        echo inputDate('date', $r['date']);
        ?>
</td></tr>
			<tr><td>Attachment:</td><td>
				<button class="btn" onclick="pf_files('af')" style="margin-right:20px;margin-top:10px">
					<div style="background:url('<?php 
        echo IMGR;
        ?>
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:pf_reward.php

示例9: date

     $r['tglselesai'] = date("Y-m-d", strtotime("+7 day"));
     $r['departemen'] = gpost('departemen');
     $r['aktif'] = '1';
     $r['kapasitas'] = 1;
 }
 $fform->head();
 if ($opt == 'af' || $opt == 'uf') {
     require_once MODDIR . 'control.php';
     // Add or Edit form
     $fform->fl('Departemen', departemen_name($r['departemen']), $fform->rwidths);
     $fform->fi('Nama periode', iText('proses', $r['proses'], $fform->rwidths));
     $fform->fi('Kode awalan', iText('kodeawalan', $r['kodeawalan'], "width:80px"));
     $fform->fi('Angkatan', iSelect('angkatan', angkatan_opt($r['departemen']), $r['angkatan']));
     //$fform->fi('Tanggal dibuka',inputTanggal('tglmulai',$r['tglmulai']));
     //$fform->fi('Tanggal ditutup',inputTanggal('tglselesai',$r['tglselesai']));
     $fform->fi('Kapasitas', iText('kapasitas', $r['kapasitas'], "width:40px;text-align:center") . ' &nbsp;siswa');
     $fform->fi('Status', iSelect('aktif', array('1' => 'Dibuka', '0' => 'Ditutup'), $r['aktif']));
     $fform->fa('Keterangan', iTextarea('keterangan', $r['keterangan'], $fform->rwidths, 3));
 } else {
     if ($opt == 'df') {
         // Delete form
         if ($r['aktif'] == '1') {
             $fform->dlg_delw($r['proses'], 'Periode ini masih aktif.<br/>Semua data calon siswa yang termasuk dalam periode ini juga akan dihapus.', '');
         } else {
             $fform->dlg_delw($r['proses'], 'Semua data calon siswa yang termasuk dalam periode ini juga akan dihapus.');
         }
     } else {
         if ($opt == 'hf') {
             $fform->fh('Periode penerimaan merupakan proses penerimaan yang dibuka untuk tahun ajaran tertentu. Pada umumnya periode pendaftaran dilakukan satu kali dalam satu tahun.<br/>Contoh: "Penerimaan Siswa Baru Tahun 2013"');
         }
     }
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:periode.php

示例10: dbSFA

    $fform->notif($q);
} else {
    if ($opt == 'uf' || $opt == 'df') {
        // Prepocessing form
        $r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
    } else {
        $r = farray('kode', 'nama', 'keterangan');
        $r['kelompokbrg'] = gpost('kelompokbrg');
        $r['tanggal'] = date("Y-m-d");
        $r['unit'] = 1;
        $r['satuan'] = 'unit';
    }
    $fform->dimension(400, 110);
    $fform->head();
    if ($opt == 'af' || $opt == 'uf') {
        require_once MODDIR . 'control.php';
        // Add or Edit form
        $fform->fl('Jenis barang', kelompokbrg_name($r['kelompokbrg']));
        $fform->fi('Kode', iText('kode', $r['kode'], 'width:100px'));
        $fform->fi('Nama barang', iText('nama', $r['nama'], $fform->rwidths));
        $fform->fi('Jumlah barang', iText('unit', $r['unit'], 'width:100px') . ' &nbsp;&nbsp;&nbsp;satuan:&nbsp;&nbsp;' . iText('satuan', $r['satuan'], 'width:50px'));
        $fform->fi('Tanggal diperoleh', inputTanggal('tanggal', $r['tanggal']));
        $fform->fa('Keterangan', iTextarea('keterangan', $r['keterangan'], $fform->rwidths, 3));
    } else {
        if ($opt == 'df') {
            // Delete form
            $fform->dlg_del($r['nama']);
        }
    }
    $fform->foot();
}
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:inventory_brg.php

示例11: number_format

                <?php 
    echo number_format($total_acumulado, 2, ",", ".");
    ?>
 €</b>
                <?php 
    number_format(self::ejecutar("carrito", "valor"), 2, ",", ".");
    ?>

                <form id="form_vaciar_carrito" method='post' action='<?php 
    echo \core\URL::generar("carrito/vaciar");
    ?>
'>
                    <button  id="boton_vaciar_carrito"type='submit'><?php 
    echo iText('Vaciar', 'dicc');
    ?>
</button>
                </form>
            <button id="boton_comprar" type='button' onclick='window.location.assign("<?php 
    echo \core\URL::generar("carrito/comprar");
    ?>
");' ><?php 
    echo iText('Comprar', 'dicc');
    ?>
</button>
    <?php 
} else {
    echo "<b><span class='car_nxart'>" . ucfirst(iText('total', 'dicc')) . "</span>\n            " . number_format(self::ejecutar("carrito", "valor"), 2, ",", ".") . " €</b>";
}
?>

</div>
开发者ID:rodsanjo,项目名称:3da2,代码行数:31,代码来源:ver.php

示例12: dbUpdate

            // edit
            $q = dbUpdate($dbtable, $inp, "replid='{$cid}'");
        } else {
            if ($opt == 'd') {
                // delete
                $q = dbDel($dbtable, "replid='{$cid}'");
            }
        }
    }
    $fform->notif($q);
} else {
    if ($opt == 'uf' || $opt == 'df') {
        // Prepocessing form
        $r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
    } else {
        $r = farray('tingkat', 'keterangan');
    }
    $fform->head();
    if ($opt == 'af' || $opt == 'uf') {
        require_once MODDIR . 'control.php';
        // Add or Edit form
        $fform->fi('Nama tingkat', iText('tingkat', $r['tingkat'], $fform->rwidths));
        $fform->fa('Keterangan', iTextarea('keterangan', $r['keterangan'], $fform->rwidths, 3));
    } else {
        if ($opt == 'df') {
            // Delete form
            $fform->dlg_delw($r['tingkat'], 'Data tingkat pada pegawai akan menjadi kosong.');
        }
    }
    $fform->foot();
}
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:tingkat.php

示例13: iText

	<?php 
    }
    ?>
	</div>
<?php 
}
?>
</td>
<td align="right">
	<form style="padding:0;margin:0" action="<?php 
echo RLNK;
?>
bibliographic.php" method="get">
	<input type="hidden" name="tab" value="publisher"/>
	<?php 
echo iText('q', '', "width:150px", 'Search publisher');
?>
	</form>
</td>
</tr></table>
<input type="hidden" id="pagelink" value="<?php 
echo $page != '' ? "&page=" . $page : "";
echo $sortby != '' ? "&sortby=" . $sortby : "";
echo $smode != '' ? "&mode=" . $sortmode : "";
echo $keyw != '' ? "&q=" . $keyw : "";
?>
"/>
<?php 
if ($ndata > 0) {
    ?>
<table class="xtable" border="0" cellspacing="1px" width="800px">
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:b_publisher.php

示例14: require_once

<?php $ssid=session_id(); require_once(MODDIR.'control.php'); dbDel("pus_tpjm","ssid='$ssid'"); ?>
<table cellspacing="10px" cellpadding="0" border="0" style="border:1px solid rgba(0,0,0,0.3);background:#fcfcff;margin-top:10px;margin-bottom:10px"><tr valign="top"><td>
<div style="float:left;width:500px;margin-right:20px">
	<div class="sfont" style="margin-top:0px;height:24px;width:100%"><b>Daftar label item yang dicetak:</b></div>
	<div class="tbltopbar" style="width:100%">
		<?=iText('sbuku','','width:300px;margin-right:4px','barkode atau judul item','onkeyup="tools_label_buku_list_cari(event)"')?>
		<button title="Cari" class="btn" style="margin-right:4px" onclick="tools_label_buku_list_open()"><div class="bi_srcb">&nbsp;</div></button>
	</div>
	<div id="box_tools_label_buku" style="float:left;width:100%;margin-bottom:10px">
		<?php require_once(APPDIR.'tools_label_buku_get.php'); ?>
	</div>
</div>
<div style="float:left;width:250px">
	<div class="sfont" style="margin-top:0px;height:24px;width:100%"><b>Pilih informasi yang dicetak:</b></div>
		<table cellspacing="0" cellpadding="0">
			<tr height="24px"><td><?=iCheckx('cetak_header','Header',1)?></td></tr>
			<tr height="24px"><td><?=iCheckx('cetak_callnumber','Callnumber',1)?></td></tr>
			<tr height="24px"><td><?=iCheckx('cetak_barkode','Barkode',1)?></td></tr>
		</table>
	<div class="sfont" style="margin-top:0px;height:24px;width:100%;margin-top:20px"><b>Pengaturan cetak label:</b></div>
		<table class="sfont" cellspacing="0" cellpadding="0">
			<tr height="30px"><td width="100px">Lebar label:</td><td><?=iText('cetak_lebar',6,'width:30px;text-align:center')?> cm</td></tr>
			<tr height="30px"><td>Ukuran kertas:</td><td><?=iSelect('cetak_ukuran',array('F4'=>'F4 &nbsp; 210x330mm','A4'=>'A4 &nbsp; 210x297mm','A5'=>'A5 &nbsp; 148x210mm'),'F4')?></td></tr>
			<tr height="30px"><td>Orientasi kertas:</td><td><?=iSelect('cetak_orientasi',array('P'=>'Potrait','L'=>'Landscape'),'P')?></td></tr>
		</table>
</div>
<div class="sfont" style="float:left;width:100%;margin-top:10px">
	<button class="btn" style="float:left" onclick="tools_label_cancel()">Batal</button>
	<button class="btnz" style="float:right" onclick="tools_label_cetak()">Cetak &raquo;</button>
</div>
</td></tr></table>
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:tools_label_get.php

示例15: if

		$xform->fi('ISSN',iText('issn',$data['issn'],$xform->fieldws));
		
		$s=iSelect('bahasa',$bahasa,'','float:left;margin-right:4px;width:244px');
		$s.='<button title="Add new language..." class="btn" style="float:left;margin-right:4px" onclick="katalog_bahasa_form(\'af\')"><div class="bi_addb">&nbsp;</div></button>';
		$xform->fi('Language',$s);
		
		$xform->fi('Series',iText('seri',$data['seri'],$xform->fieldws));
		$xform->fi('Volume',iText('volume',$data['volume'],$xform->fieldws));
		$xform->fi('Edition',iText('edisi',$data['edisi'],$xform->fieldws));
		
		$s=iSelect('jenisbuku',$jenisbuku,$data['jenisbuku'],'float:left;margin-right:4px;width:244px','katalog_jenisbuku_sel()');
		$s.='<button title="Add new type..." class="btn" style="float:left;margin-right:4px" onclick="katalog_jenisbuku_form(\'af\')"><div class="bi_addb">&nbsp;</div></button>';
		$xform->fi('Type',$s);
		
	$xform->col_begin('50%'); // Kolom kanan lebar 50%
	$xform->group_begin('Cover Image');
		$xform->fphoto($data['replid'],'katalog',100,140);
		
	$xform->group_begin('Description');
		$xform->fi('Number of page',iText('halaman',$data['halaman'],'width:40px').' <span style="margin-top:4px">&nbsp;page(s)</span>');
		$xform->fi('Synopsis',iTextArea('deskripsi',$data['deskripsi'],$xform->fieldws,5));

if($opf=='kat'){
	//if($xform->opt=='uf') $xform->back_act='katalog_form_view('.$cid.')';
	$xform->back_act='katalog_get()';
} else if($opf=='buk'){
	//if($xform->opt=='df') $xform->back_act='katalog_get()';
	$xform->back_act='katalog_form_view('.$cid.')';
}
$xform->table_end();
?>
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:katalog_form.php


注:本文中的iText函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。