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


PHP link_js函数代码示例

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


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

示例1: exit

<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$path = 'application/views/laporan';
link_js('FusionCharts.js', 'asset/js');
link_js('pembelian_graph.js', $path . '/js');
panel_begin('Grafik Pembelian');
panel_multi('grafikpembelian', 'block');
if ($all_grafikpembelian != '') {
    addText(array('Tahun', ''), array("<select id='thn' name='thn'></select>", "<input type='button' id='okelah' value='OK'>"));
    echo "<div id='chartdiv' align='center'>";
    echo tabel() . "<thead>";
    echo tr('headere\' align=\'left') . th('Kalkulasi Data');
    echo _tr() . "</thead><tbody>";
    /**/
    echo _tabel(true);
    echo "</div>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
loading_ajax();
?>

<script language="javascript">
$(document).ready(function(e) {
    
});
开发者ID:asad345100,项目名称:pos-ci,代码行数:31,代码来源:pembelian_graph.php

示例2: exit

<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_inv.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_inv.frm');
$path = 'application/views/akuntansi/kas';
calender();
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js,jquery_terbilang.js', 'asset/js,asset/js');
link_js('jquery.fixedheader.js,laba_rugi.js', 'asset/js,' . $path . '/js');
panel_begin('Laba Rugi');
panel_multi('labarugi', 'block', false);
if ($all_labarugi != '') {
    addText(array('Periode Tanggal : ', ' s/d ', '', ''), array("<input type='text' id='dari_tgl' name='dari_tgl' value=''/>", "<input type='text' id='sampai_tgl' name='sampai_tgl' value=''/>", "<input type='button' id='okedech' value='OK'/>", "<input type='checkbox' id='pajak' name='pajak' value='ok' style='display:none'>"), true, 'frm1');
} else {
    no_auth();
}
panel_multi_end();
panel_end();
terbilang();
开发者ID:asad345100,项目名称:pos-ci,代码行数:23,代码来源:laba_rugi.php

示例3: exit

<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_master.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_master.frm');
$path = 'application/views/laporan/transaksi';
calender();
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js', 'asset/js');
link_js('lap_kas.js', $path . '/js');
panel_begin('Laporan Kas');
panel_multi('laporankas', 'block', false);
if ($all_laporankas != '') {
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('filterlapkas', true, '60%');
    $zfm->BuildFormButton('Process', 'filter', 'button', 2);
} else {
    no_auth();
}
panel_multi_end();
panel_end();
开发者ID:asad345100,项目名称:pos-ci,代码行数:25,代码来源:lap_kas.php

示例4: empty

<?php

empty($thn) ? $thn = date('Y') : ($thn = $thn);
empty($prs) ? $prs = 'nol' : ($prs = $prs);
$img = "<img src='" . base_url() . "asset/images/printer.png' id='print' title='Print Grafix' class='xx'>";
link_js('FusionCharts.js', 'asset/js');
link_js('zetro_number.js,lap_nasabah.js', 'asset/js,application/views/laporan/js');
$tahun = "<select id='thn' name='thn'></select>";
panel_begin('Jumlah Nasabah,Nilai Taksir', '', 'Grafik Tahun : ,' . $tahun);
$zb = new zetro_listBuilder('asset/bin/zetro_form.cfg');
panel_multi('jumlahnasabah', true);
?>
<div id='chartdiv'></div>

<?php 
panel_multi_end();
panel_multi('nilaitaksir');
?>
<div id='chartdiv2'></div>
<?php 
panel_multi_end();
panel_end();
?>
<input type='text' value='<?php 
echo $prs;
?>
' id='prs' /><input type='text' value='' id='lnk' />
<script language='javascript'>
$(document).ready(function(e) {
    $('#thn').html("<?php 
dropdown("spb", "distinct(year(tgl_spb)) as thn", '', '', $thn);
开发者ID:laiello,项目名称:ksu,代码行数:31,代码来源:lap_nasabah.php

示例5: link_js

<?php

link_js('zetro_number.js,list_nasabah.js', 'asset/js,application/views/sdm/js');
$user_aktiv = $this->session->userdata("userid");
panel_begin('Black List', '');
$zb = new zetro_listBuilder('asset/bin/zetro_form.cfg');
$zb->ListHeader('nasabah', '70%', 'listTable');
$no = 0;
echo "<tbody>";
//($page+1);
foreach ($list->result_array() as $lst) {
    $no++;
    echo "<tr class='xx' id='" . $lst['ktp_spb'] . "' align='left'>\n\r\n\t\t   <td class='kotak' align='center'>{$no}</td>\r\n\t\t   <td class='kotak'>" . $lst['nama_spb'] . "{$ae}</td>\r\n\t\t   <td class='kotak'>" . $lst['ktp_spb'] . "</td>\r\n\t\t   <td class='kotak'>" . $lst['almnasabah'] . "</td>\r\n\t\t   <td class='kotak' width='8%' align='center'>";
    $bls = rdb('blacklist', 'ktp_spb', 'ktp_spb', "where ktp_spb='" . $lst['ktp_spb'] . "'");
    if ($ae == 'Y' || $user_aktiv == 'Superuser') {
        $zb->event($lst['ktp_spb']);
    }
    echo "</td></tr>\n";
}
echo "</tbody></table>";
panel_end();
popup_start('Edit Data Nasabah', 500, 300, 'frm2');
$zb = new zetro_frmBuilder('asset/bin/zetro_form.cfg');
$zb->AddBarisKosong(true);
$zb->BuildForm('nasabah', true, '80%');
popup_end('');
?>
<input type='text' id='prs' value='bcl'>
<script language='javascript'>
	$(document).ready(function(e) {
		$('img.edit').hide();
开发者ID:laiello,项目名称:ksu,代码行数:31,代码来源:list_blacklist.php

示例6: exit

<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_inv.frm');
$zlb = new zetro_buildlist();
$section = 'Barang';
$zlb->config_file('asset/bin/zetro_inv.frm');
$path = 'application/views/inventory';
link_js('material_inv.js', $path . '/js');
link_js('jquery.fixedheader.js', 'asset/js');
tab_select('');
panel_begin('Jenis Barang');
panel_multi('jenisbarang', 'block', false);
if ($all_jenisbarang != '') {
    $zfm->AddBarisKosong(false);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('Jenis', true, '50%');
    $zfm->BuildFormButton('Simpan', 'jenis');
    echo "<hr/>";
    $zlb->section('Jenis');
    $zlb->aksi($e_jenisbarang != '' ? true : false);
    $zlb->icon('deleted');
    $zlb->Header('100%', 'Jenis');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
开发者ID:asad345100,项目名称:pos-ci,代码行数:31,代码来源:material_jenis.php

示例7: zetro_frmBuilder

<?php

$zfm = new zetro_frmBuilder('asset/bin/zetro_master.frm');
$section = 'Barang';
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_master.frm');
$path = 'application/views/master';
link_js('jquery.fixedheader.js,master_general.js,jquery_terbilang.js', 'asset/js,' . $path . '/js,asset/js');
tab_select('');
panel_begin('Data General');
panel_multi('datakas', 'block', false);
$mk = '_kas';
if ($all_kas != '') {
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm3');
    $zfm->BuildForm('Kas', true, '50%');
    $zfm->BuildFormButton('Simpan', 'kas');
    echo "<hr>";
    $zlb->section('Kas');
    $zlb->aksi(true);
    $zlb->icon('delete');
    $zlb->Header('70%');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
auto_sugest();
tab_select('prs');
panel_end();
terbilang();
开发者ID:asad345100,项目名称:pos-ci,代码行数:31,代码来源:master_general.php

示例8: exit

<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_neraca.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_neraca.frm');
$path = 'application/views/laporan/transaksi';
calender();
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js', 'asset/js');
link_js('auto_sugest.js,lap_kreditur_tagihan.js,jquery.fixedheader.js', 'asset/js,' . $path . '/js,asset/js');
panel_begin('Tagihan Kredit');
panel_multi('tagihankredit', 'block', false);
if ($all_tagihankredit != '') {
    echo "<form id='frm1' name='frm1' method='post' action=''>";
    addText(array('Periode :', ' s/d ', 'Departemen', 'Cicilan', ''), array("<input type='text' id='dari_tgl' name='dari_tgl' value=''>", "<input type='text' id='sampai_tgl' name='sampai_tgl' value=''>", "<select id='departemen' name='departemen'></select>", "<select id='cicilan' name='cicilan'></select>", "<input type='button' value='OK' id='okelah'/>\r\n\t\t  <input type='hidden' value='2' id='jenis_beli' name='jenis_beli'/>"));
    echo "</form>";
    echo "</tbody></table>";
    echo "<table id='xx' width='100%'><tbody><tr><td>&nbsp;</td></tr></tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
auto_sugest();
panel_end();
?>

<script language="javascript">
$(document).ready(function(e) {
开发者ID:asad345100,项目名称:pos-ci,代码行数:31,代码来源:lap_kreditur_tagihan.php

示例9: foreach

			  $d=explode(',',$zn->rContent('stokopname',"$i",$nfile));
			  $a->Cell($d[9],8,$d[0],1,0,'C',true);
		  }
		  $a->Ln();*/
$a->SetFont('Arial', '', 10);
// $rec = $temp_rec->result();
$n = 0;
foreach ($temp_rec as $r) {
    $n++;
    $a->Row(array($n, $r->Nama_Barang, $r->Satuan, '', ''));
    //
}
$a->Ln(5);
$a->Cell(50, 8, 'Counting by', 0, 0, 'C');
$a->Ln(20);
$a->Cell(50, 8, '(______________________)', 0, 0, 'C');
$a->Output('application/logs/' . $this->session->userdata('userid') . '_countsheet.pdf', 'F');
$path = 'application/views/_laporan';
$img = " <img src='" . base_url() . "asset/images/back.png' onclick='js:window.history.back();' style='cursor:pointer' title='click for select other filter data'>";
link_js('lap_beli.js,jquery.fixedheader.js', $path . '/js,asset/js');
panel_begin('Print Preview', '', 'Back' . $img);
?>
				  <iframe src="<?php 
echo base_url();
?>
application/logs/<?php 
echo $this->session->userdata('userid');
?>
_countsheet.pdf" height="100%" width="100%" frameborder="0" allowtransparency="1"></iframe>
		<?php 
panel_end();
开发者ID:asad345100,项目名称:pos-ci,代码行数:31,代码来源:countsheet_print.php

示例10: link_js

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
		<title>AMS Server Reporting</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="author" content="Nouman Tayyab"/>
        
		<?php 
echo link_js('jquery-1.8.2.js');
?>
		<style type="text/css">
			body{
				background-color: black;
				font-size: 12px;
				font-family: monaco,monospace;
				color: #BAB9BB;
			}
			.title{
				text-align: center;
				font-size: 20px;
			}
		</style>
    </head>
	<body>
		{yield}
	</body>
</html>
开发者ID:TheHexa1,项目名称:AMS,代码行数:27,代码来源:deployment.php

示例11: exit

<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$file = 'asset/bin/zetro_neraca.frm';
$zfm = new zetro_frmBuilder($file);
$zlb = new zetro_buildlist();
$zlb->config_file($file);
$path = 'application/views/warehouse';
calender();
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js', 'asset/js');
link_js('jquery.fixedheader.js', 'asset/js');
link_js('material_mutasi.js', $path . '/js');
panel_begin('Rusak/Hilang');
panel_multi('addbarangrusak', 'none', false);
if ($all_addbarangrusak != '') {
    $fld = "<input type='hidden' id='id_barang' name='id_barang' value=''/>";
    $fld .= "<input type='hidden' id='id_satuan' name='id_satuan' value=''/>";
    $zfm->Addinput($fld);
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('pemakaian', true, '50%');
    $zfm->BuildFormButton('Simpan', 'rusak');
    echo "<hr/>";
} else {
    no_auth();
}
panel_multi_end();
panel_multi('listbarangrusak', 'block', false);
开发者ID:asad345100,项目名称:pos-ci,代码行数:31,代码来源:material_rusak.php

示例12: zetro_frmBuilder

<?php

$zfm = new zetro_frmBuilder('asset/bin/zetro_beli.frm');
$zlb = new zetro_buildlist();
calender();
$zlb->config_file('asset/bin/zetro_beli.frm');
$path = 'application/views/penjualan';
$printer = "<img src='" . base_url() . "asset/images/print.png' id='printsheet' title='Print count sheet'>";
link_css('autosuggest.css', 'asset/css');
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js', 'asset/js');
link_js('jquery.fixedheader.js', 'asset/js');
link_js('material_jual.js,jquery_terbilang.js,jquery.sumfield.js', $path . '/js,asset/js,asset/js');
panel_begin('Transaksi');
panel_multi('penjualan', 'block', false);
if ($c_penjualan__index != '') {
    echo "<table id='frame' width='99%'>\r\n\t\t <tr valign='top'><td width='45%'>";
    $zfm->AddBarisKosong(false);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('jualan', false, '100%');
    //$zfm->BuildFormButton('Process','filter','button',2);
    echo "</td><td class='kotak' colspan='2' width='55%'>\r\n\t<div id='kasir' class='harga' align='right'></div>\r\n\t<div id='trblkasir' style='font-size:medium; font-weight:bold'>Rp. </div></td></tr></table>\r\n\t<hr>\r\n\t<table id='frame2' width='99%'>\r\n\t\t<tr valign='top'><td rowspan='1' width='75%' style='overflow:auto; max-height:100px'>";
    echo "<div  style='height:320px;overflow:auto'>\r\n\t\t<form id='frm2' name='frm2' method='post' action=''>";
    $zlb->section('penjualanlist');
    $zlb->aksi(false);
    $zlb->Header('100%');
    $zfm->section('penjualanlist');
    $zfm->rowCount(20);
    $zfm->button('simpan');
    $zfm->BuildGrid(false);
    echo "</tbody></table></form>";
开发者ID:asad345100,项目名称:pos-ci,代码行数:31,代码来源:material_jual.php

示例13: zetro_frmBuilder

<?php

$zfm = new zetro_frmBuilder('asset/bin/zetro_member.frm');
$zlb = new zetro_buildlist();
$section = 'Barang';
$zlb->config_file('asset/bin/zetro_member.frm');
$path = 'application/views/member';
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js,member.js', 'asset/js,' . $path . '/js');
link_js('ajaxupload.js', 'asset/js');
link_js('jquery_terbilang.js', 'asset/js');
!empty($panel) ? $panel = $panel : ($panel = '');
tab_select($panel);
panel_begin('Pelanggan Baru');
panel_multi('pelangganbaru', 'block');
if ($all_pelangganbaru != '') {
    $zfm->Addinput("<input type='hidden' id='No_Agt' name='No_Agt' value=''/>");
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('registrasi', true, '50%');
    $zfm->BuildFormButton('Simpan', 'registrasi');
} else {
    no_auth();
}
panel_multi_end();
panel_multi('uploadphoto');
if ($all_uploadphoto != '') {
    !empty($upload_data['file_name']) ? $img = $upload_data['file_name'] : ($img = '');
    !empty($d_photo) ? $dv = $d_photo : ($dv = 'none');
    !empty($nourut) ? $nourut = $nourut : ($nourut = '');
    !empty($nama) ? $nama = $nama : ($nama = '');
开发者ID:asad345100,项目名称:pos-ci,代码行数:31,代码来源:member_view.php

示例14: empty

<?php

empty($bln) ? $blne = date('m') : ($blne = $bln);
empty($thn) ? $thne = date('Y') : ($thne = $thn);
link_js('jquery_print.js', 'application/views/admin/js');
link_js('zetro_number.js,lap_list_spb.js', 'asset/js,application/views/laporan/js');
$user_aktiv = $this->session->userdata("userid");
$blnj = "<select id='bulan' name='bulan'></select>";
$thnj = "<select id='thn' name='thn'></select>";
$img = "<img src='" . base_url() . "asset/images/printer.png' id='printing' title='Print Report' class='xx'>";
echo "<form id='frm1' name='frm1' action='' method='post'>";
panel_begin('Daftar SPB,Perpanjang SPB', '', "Filter by Bulan :," . $blnj . ",Tahun :," . $thnj . ",&nbsp;&nbsp;&nbsp;", "{$img}");
panel_multi('daftarspb', 'block');
$zb = new zetro_listBuilder('asset/bin/zetro_form.cfg');
$zb->ListHeader('Spb', '100%', 'listTable');
$no = 0;
//($page+1);
foreach ($list->result_array() as $lst) {
    $no++;
    echo "<tr class='xx' id='" . $lst['no_spb'] . "' align='center'>\r\n\t\t   <td class='kotak'>{$no}</td>\r\n\t \t   <td class='kotak'>" . $lst['no_spb'] . "</td>\r\n\t\t   <td class='kotak'>" . tglfromSql($lst['tgl_spb']) . "</td>\r\n\t\t   <td class='kotak' align='left'>" . $lst['nama_spb'] . "</td>\r\n\t\t   <td class='kotak' align='left'>" . $lst['ktp_spb'] . "</td>\r\n\t\t   <td class='kotak' align='left'>" . $lst['id_barang'] . "</td>\r\n\t\t   <td class='kotak' align='right'>" . number_format($lst['taksir_spb'], 2) . "</td>\r\n\t\t   <td class='kotak' align='right'>" . number_format($lst['nilai_spb'], 2) . "</td>\r\n\t\t   <td class='kotak'>" . $lst['jw_spb'] . "</td>\r\n\t\t   <td class='kotak'>" . tglfromSql($lst['jt_spb']) . "</td>";
    $ppke = rdb("perpanjang_spb", "pp_ke", 'pp_ke', "where no_spb='" . $lst['no_spb'] . "'");
    echo compare_date($lst['jt_spb'], date('Y-m-d')) ? "<td class='kotak' width='5%'>" . perpanjang($lst['no_spb'], $ppke) . "<td>" : "<td class='kotak' width='5%'>&nbsp;</td></tr>";
}
echo "</tbody></table>\n";
panel_multi_end();
panel_multi('perpanjangspb');
?>
<table id='listdata' style='border-collapse:collapse'>
<thead>
<tr class='header'>
<th class='kotak' rowspan='2' width='20%'>URAIAN</th>
开发者ID:laiello,项目名称:ksu,代码行数:31,代码来源:lap_daftar_spb.php

示例15: exit

<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_beli.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_beli.frm');
$path = 'application/views/pembelian';
Calender();
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js', 'asset/js');
link_js('jquery.fixedheader.js', 'asset/js');
link_js('material_income_list.js', $path . '/js');
link_js('material_income.js,jquery_terbilang.js', $path . '/js,asset/js');
panel_begin('Penerimaan Barang');
panel_multi('inputpembelian', 'block', false);
if ($c_pembelian__index != '') {
    $zfm->AddBarisKosong(false);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('pembelian', false, '60%');
    echo "<hr><form id='frm2' name='frm2' method='post' action=''>";
    $zlb->section('pembelianlist');
    $zlb->aksi(true);
    $zlb->Header('97%');
    echo "<tr><td class='kotak' colspan='8'>&nbsp;</td>";
    echo "</tbody><tfoot>";
    $zfm->section('pembelianlist');
    $zfm->rowCount();
    $zfm->button('simpan');
    $zfm->BuildGrid();
开发者ID:asad345100,项目名称:pos-ci,代码行数:31,代码来源:material_income.php


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