コード例 #1
0
ファイル: content-shop.php プロジェクト: qhuit/UrbanPekor
			</div>
		</div>
		<?php 
}
?>
	</div>
	<footer class="shop-footer">
		<div class="shop-author clearfix">
			<div class="author-image">
				<div class="image-wrap">
					<a href="<?php 
the_permalink();
?>
">
						<?php 
echo ThemexCore::getImage(ThemexShop::$data['ID'], 150, THEME_URI . 'images/shop.png');
?>
					</a>
				</div>									
			</div>
			<div class="author-details">
				<h3 class="author-name">
					<a href="<?php 
the_permalink();
?>
"><?php 
the_title();
?>
</a>
				</h3>
				<div class="shop-attributes">
コード例 #2
0
						<input type="hidden" name="product_id" value="<?php 
            echo ThemexWoo::$data['product']['ID'];
            ?>
" />
						<input type="hidden" name="woo_action" value="update_image" />
					</form>
				</div>
				<?php 
        }
    } else {
        if (ThemexUser::isShop()) {
            ThemexShop::refresh(ThemexUser::$data['current']['shop'], true);
            ?>
			<div class="image-wrap">
				<?php 
            echo ThemexCore::getImage(themex_value('ID', ThemexShop::$data), 200, THEME_URI . 'images/shop.png');
            ?>
			</div>
			<div class="profile-upload">
				<form action="" enctype="multipart/form-data" method="POST">
					<label for="shop_thumb" class="element-button square" title="<?php 
            _e('Upload Image', 'makery');
            ?>
">
						<span class="fa fa-upload"></span>
					</label>
					<input type="file" id="shop_thumb" name="shop_image" class="element-upload shifted" />
					<input type="hidden" name="shop_id" value="<?php 
            echo ThemexShop::$data['ID'];
            ?>
" />