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


PHP base_URL函数代码示例

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


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

示例1: base_URL

<div class="clearfix">
<div class="row">
	<div class="col-lg-12">
	
	<div class="navbar navbar-inverse">
		<div class="container">
			<div class="navbar-header">
				<a class="navbar-brand" href="#">Posisi Proses Perkara</a>
			</div>
		<div class="navbar-collapse collapse navbar-inverse-collapse" style="margin-right: -20px">
			<ul class="nav navbar-nav">
				<li><a href="<?php 
echo base_URL();
?>
admin/proses_perkara" class="btn-info"><i class="icon-share icon-white"> </i> Kembali</a></li>
			</ul>
			
		</div><!-- /.nav-collapse -->
		</div><!-- /.container -->
	</div><!-- /.navbar -->

  </div>
</div>

<?php 
echo $this->session->flashdata("k");
?>

<div class="container">
	<div class="row">
		<section>
开发者ID:rizafr,项目名称:kejaksaan,代码行数:31,代码来源:l_proses_perkara+-+Copy.php

示例2: foreach

	<h2>Jadwal Pelajaran Per Hari, Tahun Ajaran <?php 
echo $ta . "/" . ($ta + 1);
?>
</h2>
	
	<center>Pilih Harinya : 
		<select name="guru" onchange="window.location.href=this.options
		[this.selectedIndex].value"><option value="">--Pilih Hari</option>
				
				
				<?php 
foreach ($hari as $h) {
    if ($h == $this->uri->segment(4)) {
        echo "<option value='" . base_URL() . "index.php/adm/jadwal_by_hari/det/" . $h . "' selected>" . $h . "</option>";
    } else {
        echo "<option value='" . base_URL() . "index.php/adm/jadwal_by_hari/det/" . $h . "'>" . $h . "</option>";
    }
}
?>
		</select>
	</center>
	
	<table width="97.5%" align="center" class="data" border="1">
	<tr>
		<th>Hari</th>
		<th>Kelas</th>
		<th>Jam Ke</th>
		<th>Nama Guru</th>
		<th>Mapel</th>
		<th>Ruang</th>
	</tr>
开发者ID:dextercool,项目名称:sisko,代码行数:31,代码来源:v_jadwal_by_hari.php

示例3: base_URL

				<a href="<?php 
    echo base_URL();
    ?>
index.php/depan/ledger/<?php 
    echo $k->id;
    ?>
" id="pilih_pilih">
				<span><?php 
    echo $k->nama;
    ?>
</span>
				</a>
				<?php 
}
?>
				
				<!--
				Pilih Kelasnya : <select name="kelas" onchange="window.location.href=this.options
		[this.selectedIndex].value"><option value="">--Pilih Kelas</option>
				<?php 
foreach ($kelas_pilih as $k) {
    echo "<option value='" . base_URL() . "index.php/depan/ledger/" . $k->id . "'>" . $k->nama . "</option>";
}
?>
				</select>-->
			</center>
			<br><br><br><br><br>
			</section>    
        </article>        
    </div>
</div>
开发者ID:dextercool,项目名称:sisko,代码行数:31,代码来源:m_pilih_kelas.php

示例4: relative_location

function relative_location($relativeURI)
{
    $baseURL = base_URL();
    header("Location: {$baseURL}/{$relativeURI}");
}
开发者ID:nellka,项目名称:mebel,代码行数:5,代码来源:utils.php

示例5: base_URL

                  </td>
               </tr>

               <tr class="social-input">
                  <td class="label-form">
                     Social Media
                  </td>
                  <td>
                     <i class="fa fa-twitter"> </i> <input placeholder="Twitter" class="input-data" type="text" name="twitter">
                     <i class="fa fa-facebook"> </i>  <input placeholder="Facebook" class="input-data" type="text" name="facebook">
                     <i> <img src="<?php 
echo base_URL('public/favico/line-messenger.png');
?>
"> </i> <input placeholder="Line" class="input-data" type="text" name="line">
                     <i> <img src="<?php 
echo base_URL('public/favico/path-1024-black.png');
?>
"> </i> <input placeholder="Path" class="input-data" type="text" name="path">
                     <i class="fa fa-instagram"> </i> <input placeholder="Instagram" class="input-data" type="text" name="instagram">
                  </td>
               </tr>

               <tr class="please-contact"> <td colspan="2"> <h5> Please also leave your Personal Relations contact so we can get back to you :) </h4> </td> </tr>
               <tr>
                  <td class="label-form vertical-align-top">
                     Personal Relations Manager <br> Contact
                  </td>
                  <td>
                     <textarea name="contactadmin" rows="8" cols="40"></textarea>
                  </td>
               </tr>
开发者ID:AccuSudarmin,项目名称:efind,代码行数:31,代码来源:submission.php

示例6: base_URL

    echo $saat_ini;
    ?>
</td>
	<td class='tengah'>
	<!--<a href="<?php 
    echo base_URL();
    ?>
index.php/adm/pindah_kelas/pindahkan/<?php 
    echo $pd->id;
    ?>
">--><?php 
    echo $kata_pindah;
    ?>
 <select name="pindahkan" onchange="window.location.href=this.options
		[this.selectedIndex].value"><option value="">-- Pilih Kelas --</option>
	<?php 
    foreach ($kelas as $k) {
        echo "<option value='" . base_URL() . "index.php/adm/pindah_kelas/pindahkan/" . $pd->id . "/" . $k->id . "/" . $pd->agama . "/" . $pd->jk . "/" . $k->prodi . "/" . $k->tkt . "'>" . $k->nama . "</option>";
    }
    ?>
	</select>
	<!--</a>-->
	</td>
	</tr>

	<?php 
}
?>

	</table>
</div>
开发者ID:dextercool,项目名称:sisko,代码行数:31,代码来源:v_siswa_kelas.php

示例7: stripslashes

    if ($this->lang->line('header_add_list') != '') {
        echo stripslashes($this->lang->line('header_add_list'));
    } else {
        echo "Add to List";
    }
    ?>
<a class="clos-ars" href="#">x</a></p>
        <h3><?php 
    echo $productList->row()->product_title;
    ?>
</h3>
	<form action="site/rentals/AddToWishList" method="post" id="form" enctype="multipart/form-data">
		<div class="fancyd-item">
			<div class="image-wrapper">
				<div class="item-image"><img width="400" src="<?php 
    echo base_URL() . PRODUCTPATH . $productList->row()->product_image;
    ?>
"></div>
			</div>
            
			<div class="item-categories">
			
			<div class="detaild-area"><span><?php 
    echo $productList->row()->product_title;
    ?>
</span>
            <span><?php 
    echo $productList->row()->CityName . ', ' . $productList->row()->State_name . ', ' . $productList->row()->Country_name;
    ?>
</span>
		</div>
开发者ID:praveenpgoswami,项目名称:codeigniter_project,代码行数:31,代码来源:list12032015.php

示例8: Surat

	<div class="col-lg-6">	
		<table  class="table-form">
		<tr><td width="20%">Kode Surat</td><td><b><input type="text" name="kode_surat_masuk" tabindex="6" id="kode_surat_masuk" required value="<?php 
echo $kode_surat_masuk;
?>
" style="width: 100px" class="form-control"></b></td></tr>
		<tr><td width="20%">Indeks Surat</td><td><b><input type="text" name="index_surat_masuk" tabindex="7" value="<?php 
echo $index_surat_masuk;
?>
" style="width: 300px" class="form-control"></b></td></tr>
		<tr><td width="20%">Tanggal Surat</td><td><b><input type="text" name="tgl_surat_masuk" tabindex="8" required value="<?php 
echo $tgl_surat_masuk;
?>
" id="tgl_surat_masuk" style="width: 100px" class="form-control"></b></td></tr>	
		<tr><td width="20%">File Surat (Scan)</td><td><b><input type="file" name="lampiran" tabindex="9" class="form-control" style="width: 200px"></b><br /><?php 
echo "<a href='" . base_URL() . "upload/surat_masuk/" . $lampiran . "' target='_blank'> <button type='button' class='btn btn-info '><i class='icon-cloud-upload'></i> " . $lampiran . "</button></a>";
?>
</td></tr>
		<tr><td width="20%">Keterangan</td><td><b><input type="text" name="keterangan" value="<?php 
echo $keterangan;
?>
" tabindex="10" style="width: 400px" class="form-control"></b></td></tr>	
		</table>	
	</div>

	</div>
	
	</form>
<script type="text/javascript">
$(function() {
	$( "#tgl_surat_masuk" ).datepicker({
开发者ID:rizafr,项目名称:kejaksaan,代码行数:31,代码来源:f_surat_masuk.php

示例9: foreach

	<h2>Jadwal Pelajaran Per Guru, Tahun Ajaran <?php 
echo $ta . "/" . ($ta + 1);
?>
</h2>
	
	<center>Pilih Gurunya : 
		<select name="guru" onchange="window.location.href=this.options
		[this.selectedIndex].value"><option value="">--Pilih Guru</option>
				
				
				<?php 
foreach ($guru as $g) {
    if ($g->id == $this->uri->segment(4)) {
        echo "<option value='" . base_URL() . "index.php/adm/jadwal_by_guru/det/" . $g->id . "' selected>" . $g->nama . "</option>";
    } else {
        echo "<option value='" . base_URL() . "index.php/adm/jadwal_by_guru/det/" . $g->id . "'>" . $g->nama . "</option>";
    }
}
?>
		</select>
	</center>
	
	<table width="97.5%" align="center" class="data" border="1">
	<tr>
		<th>Nama</th>
		<th>Hari</th>
		<th>Jam Ke</th>
		<th>Kelas</th>
		<th>Mapel</th>
		<th>Ruang</th>
	</tr>
开发者ID:dextercool,项目名称:sisko,代码行数:31,代码来源:v_jadwal_by_guru.php

示例10: base_URL

        echo $r->id;
        ?>
">Edit</a> - 
	<a href="<?php 
        echo base_URL();
        ?>
index.php/adm/ruang/hps/<?php 
        echo $r->id;
        ?>
">Hapus</a></td>
	</tr>

	<?php 
    }
}
?>

	</table>
	<!--<br>
	<center>Cetak Daftar Inventaris Ruangan :
	<select name="ctk_dir" onchange="window.location.href=this.options
		[this.selectedIndex].value" target="_blank"><option value="">-Pilih Ruang</option>
	<?php 
foreach ($ruang as $r) {
    echo "<option value='" . base_URL() . "index.php/cetak/dir/" . $r->id . "'>" . $r->nama . "</option>";
}
?>
	</select></center>
	-->
		
</div>
开发者ID:dextercool,项目名称:sisko,代码行数:31,代码来源:v_ruang.php

示例11: foreach

<div id="isi">
	<h2>Pilih Pegawai</h2>
	
	<table width="70%" align="center" class="form">
	<tr>
	<td>Pilih Pegawai</td>
	<td class='tengah'>
	<select name="pindahkan" onchange="window.location.href=this.options
		[this.selectedIndex].value"><option value="">-- Pilih Pegawai --</option>
	<?php 
foreach ($data_pegawai as $dp) {
    echo "<option value='" . base_URL() . "index.php/adm/guru_duk/add/" . $dp->id . "'>" . $dp->nama . "</option>";
}
?>
	</select>
	</td>
	</tr>
	</table>

</div>
开发者ID:dextercool,项目名称:sisko,代码行数:20,代码来源:f_guru_duk_pilih_pegawai.php

示例12: base_URL

            <section>
				<center><h3>Daftar Inventaris Ruangan</h3></center>

	Seleksi Ruangan :
	<select style="padding: 10px; border-radius: 10px; border: solid 1px #cccccc; font-size: 15px" name="ctk_dir" onchange="window.location.href=this.options
		[this.selectedIndex].value" target="_blank"><option value="<?php 
echo base_URL();
?>
index.php/depan/dir/det/">- SEMUA -</option>
	<?php 
$id_ruang = $this->uri->segment(4);
foreach ($ruang as $r) {
    if ($id_ruang == $r->id) {
        echo "<option value='" . base_URL() . "index.php/depan/dir/det/" . $r->id . "' selected>" . $r->nama . "</option>";
    } else {
        echo "<option value='" . base_URL() . "index.php/depan/dir/det/" . $r->id . "'>" . $r->nama . "</option>";
    }
}
?>
	</select>
	<br><br>
	<table class="bordered">
	<tr>
		<th>Kode Brg / No Aset</th><th>Nama</th>
		<th>Letak</th><th>Kondisi</th>
	</tr>

	<?php 
$i = 0;
if (empty($dir)) {
    echo "<tr><td colspan='4' id='tengah'><b> -- Tidak Ada Data -- </b></td></tr>";
开发者ID:dextercool,项目名称:sisko,代码行数:31,代码来源:m_dir.php


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