?>
"><img src="<?php 
echo $this->_tpl_vars['images_url'];
?>
/up.jpg" title="<?php 
echo $this->_tpl_vars['LANG']['phrase_previous_page'];
?>
" alt="<?php 
echo $this->_tpl_vars['LANG']['phrase_previous_page'];
?>
" border="0" /></a>
    </div>

    <div class="underline margin_top_large">
      <span class="subtitle"><?php 
echo is_array($_tmp = $this->_tpl_vars['LANG']['phrase_edit_email_template']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
</span>
    </div>

    <?php 
echo smarty_function_ft_include(array('file' => 'messages.tpl'), $this);
?>


    <form method="post" id="edit_email_template_form" action="<?php 
echo $this->_tpl_vars['same_page'];
?>
?page=edit_email">
            <input type="hidden" name="form_id" id="form_id" value="<?php 
echo $this->_tpl_vars['form_id'];
echo $this->_tpl_vars['username'];
?>
" /></td>
        </tr>
        <tr>
          <td><label for="password"><?php 
echo $this->_tpl_vars['LANG']['word_password'];
?>
</label></td>
          <td><input type="password" name="password" id="password" value="" /></td>
        </tr>
        </table>

        <script>
        document.write('<input type="submit" class="login_submit" value="<?php 
echo is_array($_tmp = $this->_tpl_vars['LANG']['phrase_log_in']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
">');
        </script>
        <div class="clear"></div>
      </div>

      <?php 
if ($this->_tpl_vars['error']) {
    ?>
        <div>
          <div class="login_error pad_left"><?php 
    echo $this->_tpl_vars['error'];
    ?>
</div>
        </div>
          </div>
        </td>
        <td width="2%"> </td>
        <td width="49%" valign="top">
          <div id="select_box" class="<?php 
if ($this->_tpl_vars['form_info']['submission_type'] == 'code') {
    ?>
blue_box<?php 
} else {
    ?>
grey_box<?php 
}
?>
">
            <span style="float:right"><input type="submit" class="blue bold" value="<?php 
echo is_array($_tmp = $this->_tpl_vars['LANG']['word_select']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
" name="code" /></span>
            <div class="bold"><?php 
echo $this->_tpl_vars['LANG']['phrase_2_code'];
?>
</div>
            <div class="medium_grey">&#8212; <?php 
echo $this->_tpl_vars['LANG']['text_add_form_step_3_text_3'];
?>
</div>
            <br />
            <div>
              <a href="#" onclick="return page_ns.show_section('method2_benefits')"><?php 
echo $this->_tpl_vars['LANG']['word_benefits'];
?>
</b></th>
		<th><b><?php echo smarty_function_xl(array('t' => 'Default Method'), $this);?>
</b></th>
	</tr>
	<?php if (count($_from = (array)$this->_tpl_vars['pharmacies'])):
    foreach ($_from as $this->_tpl_vars['pharmacy']):
?>
	<tr height="22">
		<td><a href="<?php echo $this->_tpl_vars['CURRENT_ACTION']; ?>
action=edit&id=<?php echo $this->_tpl_vars['pharmacy']->id; ?>
" onclick="top.restoreSession()"><?php echo $this->_tpl_vars['pharmacy']->name; ?>
&nbsp;</a></td>
		<td>
		<?php if ($this->_tpl_vars['pharmacy']->address->line1 != ''):  echo $this->_tpl_vars['pharmacy']->address->line1; ?>
, <?php endif; ?>
		<?php if ($this->_tpl_vars['pharmacy']->address->city != ''):  echo $this->_tpl_vars['pharmacy']->address->city; ?>
, <?php endif; ?>
			<?php echo ((is_array($_tmp=$this->_tpl_vars['pharmacy']->address->state)) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
 <?php echo $this->_tpl_vars['pharmacy']->address->zip; ?>
&nbsp;</td>
		<td><?php echo $this->_tpl_vars['pharmacy']->get_transmit_method_display(); ?>
&nbsp;
	<?php endforeach; unset($_from); else: ?></td>
	</tr>

	<tr class="center_display">
		<td colspan="3"><b><?php echo smarty_function_xl(array('t' => 'No Pharmacies Found'), $this);?>
<b></td>
	</tr>
	<?php endif; ?>
</table>
                    <input type="hidden" name="form_id" value="<?php 
    echo $this->_tpl_vars['form_id'];
    ?>
" />
                    <input type="submit" name="refresh" value="<?php 
    echo $this->_tpl_vars['LANG']['phrase_refresh_page'];
    ?>
" />
                  </form>
                </div>
              <?php 
} elseif ($this->_tpl_vars['form_info']['is_initialized'] == 'yes') {
    ?>
                <p>
                  <input type="button" value="<?php 
    echo is_array($_tmp = $this->_tpl_vars['LANG']['phrase_resend_test_submission']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
    ?>
"
                    onclick="window.location='<?php 
    echo $this->_tpl_vars['same_page'];
    ?>
?uninitialize=1'" />
                </p>
                <p>
                  <input type="button" name="submit" class="next_step" value="<?php 
    echo $this->_tpl_vars['LANG']['word_next_step_rightarrow'];
    ?>
"
                    onclick="window.location='step4.php?form_id=<?php 
    echo $this->_tpl_vars['form_id'];
    ?>
Example #6
0
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'recommend.tpl', 6, false))), $this);
?>
<form <?php 
echo $this->_tpl_vars['form_recommend']['attributes'];
?>
>
<?php 
echo $this->_tpl_vars['form_recommend']['hidden'];
?>

<table cellpadding="2" cellspacing="0" width="60%">
	<tr>
		<td style="padding-left: 2px; padding-right: 2px;"></td>
		<td colspan="2" width="97%" style="border-top: 1px solid;"><span class="mainnews_title"><?php 
echo is_array($_tmp = $this->_tpl_vars['form_recommend']['header']['recommend']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
</span></td>
	</tr>
	<tr class="form">
		<td></td>
		<td width="50%" valign="top">
			<?php 
if ($this->_tpl_vars['form_recommend']['sendername']['required']) {
    ?>
<font color="red">*</font><?php 
}
?>
			<?php 
echo $this->_tpl_vars['form_recommend']['sendername']['label'];
?>
        ?>
        </table></div>
      <?php 
    }
    ?>

      <p>
        <input type="submit" name="enable_modules" value="<?php 
    echo is_array($_tmp = $this->_tpl_vars['LANG']['word_update']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
    ?>
" />
        <input type="button" onclick="window.location='<?php 
    echo $this->_tpl_vars['same_page'];
    ?>
?refresh_module_list'" class="blue" value="<?php 
    echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['LANG']['phrase_refresh_module_list']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
    ?>
" />
      </p>

    </form>

  <?php 
}
?>

<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
          <tr class="pager">
            <td colspan="6">
                <?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "phpgacl/pager.tpl", 'smarty_include_vars' => array('pager_data' => $this->_tpl_vars['paging_data'], 'link' => "?object_type=" . $this->_tpl_vars['object_type'] . "&")));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
            </td>
          </tr>
          <tr class="spacer">
            <td colspan="6"></td>
          </tr>
          <tr align="center">
            <td colspan="6"><b>Add <?php 
echo is_array($_tmp = $this->_tpl_vars['object_type']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
 Sections</b></td>
          </tr>
          <tr>
            <th>ID</th>
            <th>Value</th>
            <th>Order</th>
            <th>Name</th>
            <th>Functions</th>
            <th>&nbsp;</td>
          </tr>
<?php 
unset($this->_sections['y']);
$this->_sections['y']['name'] = 'y';
$this->_sections['y']['loop'] = is_array($_loop = $this->_tpl_vars['new_sections']) ? count($_loop) : max(0, (int) $_loop);
echo $this->_tpl_vars['form_id'];
?>
"><img src="<?php 
echo $this->_tpl_vars['images_url'];
?>
/up.jpg" title="<?php 
echo $this->_tpl_vars['LANG']['phrase_previous_page'];
?>
" alt="<?php 
echo $this->_tpl_vars['LANG']['phrase_previous_page'];
?>
" border="0" /></a>
  </div>

  <div class="subtitle underline margin_top_large"><?php 
echo is_array($_tmp = $this->_tpl_vars['LANG']['phrase_form_email_field_configuration']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
</div>

  <?php 
echo smarty_function_ft_include(array('file' => 'messages.tpl'), $this);
?>


  <div class="margin_bottom_large">
    <?php 
echo $this->_tpl_vars['LANG']['text_email_settings_intro'];
?>

  </div>
<?php

/* Smarty version 2.6.18, created on 2016-05-27 15:14:58
   compiled from /var/www/vhosts/excelsiorschool.com/httpdocs/forms/themes/default/admin/settings/tab_accounts.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', '/var/www/vhosts/excelsiorschool.com/httpdocs/forms/themes/default/admin/settings/tab_accounts.tpl', 1, false), array('modifier', 'escape', '/var/www/vhosts/excelsiorschool.com/httpdocs/forms/themes/default/admin/settings/tab_accounts.tpl', 20, false), array('modifier', 'explode', '/var/www/vhosts/excelsiorschool.com/httpdocs/forms/themes/default/admin/settings/tab_accounts.tpl', 123, false), array('modifier', 'in_array', '/var/www/vhosts/excelsiorschool.com/httpdocs/forms/themes/default/admin/settings/tab_accounts.tpl', 125, false), array('function', 'ft_include', '/var/www/vhosts/excelsiorschool.com/httpdocs/forms/themes/default/admin/settings/tab_accounts.tpl', 3, false), array('function', 'themes_dropdown', '/var/www/vhosts/excelsiorschool.com/httpdocs/forms/themes/default/admin/settings/tab_accounts.tpl', 30, false), array('function', 'menus_dropdown', '/var/www/vhosts/excelsiorschool.com/httpdocs/forms/themes/default/admin/settings/tab_accounts.tpl', 35, false), array('function', 'pages_dropdown', '/var/www/vhosts/excelsiorschool.com/httpdocs/forms/themes/default/admin/settings/tab_accounts.tpl', 40, false), array('function', 'languages_dropdown', '/var/www/vhosts/excelsiorschool.com/httpdocs/forms/themes/default/admin/settings/tab_accounts.tpl', 51, false), array('function', 'timezone_offset_dropdown', '/var/www/vhosts/excelsiorschool.com/httpdocs/forms/themes/default/admin/settings/tab_accounts.tpl', 59, false), array('function', 'template_hook', '/var/www/vhosts/excelsiorschool.com/httpdocs/forms/themes/default/admin/settings/tab_accounts.tpl', 77, false))), $this);
?>
    <div class="subtitle underline margin_top_large"><?php 
echo is_array($_tmp = $this->_tpl_vars['LANG']['phrase_client_account_settings']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
</div>

    <?php 
echo smarty_function_ft_include(array('file' => 'messages.tpl'), $this);
?>


    <div class="margin_bottom_large">
      <?php 
echo $this->_tpl_vars['LANG']['text_account_settings_page'];
?>

    </div>

    <form action="<?php 
echo $this->_tpl_vars['same_page'];
?>
" method="post" onsubmit="return rsv.validate(this, rules)">
    <input type="hidden" name="page" value="accounts" />

    <table class="list_table check_areas" cellpadding="0" cellspacing="1">
}
if (count($_from)) {
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['curr_group']) {
        ?>
        <?php 
        $this->assign('group', $this->_tpl_vars['curr_group']['group']);
        ?>
        <?php 
        $this->assign('fields', $this->_tpl_vars['curr_group']['fields']);
        ?>

        <?php 
        if ($this->_tpl_vars['group']['group_name']) {
            ?>
          <h3><?php 
            echo is_array($_tmp = $this->_tpl_vars['group']['group_name']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
            ?>
</h3>
        <?php 
        }
        ?>

        <?php 
        if (count($this->_tpl_vars['fields']) > 0) {
            ?>
          <table class="list_table" cellpadding="1" cellspacing="1" border="0" width="100%">
        <?php 
        }
        ?>

        <?php 
Example #12
0
?>
<div id="cnt">
	<div id="cnt_top">
		<span style="padding-left: 10px;">
		<?php 
if (!empty($_GET['p'])) {
    ?>
			<?php 
    echo is_array($_tmp = $this->_tpl_vars['locale']['index_news']['field_main_header']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
    ?>

		<?php 
} elseif (!empty($this->_tpl_vars['page_data']['0']['category_name'])) {
    ?>
			<?php 
    echo is_array($_tmp = $this->_tpl_vars['page_data']['0']['category_name']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
    ?>

		<?php 
}
?>
		</span>
	</div>
	<div id="cnt_cnt">
		<p style="text-align: center;"><?php 
echo $this->_tpl_vars['page_list'];
?>
</p>
		<?php 
$_from = $this->_tpl_vars['page_data_news'];
if (!is_array($_from) && !is_object($_from)) {
          </tr>
          <tr>
            <td valign="top" class="blue"><?php 
echo '{$IPADDRESS}';
?>
</td>
            <td><?php 
echo $this->_tpl_vars['LANG']['text_submission_ip_address'];
?>
</td>
          </tr>
          </table>
          <br />

          <p class="subtitle"><?php 
echo is_array($_tmp = $this->_tpl_vars['LANG']['phrase_form_placeholders']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
</p>
          <p>
            <?php 
echo $this->_tpl_vars['LANG']['text_form_placeholder_info'];
?>

            <?php 
echo $this->_tpl_vars['file_field_text'];
?>

          </p>

          <table cellpadding="1" cellspacing="1" class="list_table" width="100%">
          <tr>
Example #14
0
/* Smarty version 2.6.16, created on 2007-06-08 11:36:50
   compiled from shop_search_block.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'shop_search_block.tpl', 4, false))), $this);
?>
<div id="block" style="margin-top: 10px;">
	<form <?php 
echo $this->_tpl_vars['form_search_block']['attributes'];
?>
>
	<?php 
echo $this->_tpl_vars['form_search_block']['hidden'];
?>

	<div id="b_top"><?php 
echo is_array($_tmp = $this->_tpl_vars['form_search_block']['header']['search']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
</div>
	<div id="b_content">
		<div>
			<div><?php 
echo $this->_tpl_vars['form_search_block']['searchtext']['label'];
?>
</div>
			<div><?php 
echo $this->_tpl_vars['form_search_block']['searchtext']['html'];
?>
</div>
		</div>
		<div><?php 
echo $this->_tpl_vars['form_search_block']['submit']['html'];
										<option value="<?php echo $this->_tpl_vars['indexPrefix']; ?>
"><?php echo $this->_tpl_vars['texts']['INDEXES'][$this->_tpl_vars['indexKey']]; ?>
</option>
									<?php endif; ?>
								<?php endif; ?>
							<?php endforeach; endif; unset($_from); ?>
						</select>

						<?php if (count($this->_tpl_vars['colectionData']->where_list->where) > 0): ?>
							<?php echo $this->_tpl_vars['texts']['WHERE_FILTER']; ?>
:
							<select name="where" class="inputText">
								<?php $_from = $this->_tpl_vars['colectionData']->where_list->where; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['where']):
?>
									<?php echo ''; ?><?php $this->assign('whereName', ((is_array($_tmp=$this->_tpl_vars['where']->name)) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp))); ?><?php echo ''; ?><?php $this->assign('whereFilter', $this->_tpl_vars['where']->filter); ?><?php echo ''; ?><?php $this->assign('whereLevel', $this->_tpl_vars['where']->level); ?><?php echo ''; ?><?php if ($this->_tpl_vars['texts']['WHERE'][$this->_tpl_vars['whereName']] != ''): ?><?php echo ''; ?><?php $this->assign('whereLabel', $this->_tpl_vars['texts']['WHERE'][$this->_tpl_vars['whereName']]); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $this->assign('whereLabel', $this->_tpl_vars['whereName']); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['whereLevel'] != ''): ?><?php echo ''; ?><?php $this->assign('ident', '&nbsp;&nbsp;&nbsp;&nbsp;'); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $this->assign('ident', ''); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['whereName'] != ''): ?><?php echo ''; ?><?php if ($this->_tpl_vars['whereName'] == $_REQUEST['where']): ?><?php echo '<option value="'; ?><?php echo $this->_tpl_vars['whereName']; ?><?php echo '" selected="1">'; ?><?php echo $this->_tpl_vars['ident']; ?><?php echo ''; ?><?php echo $this->_tpl_vars['whereLabel']; ?><?php echo '</option>'; ?><?php else: ?><?php echo '<option value="'; ?><?php echo $this->_tpl_vars['whereName']; ?><?php echo '">'; ?><?php echo $this->_tpl_vars['ident']; ?><?php echo ''; ?><?php echo $this->_tpl_vars['whereLabel']; ?><?php echo '</option>'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?>

								<?php endforeach; endif; unset($_from); ?>
							</select>
						<?php endif; ?>

						<input type="button" name="go" value="<?php echo $this->_tpl_vars['texts']['SEARCH_SUBMIT']; ?>
" class="submit" onclick="javascript:newSearch()" />
						<!--
						&#160;
						<a href="#"><?php echo '<?='; ?>
$texts['SEARCH_ADVANCED']<?php echo '?>'; ?>
</a>
						-->
				</div>
Example #16
0
>
<?php 
echo $this->_tpl_vars['form']['hidden'];
?>

<table cellpadding="2" cellspacing="0" width="60%">
	<tr>
		<td style="padding-left: 2px; padding-right: 2px;"><img src="<?php 
echo $this->_tpl_vars['theme_dir'];
?>
/<?php 
echo $this->_tpl_vars['theme'];
?>
/images/nyil_kek.png" border="0" alt=""></td>
		<td colspan="2" width="97%" style="border-top: 1px solid;"><span class="mainnews_title"><?php 
echo is_array($_tmp = $this->_tpl_vars['form']['header']['account_lost']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
</span></td>
	</tr>
	<tr class="form">
		<td colspan="3">&nbsp;</td>
	</tr>
	<tr class="form">
		<td></td>
		<td><?php 
if ($this->_tpl_vars['form']['name']['required']) {
    ?>
<font color="red">*</font><?php 
}
echo $this->_tpl_vars['form']['name']['label'];
?>
Example #17
0
/* Smarty version 2.6.16, created on 2007-06-29 13:08:53
   compiled from admin/banners_act_list.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'admin/banners_act_list.tpl', 5, false), array('modifier', 'regex_replace', 'admin/banners_act_list.tpl', 14, false), array('function', 'cycle', 'admin/banners_act_list.tpl', 32, false))), $this);
?>
<div id="form_cnt">
    <?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/dynamic_tabs.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
	<div id="f_content">
		<div class="t_filter">
            <h3 style="margin:0;"><?php 
echo is_array($_tmp = $this->_tpl_vars['locale']['admin_banners']['field_list_activate_header']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
</h3>
        </div>
		<form<?php 
echo $this->_tpl_vars['form']['attributes'];
?>
>
		<?php 
echo $this->_tpl_vars['form']['hidden'];
?>

		<table>
			<tr>
				<td colspan="2" align="center">
                    <?php 
</td>
    <td class="selected"><?php 
echo $this->_tpl_vars['LANG']['phrase_field_types'];
?>
</td>
    <td class="selected"><?php 
echo $this->_tpl_vars['LANG']['phrase_finalize_form'];
?>
</td>
  </tr>
  </table>

  <br />
  <div>
    <div class="subtitle underline"><?php 
echo is_array($_tmp = $this->_tpl_vars['LANG']['phrase_final_touches_page_6']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
</div>
    <p>
      <?php 
echo $this->_tpl_vars['LANG']['text_add_form_step_5_para_1'];
?>

    </p>
    <code><pre class="green">
      &lt;input type="hidden" name="form_tools_initialize_form" value="1" /&gt;</pre></code>

    <p>
      <?php 
echo $this->_tpl_vars['LANG']['text_add_form_step_5_para_5'];
?>
Example #19
0
<?php

/* Smarty version 2.6.16, created on 2008-08-22 16:19:16
   compiled from shop_basket_address.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'shop_basket_address.tpl', 3, false))), $this);
?>
<div id="form">
	<div id="form_top">
		<span style="padding-left: 10px;"><?php 
echo is_array($_tmp = $this->_tpl_vars['form_basket']['header']['address']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
</span>
	</div>
	<div id="form_cnt">
		<script type="text/javascript"><?php 
echo $this->_tpl_vars['address_list'];
?>
</script>
		<form <?php 
echo $this->_tpl_vars['form_basket']['attributes'];
?>
>
		<?php 
echo $this->_tpl_vars['form_basket']['hidden'];
?>

		<dl>
			<?php 
$_from = $this->_tpl_vars['userdata'];
if (!is_array($_from) && !is_object($_from)) {
Example #20
0
		<!-- HEADER END -->

		<!-- MENU START -->
		<div id="menu">&nbsp;</div>
		<!-- MENU END -->
		<div id="middle"><div id="inner">
			<div id="login">
				<div id="l_top"></div>
				<div id="l_content">
					<div class="l_empty"></div>
					<div class="pager"></div>
					<div id="l_form">
						<div id="loginpic"></div>
						<div>
							<p style="font-size: 13px; font-weight: bold; text-align: left; padding-top: 15px;"><?php 
echo is_array($_tmp = $this->_tpl_vars['lang_admin']['strAdminLoginHeader']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
</p>
							<form <?php 
echo $this->_tpl_vars['form']['attributes'];
?>
>
							<?php 
echo $this->_tpl_vars['form']['hidden'];
?>

								<p style="text-align: left; font-weight: bold;">
									<span>
										<?php 
echo $this->_tpl_vars['form']['name']['label'];
?>
Example #21
0
<?php

/* Smarty version 2.6.16, created on 2013-04-18 19:07:02
   compiled from block_account.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'block_account.tpl', 5, false))), $this);
if ($_SESSION['user_id']) {
    ?>
	<table cellpadding="2" cellspacing="0">
		<tr>
			<td class="block_header" style="background-color: #006BB6;">
				<?php 
    echo is_array($_tmp = $this->_tpl_vars['locale']['index_account']['block_modify_header']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
    ?>

			</td>
		</tr>
		<tr><td style="height: 5px;"></td></tr>
		<tr><td class="block"><?php 
    echo $this->_tpl_vars['locale']['index_account']['block_title_name'];
    ?>
</td></tr>
		<tr><td class="block"><?php 
    echo $_SESSION['username'];
    ?>
<br />(<?php 
    echo $_SESSION['realname'];
    ?>
)</td></tr>
		<tr><td class="block"><?php 
    echo $this->_tpl_vars['locale']['index_account']['block_title_last'];
            </td>
            <td><?php 
            echo $this->_tpl_vars['periods'][$this->_tpl_vars['report']['period']];
            ?>

                <!-- Last sent on <?php 
            echo $this->_tpl_vars['report']['ts_last_sent'];
            ?>
 -->
            </td>
            <td>
                <?php 
            if (!empty($this->_tpl_vars['report']['format'])) {
                ?>
                    <?php 
                echo is_array($_tmp = $this->_tpl_vars['report']['format']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
                ?>

                <?php 
            }
            ?>
            </td>
            <td>
                                <?php 
            if (count($this->_tpl_vars['report']['recipients']) == 0) {
                ?>
                    <?php 
                echo is_array($_tmp = 'PDFReports_NoRecipients') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp);
                ?>

                <?php 
                } else {
			var bound_sw = new GLatLng(';
echo is_array($_tmp = @$this->_tpl_vars['min_latitude']) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['center_latitude']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['center_latitude']);
echo ',';
echo is_array($_tmp = @$this->_tpl_vars['min_longitude']) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['center_longitude']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['center_longitude']);
echo ');
			var bound_ne = new GLatLng(';
echo is_array($_tmp = @$this->_tpl_vars['max_latitude']) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['center_latitude']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['center_latitude']);
echo ',';
echo is_array($_tmp = @$this->_tpl_vars['max_longitude']) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['center_longitude']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['center_longitude']);
echo ');
			var bounds = new GLatLngBounds(bound_sw, bound_ne);
			var zoom = map.getBoundsZoomLevel(bounds);
		}
		map.setCenter(center, zoom, G_';
echo is_array($_tmp = $this->_tpl_vars['maps_available']['default']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
echo '_MAP);
		GEvent.addListener(map, "moveend", gmap_reload);
		GEvent.addListener(map, "zoomend", function (oldLevel, newLevel) {
                                        if ((oldLevel <= 17-4 && newLevel > 17-4) ||
                                                (oldLevel > 17-4 && newLevel <= 17-4)) {
                                                        map.clearOverlays();
                                                        markers = Array();
                                                        polylines = Array();
						}
                                                        gmap_reload();
					});
		gmap_refresh();
	}
}
The current date and time is 2010-01-16 23:39:16

The value of global assigned variable $SCRIPT_NAME is /Smarty-3.0b6/demo/index.php

Example of accessing server environment variable SERVER_NAME: localhost

The value of {$Name} is <b><?php 
echo $_smarty_tpl->getVariable('Name')->value;
?>
</b>

variable modifier example of {$Name|upper}

<b><?php 
echo smarty_modifier_upper($_smarty_tpl->getVariable('Name')->value);
?>
</b>


An example of a section loop:


	1 * John Doe


	2 * Mary Smith


	3 . James Johnson
Example #25
0
<?php

/* Smarty version 2.6.16, created on 2007-07-12 16:35:31
   compiled from shop_basket.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'shop_basket.tpl', 3, false))), $this);
?>
<div id="form">
	<div id="form_top">
		<span style="padding-left: 10px;"><?php 
echo is_array($_tmp = $this->_tpl_vars['locale']['index_shop']['basket_field_title']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
</span>
	</div>
	<div id="form_cnt">
		<form <?php 
echo $this->_tpl_vars['form_basket']['attributes'];
?>
>
		<?php 
echo $this->_tpl_vars['form_basket']['hidden'];
?>

		<table cellspacing="0" class="table_main">
			<tr style="background-color: #4A4A4A;">
				<th class="table_th"><?php 
echo $this->_tpl_vars['locale']['index_shop']['basket_field_list_name'];
?>
</th>
				<th class="table_th"><?php 
echo $this->_tpl_vars['locale']['index_shop']['basket_field_list_amount'];
 * 
 * The interactive user interfaces in modified source and object code versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU Affero General Public License version 3.
 * 
 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
 * these Appropriate Legal Notices must retain the display of the "Powered by
 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
 * technical reasons, the Appropriate Legal Notices must display the words
 * "Powered by SugarCRM".
 ********************************************************************************/

*}
<script type="text/javascript" src='{sugar_getjspath file="include/SugarFields/Fields/Address/SugarFieldAddress.js"}'></script>
<?php 
$this->assign('key', is_array($_tmp = $this->_tpl_vars['displayParams']['key']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp));
$this->assign('street', is_array($_tmp = $this->_tpl_vars['displayParams']['key']) ? $this->_run_mod_handler('cat', true, $_tmp, '_address_street') : smarty_modifier_cat($_tmp, '_address_street'));
$this->assign('city', is_array($_tmp = $this->_tpl_vars['displayParams']['key']) ? $this->_run_mod_handler('cat', true, $_tmp, '_address_city') : smarty_modifier_cat($_tmp, '_address_city'));
$this->assign('state', is_array($_tmp = $this->_tpl_vars['displayParams']['key']) ? $this->_run_mod_handler('cat', true, $_tmp, '_address_state') : smarty_modifier_cat($_tmp, '_address_state'));
$this->assign('country', is_array($_tmp = $this->_tpl_vars['displayParams']['key']) ? $this->_run_mod_handler('cat', true, $_tmp, '_address_country') : smarty_modifier_cat($_tmp, '_address_country'));
$this->assign('postalcode', is_array($_tmp = $this->_tpl_vars['displayParams']['key']) ? $this->_run_mod_handler('cat', true, $_tmp, '_address_postalcode') : smarty_modifier_cat($_tmp, '_address_postalcode'));
?>
<fieldset id='<?php 
echo $this->_tpl_vars['key'];
?>
_address_fieldset'>
<legend>{sugar_translate label='LBL_<?php 
echo $this->_tpl_vars['key'];
?>
_ADDRESS' module='<?php 
echo $this->_tpl_vars['module'];
                        echo $this->_tpl_vars['pageData']['bean']['moduleDir'];
                        echo '2_';
                        echo is_array($_tmp = $this->_tpl_vars['pageData']['bean']['objectName']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
                        echo '_ORDER_BY';
                        ?>
")' class='listViewThLinkS1'>
	                        <?php 
                    } else {
                        ?>
	                            <a href='javascript:sListView.order_checks("ASC", "<?php 
                        echo is_array($_tmp = is_array($_tmp = @$this->_tpl_vars['params']['orderBy']) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['colHeader']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['colHeader'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp);
                        ?>
" , "<?php 
                        echo $this->_tpl_vars['pageData']['bean']['moduleDir'];
                        echo '2_';
                        echo is_array($_tmp = $this->_tpl_vars['pageData']['bean']['objectName']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
                        echo '_ORDER_BY';
                        ?>
")' class='listViewThLinkS1'>
	                        <?php 
                    }
                    ?>
	                    <?php 
                }
                ?>
	                    <?php 
                echo smarty_function_sugar_translate(array('label' => $this->_tpl_vars['params']['label'], 'module' => $this->_tpl_vars['pageData']['bean']['moduleDir']), $this);
                ?>

						&nbsp;&nbsp;
						<?php 
	<tr height="22">
		<td><a href="<?php 
        echo $this->_tpl_vars['CURRENT_ACTION'];
        ?>
action=edit&id=<?php 
        echo $this->_tpl_vars['insurancecompany']->id;
        ?>
" onsubmit="return top.restoreSession()"><?php 
        echo $this->_tpl_vars['insurancecompany']->name;
        ?>
&nbsp;</a></td>
		<td><?php 
        echo $this->_tpl_vars['insurancecompany']->address->city;
        ?>
 <?php 
        echo is_array($_tmp = $this->_tpl_vars['insurancecompany']->address->state) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
        ?>
&nbsp;</td>
		<td><?php 
        echo $this->_tpl_vars['insurancecompany']->get_x12_default_partner_name();
        ?>
&nbsp;</td>
	</tr>
	<?php 
    }
    unset($_from);
} else {
    ?>
	<tr class="center_display">
		<td colspan="3"><?php 
    echo smarty_function_xl(array('t' => 'No Insurance Companies Found'), $this);
Example #29
0
/* Smarty version 2.6.16, created on 2007-06-21 10:07:00
   compiled from admin/gallery_video_view.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'admin/gallery_video_view.tpl', 5, false))), $this);
?>
<div id="table">
	<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/dynamic_tabs.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
	<div id="t_content">
		<div class="t_filter">
            <h3 style="margin:0;"><?php 
echo is_array($_tmp = $this->_tpl_vars['lang_title']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
</h3>
		</div>
		<div class="pager"></div>
			<div style="display: block; text-align: center;">
				<div>
                                        <?php 
if ($this->_tpl_vars['ext'] == ".flv") {
    ?>
                        <p id="player1"><a href="http://www.macromedia.com/go/getflashplayer"><?php 
    echo $this->_tpl_vars['locale']['admin_gallery']['video_field_getflash'];
    ?>
</a></p>
                        <script type="text/javascript">
                            var s1 = new SWFObject("<?php 
Example #30
0
		</div
		<?php 
        }
    }
    unset($_from);
    ?>
	</div>
	<?php 
}
?>
	
		<?php 
if ($_SESSION['site_shop_is_rating']) {
    ?>
	<div id="shop_top" style="padding-left: 10px;"><?php 
    echo is_array($_tmp = $this->_tpl_vars['locale']['index_shop']['main_details_field_rating']) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
    ?>
</div>
	<div class="shop_cnt">
		<div style="padding-left: 10px; padding-right: 10px;">
			<?php 
    $_from = $this->_tpl_vars['shop_ratings'];
    if (!is_array($_from) && !is_object($_from)) {
        settype($_from, 'array');
    }
    if (count($_from)) {
        foreach ($_from as $this->_tpl_vars['rating']) {
            ?>
				<span><b><?php 
            echo $this->_tpl_vars['rating']['user_name'];
            ?>