本文整理汇总了PHP中Smarty_Internal_Template::_subTemplateRender方法的典型用法代码示例。如果您正苦于以下问题:PHP Smarty_Internal_Template::_subTemplateRender方法的具体用法?PHP Smarty_Internal_Template::_subTemplateRender怎么用?PHP Smarty_Internal_Template::_subTemplateRender使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Smarty_Internal_Template
的用法示例。
在下文中一共展示了Smarty_Internal_Template::_subTemplateRender方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
function content_56ee2ea61703d4_35460691(Smarty_Internal_Template $_smarty_tpl)
{
?>
<section class="content-header">
<h1>
Data Jabatan
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-database"></i> Master</a></li>
<li><a href="#">Jabatan</a></li>
<li class="active">Tambah Data</li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-md-12">
<!-- notification template -->
<?php
$_smarty_tpl->_subTemplateRender("file:base/templates/notification.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- end of notification template-->
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Tambah Data jabatan</h3>
</div>
<!-- /.box-header -->
<!-- form start -->
<form action="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('master/jabatan/add_process');
?>
" method="post" class="form-horizontal">
<div class="box-body">
<div class="form-group">
<label for="nama_jabatan" class="col-sm-2 control-label">Nama jabatan</label>
<div class="col-sm-5">
<input type="text" name="nama_jabatan" class="form-control" id="nama_jabatan" placeholder="nama jabatan" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['nama_jabatan']) === null || $tmp === '' ? '' : $tmp;
?>
">
</div>
</div>
</div>
<!-- /.box-body -->
<div class="box-footer">
<a class="btn btn-default" href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('master/jabatan/');
?>
"><i class="fa fa-long-arrow-left"></i> Batal</a>
<button type="submit" class="btn btn-info pull-right">Simpan</button>
</div>
<!-- /.box-footer -->
</form>
</div>
</div>
</div>
</section>
<?php
}
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:60,代码来源:ac3160c0e1afd52650da2fb88029d7d1ffd02802_0.file.add.html.php
示例2: echo
function content_56ee1ade396cc0_38740324(Smarty_Internal_Template $_smarty_tpl)
{
?>
<div class="head-content">
<h3>Navigation - <?php
echo ($tmp = @$_smarty_tpl->tpl_vars['portal']->value['portal_nm']) === null || $tmp === '' ? '' : $tmp;
?>
</h3>
<div class="head-content-nav">
<ul>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminmenu/add/' . $_smarty_tpl->tpl_vars['portal']->value['portal_id']);
?>
"><img src="<?php
echo $_smarty_tpl->tpl_vars['BASEURL']->value;
?>
resource/doc/images/icon/add-icon.png" alt="" /> Add Menu</a></li>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminmenu/navigation/' . $_smarty_tpl->tpl_vars['portal']->value['portal_id']);
?>
" class="active">List Menu</a></li>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminmenu');
?>
">Web Portal</a></li>
</ul>
</div>
<div class="clear"></div>
</div>
<!-- notification template -->
<?php
$_smarty_tpl->_subTemplateRender("file:base/templates/notification.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- end of notification template-->
<table class="table-view" width="100%">
<tr>
<th width="5%"></th>
<th width="28%">Judul Menu</th>
<th width="20%">Alamat</th>
<th width="18%">Deskripsi</th>
<th width="7%">Uses</th>
<th width="7%">Show</th>
<th width="15%"></th>
</tr>
<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['rs_id']->value) === null || $tmp === '' ? '' : $tmp;
?>
</table><?php
}
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:51,代码来源:5f297f7c51813e856bf27b1e143c8998915cc063_0.file.navigation.html.php
示例3: array
function content_570c71a697ae99_42336824(Smarty_Internal_Template $_smarty_tpl)
{
echo '<script';
?>
type="text/javascript">
jQuery(document).ready(function($) {
$('#tanggal_lahir').datetimepicker({
'format': 'YYYY-MM-DD ',
'ignoreReadonly': true
});
});
<?php
echo '</script';
?>
>
<section class="content-header">
<h1>
Data User
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-database"></i> Master</a></li>
<li><a href="#">User</a></li>
<li class="active">Tambah Data</li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-md-12">
<!-- notification template -->
<?php
$_smarty_tpl->_subTemplateRender("file:base/templates/notification.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- end of notification template-->
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Tambah Data User</h3>
</div>
<!-- /.box-header -->
<!-- form start -->
<form action="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('master/user/add_process');
?>
" method="post" class="form-horizontal">
<div class="box-body">
<div class="form-group">
<label for="user_name" class="col-sm-2 control-label">Nama User</label>
<div class="col-sm-4">
<input type="text" name="user_name" class="form-control" id="user_name" placeholder="Nama User" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['user_name']) === null || $tmp === '' ? '' : $tmp;
?>
">
</div>
</div>
<div class="form-group">
<label for="user_pass" class="col-sm-2 control-label">Password</label>
<div class="col-sm-2">
<input type="text" name="user_pass" class="form-control" id="user_pass" placeholder="password" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['user_pass']) === null || $tmp === '' ? '' : $tmp;
?>
">
</div>
</div>
<div class="form-group">
<label for="user_mail" class="col-sm-2 control-label">Email User</label>
<div class="col-sm-4">
<input type="text" name="user_mail" class="form-control" id="user_mail" placeholder="email@example.com" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['user_mail']) === null || $tmp === '' ? '' : $tmp;
?>
">
</div>
</div>
<div class="form-group">
<label for="user_st" class="col-sm-2 control-label">Status User</label>
<div class="col-sm-2">
<input type="text" name="user_st" class="form-control" id="user_st" placeholder="status" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['user_st']) === null || $tmp === '' ? '' : $tmp;
?>
">
</div>
</div>
</div>
<!-- /.box-body -->
<div class="box-footer">
<a class="btn btn-default" href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('master/user/');
?>
"><i class="fa fa-long-arrow-left"></i> Batal</a>
<button type="submit" class="btn btn-info pull-right">Simpan</button>
</div>
<!-- /.box-footer -->
</form>
</div>
</div>
</div>
//.........这里部分代码省略.........
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:101,代码来源:8b9ba79c1eafea55f2d1bc4be7dd87f883db5345_0.file.add.html.php
示例4: echo
function content_56ee1b0d13ecd1_16525755(Smarty_Internal_Template $_smarty_tpl)
{
echo '<script';
?>
type="text/javascript">
$(document).ready(function($) {
$('.icp-auto').iconpicker();
});
<?php
echo '</script';
?>
>
<div class="head-content">
<h3>Navigation - <?php
echo ($tmp = @$_smarty_tpl->tpl_vars['portal']->value['portal_nm']) === null || $tmp === '' ? '' : $tmp;
?>
</h3>
<div class="head-content-nav">
<ul>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminmenu/add/' . $_smarty_tpl->tpl_vars['portal']->value['portal_id']);
?>
" class="active"><img src="<?php
echo $_smarty_tpl->tpl_vars['BASEURL']->value;
?>
resource/doc/images/icon/add-icon.png" alt="" /> Add Menu</a></li>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminmenu/navigation/' . $_smarty_tpl->tpl_vars['portal']->value['portal_id']);
?>
">List Menu</a></li>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminmenu');
?>
">Web Portal</a></li>
</ul>
</div>
<div class="clear"></div>
</div>
<!-- notification template -->
<?php
$_smarty_tpl->_subTemplateRender("file:base/templates/notification.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- end of notification template-->
<form action="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminmenu/process_add');
?>
" method="post" enctype="multipart/form-data">
<input type="hidden" name="portal_id" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['portal']->value['portal_id']) === null || $tmp === '' ? '' : $tmp;
?>
" />
<table class="table-input" width="100%">
<tr class="headrow">
<th colspan="2">Tambah Menu</th>
</tr>
<tr>
<td width="25%">Induk Menu</td>
<td width="75%">
<select name="parent_id">
<option value="0"></option>
<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['list_parent']->value) === null || $tmp === '' ? '' : $tmp;
?>
</select>
</td>
</tr>
<tr>
<td>Judul Menu</td>
<td><input type="text" name="nav_title" maxlength="100" size="50" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['nav_title']) === null || $tmp === '' ? '' : $tmp;
?>
" /></td>
</tr>
<tr>
<td>Deskripsi</td>
<td><input type="text" name="nav_desc" maxlength="255" size="70" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['nav_desc']) === null || $tmp === '' ? '' : $tmp;
?>
" /></td>
</tr>
<tr>
<td>Alamat Menu</td>
<td><input type="text" name="nav_url" maxlength="255" size="40" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['nav_url']) === null || $tmp === '' ? '' : $tmp;
?>
" /></td>
</tr>
<tr>
<td>Urutan</td>
<td><input type="text" name="nav_no" maxlength="5" size="5" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['nav_no']) === null || $tmp === '' ? '' : $tmp;
?>
" /></td>
</tr>
<tr>
<td>Digunakan</td>
<td>
<select name="active_st">
//.........这里部分代码省略.........
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:101,代码来源:11a356828d4fad3af2eb3bdd7565798feee7878c_0.file.add.html.php
示例5: echo
function content_570b768b9804b4_54294969(Smarty_Internal_Template $_smarty_tpl)
{
?>
<section class="content-header">
<h1>
Data Rekap Medik
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-database"></i> Master</a></li>
<li class="active">Rekap Medik</li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-success">
<div class="box-header with-border">
<h3 class="box-title"><i class="fa fa-search"></i> Pencarian</h3>
</div>
<div class="box-body">
<form action="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('master/rekapmedik/search_process');
?>
" method="post" class="form-horizontal">
<div class="box-body">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="pasien_nm" class="col-sm-3 control-label">Nama Pasien</label>
<div class="col-sm-7">
<input type="text" name="pasien_nm" class="form-control" id="pasien_nm" placeholder="-- semua --" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['search']->value['pasien_nm']) === null || $tmp === '' ? '' : $tmp;
?>
">
</div>
</div>
</div>
<div class="col-lg-2 pull-right action-right">
<input class="btn btn-primary" name="save" type="submit" value="Cari">
<input class="btn btn-danger" name="save" type="submit" value="Reset">
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<!-- notification template -->
<?php
$_smarty_tpl->_subTemplateRender("file:base/templates/notification.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- end of notification template-->
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Tabel Data Pasien</h3>
<div class="box-tools">
<a class="btn btn-sm btn-success" href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('master/rekapmedik/add');
?>
"><i class="fa fa-plus"></i> Tambah Data</a>
</div>
</div>
<!-- /.box-header -->
<div class="box-body">
<table class="table table-bordered">
<tbody>
<tr>
<th width="5%">No. RM.</th>
<th width="20%">Tanggal Periksa</th>
<th width="*">Nama Pasien</th>
<th width="15%">Tanggal Lahir</th>
<!-- <th width="15%">Pekerjaan</th> -->
<th width="15%">Alamat</th>
<th width="28%">Action</th>
</tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['rs_id']->value, 'result');
foreach ($_from as $_smarty_tpl->tpl_vars['result']->value) {
$_smarty_tpl->tpl_vars['result']->_loop = true;
$__foreach_result_0_saved = $_smarty_tpl->tpl_vars['result'];
?>
<tr>
<td align="center"><?php
echo $_smarty_tpl->tpl_vars['no']->value++;
?>
.</td>
<td><?php
echo $_smarty_tpl->tpl_vars['dtm']->value->get_full_date($_smarty_tpl->tpl_vars['result']->value['tgl_periksa']);
?>
</td>
<td><?php
echo $_smarty_tpl->tpl_vars['result']->value['pasien_nm'];
?>
</td>
<td><?php
//.........这里部分代码省略.........
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:101,代码来源:8df132112e72b84df9325e48b02904bd69d28566_0.file.list.html.php
示例6: array
function content_5715b8316f3f49_31798680(Smarty_Internal_Template $_smarty_tpl)
{
if (!is_callable('smarty_modifier_date_format')) {
require_once 'C:\\xampp\\htdocs\\si_ibuhamil\\system\\plugins\\smarty\\libs\\plugins\\modifier.date_format.php';
}
echo '<script';
?>
type="text/javascript">
jQuery(document).ready(function($) {
$('#anamnese-s, #anamnese-o, #anamnese-a, #anamnese-p, #diagnosis, #tindakan').summernote({
height: 100, // set editor height
minHeight: null, // set minimum height of editor
maxHeight: null, // set maximum height of editor
focus: true
});
$('#tgl_periksa').datetimepicker({
'format': 'YYYY-MM-DD H:I',
'ignoreReadonly': true
});
});
<?php
echo '</script';
?>
>
<section class="content-header">
<h1>
Data Rekap Medik
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-database"></i> Master</a></li>
<li><a href="#">Rekap Medik</a></li>
<li class="active">Tambah Data</li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-md-12">
<!-- notification template -->
<?php
$_smarty_tpl->_subTemplateRender("file:base/templates/notification.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- end of notification template-->
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Tambah Data Rekap Medik</h3>
</div>
<!-- /.box-header -->
<!-- form start -->
<form action="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('master/rekapmedik/add_process');
?>
" method="post" class="form-horizontal">
<div class="box-body">
<div class="form-group">
<label for="no_rm" class="col-sm-2 control-label">No. RM.</label>
<div class="col-sm-2">
<input type="text" name="no_rm" class="form-control" id="no_rm" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['id_rekapmedik']) === null || $tmp === '' ? '' : $tmp;
?>
" disabled="disabled">
</div>
</div>
<div class="form-group">
<label for="pasien" class="col-sm-2 control-label">Pasien</label>
<div class="col-sm-2">
<select name="pasien" class="form-control" id="pasien">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['rs_pasien']->value, 'pasien');
foreach ($_from as $_smarty_tpl->tpl_vars['pasien']->value) {
$_smarty_tpl->tpl_vars['pasien']->_loop = true;
$__foreach_pasien_0_saved = $_smarty_tpl->tpl_vars['pasien'];
?>
<option value="<?php
echo $_smarty_tpl->tpl_vars['pasien']->value['id_pasien'];
?>
"><?php
echo $_smarty_tpl->tpl_vars['pasien']->value['pasien_nm'];
?>
</option>
<?php
$_smarty_tpl->tpl_vars['pasien'] = $__foreach_pasien_0_saved;
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</select>
</div>
</div>
<div class="form-group">
<label for="tgl_periksa" class="col-sm-2 control-label">Tanggal Periksa</label>
<div class="col-sm-2">
<input type="text" name="tgl_periksa" class="form-control" id="tgl_periksa" placeholder="Tanggal Periksa" value="<?php
echo smarty_modifier_date_format(($tmp = @$_smarty_tpl->tpl_vars['result']->value['tgl_periksa']) === null || $tmp === '' ? '' : $tmp, '%y-%m-%d %H:%M');
?>
">
</div>
</div>
<div class="form-group">
<label for="anamnese-s" class="col-sm-2 control-label">Anamnese / PX Fisik</label>
//.........这里部分代码省略.........
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:101,代码来源:89c1e55c385d693b970c802f42d3c96775179bf6_0.file.add.html.php
示例7: array
function content_56dbcb6388eec1_25194817(Smarty_Internal_Template $_smarty_tpl)
{
echo '<script';
?>
type="text/javascript">
jQuery(document).ready(function($) {
$('#editor-penyebab').summernote({
height: 300, // set editor height
minHeight: null, // set minimum height of editor
maxHeight: null, // set maximum height of editor
focus: true
});
});
<?php
echo '</script';
?>
>
<section class="content-header">
<h1>
Informasi penyebab Anemia
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-info"></i> Informasi</a></li>
<li class="active">penyebab Anemia</li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-md-12">
<!-- notification template -->
<?php
$_smarty_tpl->_subTemplateRender("file:base/templates/notification.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- end of notification template-->
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Edit Informasi penyebab Anemia</h3>
</div>
<!-- /.box-header -->
<!-- form start -->
<form action="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('info/penyebab/edit_process');
?>
" method="post" class="form-horizontal">
<div class="box-body">
<textarea name="info_penyebab" id="editor-penyebab">
<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['info_penyebab']->value['info']) === null || $tmp === '' ? '' : $tmp;
?>
</textarea>
</div>
<!-- /.box-body -->
<div class="box-footer">
<button type="submit" class="btn btn-info pull-right">Simpan</button>
</div>
<!-- /.box-footer -->
</form>
</div>
</div>
</div>
</section>
<?php
}
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:66,代码来源:7126e2f13f8d355dd1722dd470a1332fb6332951_0.file.penyebab.html.php
示例8: echo
function content_56ee1a6fdfb7d9_89856933(Smarty_Internal_Template $_smarty_tpl)
{
?>
<!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 -->
<head>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />
<meta name='description' content="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['site']->value['meta_desc']) === null || $tmp === '' ? '' : $tmp;
?>
" />
<meta name='keywords' content="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['site']->value['meta_key']) === null || $tmp === '' ? '' : $tmp;
?>
" />
<meta name='robots' content='index,follow' />
<title>Login - <?php
echo ($tmp = @$_smarty_tpl->tpl_vars['site']->value['site_title']) === null || $tmp === '' ? '' : $tmp;
?>
</title>
<link href="<?php
echo $_smarty_tpl->tpl_vars['BASEURL']->value;
?>
/resource/doc/images/icon/favicon.jpg" rel="SHORTCUT ICON" />
<!-- themes style -->
<link rel="stylesheet" type="text/css" href="<?php
echo $_smarty_tpl->tpl_vars['THEMESPATH']->value;
?>
" media="screen" />
<!-- other style -->
<?php
echo $_smarty_tpl->tpl_vars['LOAD_STYLE']->value;
?>
</head>
<!-- body -->
<body class="login-common">
<!-- load javascript -->
<?php
echo $_smarty_tpl->tpl_vars['LOAD_JAVASCRIPT']->value;
?>
<!-- end of javascript -->
<!-- layout -->
<div class="loginWrapper">
<div class="loginBox-head">
<h1><?php
echo ($tmp = @$_smarty_tpl->tpl_vars['site']->value['site_title']) === null || $tmp === '' ? '' : $tmp;
?>
</h1>
</div>
<!-- content -->
<?php
$_smarty_tpl->_subTemplateRender((string) $_smarty_tpl->tpl_vars['template_content']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
<!-- end of content -->
</div>
<div class="footer">
<p><?php
echo ($tmp = @$_smarty_tpl->tpl_vars['site']->value['site_title']) === null || $tmp === '' ? '' : $tmp;
?>
©2011</p>
</div>
<!-- end of layout -->
</body>
<!-- end body -->
</html>
<?php
}
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:71,代码来源:e568819baafa4a8659514479e90010b68bdcc78f_0.file.document-login.html.php
示例9: array
function content_56ee1ad508f1c8_46361237(Smarty_Internal_Template $_smarty_tpl)
{
?>
<div class="head-content">
<h3>Navigation</h3>
<div class="head-content-nav">
<ul>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminmenu');
?>
" class="active">Web Portal</a></li>
</ul>
</div>
<div class="clear"></div>
</div>
<!-- notification template -->
<?php
$_smarty_tpl->_subTemplateRender("file:base/templates/notification.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- end of notification template-->
<table class="table-view" width="100%">
<tr>
<th width="5%">No</th>
<th width="20%">Nama Portal</th>
<th width="40%">Judul</th>
<th width="20%">Jumlah Menu</th>
<th width="15%"></th>
</tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['rs_id']->value, 'result', false, 'no');
foreach ($_from as $_smarty_tpl->tpl_vars['no']->value => $_smarty_tpl->tpl_vars['result']->value) {
$_smarty_tpl->tpl_vars['result']->_loop = true;
$__foreach_result_0_saved = $_smarty_tpl->tpl_vars['result'];
?>
<tr <?php
if ($_smarty_tpl->tpl_vars['no']->value % 2 != 0) {
?>
class="blink-row"<?php
}
?>
>
<td><?php
echo $_smarty_tpl->tpl_vars['no']->value + 1;
?>
.</td>
<td><?php
echo $_smarty_tpl->tpl_vars['result']->value['portal_nm'];
?>
</td>
<td><?php
echo $_smarty_tpl->tpl_vars['result']->value['site_title'];
?>
</td>
<td align="center"><?php
echo $_smarty_tpl->tpl_vars['result']->value['total_menu'];
?>
</td>
<td align="center">
<a href="<?php
ob_start();
echo 'settings/adminmenu/navigation/' . $_smarty_tpl->tpl_vars['result']->value['portal_id'];
$_prefixVariable1 = ob_get_clean();
echo $_smarty_tpl->tpl_vars['config']->value->site_url($_prefixVariable1);
?>
" class="button-edit">Edit Menu</a>
</td>
</tr>
<?php
$_smarty_tpl->tpl_vars['result'] = $__foreach_result_0_saved;
}
if (!$_smarty_tpl->tpl_vars['result']->_loop) {
?>
<tr>
<td colspan="5">Empty</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</table><?php
}
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:82,代码来源:e213626b1a13b04f9b17eb8b9a0978119733b727_0.file.list.html.php
示例10: array
function content_56ee1a94d14b49_56373213(Smarty_Internal_Template $_smarty_tpl)
{
?>
<div class="head-content">
<h3>Web Portal</h3>
<div class="head-content-nav">
<ul>
<li><a href="" class="active">Edit Data</a></li>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminportal/add');
?>
"><img src="<?php
echo $_smarty_tpl->tpl_vars['BASEURL']->value;
?>
resource/doc/images/icon/add-icon.png" alt="" /> Add Data</a></li>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminportal');
?>
">List Data</a></li>
</ul>
</div>
<div class="clear"></div>
</div>
<!-- notification template -->
<?php
$_smarty_tpl->_subTemplateRender("file:base/templates/notification.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- end of notification template-->
<form action="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminportal/process_update');
?>
" method="post">
<input type="hidden" name="portal_id" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['portal_id']) === null || $tmp === '' ? '' : $tmp;
?>
" />
<table class="table-input" width="100%">
<tr class="headrow">
<th colspan="2">Edit Web Portal</th>
</tr>
<tr>
<td width="25%">Nama Portal *</td>
<td width="75%"><input type="text" name="portal_nm" maxlength="30" size="50" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['portal_nm']) === null || $tmp === '' ? '' : $tmp;
?>
" /> </td>
</tr>
<tr>
<td>Judul Web *</td>
<td><input type="text" name="site_title" maxlength="40" size="50" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['site_title']) === null || $tmp === '' ? '' : $tmp;
?>
" /></td>
</tr>
<tr>
<td>Deskripsi Web *</td>
<td><input type="text" name="site_desc" maxlength="70" size="100" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['site_desc']) === null || $tmp === '' ? '' : $tmp;
?>
" /></td>
</tr>
<tr>
<td>Meta Description *</td>
<td><input type="text" name="meta_desc" maxlength="70" size="100" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['meta_desc']) === null || $tmp === '' ? '' : $tmp;
?>
" /></td>
</tr>
<tr>
<td>Meta Keyword *</td>
<td><input type="text" name="meta_keyword" maxlength="70" size="100" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['meta_keyword']) === null || $tmp === '' ? '' : $tmp;
?>
" /></td>
</tr>
<tr>
<td colspan="2"><input type="submit" name="save" value="Simpan" class="edit-button" /> </td>
</tr>
</table>
</form>
<?php
}
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:83,代码来源:9888fc7ea197ff00ad73b139124cc46205b8df47_0.file.edit.html.php
示例11: array
function content_570b2cf5b61f16_69783195(Smarty_Internal_Template $_smarty_tpl)
{
?>
<div class="head-content">
<h3>Role Management</h3>
<div class="head-content-nav">
<ul>
<li><a href="#" class="active">Edit Data</a></li>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminrole/add');
?>
"><img src="<?php
echo $_smarty_tpl->tpl_vars['BASEURL']->value;
?>
resource/doc/images/icon/add-icon.png" alt="" /> Add Data</a></li>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminrole');
?>
">List Data</a></li>
</ul>
</div>
<div class="clear"></div>
</div>
<!-- notification template -->
<?php
$_smarty_tpl->_subTemplateRender("file:base/templates/notification.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- end of notification template-->
<form action="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminrole/process_update');
?>
" method="post">
<input type="hidden" name="role_id" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['role_id']) === null || $tmp === '' ? '' : $tmp;
?>
" />
<table class="table-input" width="100%">
<tr class="headrow">
<th colspan="2">Edit Role</th>
</tr>
<tr>
<td width="25%">Web Portal *</td>
<td width="75%">
<select name="portal_id">
<option value=""></option>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['rs_id']->value, 'data');
foreach ($_from as $_smarty_tpl->tpl_vars['data']->value) {
$_smarty_tpl->tpl_vars['data']->_loop = true;
$__foreach_data_0_saved = $_smarty_tpl->tpl_vars['data'];
?>
<option value="<?php
echo $_smarty_tpl->tpl_vars['data']->value['portal_id'];
?>
" <?php
ob_start();
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['portal_id']) === null || $tmp === '' ? '' : $tmp;
$_prefixVariable1 = ob_get_clean();
if ($_prefixVariable1 == $_smarty_tpl->tpl_vars['data']->value['portal_id']) {
?>
selected="selected"<?php
}
?>
><?php
echo $_smarty_tpl->tpl_vars['data']->value['portal_nm'];
?>
</option>
<?php
$_smarty_tpl->tpl_vars['data'] = $__foreach_data_0_saved;
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</select>
</td>
</tr>
<tr>
<td>Role Name *</td>
<td><input type="text" name="role_nm" maxlength="30" size="50" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['role_nm']) === null || $tmp === '' ? '' : $tmp;
?>
" /> </td>
</tr>
<tr>
<td>Role Description *</td>
<td><input type="text" name="role_desc" maxlength="70" size="100" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['role_desc']) === null || $tmp === '' ? '' : $tmp;
?>
" /> </td>
</tr>
<tr>
<td>Default Page *</td>
<td><input type="text" name="default_page" maxlength="50" size="50" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['default_page']) === null || $tmp === '' ? '' : $tmp;
?>
" /> </td>
</tr>
<tr>
<td colspan="2"><input type="submit" name="save" value="Simpan" class="edit-button" /> </td>
</tr>
//.........这里部分代码省略.........
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:101,代码来源:45b523f545f173b5221f90b47dc4e2e569c29cd8_0.file.edit.html.php
示例12: array
function content_56ee45e6e8a908_16022831(Smarty_Internal_Template $_smarty_tpl)
{
?>
<section class="content-header">
<h1>
Data Karyawan
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-database"></i> Master</a></li>
<li><a href="#">karyawan</a></li>
<li class="active">Edit</li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-md-12">
<!-- notification template -->
<?php
$_smarty_tpl->_subTemplateRender("file:base/templates/notification.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- end of notification template-->
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Edit Data karyawan</h3>
</div>
<!-- /.box-header -->
<!-- form start -->
<form action="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('tentang/karyawan/edit_process');
?>
" method="post" class="form-horizontal">
<input type="hidden" name="id_karyawan" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['id_karyawan']) === null || $tmp === '' ? '' : $tmp;
?>
">
<div class="box-body">
<div class="form-group">
<label for="nik" class="col-sm-2 control-label">Nik</label>
<div class="col-sm-5">
<input type="text" name="nik" class="form-control" id="nik" placeholder="Nik" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['nik']) === null || $tmp === '' ? '' : $tmp;
?>
">
</div>
</div>
<div class="form-group">
<label for="nama_karyawan" class="col-sm-2 control-label">Nama karyawan</label>
<div class="col-sm-5">
<input type="text" name="nama_karyawan" class="form-control" id="nama_karyawan" placeholder="nama_karyawan" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['nama_karyawan']) === null || $tmp === '' ? '' : $tmp;
?>
">
</div>
</div>
<div class="form-group">
<label for="alamat" class="col-sm-2 control-label">alamat</label>
<div class="col-sm-5">
<input type="text" name="alamat" class="form-control" id="alamat" placeholder="alamat" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['alamat']) === null || $tmp === '' ? '' : $tmp;
?>
">
</div>
</div><div class="form-group">
<label for="no_tlp" class="col-sm-2 control-label">No tlp</label>
<div class="col-sm-5">
<input type="text" name="no_tlp" class="form-control" id="no_tlp" placeholder="No_tlp" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['no_tlp']) === null || $tmp === '' ? '' : $tmp;
?>
">
</div>
</div>
</div>
<!-- /.box-body -->
<div class="box-footer">
<a class="btn btn-default" href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('tentang/kartayawan/');
?>
"><i class="fa fa-long-arrow-left"></i> Batal</a>
<button type="submit" class="btn btn-info pull-right">Simpan</button>
</div>
<!-- /.box-footer -->
</form>
</div>
</div>
</div>
</section>
<?php
}
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:89,代码来源:20d3ab053af1c313720831d6be58cccb8ebb265b_0.file.edit.html.php
示例13: array
function content_570b418648d789_23642034(Smarty_Internal_Template $_smarty_tpl)
{
?>
<section class="content-header">
<h1>
Struktur Organisasi
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-database"></i> Tentang </a></li>
<li><a href="#">Struktur </a></li>
<li class="active">Tambah Data</li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-md-12">
<!-- notification template -->
<?php
$_smarty_tpl->_subTemplateRender("file:base/templates/notification.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- end of notification template-->
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Tambah Data </h3>
</div>
<!-- /.box-header -->
<!-- form start -->
<form action="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('tentang/struktur/add_process');
?>
" method="post" class="form-horizontal">
<div class="box-body">
<div class="form-group">
<label for="nama_jabatan" class="col-sm-2 control-label">nama jabatan</label>
<div class="col-sm-7">
<input type="text" name="nama_jabatan" class="form-control" id="nama_jabatan" placeholder="nama_jabatan" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['nama_jabatan']) === null || $tmp === '' ? '' : $tmp;
?>
">
</div>
</div>
<div class="form-group">
<label for="nama_karyawan" class="col-sm-2 control-label">nama karyawan</label>
<div class="col-sm-5">
<input type="text" name="nama_karyawan" class="form-control" id="nama_karyawan" placeholder="nama_karyawan" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['tempat']) === null || $tmp === '' ? '' : $tmp;
?>
">
</div>
</div>
<div class="form-group">
<label for="penanggung_jawab" class="col-sm-2 control-label">penanggung_jawab</label>
<div class="col-sm-5">
<textarea name="penanggung_jawab" class="form-control" rows="5" cols="40"><?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['penanggung_jawab']) === null || $tmp === '' ? '' : $tmp;
?>
</textarea>
</div>
</div>
</div>
<!-- /.box-body -->
<div class="box-footer">
<a class="btn btn-default" href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('tentang/struktur/');
?>
"><i class="fa fa-long-arrow-left"></i> Batal</a>
<button type="submit" class="btn btn-info pull-right">Simpan</button>
</div>
<!-- /.box-footer -->
</form>
</div>
</div>
</div>
</section>
<?php
}
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:79,代码来源:5f9b4bd473acb7c8912e04b80f3f090861253c80_0.file.add.html.php
示例14: array
function content_56ee1aa55aa459_01075340(Smarty_Internal_Template $_smarty_tpl)
{
?>
<div class="head-content">
<h3>Users</h3>
<div class="head-content-nav">
<ul>
<li><a href="#" class="active">Edit Data</a></li>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminuser/add');
?>
"><img src="<?php
echo $_smarty_tpl->tpl_vars['BASEURL']->value;
?>
resource/doc/images/icon/add-icon.png" alt="" /> Add Data</a></li>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminuser');
?>
">List Data</a></li>
</ul>
</div>
<div class="clear"></div>
</div>
<!-- notification template -->
<?php
$_smarty_tpl->_subTemplateRender("file:base/templates/notification.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- end of notification template-->
<form action="<?php
echo $_smarty_tpl->tpl_vars['config']->value->site_url('settings/adminuser/edit_process');
?>
" method="post">
<input type="hidden" name="user_id" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['user_id']) === null || $tmp === '' ? '' : $tmp;
?>
" />
<input type="hidden" name="user_name_old" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['user_name']) === null || $tmp === '' ? '' : $tmp;
?>
" />
<input type="hidden" name="user_mail_old" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['user_mail']) === null || $tmp === '' ? '' : $tmp;
?>
" />
<table class="table-input" width="100%">
<tr class="headrow">
<th colspan="2">Edit Data</th>
</tr>
<tr>
<th colspan="2">User Info</th>
</tr>
<tr>
<td width="25%">Nama Lengkap *</td>
<td width="75%"><input type="text" name="operator_name" maxlength="50" size="30" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['operator_name']) === null || $tmp === '' ? '' : $tmp;
?>
" /></td>
</tr>
<tr>
<td>Jabatan *</td>
<td><input type="text" name="operator_jabatan" maxlength="50" size="50" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['operator_jabatan']) === null || $tmp === '' ? '' : $tmp;
?>
" /> </td>
</tr>
<tr>
<td>Email *</td>
<td><input type="text" name="user_mail" maxlength="50" size="30" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['user_mail']) === null || $tmp === '' ? '' : $tmp;
?>
" /></td>
</tr>
<tr>
<td>Nomor Telepon *</td>
<td><input type="text" name="operator_phone" maxlength="50" size="30" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['operator_phone']) === null || $tmp === '' ? '' : $tmp;
?>
" /> </td>
</tr>
<tr>
<th colspan="2">User Account</th>
</tr>
<tr>
<td>User Name *</td>
<td><input type="text" name="user_name" maxlength="50" size="20" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['user_name']) === null || $tmp === '' ? '' : $tmp;
?>
" /> </td>
</tr>
<tr>
<td>Password</td>
<td><input type="text" name="user_pass" maxlength="50" size="20" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['result']->value['user_pass']) === null || $tmp === '' ? '' : $tmp;
?>
" /></td>
</tr>
<tr>
<td>Lock Status *</td>
<td>
//.........这里部分代码省略.........
开发者ID:yanlyan,项目名称:si_ibuhamil,代码行数:101,代码来源:681285100d2f08e5ed3e99c3b8ee0d34a7a53ded_0.file.edit.html.php
示例15: endChild
/**
* End of child template(s)
* - if outer level is reached flush output buffer and switch to wait for parent template state
*
* @param \Smarty_Internal_Template $tpl
* @param null|string $template optinal name of inheritance parent template
* @param null|string $uid uid of inline template
* @param null|string $func function call name of inline template
*/
public function endChild(Smarty_Internal_Template $tpl, $template = null, $uid = null, $func = null)
{
$this->inheritanceLevel--;
if (!$this->inheritanceLevel) {
ob_end_clean();
$this->state = 2;
}
if (isset($template) && ($tpl->parent->_isTplObj() && $tpl->parent->source->type !== 'extends' || $tpl->smarty->extends_recursion)) {
$tpl->_subTemplateRender($template, $tpl->cache_id, $tpl->compile_id, $tpl->caching ? 9999 : 0, $tpl->cache_lifetime, array(), 2, false, $uid, $func);
}
}