當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。