本文整理汇总了PHP中smarty_modifier_cat函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_modifier_cat函数的具体用法?PHP smarty_modifier_cat怎么用?PHP smarty_modifier_cat使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_modifier_cat函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: settype
<th>MB件名</th>
<th>配信状況</th>
<th>作成日時</th>
<th>削除</th>
</tr>
<?php
$_from = $this->_tpl_vars['dataList'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
if (count($_from)) {
foreach ($_from as $this->_tpl_vars['val']) {
?>
<tr>
<td><a href="<?php
echo smarty_function_make_link(array('action' => 'action_ordering_ReserveSupportMailData', 'getTags' => is_array($_tmp = "support_mail_reserve_id=") ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['val']['id']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['val']['id'])), $this);
?>
" target="_blank"><?php
echo $this->_tpl_vars['val']['id'];
?>
</a></td>
<td><?php
echo $this->_tpl_vars['val']['send_datetime'];
?>
</td>
<td><?php
echo is_array($_tmp = $this->_tpl_vars['val']['pc_subject']) ? $this->_run_mod_handler('emoji', true, $_tmp) : smarty_modifier_emoji($_tmp);
?>
</td>
<td><?php
echo is_array($_tmp = $this->_tpl_vars['val']['mb_subject']) ? $this->_run_mod_handler('emoji', true, $_tmp) : smarty_modifier_emoji($_tmp);
示例2: smarty_function_make_link
echo smarty_function_make_link(array('action' => 'action_mailLog_RegularMailData', 'getTags' => is_array($_tmp = "mail_maga_regular_id=") ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['val']['mailmagazine_regular_id']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['val']['mailmagazine_regular_id'])), $this);
?>
" target="_blank"><?php
echo $this->_tpl_vars['val']['mailmagazine_regular_id'];
?>
</a><?php
}
?>
</td>
<td><?php
if (!$this->_tpl_vars['val']['mailmagazine_reserve_id']) {
echo $this->_tpl_vars['val']['mailmagazine_reserve_id'];
} else {
?>
<a href="<?php
echo smarty_function_make_link(array('action' => 'action_mailLog_ReserveMailData', 'getTags' => is_array($_tmp = "mail_maga_reserve_id=") ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['val']['mailmagazine_reserve_id']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['val']['mailmagazine_reserve_id'])), $this);
?>
" target="_blank"><?php
echo $this->_tpl_vars['val']['mailmagazine_reserve_id'];
?>
</a><?php
}
?>
</td>
<td><?php
echo is_array($_tmp = $this->_tpl_vars['val']['pc_subject']) ? $this->_run_mod_handler('emoji', true, $_tmp) : smarty_modifier_emoji($_tmp);
?>
</td>
<td><?php
echo is_array($_tmp = $this->_tpl_vars['val']['mb_subject']) ? $this->_run_mod_handler('emoji', true, $_tmp) : smarty_modifier_emoji($_tmp);
?>
示例3: foreach
foreach ($_from as $this->_tpl_vars['sel_val']) {
?>
<?php
if ($this->_tpl_vars['sel_val'][2] == 'selected') {
?>
<?php
if ($this->_tpl_vars['selected_val'] != '') {
?>
<?php
$this->assign('selected_val', is_array($_tmp = $this->_tpl_vars['selected_val']) ? $this->_run_mod_handler('cat', true, $_tmp, ', ') : smarty_modifier_cat($_tmp, ', '));
?>
<?php
}
?>
<?php
$this->assign('selected_val', is_array($_tmp = $this->_tpl_vars['selected_val']) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['sel_val'][0]) : smarty_modifier_cat($_tmp, $this->_tpl_vars['sel_val'][0]));
?>
<?php
}
?>
<?php
}
}
unset($_from);
?>
<?php
echo is_array($_tmp = $this->_tpl_vars['selected_val']) ? $this->_run_mod_handler('replace', true, $_tmp, "\n", "<br> ") : smarty_modifier_replace($_tmp, "\n", "<br> ");
?>
</td>
<?php
示例4: ob_start
<td><?php
echo $_smarty_tpl->getVariable('show')->value['body_ratio'];
?>
%</td>
<th>台宽比</th>
<td><?php
echo $_smarty_tpl->getVariable('show')->value['table_width'];
?>
%</td>
</tr>
<tr>
<th>证书</th>
<td colspan="3">
<?php
ob_start();
echo smarty_function_brite_spot(array('query' => $_smarty_tpl->getVariable('get')->value['info'], 'str' => smarty_modifier_cat(smarty_modifier_cat($_smarty_tpl->getVariable('show')->value['diploma'], ' - '), $_smarty_tpl->getVariable('show')->value['diplomaNO'])), $_smarty_tpl->smarty, $_smarty_tpl);
$_tmp1 = ob_get_clean();
echo smarty_function_Goto_diploma(array('diploma' => $_smarty_tpl->getVariable('show')->value['diploma'], 'weight' => $_smarty_tpl->getVariable('show')->value['weight'], 'NO' => $_smarty_tpl->getVariable('show')->value['diplomaNO'], 'show' => $_tmp1), $_smarty_tpl->smarty, $_smarty_tpl);
?>
<?php
if ($_smarty_tpl->getVariable('show')->value['diplomaPhoto']) {
?>
<a style="margin:0 0 0 2em" href="<?php
echo $_smarty_tpl->getVariable('Domain')->value;
echo $_smarty_tpl->getVariable('show')->value['diplomaPhoto'];
?>
" target="_<?php
echo $_smarty_tpl->getVariable('show')->value['ProID'];
?>
">证书图</a><?php
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:657444735608532fc717bb4ca29006dc40d2e4ee.file.product_detail.html.php
示例5: smarty_core_load_plugins
<?php
/* Smarty version 2.6.19, created on 2014-05-17 15:40:05
compiled from constructors/form_enum.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', 'constructors/form_enum.tpl', 21, false), array('modifier', 'escape', 'constructors/form_enum.tpl', 22, false))), $this);
$this->assign('temp', is_array($_tmp = is_array($_tmp = $this->_tpl_vars['fullField']) ? $this->_run_mod_handler('cat', true, $_tmp, "-") : smarty_modifier_cat($_tmp, "-")) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['value']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['value']));
if ($this->_tpl_vars['lang']['db'][$this->_tpl_vars['temp']] != '') {
echo $this->_tpl_vars['lang']['db'][$this->_tpl_vars['temp']];
} else {
echo is_array($_tmp = $this->_tpl_vars['value']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp);
}
示例6: foreach
foreach ($_from as $this->_tpl_vars['_message']) {
?>
<?php
echo $this->_config[0]['vars'][$this->_tpl_vars['_message']];
?>
.
<?php
}
}
unset($_from);
?>
</li>
<?php
}
}
unset($_from);
?>
</ul>
</div>
<?php
} elseif (!empty($this->_tpl_vars['successMessageType'])) {
?>
<div class='alert alert-success'>
<?php
$this->assign('_successMessageConfigVar', is_array($_tmp = 'successMessage') ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['successMessageType']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['successMessageType']));
echo $this->_config[0]['vars'][$this->_tpl_vars['_successMessageConfigVar']];
?>
.
</div>
<?php
}
示例7: array
$this->_tag_stack[] = array('tr', array());
$_block_repeat = true;
smarty_block_tr($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
ob_start();
echo $this->_tpl_vars['quicktags'][$this->_sections['qtg']['index']]['taglabel'];
$_block_content = ob_get_contents();
ob_end_clean();
$_block_repeat = false;
echo smarty_block_tr($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
}
array_pop($this->_tag_stack);
?>
' border='0' /></a>
<?php
echo smarty_function_cycle(array('name' => is_array($_tmp = 'cycle') ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['qtnum']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['qtnum'])), $this);
?>
<?php
}
}
?>
<a title="special chars" class="link" href="#" onclick="javascript:window.open('tiki-special_chars.php?area_name=<?php
echo $this->_tpl_vars['area_name'];
?>
','','menubar=no,width=252,height=25');"><img
src='images/ed_charmap.gif' alt='special characters' title='special characters' border='0' /></a>
</div>
<?php
if ($this->_tpl_vars['tiki_p_admin'] == 'y') {
?>
示例8: smarty_function_block
<div class="wrapper">
<div class="left-col">
<?php
echo smarty_function_block(array('id' => 'cat_list'), $this);
?>
</div>
<div class="middle-col">
<div class="right-col">
<div class="zag clearfix">
<?php
if ($_GET['query']) {
?>
<?php
$this->assign('q', is_array($_tmp = "&query=") ? $this->_run_mod_handler('cat', true, $_tmp, $_GET['query']) : smarty_modifier_cat($_tmp, $_GET['query']));
?>
<p class="p1">Поиск</p>
<?php
} else {
?>
<p class="p1">Каталог</p>
<?php
}
?>
<?php
echo smarty_function_object(array('obj' => $this->_tpl_vars['navigation']), $this);
?>
示例9: settype
<th nowrap="nowrap">代理店URL <font color="blue">※固定URL</font></th>
<!--<th nowrap="nowrap">認証IPアドレス</th>-->
<th nowrap="nowrap">代理店への入金額の表示設定</th>
<!--<th nowrap="nowrap">媒体コード</th>-->
</tr>
<?php
$_from = $this->_tpl_vars['baitaiAgencyList'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
if (count($_from)) {
foreach ($_from as $this->_tpl_vars['val']) {
?>
<tr>
<td><a href="<?php
echo smarty_function_make_link(array('action' => 'action_baitaiAgency_BaitaiAgencyUpd', 'getTags' => is_array($_tmp = "id=") ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['val']['id']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['val']['id'])), $this);
?>
"><?php
echo $this->_tpl_vars['val']['name'];
?>
</a></td>
<td><?php
echo $this->_tpl_vars['val']['login_id'];
?>
</td>
<td><?php
echo $this->_tpl_vars['val']['display_password'];
?>
</td>
<!--<td><?php
echo $this->_tpl_vars['selectAuthoritytype'][$this->_tpl_vars['val']['authority_type']];
示例10: array
$this->_foreach['customizationFields'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['customizationFields']['total'] > 0) {
foreach ($_from as $this->_tpl_vars['field']) {
$this->_foreach['customizationFields']['iteration']++;
?>
<?php
if ($this->_tpl_vars['field']['type'] == 1) {
?>
<li class="customizationUploadLine<?php
if ($this->_tpl_vars['field']['required']) {
?>
required<?php
}
?>
"><?php
$this->assign('key', is_array($_tmp = is_array($_tmp = is_array($_tmp = 'textFields_') ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['product']->id) : smarty_modifier_cat($_tmp, $this->_tpl_vars['product']->id)) ? $this->_run_mod_handler('cat', true, $_tmp, '_') : smarty_modifier_cat($_tmp, '_')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['field']['id_customization_field']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['field']['id_customization_field']));
?>
<?php
if (!empty($this->_tpl_vars['field']['name'])) {
echo $this->_tpl_vars['field']['name'];
}
?>
<input type="text" name="textField<?php
echo $this->_tpl_vars['field']['id_customization_field'];
?>
" id="textField<?php
echo $this->_tpl_vars['customizationField'];
?>
" value="<?php
if (isset($this->_tpl_vars['textFields'][$this->_tpl_vars['key']])) {
echo is_array($_tmp = $this->_tpl_vars['textFields'][$this->_tpl_vars['key']]) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp);
示例11: smarty_function_get_url
}
if ($this->_sections['i']['show']) {
for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1; $this->_sections['i']['iteration'] <= $this->_sections['i']['total']; $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++) {
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first'] = $this->_sections['i']['iteration'] == 1;
$this->_sections['i']['last'] = $this->_sections['i']['iteration'] == $this->_sections['i']['total'];
?>
<tr>
<td><?php
echo $this->_tpl_vars['group'][$this->_sections['i']['index']]['group_name'];
?>
</td>
<td><a href="<?php
echo smarty_function_get_url(array('rule' => '/system/rights', 'data' => is_array($_tmp = 'gid=') ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['group'][$this->_sections['i']['index']]['gid']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['group'][$this->_sections['i']['index']]['gid'])), $this);
?>
" title="编辑权限"><img src="<?php
echo $this->_tpl_vars['root_dir'];
?>
/assets/simpla/images/icons/pencil.png" alt="编辑权限" /></a></td>
</tr>
<?php
}
}
?>
</tbody>
</table>
</div>
</div>
</div>
示例12: smarty_function_get_url
<td><span class="red"><?php
echo $this->_tpl_vars['goods'][$this->_sections['i']['index']]['countamount'];
?>
</span></td>
<td><span class="red"><?php
echo $this->_tpl_vars['goods'][$this->_sections['i']['index']]['salesamount'];
?>
</span></td>
<td><a href="<?php
echo smarty_function_get_url(array('rule' => '/goods/addgoods', 'data' => is_array($_tmp = 'gid=') ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['goods'][$this->_sections['i']['index']]['goods_id']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['goods'][$this->_sections['i']['index']]['goods_id'])), $this);
?>
" title="编辑"><img src="<?php
echo $this->_tpl_vars['root_dir'];
?>
/assets/simpla/images/icons/pencil.png" alt="编辑" /></a> <a href="<?php
echo smarty_function_get_url(array('rule' => '/purchase/purchase', 'data' => is_array($_tmp = 'gid=') ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['goods'][$this->_sections['i']['index']]['goods_id']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['goods'][$this->_sections['i']['index']]['goods_id'])), $this);
?>
" title="入库"><img src="<?php
echo $this->_tpl_vars['root_dir'];
?>
/assets/simpla/images/icons/hammer_screwdriver.png" alt="入库" /></a></td>
</tr>
<?php
}
}
?>
</tbody>
</table>
</div>
</div>
</div>
示例13: foreach
if (count($_from)) {
foreach ($_from as $this->_tpl_vars['val']) {
?>
<tr>
<?php
if ($this->_tpl_vars['val']['code'] == 1) {
?>
<td><?php
echo $this->_tpl_vars['val']['code'];
?>
</td>
<?php
} else {
?>
<td><a href="<?php
echo smarty_function_make_link(array('action' => 'action_user_UserProfileFlagData', 'getTags' => is_array($_tmp = "user_profile_flag_code=") ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['val']['code']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['val']['code'])), $this);
?>
" target="_blank"><?php
echo $this->_tpl_vars['val']['code'];
?>
</a></td>
<?php
}
?>
<td><?php
echo $this->_tpl_vars['val']['name'];
?>
</td>
<td><?php
echo $this->_tpl_vars['user_profile_flag_convert_code'][$this->_tpl_vars['val']['convert_code']];
?>
示例14: is_array
} else {
?>
<?php
$this->assign('type', $this->_tpl_vars['element']['html_type']);
?>
<?php
$this->assign('element_name', is_array($_tmp = 'custom_') ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['field_id']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['field_id']));
?>
<?php
if ($this->_tpl_vars['element']['is_search_range']) {
?>
<?php
$this->assign('element_name_from', is_array($_tmp = $this->_tpl_vars['element_name']) ? $this->_run_mod_handler('cat', true, $_tmp, '_from') : smarty_modifier_cat($_tmp, '_from'));
?>
<?php
$this->assign('element_name_to', is_array($_tmp = $this->_tpl_vars['element_name']) ? $this->_run_mod_handler('cat', true, $_tmp, '_to') : smarty_modifier_cat($_tmp, '_to'));
?>
<dt><?php
echo $this->_tpl_vars['form'][$this->_tpl_vars['element_name_from']]['label'];
?>
</dt><dd>
<?php
echo is_array($_tmp = $this->_tpl_vars['form'][$this->_tpl_vars['element_name_from']]['html']) ? $this->_run_mod_handler('crmReplace', true, $_tmp, 'class', 'six') : smarty_modifier_crmReplace($_tmp, 'class', 'six');
?>
<?php
echo $this->_tpl_vars['form'][$this->_tpl_vars['element_name_to']]['label'];
?>
<?php
echo is_array($_tmp = $this->_tpl_vars['form'][$this->_tpl_vars['element_name_to']]['html']) ? $this->_run_mod_handler('crmReplace', true, $_tmp, 'class', 'six') : smarty_modifier_crmReplace($_tmp, 'class', 'six');
?>
示例15: smarty_function_assign
<table width="98%" border="0" align="center" cellpadding="0" class="user-text" cellspacing="0">
<!--
<tr>
<td width="42" height="30" align="center"> </td>
<td width="598"> </td>
<td width="87" align="center"><a href="#"><img src="<?php
echo $this->_tpl_vars['SITE_IMAGES'];
?>
sm_images/btn-delete-1.gif" alt="" border="0" /></a></td>
</tr>
-->
<?php
if (count($this->_tpl_vars['res']) > 0) {
?>
<?php
echo smarty_function_assign(array('var' => 'field', 'value' => is_array($_tmp = 'vMailSubject_') ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['LANG']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['LANG'])), $this);
?>
<?php
if (isset($this->_sections['in'])) {
unset($this->_sections['in']);
}
$this->_sections['in']['name'] = 'in';
$this->_sections['in']['loop'] = is_array($_loop = $this->_tpl_vars['res']) ? count($_loop) : max(0, (int) $_loop);
unset($_loop);
$this->_sections['in']['show'] = true;
$this->_sections['in']['max'] = $this->_sections['in']['loop'];
$this->_sections['in']['step'] = 1;
$this->_sections['in']['start'] = $this->_sections['in']['step'] > 0 ? 0 : $this->_sections['in']['loop'] - 1;
if ($this->_sections['in']['show']) {
$this->_sections['in']['total'] = $this->_sections['in']['loop'];