コード例 #1
0
        ?>
				</ul>										
			</div>
		</footer>
		<?php 
    }
    ?>
	</div>
	<?php 
} else {
    ?>
	<div class="profile-preview sidebar-widget">
		<div class="profile-image">
			<?php 
    if (get_query_var('shop-product') && !ThemexCore::checkOption('shop_multiple')) {
        ThemexWoo::$data['product'] = ThemexWoo::getProduct(get_query_var('shop-product'));
        ?>
				<div class="image-wrap">
					<?php 
        echo ThemexCore::getImage(themex_value('ID', ThemexWoo::$data['product']), 200, THEME_URI . 'images/product.png');
        ?>
				</div>
				<?php 
        if (!empty(ThemexWoo::$data['product'])) {
            ?>
				<div class="profile-upload">
					<form action="" enctype="multipart/form-data" method="POST">
						<label for="product_thumb" class="element-button square" title="<?php 
            _e('Upload Image', 'makery');
            ?>
">
コード例 #2
0
</th>
				<th><?php 
            _e('Stock', 'makery');
            ?>
</th>
				<th><?php 
            _e('Price', 'makery');
            ?>
</th>
				<th>&nbsp;</th>
			</tr>
		</thead>
		<tbody>
			<?php 
            foreach (ThemexShop::$data['products'] as $ID) {
                $product = ThemexWoo::getProduct($ID);
                ?>
			<tr>
				<td>
					<a href="<?php 
                echo ThemexCore::getURL('shop-product', $product['ID']);
                ?>
" <?php 
                if ($product['status'] == 'draft') {
                    ?>
class="secondary"<?php 
                }
                ?>
>
						<?php 
                if (empty($product['title'])) {