コード例 #1
0
                 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">';
         echo $this->_tpl_vars['row']['participant_role_id'];
         echo '</td><td>';
         echo is_array($_tmp = $this->_tpl_vars['row']['action']) ? $this->_run_mod_handler('replace', true, $_tmp, 'xx', $this->_tpl_vars['participant_id']) : smarty_modifier_replace($_tmp, 'xx', $this->_tpl_vars['participant_id']);
         echo '</td></tr>';
     }
 }
 unset($_from);
 echo '';
コード例 #2
0
                            ob_start();
                            echo 'Registration (Live)';
                            $_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 '</a></li>';
                    }
                    echo '</ul></span></div><div class="crm-event-more">';
                    echo is_array($_tmp = $this->_tpl_vars['row']['action']) ? $this->_run_mod_handler('replace', true, $_tmp, 'xx', $this->_tpl_vars['row']['id']) : smarty_modifier_replace($_tmp, 'xx', $this->_tpl_vars['row']['id']);
                    echo '</div></td><td class="crm-event-start_date hiddenElement">';
                    echo is_array($_tmp = $this->_tpl_vars['row']['start_date']) ? $this->_run_mod_handler('crmDate', true, $_tmp) : smarty_modifier_crmDate($_tmp);
                    echo '</td><td class="crm-event-end_date hiddenElement">';
                    echo is_array($_tmp = $this->_tpl_vars['row']['end_date']) ? $this->_run_mod_handler('crmDate', true, $_tmp) : smarty_modifier_crmDate($_tmp);
                    echo '</td></tr>';
                }
                echo '';
            }
        }
        unset($_from);
        echo '</table>';
        $_smarty_tpl_vars = $this->_tpl_vars;
        $this->_smarty_include(array('smarty_include_tpl_file' => "CRM/common/pager.tpl", 'smarty_include_vars' => array('location' => 'bottom')));
        $this->_tpl_vars = $_smarty_tpl_vars;
        unset($_smarty_tpl_vars);
        echo '';
        ?>

  <?php 
コード例 #3
0
        $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();
            ?>
Registration Date<?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);
        }
        array_pop($this->_tag_stack);
        ?>
: <?php 
        echo is_array($_tmp = $this->_tpl_vars['participant']['register_date']) ? $this->_run_mod_handler('crmDate', true, $_tmp) : smarty_modifier_crmDate($_tmp);
        ?>

<?php 
    }
    ?>

<?php 
    $this->_tag_stack[] = array('ts', array('1' => $this->_tpl_vars['domain']['phone'], '2' => $this->_tpl_vars['domain']['email']));
    $_block_repeat = true;
    smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
Please contact us at %1 or send email to %2 if you have questions.<?php 
        $_block_content = ob_get_contents();
コード例 #4
0
            ?>
</td>
             <td>
             <?php 
            if ($this->_tpl_vars['birthDateViewFormat']) {
                ?>
          
		<?php 
                echo is_array($_tmp = $this->_tpl_vars['deceased_date_display']) ? $this->_run_mod_handler('crmDate', true, $_tmp, $this->_tpl_vars['birthDateViewFormat']) : smarty_modifier_crmDate($_tmp, $this->_tpl_vars['birthDateViewFormat']);
                ?>

             <?php 
            } else {
                ?>
                <?php 
                echo is_array($_tmp = $this->_tpl_vars['deceased_date_display']) ? $this->_run_mod_handler('crmDate', true, $_tmp) : smarty_modifier_crmDate($_tmp);
                ?>

             <?php 
            }
            ?>
             </td>
           <?php 
        } else {
            ?>
<td class="label" colspan=2><span class="font-red upper"><?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();