本文整理汇总了PHP中iTextarea函数的典型用法代码示例。如果您正苦于以下问题:PHP iTextarea函数的具体用法?PHP iTextarea怎么用?PHP iTextarea使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了iTextarea函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$xform->group_begin('Data Peminjam');
$s='<button title="Cari" class="btn" style="margin-right:4px" onclick="sirkulasi_member_add()"><div class="bi_srcb"> </div></button>';
$xform->fi('Peminjam',iText('smember','','width:250px;margin-right:4px','ID atau nama member','onkeyup="sirkulasi_member_cari(event)"').$s);
hiddenval('member_id',0);
hiddenval('member_tipe',0);
hiddenval('sirkulasi_form',1);
echo '<div id="datamember" class="xrowl" style="margin-top:10px">';
require_once(APPDIR.'sirkulasi_datamember.php');
echo '</div>';
$xform->col_begin('50%');
$xform->set_labelw(150);
$xform->group_begin('Periode Peminjaman');
$xform->fi('Tanggal peminjaman',inputTanggal('tanggal1',$data['tanggal1']));
$xform->fi('Tanggal pengembalian',inputTanggal('tanggal2',$data['tanggal2']));
$xform->group_begin('Catatan Peminjaman',160);
$xform->set_labelw(150);
$xform->fi('Keterangan',iTextarea('keterangan','','width:250px',5));
$xform->table_end(0);
$xform->table_begin();
$xform->col_begin(); $xform->group_unflowdiv();
$xform->group_begin('Daftar barang yang dipinjam',160); // Grup field
echo '<div id="data_peminjaman_buku" style="width:700px;max-height:180px;height:180px;overflow:auto">';
require_once(APPDIR.'peminjaman_buku_tabel.php');
echo '</div>';
$xform->table_end();
?>
示例2: inputTanggal
to </td></tr>
<tr><td> </td><td><?php
echo inputTanggal('tanggal2', $tgl, "hitungHari()");
?>
( <span id="htnghari"><?php
echo $dif;
?>
</span> day(s) )</td></tr>
<tr><td> </td><td><i>Day off remaining after take this day off: <span id="htnghari2" style="color:<?php
echo $scuti <= 0 ? "#ff0000" : "inherit";
?>
"><?php
echo $scuti;
?>
day(s)</span></i></td></tr>
<tr valign="top"><td width="100px">Note:</td><td><?php
echo iTextarea("keterangan", "", "width:100%", 5);
?>
</td></tr>
</table>
<br/>
<br/>
<table cellspacing="0" cellpadding="3px" width="100%"><tr>
<td align="center">
<input type="button" class="btn" onclick="close_fform()" value="Batal"/>
<input type="button" class="btnx" value="Simpan" onclick="emp_addcuti()"/>
</td>
</tr></table>
</div>
</div>
</td></tr></table>
示例3: str_replace
$sx = str_replace('f', '', $opt);
// Form dimension
$fwidth = $opt != 'df' ? 400 : 500;
$lwidth = 150;
$ptop = 150;
$rwidth = "width:" . ($fwidth - $lwidth - 18) . "px";
// Preprocessing form
if ($opt == 'uf' || $opt == 'df') {
$r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
} else {
}
app_form_head($mdialog[$opt]);
if ($opt == 'af' || $opt == 'uf') {
$okbtn = $opt == 'af' ? "Simpan" : "OK";
$nobtn = " Batal ";
$gd = 'true';
// Add or Edit form
app_form_fi(ucfirst(strtolower($idata)), iText($fmod, $r, $rwidth));
app_form_fa('Keterangan', iTextarea('keterangan', $r, $rwidth, 3));
} else {
if ($opt == 'df') {
$okbtn = "Ya";
$nobtn = "Tidak";
$gd = 'false';
// Delete form
$dcf = app_form_del_w($r[$fmod]);
app_form_dlg($dcf);
}
}
app_form_foot();
}
示例4: iText
// Add or Edit form
?>
<tr><td width="100px">Publisher name:</td><td><?php
echo iText('name', $r['name'], $iTextFw);
?>
</td></tr>
<tr valign="top"><td width="100px">Address:</td><td><?php
echo iTextarea('address', $r['address'], $iTextFw, 2);
?>
</td></tr>
<tr><td width="100px">Phone:</td><td><?php
echo iText('phone', $r['phone'], $iTextFw);
?>
</td></tr>
<tr valign="top"><td width="100px">Note:</td><td><?php
echo iTextarea('note', $r['note'], $iTextFw, 2);
?>
</td></tr>
<?php
} else {
if ($opt == 'df') {
$okbtn = "Yes";
$nobtn = " No ";
$gd = 'false';
// Delete form
?>
<tr><td><p class="line150">Are you sure you want to delete "<b><?php
echo $r['name'];
?>
</b>"? All books which published by "<?php
echo $r['name'];
示例5: iText
<td><?php
echo iText('hinfo5', $emph['info5'], $rwidth);
?>
</td></tr>
<tr><td> </td><?php
echo tdLabel("Date of last physical examination", "", $lwidth);
?>
<td><?php
echo iText('hinfo6', $emph['info6'], $rwidth);
?>
</td></tr>
<tr valign="top"><td> </td><?php
echo tdLabel("Have you ever been hospitalized for more than a month? If yes, please explain the circumstances", "", $lwidth);
?>
<td><?php
echo iTextarea('hinfo7', $emph['info7'], $rwidth, 5);
?>
</td></tr>
</table>
<?php
$tgi = dbSel("*", "emp_ginfo", "W/empid='{$dcid}'");
$empgi = dbFAx($tgi);
?>
<table class="stable" cellspacing="0" cellpadding="2px" width="875px">
<tr><td> </td><td colspan="2"></td></tr> <!-- Separator -->
<tr height="30px" valign="top"><td width="20px"><b>E.</b></td><td colspan="2"><strong>General Information</strong></td></tr><?php
$rwidth = "width:838px";
$gilbl = array('', 'Have you ever applied for any position in this institution:', 'Do you have any friends or relatives working in this institutions (please specify):', 'Have you ever taken any work related test? What were they called (list the names/types of the test if known)? When and where were they taken:', 'Whet level would you like to teach and what level have you thaught (teachers only):', 'What are your ultimate goals professionally and what are your plans for reaching those goal:', 'Do you own a house:', 'Do you own a vehicle (please specify):', 'Do you play any musical instruments (plase specify):', 'Do you have a habit of smoking, drinking, drug abuse, or gambling:', 'Have you ever been arrested, cited, or convicted of any crime? If yes, please describe the circumstances surrounding the crime(s). Indicate the year and place in which the crime occured:', 'Are you willing to follow all our rules and procedures, icluding our morality, uniform, and Christianity guidelines:', 'Are you willing to work overtime if required:', 'When can you start:', 'Approximate salary expected:');
for ($i = 1; $i < count($gilbl); $i++) {
?>
<tr><td> </td><td colspan="2"><?php
示例6: require_once
<?php require_once(MODDIR.'fform/fform.php'); $opt=gpost('opt');$cid=gpost('cid');if($cid=='')$cid=0;
// form Module
$fmod='stocktake_note';
$dbtable=stocktake_ctable();
$fform=new fform($fmod,$opt,$cid);
$inp=app_form_gpost('note');
if($opt=='a'||$opt=='u'||$opt=='d'){ $q=false;
$q=dbUpdate($dbtable,$inp,"replid='$cid'");
//$fform->notif($q);
if($q) echo nl2br($inp['note']);
else echo "-0-";
} else {
$r=dbSFA("*",$dbtable,"W/replid='$cid'");
$t1=mysql_query("SELECT pus_katalog.judul FROM pus_buku LEFT JOIN pus_katalog ON pus_katalog.replid=pus_buku.katalog WHERE pus_buku.replid='".$r['buku']."' LIMIT 0,1");
$r1=mysql_fetch_array($t1);
$fform->head();
if($opt=='af' || $opt=='uf'){ require_once(MODDIR.'control.php'); // Add or Edit form
$fform->fc('Tambahkan catatan untuk item:');
$fform->fl('Barkode',$r['barkode']);
$fform->fl('Judul',buku_judul($r1['judul']));
$fform->fa('Keterangan',iTextarea('note',$r['note'],$fform->rwidths,3));
}
$fform->foot();
} ?>
示例7: inputDate
} else {
$keluarga['tglnikah'] = '0000-00-00';
$keluarga['kakek-nama'] = '';
$keluarga['nenek-nama'] = '';
}
$xform->group_begin('Data Keluarga (opsional)');
$xform->fi('Tanggal perkawinan orang tua', inputDate('keluarga-tglnikah', $keluarga['tglnikah']));
$xform->fi('Nama Kakek', iText('keluarga-kakek-nama', $keluarga['kakek-nama'], $xform->fieldws));
$xform->fi('Nama Nenek', iText('keluarga-nenek-nama', $keluarga['nenek-nama'], $xform->fieldws));
$xform->col_begin('50%');
$xform->group_begin('Foto Siswa');
$xform->fphoto($data['replid']);
$xform->group_begin('Riwayat Kesehatan Siswa', 170);
$xform->fi('Golongan darah', iSelect('darah', goldarah_r(), $data['darah']));
$xform->fi('Penyakit yang pernah diderita', iTextarea('kesehatan', $data['kesehatan'], $xform->fieldws, 5));
$xform->fi('Catatan kesehatan', iTextarea('ketkesehatan', $data['ketkesehatan'], $xform->fieldws, 5));
if ($opt == 'uf') {
$t = mysql_query("SELECT * FROM psb_calonsiswa_kontakdarurat WHERE calonsiswa='" . $data['replid'] . "'");
$darurat = mysql_fetch_array($t);
} else {
$darurat['nama'] = '';
$darurat['hubungan'] = '';
$darurat['telpon'] = '';
}
$xform->group_begin('Kontak Darurat (selain orang tua)');
$xform->fi('Nama', iText('kontakdarurat-nama', $darurat['nama'], $xform->fieldws));
$xform->fi('Hubungan', iText('kontakdarurat-hubungan', $darurat['hubungan'], $xform->fieldws));
$xform->fi('Nomor yang dapat dihubungi', iText('kontakdarurat-telpon', $darurat['telpon'], 'width:120px'));
if ($opt == 'uf') {
$t = mysql_query("SELECT * FROM psb_calonsiswa_saudara WHERE calonsiswa='" . $data['replid'] . "'");
$sesid = session_id();
示例8: if
if($opt=='a'||$opt=='u'||$opt=='d'){ $q=false;
if($opt=='a'){ // add
$q=dbInsert($dbtable,$inp);
}
else if($opt=='u') { // 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 {
}
$fform->head();
if($opt=='af' || $opt=='uf'){ require_once(MODDIR.'control.php'); // Add or Edit form
$fform->fi('No ID member',iText('nid',$r['nid'],$fform->rwidths));
$fform->fi('Nama',iText('nama',$r['nama'],$fform->rwidths));
$fform->fi('Kontak',iText('kontak',$r['kontak'],$fform->rwidths));
$fform->fa('Alamat',iTextarea('alamat',$r['alamat'],$fform->rwidths,3));
} else if($opt=='df'){ // Delete form
$fform->dlg_del($r['nama']);
} $fform->foot();
} ?>
示例9: dbSFA
if ($opt == 'uf' || $opt == 'df') {
// Prepocessing form
$r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
} else {
$r = farray('judul', 'penyelenggara', 'tempat', 'tgl1', 'tgl2', 'pembicara', 'peserta', 'jenistraining');
}
$fform->ptop = 50;
$fform->head();
if ($opt == 'af' || $opt == 'uf') {
require_once MODDIR . 'control.php';
// Add or Edit form
$fform->fi('Judul', iText('judul', $r, $fform->rwidths));
$fform->fi('Penyelenggara', iText('penyelenggara', $r, $fform->rwidths));
$fform->fi('Tempat', iText('tempat', $r, $fform->rwidths));
$fform->fi('Tanggal', inputDate('tgl1', $r));
$fform->fi('', inputDate('tgl2', $r));
$fform->fi('Pembicara', iText('pembicara', $r, $fform->rwidths));
$fform->fi('Jenis training', iSelect('jenistraining', jenistraining_r($a), $r));
$fform->fa('Peserta', iTextarea('peserta', $r, $fform->rwidths, 5));
} else {
if ($opt == 'df') {
// Delete form
$fform->dlg_del($r['judul']);
}
}
$fform->foot();
}
exit;
?>
示例10: rgba
echo '<table cellspacing="10px" cellpadding="0" border="0" width="100%" style="border:1px solid rgba(0, 0, 0, .3);background:#fcfcff;margin-bottom:10px">';
echo '<tr valign="top">';
echo '<td width="370px">';
echo '<div class="sfont" style="margin-top:0px;height:24px;width:100%"><b>Data peminjam:</b></div>';
$xform->set_fieldw(290);
$xform->set_labelw(80);
$s='<button title="Cari" class="btn" style="margin-right:4px" onclick="sirkulasi_peminjaman_form_member_list_open()"><div class="bi_srcb"> </div></button>';
$xform->fi('Peminjam',iText('smember','','width:200px;margin-right:4px','ID atau nama member','onkeyup="sirkulasi_member_cari(event)"').$s);
//hiddenval('member_id',0);
//hiddenval('member_tipe',0);
//hiddenval('sirkulasi_form',1);
echo '<div id="box_sirkulasi_peminjaman_form_member" class="xrowl" style="margin-top:10px">';
require_once(APPDIR.'sirkulasi_peminjaman_form_member_get.php');
echo '</div>';
echo '</td>';
echo '<td>';
echo '<div class="sfont" style="float:left;margin-top:0px;height:24px;width:100%"><b>Waktu peminjaman:</b></div>';
$xform->set_fieldw(200);
$xform->set_labelw(150);
$xform->fi('Tanggal peminjaman',inputTanggal('tanggal1',$data['tanggal1']));
$xform->fi('Tanggal pengembalian',inputTanggal('tanggal2',$data['tanggal2']));
echo '<div class="sfont" style="float:left;margin-top:10px;height:24px;width:100%"><b>Catatan peminjaman:</b></div>';
$xform->set_fieldw(200);
$xform->set_labelw(150);
$xform->fi('Keterangan',iTextarea('keterangan','','width:190px',3));
echo '</td>';
echo '</tr>';
echo '</table>';
?>
示例11: iText
<div id="fformbozf" class="fformbox" style="width:400px">
<div class="sfont" style="text-align:center;color:#ffffff;border-radius:5px 5px 0 0;background:#6a92e5;padding:6px 0 6px 0;">
<b>Give Reward<br/></b>
</div>
<div style="text-align:left;padding:15px 15px;width:370px">
<table class="stable" cellspacing="0" cellpadding="4px" width="370px">
<tr><td width="100px">Reward:</td><td><?php
echo iText('rw_reward', '', "width:250px");
?>
</td></tr>
<tr><td width="100px">By:</td><td><?php
echo iText('rw_rewardby', '', "width:250px");
?>
</td></tr>
<tr valign="top"><td>Description:</td><td><?php
echo iTextarea('rw_description', '', "width:250px", 2);
?>
</td></tr>
<tr><td>Date:</td><td><?php
echo inputDate('rw_date', date("Y-m-d"));
?>
</td></tr>
<tr><td>Attachment:</td><td>
<iframe id="imgframe2" name="imgframe" scrolling="no" style="border:none;display:;height:25px;width:230px;overflow:hidden;margin:0;padding:0" src="rwform.php?name=<?php
echo $r['fname'];
?>
"></iframe>
</td></tr>
</table>
<input type="hidden" id="rw_file" value=""/>
<table cellspacing="0" cellpadding="3px" width="370px" style="margin-top:30px"><tr>
示例12: inputTanggal
<tr><td> </td><td><?php
echo inputTanggal('tanggal2', $r['date2'], "hitungHarix(" . ($scuti + $r['count']) . ")");
?>
( <span id="htnghari"><?php
echo $r['count'];
?>
</span> day(s) )</td></tr>
<tr><td> </td><td><i>Day off remaining after take this day off: <span id="htnghari2" style="color:<?php
echo $scuti <= 0 ? "#ff0000" : "inherit";
?>
"><?php
echo $scuti;
?>
day(s)</span></i></td></tr>
<tr valign="top"><td width="100px">Note:</td><td><?php
echo iTextarea("keterangan", $r['note'], $s = "width:100%", $r = 5);
?>
</td></tr>
</table>
<br/>
<br/>
<table cellspacing="0" cellpadding="3px" width="100%"><tr>
<td align="center">
<input type="button" class="btn" onclick="close_fform()" value="Batal"/>
<input type="button" class="btnx" value="Update" onclick="emp_updatecuti(<?php
echo $dcid;
?>
)"/>
</td>
</tr></table>
</div>
示例13: dbSFA
}
}
$fform->notif($q);
} else {
if ($opt == 'uf' || $opt == 'df') {
// Prepocessing form
$r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
} else {
$r = farray('nama', 'tanggal1', 'tanggal2', 'keterangan', 'efektif');
$r['efektif'] = 0;
}
$fform->ptop = 60;
$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('Tahun ajaran',tahunajaran_name($r['tahunajaran']));
//$fform->fi('Nama Kegiatan',iText('nama',$r['nama'],$fform->rwidths));
$fform->fi('Tanggal', inputTanggal('tanggal1', $r['tanggal1']));
$fform->fi('sampai', inputTanggal('tanggal2', $r['tanggal2']));
$fform->fi('', iCheckx('efektif', 'Hari efektif', $r['efektif'], 'margin:6px 0px'));
$fform->fa('Uraian kegiatan', iTextarea('keterangan', $r['keterangan'], $fform->rwidths, 8));
} else {
if ($opt == 'df') {
// Delete form
$fform->dlg_del($r['nama']);
}
}
$fform->foot();
}
示例14: inputDate
?>
</td></tr>
<tr><td>Date:</td><td><?php
echo inputDate('date1', $r['date1']);
?>
to </td></tr>
<tr><td> </td><td><?php
echo inputDate('date2', $r['date2']);
?>
</td></tr>
<tr><td>Speaker:</td><td><?php
echo iText('speaker', $r['speaker'], $iTextFw);
?>
</td></tr>
<tr valign="top"><td>Participant:</td><td><?php
echo iTextarea('participant', $r['participant'], $iTextFw, 3);
?>
</td></tr>
<tr><td>Certified:</td><td><label style="padding:0;margin:0"><input style="padding:0;margin:0" <?php
echo isCheck("Y", $r['certified']);
?>
type="checkbox" id="certified" name="certified"/> Certified</label></td></tr>
<tr><td>Attachment:</td><td>
<iframe id="imgframe2" name="imgframe" scrolling="no" style="border:none;display:;height:25px;width:230px;overflow:hidden;margin:0;padding:0" src="trform.php?name=<?php
echo $r['fname'];
?>
"></iframe>
</td></tr>
<input type="hidden" id="pf_train_file" value="" />
<input type="hidden" id="pf_train_current_file" value="<?php
echo $r['file'];
示例15: inputDate
?>
</td></tr>
<tr><td>Date:</td><td><?php
echo inputDate('date1', $r['date1']);
?>
to </td></tr>
<tr><td> </td><td><?php
echo inputDate('date2', $r['date2']);
?>
</td></tr>
<tr><td>Speaker:</td><td><?php
echo iText('speaker', $r['speaker'], "width:400px");
?>
</td></tr>
<tr valign="top"><td>Participant:</td><td><?php
echo iTextarea('participant', $r['participant'], "width:400px", 3);
?>
</td></tr>
<?php
} else {
if ($opt == 'df') {
$okbtn = "Yes";
$nobtn = " No ";
$gd = 'false';
// Delete form
?>
<tr><td><p class="line150">Are you sure you want to delete "<b><?php
echo $r['title'];
?>
</b>"?</p></td></tr>
<?php