<?php

/* Smarty version 2.6.9, created on 2015-06-10 23:13:54
   compiled from employees.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'popup_init', 'employees.tpl', 1, false), array('function', 'html_options', 'employees.tpl', 192, false), array('function', 'popup', 'employees.tpl', 235, false), array('modifier', 'escape', 'employees.tpl', 190, false), array('modifier', 'clearcomment', 'employees.tpl', 216, false))), $this);
echo smarty_function_popup_init(array('src' => "./scripts/overlib.js"), $this);
?>

<?php 
echo '

<script type="text/javascript">
function sortTable(sortfieldvalue,sortordervalue)
{
    document.tableform.esortfield.value = sortfieldvalue;
    document.tableform.esortorder.value = sortordervalue;
    document.tableform.submit();
}

function clearForm()
{
    document.rsform.employeeid.value = \'\';
    document.rsform.employeelogin.value = \'\';
    document.rsform.employeesurname.value = \'\';
    document.rsform.employeefirstname.value = \'\';

    document.rsform.employeeaktive.checked = true;

    document.rsform.employeecomment.value = \'\';
    document.getElementById(\'removeemployeedata\').style.display = \'none\';
<?php

/* Smarty version Smarty3-b6, created on 2010-01-16 23:39:16
   compiled from ".\templates\header.tpl" */
/*%%SmartyHeaderCode:208704b526a44e16aa1-00940881%%*/
if (!defined('SMARTY_DIR')) {
    exit('no direct access allowed');
}
$_smarty_tpl->decodeProperties(array('file_dependency' => array('10e0737838b4a574ef135d0c601e7b602cfaf37a' => array(0 => '.\\templates\\header.tpl', 1 => 1263255710)), 'nocache_hash' => '208704b526a44e16aa1-00940881', 'function' => array(), 'has_nocache_code' => true));
/*/%%SmartyHeaderCode%%*/
if (!is_callable('smarty_function_popup_init')) {
    include 'G:\\xampp\\htdocs\\Smarty-3.0b6\\libs\\plugins\\function.popup_init.php';
}
?>
<HTML>
<HEAD>
<?php 
echo smarty_function_popup_init(array('src' => "/javascripts/overlib.js"), $_smarty_tpl->smarty, $_smarty_tpl);
?>
<TITLE><?php 
echo $_smarty_tpl->getVariable('title')->value;
?>
 - <?php 
echo '/*%%SmartyNocache:208704b526a44e16aa1-00940881%%*/<?php echo $_smarty_tpl->getVariable(\'Name\')->value;?>
/*/%%SmartyNocache:208704b526a44e16aa1-00940881%%*/';
?>
</TITLE>
</HEAD>
<BODY bgcolor="#ffffff">
<?php

/* Smarty version 2.6.27, created on 2013-09-28 16:41:51
   compiled from example10.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'popup_init', 'example10.tpl', 6, false), array('function', 'popup', 'example10.tpl', 7, false), array('function', 'counter', 'example10.tpl', 56, false), array('function', 'cycle', 'example10.tpl', 78, false), array('function', 'fetch', 'example10.tpl', 88, false), array('function', 'html_checkboxes', 'example10.tpl', 101, false), array('function', 'html_options', 'example10.tpl', 111, false), array('function', 'html_radios', 'example10.tpl', 118, false), array('function', 'html_select_date', 'example10.tpl', 124, false), array('function', 'html_select_time', 'example10.tpl', 129, false), array('function', 'mailto', 'example10.tpl', 137, false))), $this);
?>
<h1>自定义函数</h1>

<h3>popup_init / popup 使用 </h3>

<?php 
echo smarty_function_popup_init(array('src' => '/smarty/js/overlib.js'), $this);
?>

<a href="#" <?php 
echo smarty_function_popup(array('sticky' => true, 'trigger' => 'onclick', 'caption' => "我的标题", 'closecolor' => 'yellow', 'captionsize' => 2, 'textsize' => 2, 'width' => 300, 'height' => 300, 'closetext' => "关闭", 'noclose' => true, 'fgcolor' => 'white', 'text' => "<img src='/smarty/Jellyfish.jpg' / width=150 height=150><ul><li>测试一</li><li>测试二</li><li>测试三</li><li>测试四</li></ul>"), $this);
?>
>测试显示信息</a>




<br/>
<br/>

----------------------------------------
<h3>popup 模拟到数组里 testing </h3>
<?php 
$_from = $this->_tpl_vars['arr'];
if (!is_array($_from) && !is_object($_from)) {