当前位置: 首页>>代码示例>>PHP>>正文


PHP smarty_function_brite_spot函数代码示例

本文整理汇总了PHP中smarty_function_brite_spot函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_brite_spot函数的具体用法?PHP smarty_function_brite_spot怎么用?PHP smarty_function_brite_spot使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了smarty_function_brite_spot函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: Smarty_Variable

        ?>
				<?php 
        $_smarty_tpl->tpl_vars['pso'] = new Smarty_Variable();
        $_from = $_smarty_tpl->getVariable('list_text')->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        if (count($_from) > 0) {
            foreach ($_from as $_smarty_tpl->tpl_vars['pso']->key => $_smarty_tpl->tpl_vars['pso']->value) {
                ?>
				<tr align="center">
					<th class="zx"></th>
					
					<td></td><th></th>
					<td><?php 
                echo smarty_function_brite_spot(array('query' => $_smarty_tpl->getVariable('get')->value['info'], 'str' => $_smarty_tpl->getVariable('pso')->value['ProID']), $_smarty_tpl->smarty, $_smarty_tpl);
                ?>
</td><th></th>
					<td><?php 
                echo $_smarty_tpl->getVariable('shape')->value[$_smarty_tpl->getVariable('pso')->value['shape']];
                ?>
</td><th></th>
					<td><?php 
                echo $_smarty_tpl->getVariable('pso')->value['weight'];
                ?>
</td><th></th>
					<td><?php 
                echo $_smarty_tpl->getVariable('pso')->value['color'];
                ?>
</td><th></th>
					<td><?php 
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:1279ea5cfd91fca7000c203c669d7715fd1d8c32.file.search_letter.html.php

示例2: 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

示例3: smarty_function_brite_spot

" /></td>
			<td align="right">组退点</td>
			<td><?php 
echo $_smarty_tpl->getVariable('orders')->value['rebate'];
?>
 %</td>
		</tr>
		<tr>
			<td align="right">业务</td>
			<td><?php 
echo smarty_function_brite_spot(array('query' => $_smarty_tpl->getVariable('get')->value['info'], 'str' => $_smarty_tpl->getVariable('orders')->value['salesman_name']), $_smarty_tpl->smarty, $_smarty_tpl);
?>
</td>
			<td align="right">客服</td>
			<td><?php 
echo smarty_function_brite_spot(array('query' => $_smarty_tpl->getVariable('get')->value['info'], 'str' => $_smarty_tpl->getVariable('orders')->value['service_name']), $_smarty_tpl->smarty, $_smarty_tpl);
?>
</td>
		</tr>
		<tr>
			<td align="right" class="Need">总价</td>
			<td><?php 
echo $_smarty_tpl->getVariable('orders')->value['price'];
?>
 元</td>
			<td align="right">下单时间</td>
			<td><?php 
echo smarty_modifier_date_format($_smarty_tpl->getVariable('orders')->value['time'], "%Y-%m-%d %H:%M:%S");
?>
</td>
		</tr>
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:9496be5ff8a8d92697d74550bd5a5a45a5e45dba.file.orders_recoup_deposit.html.php


注:本文中的smarty_function_brite_spot函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。