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


PHP base_admin函数代码示例

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


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

示例1:

				
                
              </h2>
            </div><!-- /.col -->
          </div>
                  </div>
              </div>
	<?php } ?>
  <div class="col-lg-3" style="width:260px;height:330px" > 
        <div class="box box-solid box-primary">
                                 <div class="box-header">
                                    <h5 class="box-title">Tambah Bahan</h5>
                                 </div>

                  <div class="box-body">
                     <form  method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/bahan_masuk/bahan_masuk_action.php?act=tambahedit">
					 
					 <?php
							$kode2 = $_GET['ubah'];
		
					  ?>
						
                      <div class="">
                       <div class="">
                          <input type="hidden" name="HEAD_ID" id="HEAD_ID" value="<?php echo $IDD;?>" class="form-control">  
                         
							<input type="text" style="font-style:italic;height:31px;width:160px;" name="ID_BAHAN" id="ID_BAHAN" value="<?php echo $_GET["code"];?>" placeholder="Kode Bahan" required readonly="true">
							<a href="<?=base_index();?>bahan-masuk/edit?DAFTAR_BAHAN&ubah=<?=$kode2?>" class="btn btn-success"><i class="glyphicon glyphicon-search"></i></a>
						 <br><br>
						</div>
                        </div><!-- /.form-group -->
开发者ID:smilescripts,项目名称:consina_project,代码行数:29,代码来源:bahan_masuk_edit.php

示例2: foreach

                                      </thead>
                                        <tbody>
                                         <?php 
			$dtb=$db->fetch_custom("select penjualan.NO_NOTA_PENJUALAN,penjualan.TANGGAL,penjualan.OPERATOR_KASIR,outlet.NAMA_OUTLET,penjualan.ID_PENJUALAN from penjualan  inner join outlet on penjualan.OUTLET=outlet.KODE_OUTLET");
			$i=1;
			foreach ($dtb as $isi) {
				?><tr id="line_<?=$isi->ID_PENJUALAN;?>">
        <td align="center"><?=$i;?></td><td><?=$isi->NO_NOTA_PENJUALAN;?></td>
<td><?=$isi->TANGGAL;?></td>
<td><?=$isi->OPERATOR_KASIR;?></td>
<td><?=$isi->NAMA_OUTLET;?></td>

        <td>
        <a href="<?=base_index();?>lap_jual/detail/<?=$isi->ID_PENJUALAN;?>" class="btn btn-success btn-flat"><i class="fa fa-eye"></i></a> 
        <?=($role_act["up_act"]=="Y")?'<a href="'.base_index().'lap_jual/edit/'.$isi->ID_PENJUALAN.'" class="btn btn-primary btn-flat"><i class="fa fa-pencil"></i></a>':"";?>  
        <?=($role_act["del_act"]=="Y")?'<button class="btn btn-danger hapus btn-flat" data-uri="'.base_admin().'modul/lap_jual/lap_jual_action.php" data-id="'.$isi->ID_PENJUALAN.'"><i class="fa fa-trash-o"></i></button>':"";?>
        </td>
        </tr>
				<?php
				$i++;
			}
			?>
                                        </tbody>
                                    </table>
                                </div><!-- /.box-body -->
                            </div><!-- /.box -->
                        </div>
                    </div>
        <?php
       foreach ($db->fetch_all("sys_menu") as $isi) {
                      if ($path_url==$isi->url) {
开发者ID:smilescripts,项目名称:consina_project,代码行数:31,代码来源:lap_jual_view.php

示例3:

                <!-- Main content -->
                <section class="content">
<div class="row">
    <div class="col-lg-12">
        <div class="box box-solid box-primary">
                                   <div class="box-header">
                                    <h3 class="box-title">Ubah Supplier</h3>
                                    <div class="box-tools pull-right">
                                        <button class="btn btn-primary btn-sm" data-widget="collapse"><i class="glyphicon glyphicon-minus-sign"></i></button>
                                        <button class="btn btn-primary btn-sm" data-widget="remove"><i class="glyphicon glyphicon-remove-circle"></i></button>
                                    </div>
                                </div>

                  <div class="box-body">
                     <form id="update" method="post" class="form-horizontal" action="<?=base_admin();?>modul/supplier/supplier_action.php?act=up" style="margin-top:20px">
                      <div class="form-group">
                        <label for="Kode supplier" class="control-label col-lg-2">Kode supplier</label>
                        <div class="col-lg-10">
                          <input type="text" name="KODE_SUPPLIER" value="<?=$data_edit->KODE_SUPPLIER;?>" class="form-control" required> 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Nama" class="control-label col-lg-2">Nama</label>
                        <div class="col-lg-10">
                          <input type="text" name="NAMA_SUPPLIER" value="<?=$data_edit->NAMA_SUPPLIER;?>" class="form-control" required> 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Alamat" class="control-label col-lg-2">Alamat</label>
                        <div class="col-lg-10">
开发者ID:smilescripts,项目名称:consina_project,代码行数:30,代码来源:supplier_edit.php

示例4: date

 
   <!-- Left side column. contains the logo and sidebar -->
      <aside class="main-sidebar" style="-webkit-box-shadow: 0 0 30px #666;
    -moz-box-shadow: 0 0 30px #666;
    box-shadow: 0 0 30px #666;">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
          <!-- Sidebar user panel -->
          <div class="user-panel">
            <div class="pull-left image">
              <img src="<?=base_admin();?><?=$profil->logo; ?>" class="img-circle" alt="User Image" />
            </div>
            <div class="pull-left info">
              <p><?=$profil->NAMA_PERUSAHAAN; ?> POS</p>

              <a href="<?=base_index();?>profil"><i class="glyphicon1 glyphicon-time"></i>&nbsp;<?php echo date('Y-m-d H:i:s');?></a>
            </div>
          </div>
         <!--  search form
         <form action="#" method="get" class="sidebar-form">
           <div class="input-group">
             <input type="text" name="q" class="form-control" placeholder="Search..."/>
             <span class="input-group-btn">
               <button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
             </span>
           </div>
         </form>
         /.search form -->
          <!-- sidebar menu: : style can be found in sidebar.less -->
          <ul class="sidebar-menu">
            <li class="header"><marquee style="height:15px;color:white"  behavior="scroll" >Online System Point Of Sale Consina</marquee></li>
开发者ID:smilescripts,项目名称:consina_project,代码行数:30,代码来源:left_nav.php

示例5: foreach

                        <li class="active">Tambah Jenis Barang</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">
<div class="row">
    <div class="col-lg-12"> 
        <div class="box box-solid box-primary">
                                 <div class="box-header">
                                    <h3 class="box-title">Tambah Jenis Barang</h3>
                                   
                                </div>

                  <div class="box-body">
                     <form id="input" method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/jenis_barang/jenis_barang_action.php?act=in" style="margin-top:20px">
                      <div class="form-group">
                        <label for="Kode" class="control-label col-lg-2">Kode</label>
                        <div class="col-lg-10">
                          <input type="text" name="KODE_JENIS" placeholder="Kode" class="form-control" required> 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Golongan" class="control-label col-lg-2">Golongan</label>
                        <div class="col-lg-10">
                          <select name="KODE_GOLONGAN" data-placeholder="Pilih Golongan ..." class="form-control chzn-select" tabindex="2" required>
               <option value=""></option>
               <?php foreach ($db->fetch_all("kategori") as $isi) {
               		echo "<option value='$isi->ID_KATEGORI'>$isi->NAMA_KATEGORI</option>";
               } ?>
              </select>
开发者ID:smilescripts,项目名称:consina_project,代码行数:31,代码来源:jenis_barang_add.php

示例6:

            </form>
			
	
			<script type="text/javascript">
				$(document).ready(function() {
					$('#datePicker').datepicker({
						format: "yyyy-m-d",
						minViewMode: 4,
						orientation: "top center",
						autoclose: true
					});
					$('#datePicker1').datepicker({
						format: "yyyy-m-d",
						minViewMode: 4,
						orientation: "top center",
						autoclose: true
					});
				});
			</script>
  
		</div>
		</div>
	</div>
	</div>
</div>
</section>
    <!-- date-picker -->
        <script src="<?=base_admin();?>assets/plugins/datepicker/bootstrap-datepicker.js" type="text/javascript"></script>
		<!-- datepicker -->
    <script src="<?=base_admin();?>assets/plugins/datepicker/bootstrap-datepicker.js" type="text/javascript"></script>
开发者ID:smilescripts,项目名称:consina_project,代码行数:30,代码来源:laporan_produksi_view.php

示例7:

                <!-- Main content -->
                <section class="content">
<div class="row">
    <div class="col-lg-12">
        <div class="box box-solid box-primary">
                                   <div class="box-header">
                                    <h3 class="box-title">Ubah Lap_jual</h3>
                                    <div class="box-tools pull-right">
                                        <button class="btn btn-primary btn-sm" data-widget="collapse"><i class="glyphicon glyphicon-minus-sign"></i></button>
                                        <button class="btn btn-primary btn-sm" data-widget="remove"><i class="glyphicon glyphicon-remove-circle"></i></button>
                                    </div>
                                </div>

                  <div class="box-body">
                     <form id="update" method="post" class="form-horizontal" action="<?=base_admin();?>modul/lap_jual/lap_jual_action.php?act=up">
                      <div class="form-group">
                        <label for="NO_NOTA_PENJUALAN" class="control-label col-lg-2">NO_NOTA_PENJUALAN</label>
                        <div class="col-lg-10">
                          <input type="text" name="NO_NOTA_PENJUALAN" value="<?=$data_edit->NO_NOTA_PENJUALAN;?>" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="TANGGAL" class="control-label col-lg-2">TANGGAL</label>
                        <div class="col-lg-10">
                          <input type="text" id="tgl1" data-rule-date="true" name="TANGGAL" value="<?=$data_edit->TANGGAL;?>" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="OPERATOR_KASIR" class="control-label col-lg-2">OPERATOR_KASIR</label>
                        <div class="col-lg-10">
开发者ID:smilescripts,项目名称:consina_project,代码行数:30,代码来源:lap_jual_edit.php

示例8:

                <!-- Main content -->
                <section class="content">
<div class="row">
    <div class="col-lg-12">
        <div class="box box-solid box-primary">
                                   <div class="box-header">
                                    <h3 class="box-title">Ubah Laporan Retur Konsinyasi</h3>
                                    <div class="box-tools pull-right">
                                        <button class="btn btn-primary btn-sm" data-widget="collapse"><i class="glyphicon glyphicon-minus-sign"></i></button>
                                        <button class="btn btn-primary btn-sm" data-widget="remove"><i class="glyphicon glyphicon-remove-circle"></i></button>
                                    </div>
                                </div>

                  <div class="box-body">
                     <form id="update" method="post" class="form-horizontal" action="<?=base_admin();?>modul/laporan_retur_konsinyasi/laporan_retur_konsinyasi_action.php?act=up">
                      
                      <input type="hidden" name="id" value="<?=$data_edit->NO_RETUR;?>">
                      <div class="form-group">
                        <label for="tags" class="control-label col-lg-2">&nbsp;</label>
                        <div class="col-lg-10">
                          <input type="submit" class="btn btn-primary btn-flat" value="Ubah">&nbsp;
						 <a href="<?=base_index();?>laporan-retur-konsinyasi" class="btn btn-success btn-flat">Batal</a>
                        </div>
                      </div><!-- /.form-group -->
                    </form>
					
          
                  </div>
                  </div>
              </div>
开发者ID:smilescripts,项目名称:consina_project,代码行数:30,代码来源:laporan_retur_konsinyasi_edit.php

示例9:

							
							}
							
									echo"
									  </table>
									  </div>";
									  ?>
										<a href="<?=base_admin();?>modul/kalkulasi_bahan/kalkulasi_bahan_action.php?act=batal_kalkulasi&id=<?=$TAM_HEAD;?>" class="btn btn-danger ">&nbsp;&nbsp;Batal&nbsp;&nbsp;</a>

										<?php
										echo"
									 <input type=\"button\" class=\"btn btn-warning btn-flat\" value=\"Cetak\" onclick=\"javascript:printDiv('printlagi')\" />";
									 	
									 
										?>
											<a class="btn btn-success"  href="<?=base_admin();?>modul/kalkulasi_bahan/kalkulasi_bahan_action.php?act=produksi&id=<?=$TAM_HEAD;?>">Produksi</a>
									<?php
									echo"
									</form>
								 </div>
								</div>
							</div>";
																
	
		
		

	
		?>
  
                </section><!-- /.content -->
开发者ID:smilescripts,项目名称:consina_project,代码行数:30,代码来源:tampil_kalkulasi.php

示例10:

                        <li class="active">Tambah Transaksi Grosir</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">
<div class="row">
    <div class="col-lg-12"> 
        <div class="box box-solid box-primary">
                                 <div class="box-header">
                                    <h3 class="box-title">Tambah Transaksi Grosir</h3>
                                   
                                </div>

                  <div class="box-body">
                     <form id="input" method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/transaksi_grosir/transaksi_grosir_action.php?act=in">
                      <div class="form-group">
                        <label for="NO_NOTA_PENJUALAN" class="control-label col-lg-2">NO_NOTA_PENJUALAN</label>
                        <div class="col-lg-10">
                          <input type="text" name="NO_NOTA_PENJUALAN" placeholder="NO_NOTA_PENJUALAN" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->

                      
                      <div class="form-group">
                        <label for="tags" class="control-label col-lg-2">&nbsp;</label>
                        <div class="col-lg-10">
                          <input type="submit" class="btn btn-primary btn-flat" value="Simpan"> &nbsp;
						   <a href="<?=base_index();?>transaksi-grosir" class="btn btn-success btn-flat"><i class="fa fa-step-backward"></i>Kembali</a>
						  
                        </div>
开发者ID:smilescripts,项目名称:consina_project,代码行数:31,代码来源:transaksi_grosir_add.php

示例11:

                        <li class="active">Tambah Sales Order</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">
<div class="row">
    <div class="col-lg-12"> 
        <div class="box box-solid box-primary">
                                 <div class="box-header">
                                    <h3 class="box-title">Tambah Sales Order</h3>
                                   
                                </div>

                  <div class="box-body">
                     <form id="input" method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/sales_order/sales_order_action.php?act=in">
                      <div class="form-group">
                        <label for="ID_SO" class="control-label col-lg-2">ID_SO</label>
                        <div class="col-lg-10">
                          <input type="text" name="ID_SO" placeholder="ID_SO" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="NO_SO" class="control-label col-lg-2">NO_SO</label>
                        <div class="col-lg-10">
                          <input type="text" name="NO_SO" placeholder="NO_SO" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->

                      
                      <div class="form-group">
开发者ID:smilescripts,项目名称:consina_project,代码行数:31,代码来源:sales_order_add.php

示例12: function

                         
                        </tr>
                                      </thead>
                                        <tbody>
                                        </tbody>
                                    </table>
                                </div><!-- /.box-body -->
                            </div><!-- /.box -->
                        </div>
                    </div>
        <?php
     
  $edit = '<a href="'.base_index()."profil-perusahaan/edit/'+aData[indek]+'".'" class="btn btn-primary btn-flat"><i class="glyphicon glyphicon-pencil"></i></a>';
?>  
                </section><!-- /.content -->
        <script type="text/javascript">
var dataTable = $("#profil_perusahaan_dtb").dataTable({
           "fnCreatedRow": function( nRow, aData, iDataIndex ) {
            var indek = aData.length-1;           
     $('td:eq('+indek+')', nRow).html(' <a href="<?=base_index();?>profil-perusahaan/detail/'+aData[indek]+'" class="btn btn-success btn-flat"><i class="glyphicon glyphicon-eye-open"></i></a> <?=$edit;?>');
       $(nRow).attr('id', 'line_'+aData[indek]);
   },
           'bProcessing': true,
            'bServerSide': true,
        'sAjaxSource': '<?=base_admin();?>modul/profil_perusahaan/profil_perusahaan_data.php',
         /*     'aoColumnDefs': [{
                'bSortable': false,
                'aTargets': [0]
            }]*/
        });</script>  
            
开发者ID:smilescripts,项目名称:consina_project,代码行数:29,代码来源:profil_perusahaan_view.php

示例13: base_admin

    echo $isi->tgl_ubah;
    ?>
</td>
<td><?php 
    echo $isi->keterangan_ubah;
    ?>
</td>
<td><?php 
    echo $isi->user_ubah;
    ?>
</td>


        <td>
        <?php 
    echo $role_act["del_act"] == "Y" ? '<button class="btn btn-danger hapus btn-flat" data-uri="' . base_admin() . 'modul/perubahan_status_aset/perubahan_status_aset_action.php" data-id="' . $isi->id_history . '"><i class="glyphicon glyphicon-trash"></i></button>' : "";
    ?>
        </td>
        </tr>
				<?php 
    $i++;
}
?>
                                        </tbody>
                                    </table>
                                </div><!-- /.box-body -->
                            </div><!-- /.box -->
                        </div>
                    </div>
       
                </section><!-- /.content -->
开发者ID:smilescripts,项目名称:consina_project,代码行数:31,代码来源:perubahan_status_aset_view.php

示例14:

                        <li class="active">Tambah Retur Konsinyasi</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">
<div class="row">
    <div class="col-lg-12"> 
        <div class="box box-solid box-primary">
                                 <div class="box-header">
                                    <h3 class="box-title">Tambah Retur Konsinyasi</h3>
                                   
                                </div>

                  <div class="box-body">
                     <form id="input" method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/retur_konsinyasi/retur_konsinyasi_action.php?act=in">
                      <div class="form-group">
                        <label for="NO_NOTA_KONSINYASI" class="control-label col-lg-2">NO_NOTA_KONSINYASI</label>
                        <div class="col-lg-10">
                          <input type="text" name="NO_NOTA_KONSINYASI" placeholder="NO_NOTA_KONSINYASI" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->

                      
                      <div class="form-group">
                        <label for="tags" class="control-label col-lg-2">&nbsp;</label>
                        <div class="col-lg-10">
                          <input type="submit" class="btn btn-primary btn-flat" value="Simpan"> &nbsp;
						   <a href="<?=base_index();?>retur-konsinyasi" class="btn btn-success btn-flat"><i class="fa fa-step-backward"></i>Kembali</a>
						  
                        </div>
开发者ID:smilescripts,项目名称:consina_project,代码行数:31,代码来源:retur_konsinyasi_add.php

示例15:

                <tbody>
				<?php 
			
			$dtb=$db->fetch_custom("SELECT detail_penjualan.*,barang_pusat.* FROM detail_penjualan
		    INNER JOIN barang_pusat on barang_pusat.KODE_BARANG=detail_penjualan.KODE_BARANG");
			$i=1;
			foreach ($dtb as $isi) {
			?>
			<tr id="line_<?=$isi->KODE_BARANG;?>">
			<td align="center"><?=$i;?></td>
			<td><?=$isi->KODE_BARANG;?></td>
			<td><?=$isi->NAMA_BARANG;?></td>
			<td><?=$isi->STOK;?></td>
			<td>Rp.<?=number_format($isi->HARGA_BARANG);?></td>
			<td><?=$isi->DISKON;?> %</td>
			 <form  method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/kasir/kasir_action.php?act=ubah_scanner">
			 <input type="hidden" id="ID_TMP_PENJUALAN" name="ID_TMP_PENJUALAN[]" value="<?=$isi->ID_TMP_PENJUALAN;?>" >
			<td>X <?=$isi->JUMLAH;?></td>
			<td> 
			<?php 
			error_reporting(0);
			$diskon=$isi->DISKON/100*$isi->HARGA_BARANG;
			$jadi=($isi->HARGA_BARANG-$diskon) * $isi->JUMLAH;
			$subtotal=$jadi+$subtotal;
			
			echo 'Rp.'.number_format($jadi);
			
			?>
			</td>
			<?php
				$i++;
开发者ID:smilescripts,项目名称:consina_project,代码行数:31,代码来源:home.php


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