$_block_content = ob_get_contents();
             ob_end_clean();
             $_block_repeat = false;
             echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
         }
         array_pop($this->_tag_stack);
         echo '';
     } else {
         echo ' ';
         echo $this->_tpl_vars['row']['participant_fee_level'];
         echo '';
     }
     echo '</td>';
 }
 echo '<td class="right nowrap crm-paticipant-participant_fee_amount">';
 echo is_array($_tmp = $this->_tpl_vars['row']['participant_fee_amount']) ? $this->_run_mod_handler('crmMoney', true, $_tmp, $this->_tpl_vars['row']['participant_fee_currency']) : smarty_modifier_crmMoney($_tmp, $this->_tpl_vars['row']['participant_fee_currency']);
 echo '</td><td class="crm-participant-participant_register_date">';
 echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['row']['participant_register_date']) ? $this->_run_mod_handler('truncate', true, $_tmp, 10, '') : smarty_modifier_truncate($_tmp, 10, '')) ? $this->_run_mod_handler('crmDate', true, $_tmp) : smarty_modifier_crmDate($_tmp);
 echo '</td><td class="crm-participant-event_start_date">';
 echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['row']['event_start_date']) ? $this->_run_mod_handler('truncate', true, $_tmp, 10, '') : smarty_modifier_truncate($_tmp, 10, '')) ? $this->_run_mod_handler('crmDate', true, $_tmp) : smarty_modifier_crmDate($_tmp);
 echo '';
 if ($this->_tpl_vars['row']['event_end_date'] && (is_array($_tmp = $this->_tpl_vars['row']['event_end_date']) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y%m%d") : smarty_modifier_date_format($_tmp, "%Y%m%d")) != (is_array($_tmp = $this->_tpl_vars['row']['event_start_date']) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y%m%d") : smarty_modifier_date_format($_tmp, "%Y%m%d"))) {
     echo '<br/>- ';
     echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['row']['event_end_date']) ? $this->_run_mod_handler('truncate', true, $_tmp, 10, '') : smarty_modifier_truncate($_tmp, 10, '')) ? $this->_run_mod_handler('crmDate', true, $_tmp) : smarty_modifier_crmDate($_tmp);
     echo '';
 }
 echo '</td><td class="crm-participant-participant_status crm-participant_status_';
 echo $this->_tpl_vars['row']['participant_status_id'];
 echo '">';
 echo $this->_tpl_vars['row']['participant_status'];
 echo '</td><td class="crm-participant-participant_role">';
            </div>
          <?php 
                                        }
                                        ?>
          <?php 
                                    } else {
                                        ?>
            <?php 
                                        if ($this->_tpl_vars['element']['field_data_type'] == 'Money') {
                                            ?>
              <?php 
                                            if ($this->_tpl_vars['element']['field_type'] == 'Text') {
                                                ?>
                 <div class="content"><?php 
                                                if ($this->_tpl_vars['element']['field_value']) {
                                                    echo is_array($_tmp = $this->_tpl_vars['element']['field_value']) ? $this->_run_mod_handler('crmMoney', true, $_tmp) : smarty_modifier_crmMoney($_tmp);
                                                } else {
                                                    ?>
<br/><?php 
                                                }
                                                ?>
</div>
              <?php 
                                            } else {
                                                ?>
                 <div class="content"><?php 
                                                if ($this->_tpl_vars['element']['field_value']) {
                                                    echo $this->_tpl_vars['element']['field_value'];
                                                } else {
                                                    ?>
<br/><?php 
Example #3
0
<?php

/* Smarty version 2.6.26, created on 2010-04-27 15:25:11
   compiled from CRM/Contact/Form/Search/Basic.hlp */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('block', 'htxt', 'CRM/Contact/Form/Search/Basic.hlp', 26, false), array('block', 'ts', 'CRM/Contact/Form/Search/Basic.hlp', 28, false), array('modifier', 'crmMoney', 'CRM/Contact/Form/Search/Basic.hlp', 27, false), array('function', 'crmURL', 'CRM/Contact/Form/Search/Basic.hlp', 35, false))), $this);
$this->_tag_stack[] = array('htxt', array('id' => "id-basic-criteria"));
$_block_repeat = true;
smarty_block_htxt($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
    ob_start();
    ?>
    <?php 
    ob_start();
    echo is_array($_tmp = 500) ? $this->_run_mod_handler('crmMoney', true, $_tmp) : smarty_modifier_crmMoney($_tmp);
    $this->_smarty_vars['capture']['default'] = ob_get_contents();
    $this->assign('amt', ob_get_contents());
    ob_end_clean();
    ?>
    <p><?php 
    $this->_tag_stack[] = array('ts', array());
    $_block_repeat = true;
    smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
Find contacts by partial or full name or email, type of contact, group membership, and/or tags. You can then view or edit contact details, print a contact list, or use the <strong>- more actions -</strong> drop down list to assign tags, add contacts to groups, create smart groups, export contact data to a spreadsheet, and more.<?php 
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_repeat = false;
        echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
    <dd><strong><?php 
            $this->_tag_stack[] = array('ts', array());
            smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat = true);
            while ($_block_repeat) {
                ob_start();
                ?>
Total Contributed<?php 
                $_block_content = ob_get_contents();
                ob_end_clean();
                echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat = false);
            }
            array_pop($this->_tag_stack);
            ?>
 - <?php 
            if ($this->_tpl_vars['total_amount']) {
                echo is_array($_tmp = $this->_tpl_vars['total_amount']) ? $this->_run_mod_handler('crmMoney', true, $_tmp) : smarty_modifier_crmMoney($_tmp);
            } else {
                ?>
n/a<?php 
            }
            ?>
        &nbsp; <?php 
            $this->_tag_stack[] = array('ts', array());
            smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat = true);
            while ($_block_repeat) {
                ob_start();
                ?>
# Contributions<?php 
                $_block_content = ob_get_contents();
                ob_end_clean();
                echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat = false);
                          <?php 
                    if ($this->_tpl_vars['isPriceSet'] & $this->_tpl_vars['feeBlock']['isDisplayAmount'][$this->_tpl_vars['idx']]) {
                        ?>
            <td class="fee_amount-value right">
                              <?php 
                        if (isset($this->_tpl_vars['feeBlock']['tax_amount'][$this->_tpl_vars['idx']])) {
                            ?>
          <?php 
                            echo $this->_tpl_vars['feeBlock']['value'][$this->_tpl_vars['idx']];
                            ?>

                              <?php 
                        } else {
                            ?>
                <?php 
                            echo is_array($_tmp = $this->_tpl_vars['feeBlock']['value'][$this->_tpl_vars['idx']]) ? $this->_run_mod_handler('crmMoney', true, $_tmp) : smarty_modifier_crmMoney($_tmp);
                            ?>

                              <?php 
                        }
                        ?>
            </td>
                          <?php 
                    }
                    ?>
                      </tr>
                      <?php 
                }
                ?>
                  <?php 
            }