<style>
.videobox{margin:20px 0 20px;}
.sidebar{float:left; width:210px; font-size:11px; color:#085CA8;}
.sidebar a,.producBox a{font-size:11px; color:#085CA8;}
.sidebar a:hover,.mainbox a:hover{color:#ff5a00; text-decoration:underline;}
.childBox.top_none {margin-top: 0;}
.childBox h3 {background: url("https://www.beststoreitems.com/catalog/template/beststoreitems/image/video_lf.gif") no-repeat scroll 0 0 transparent;border-bottom: 1px solid #D5D5D5;color: #fff; font-family:Tahoma,Arial;font-size: 14px;line-height: 30px;padding-left: 10px;}
.childBox_sub{border:1px solid #D5D5D5; border-top:none; background:#fff;}
.review_product {margin: 0 auto;padding: 10px 0;text-align: center; width: 158px;}
.review_product li {margin-bottom: 20px;}
.review_product #addtocart{margin:6px 0;}
.normal_img img {height: 140px;width: 140px;}
.review_product .title a{font: 11px/150% Verdana,Tahoma,Arial;}
.p_info{margin:5px 0;}
.price {color: #F66907;font-size: 12px;font-weight: bold;}
.review{margin-top:5px; text-align:left;}
.star {display: block;float: left;height: 16px;width: 59px; margin-right:6px;}
.star-x {background: url("https://www.beststoreitems.com/catalog/template/beststoreitems/image/star_big_gray_16.gif") repeat-x scroll left top transparent;}
.star-x span {background: url("https://www.beststoreitems.com/catalog/template/beststoreitems/image/star_big_color_16.gif") repeat-x scroll left top transparent;}
.star span {display: block;height: 100%;width: 0;}
.wishlist {background: url("https://www.beststoreitems.com/catalog/template/beststoreitems/image/view_det.gif") no-repeat scroll 0 -31px transparent;height: 19px;line-height: 19px;padding-left: 20px; text-align:left; margin-left:20px;}

.mainbox{float:right; width:705px; font-size:11px;}
.mainbox a{color:#085CA8;}
.mainbox .hd {border-bottom: 2px solid #11305E;height:34px;line-height:34px;position: relative;}
.tab_review li {background: url("https://www.beststoreitems.com/catalog/template/beststoreitems/image/tab2.png") no-repeat scroll right -358px transparent;cursor: pointer;float: left;font-size: 12px;font-weight: bold;height: 34px;line-height: 34px;margin-right: 5px;padding: 0 20px;position: relative;}
.tab_review li.choose a {color: #FFFFFF;}
.tab_review li span {background:url("https://www.beststoreitems.com/catalog/template/beststoreitems/image/tab2.png") no-repeat scroll -133px 0 transparent;display: block;height: 34px;left: 0;position: absolute;top: 0;width: 10px;}
.topTips {font-size: 12px;padding: 15px 25px;position: relative;}
.topTips.border_blue {border-bottom: 1px solid #C9DEF6;}
.childBox_sub.blue {background: url("https://www.beststoreitems.com/catalog/template/beststoreitems/image/bg_blue.png") repeat-x scroll 0 0 #fff;}
.btn_postp {background: none repeat scroll 0 0 #FA7F05;border-radius: 5px 5px 5px 5px;color: #FFFFFF;display: block;font-weight: bold;line-height: 25px;padding: 0 25px 0 30px;
position: absolute;right: 15px;text-transform: uppercase;top: 8px;}
.icon_photo {background:url("https://www.beststoreitems.com/catalog/template/beststoreitems/image/icon.png") no-repeat scroll 10px -67px transparent;display: block;height:27px;left: 0;position: absolute;top:-1px;width:27px;}
.producBox{width:560px; margin:20px auto;}
.producBox h3 {color: #333333;font-size: 16px;line-height: 25px;}
.producBox img {vertical-align: middle;}

.big_photo{margin-top:15px;}
</style>
<script type="text/javascript">
function add_to_cart(id)
{
	document.location.href= id;
}
</script>
<div class="clearfix videobox">
	<div class="sidebar">
    	<div class="childBox top_none">
					<h3 class="orange">Product Information</h3>
					<div class="childBox_sub">
						<ul class="review_product">
							<li>
								<div class="normal_img"><a title="" href="/index.php?controller=product&product_id=<?php echo $product_data['product_id']?>"><img alt="" src="<?php echo $product_data['thumb']?>"></a></div>
								<p class="p_info title"><a title="" href="/index.php?controller=product&product_id=<?php echo $product_data['product_id']?>"><?php echo $product_data['name']?></a></p>
								<p class="price"><?php echo $product_data['price']?></p>
                                <div class="review clearfix">
                                	<div class="star star-x"><span style="width:<?php echo $product_data['ave_rating']*20;?>%;"></span></div><a href="/index.php?controller=product&product_id=<?php echo $product_data['product_id']?>#cmt"><?php echo $product_data['review_total']?> <?php echo $product_data['review_total']<=1?'Question':'Questions'?></a>
                                </div>

                                <p><input onclick="return add_to_cart('https://www.beststoreitems.com/index.php?controller=product&product_id=<?php echo $product_data['product_id']?>');" type="image" src="https://www.beststoreitems.com/catalog/template/beststoreitems/image/addtocart.gif" id="addtocart"></p>
                                <div class="wishlist"><a href="/index.php?controller=wish&action=addwish&pro_id=<?php echo $product_data['product_id'];?>" title="Add to Wish List">Add to Wish List</a></div>
							</li>
						</ul>
					</div>
				</div>
    </div>
	<div class="mainbox">
        <div class="hd tab">
            <ul class="tab_review">
            	<li class="choose"><a href="">Videos</a><span></span></li>
            </ul>
        </div>
    	<div class="childBox_sub blue">
            <div class="topTips border_blue">
               	&laquo;<a href="/index.php?controller=product&product_id=<?php echo $product_data['product_id']?>"> View all videos of this product</a>
                <a class="btn_postp" href="/index.php?controller=waiting_feedback" style="color:#fff;"><span class="icon_photo"></span>post videos</a>
            </div>
            <div class="producBox">
                <p>Uploaded by  <a href=""><?php echo $product_data['author']?></a> <?php echo $product_data['date_added']?> <img src="https://www.beststoreitems.com/catalog/template/beststoreitems/image/certified.png"></p>
                <div class="big_photo"><?php echo $videos?></div>
            </div>
        </div>
    </div>
</div>