本文整理汇总了PHP中zen_get_categories_status函数的典型用法代码示例。如果您正苦于以下问题:PHP zen_get_categories_status函数的具体用法?PHP zen_get_categories_status怎么用?PHP zen_get_categories_status使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了zen_get_categories_status函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: zen_output_generated_category_path
<td colspan="3" class="main" align="left"><strong>
<?php
echo HEADING_TITLE == '' ? HEADING_TITLE2 : HEADING_TITLE;
?>
- <?php
echo zen_output_generated_category_path($current_category_id);
?>
</strong>
<?php
echo '<br />' . TEXT_CATEGORIES_PRODUCTS;
?>
</td>
</tr>
<tr>
<td colspan="3" class="main" align="left"><?php
echo (zen_get_categories_status($current_category_id) == '0' ? TEXT_CATEGORIES_STATUS_INFO_OFF : '') . (zen_get_products_status($products_filter) == '0' ? ' ' . TEXT_PRODUCTS_STATUS_INFO_OFF : '');
?>
</td>
</tr>
<tr>
<td colspan="3" class="main" align="center"><?php
echo $counter > 0 ? PREV_NEXT_PRODUCT . ($position + 1 . "/" . $counter) : ' ';
?>
</td>
</tr>
<tr>
<?php
if ($counter > 0) {
?>
<td align="center" class="main"><a
href="<?php
开发者ID:wwxgitcat,项目名称:zencart_v1.0,代码行数:31,代码来源:products_previous_next_display.php
示例2: zen_draw_separator
<tr>
<td colspan="2"><?php
echo zen_draw_separator('pixel_trans.gif', '100%', '2');
?>
</td>
</tr>
<?php
// hidden fields not changeable on products page
echo zen_draw_hidden_field('master_categories_id', $pInfo->master_categories_id);
echo zen_draw_hidden_field('products_discount_type', $pInfo->products_discount_type);
echo zen_draw_hidden_field('products_discount_type_from', $pInfo->products_discount_type_from);
echo zen_draw_hidden_field('products_price_sorter', $pInfo->products_price_sorter);
?>
<tr>
<td colspan="2" class="main" align="center"><?php
echo (zen_get_categories_status($current_category_id) == '0' ? TEXT_CATEGORIES_STATUS_INFO_OFF : '') . ($out_status == true ? ' ' . TEXT_PRODUCTS_STATUS_INFO_OFF : '');
?>
</td>
</tr>
<tr>
<td class="main"><?php
echo TEXT_PRODUCTS_STATUS;
?>
</td>
<td class="main"><?php
echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_radio_field('products_status', '1', $in_status) . ' ' . TEXT_PRODUCT_AVAILABLE . ' ' . zen_draw_radio_field('products_status', '0', $out_status) . ' ' . TEXT_PRODUCT_NOT_AVAILABLE;
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
开发者ID:kirkbauer2,项目名称:kirkzc,代码行数:31,代码来源:collect_info.php
示例3: zen_draw_separator
<?php } ?>
<tr>
<td colspan="2" class="main"><?php echo TEXT_INFO_MASTER_CATEGORIES_ID; ?></td>
</tr>
<tr>
<td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '100%', '2'); ?></td>
</tr>
<?php
// hidden fields not changeable on products page
echo zen_draw_hidden_field('master_categories_id', $pInfo->master_categories_id);
echo zen_draw_hidden_field('products_discount_type', $pInfo->products_discount_type);
echo zen_draw_hidden_field('products_discount_type_from', $pInfo->products_discount_type_from);
echo zen_draw_hidden_field('products_price_sorter', $pInfo->products_price_sorter);
?>
<tr>
<td colspan="2" class="main" align="center"><?php echo (zen_get_categories_status($current_category_id) == '0' ? TEXT_CATEGORIES_STATUS_INFO_OFF : '') . ($out_status == true ? ' ' . TEXT_PRODUCTS_STATUS_INFO_OFF : ''); ?></td>
</tr>
<tr>
<td class="main"><?php echo TEXT_PRODUCTS_STATUS; ?></td>
<td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_radio_field('products_status', '1', $in_status) . ' ' . TEXT_PRODUCT_AVAILABLE . ' ' . zen_draw_radio_field('products_status', '0', $out_status) . ' ' . TEXT_PRODUCT_NOT_AVAILABLE; ?></td>
</tr>
<tr>
<td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td class="main"><?php echo TEXT_PRODUCTS_DATE_AVAILABLE; ?><br /><small>(YYYY-MM-DD)</small></td>
<td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' '; ?><script language="javascript">dateAvailable.writeControl(); dateAvailable.dateFormat="yyyy-MM-dd";</script></td>
</tr>
<tr>
<td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
</tr>
开发者ID:quangn92,项目名称:visualyou,代码行数:31,代码来源:collect_info.php
注:本文中的zen_get_categories_status函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论