<?php /* Smarty version Smarty-3.1.8, created on 2019-12-24 15:25:16
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/ProductDetails.tpl" */ ?>
<?php /*%%SmartyHeaderCode:6248254805da81179e2a4b2-63995691%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '85d52a308acd372a6eb7ba51fc675d25ce1d6ea7' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/ProductDetails.tpl',
      1 => 1577180533,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6248254805da81179e2a4b2-63995691',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5da8117a0f1e55_22020947',
  'variables' => 
  array (
    'language' => 0,
    'view_styles' => 0,
    'resSelectproduct' => 0,
    'previousURL' => 0,
    'tab' => 0,
    'resProductcategory' => 0,
    'productCategory' => 0,
    'k' => 0,
    'image_directory' => 0,
    'view_public_path' => 0,
    'rand' => 0,
    'detailViewCount' => 0,
    'uniqueDetailViewCount' => 0,
    'resProductOptions' => 0,
    'productOptionCount' => 0,
    'productOptions' => 0,
    'businessOptions' => 0,
    'resProductList' => 0,
    'productReqID' => 0,
    'productImageCount' => 0,
    'productImages' => 0,
    'resUserLevelAttributes' => 0,
    'resAttributesUser' => 0,
    'productRequestID' => 0,
    'customOptionID' => 0,
    'productID' => 0,
    'view_images' => 0,
    'resAtrributeInputTypes' => 0,
    'attributeOptions' => 0,
    'productTab' => 0,
    'resProductReviewDetails' => 0,
    'product_review_details_list' => 0,
    'reviewprivilage' => 0,
    'currProductReviewID' => 0,
    'view_common_languages' => 0,
    'view_root_path' => 0,
    'reviewtext' => 0,
    'revdeleteprivilage' => 0,
    'reviewtextCharCount' => 0,
    'reviewtextCharLimit' => 0,
    'bulkStatusOptions' => 0,
    'view_javascript' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5da8117a0f1e55_22020947')) {function content_5da8117a0f1e55_22020947($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include '/home/stg70/public_html/agmc-v2/library/template/plugins/modifier.date_format.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAdmin'];?>
 :  <?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductsTitle'];?>
 : <?php echo $_smarty_tpl->tpl_vars['language']->value['lblManageProducts'];?>
 : <?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductDetails'];?>
</title>
<?php echo $_smarty_tpl->getSubTemplate ('CommonStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScript.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/product-details.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/colorbox.css" />
<?php echo $_smarty_tpl->getSubTemplate ('CommonCustomStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

</head>
<body>
<div class="outer_container"> <?php echo $_smarty_tpl->getSubTemplate ('CommonTop.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
  <!--End:Header Container--> 
  <!--*************************************************************END HEADER CONTAINER******************************************************-->
  <div class="content_container">
    <div class="content_wrapper"> 
	<div id="common_message" ></div>
      <!-- product informoation starts --> 
      <!-- product-basic-info :: starts -->     
    
        <?php $_smarty_tpl->tpl_vars["productID"] = new Smarty_variable($_smarty_tpl->tpl_vars['resSelectproduct']->value['productID'], null, 0);?>
          <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>$_smarty_tpl->tpl_vars['previousURL']->value,'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblBack']),'class'=>"back-link fixing_right"),$_smarty_tpl);?>
 
        <?php echo $_smarty_tpl->getSubTemplate ('ContentLanguageOptions.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

        <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('priv_href'=>"product/edit/",'href'=>"product/edit/id/".($_smarty_tpl->tpl_vars['resSelectproduct']->value['productID'])."/",'class'=>"button-link01 fixing_right",'content'=>$_smarty_tpl->tpl_vars['language']->value['lblEdit']),$_smarty_tpl);?>
     
        <h2><?php echo (($tmp = @$_smarty_tpl->tpl_vars['resSelectproduct']->value['productTitle'])===null||$tmp==='' ? '' : $tmp);?>
</h2>   
          
      <div class="clearfix">
      <!-- product-basic-info :: Ends -->
      <div class="left_block fixing_left">
              <div class="tab-block-01">
                <h2><a href="#"><span>&nbsp;</span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductDetails'];?>
</a></h2>
              </div>
            <ul class="left-tab" id="maintab">
            <li class="sub"> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','class'=>"left-tab-a active",'id'=>"detail",'content'=>"<span>".($_smarty_tpl->tpl_vars['language']->value['lblGeneral'])."</span>"),$_smarty_tpl);?>
 </li>
            <li class="sub"> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','class'=>"left-tab-a",'id'=>"option",'content'=>"<span>".($_smarty_tpl->tpl_vars['language']->value['lblQuantityandPrice'])."</span>"),$_smarty_tpl);?>
 </li>
           <li class="sub"> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','class'=>"left-tab-a",'id'=>"images",'content'=>"<span>".($_smarty_tpl->tpl_vars['language']->value['lblContents'])."</span>"),$_smarty_tpl);?>
 </li>          
            <li class="sub"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','class'=>"left-tab-a",'content'=>"<span>".($_smarty_tpl->tpl_vars['language']->value['lblCustomOptions'])."</span>"),$_smarty_tpl);?>
 </li>                          
	    <li class="sub"><?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['tab']->value){?><?php echo "active";?><?php }?><?php $_tmp1=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','class'=>"left-tab-a ".$_tmp1,'id'=>"discusn",'content'=>"<span class='four'>".($_smarty_tpl->tpl_vars['language']->value['lblDiscussion'])."</span>"),$_smarty_tpl);?>
 </li>

            </ul>
            </div>
      
      <!--End: Tab Button-->
     <div class="right_block">
      <div class="tabpane">
       <div class="tabpane_inner">
        <div class="form_listing">
          <ul>
            <li class="clearfix">
              <h3><span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblBasicInfo'];?>
</span></h3>
            </li>
            <li class="clearfix"> 
              <!--start: left pane -->
              <div class="left-pane">
                <div class="form_listing01"><ul>
                    <li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductTitle'];?>
</div>
                      <div class="rightside01-new"><?php echo (($tmp = @$_smarty_tpl->tpl_vars['resSelectproduct']->value['productTitle'])===null||$tmp==='' ? '' : $tmp);?>
</div>
                    </li>                     
                      <li class="clearfix">
                      <div class="leftside01"><?php if (count($_smarty_tpl->tpl_vars['resProductcategory']->value)==1){?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductCategory'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductCategory'];?>
<?php }?></div>
                      <div class="rightside01-new default-style"> 
                      <?php if ($_smarty_tpl->tpl_vars['resProductcategory']->value){?>
                    <div class="category-section">
                    <ol><li>
                      <strong><?php  $_smarty_tpl->tpl_vars["productCategory"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["productCategory"]->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['resProductcategory']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["productCategory"]->key => $_smarty_tpl->tpl_vars["productCategory"]->value){
$_smarty_tpl->tpl_vars["productCategory"]->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars["productCategory"]->key;
?>
                        <?php echo $_smarty_tpl->tpl_vars['productCategory']->value['productCategoryName'];?>
<?php if ($_smarty_tpl->tpl_vars['k']->value+1!=count($_smarty_tpl->tpl_vars['resProductcategory']->value)){?>, <?php }?>
                        <?php } ?> </strong>
                    </li></ol>
                    </div>
                    <?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblNotSpecified'];?>
<?php }?></div>
                    </li>                    
                    
                     
                    <li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblImage'];?>
</div>
                      <div class="rightside01-new"><?php if ((($tmp = @$_smarty_tpl->tpl_vars['image_directory']->value)===null||$tmp==='' ? '' : $tmp)){?><img  id="dalImageSize" src="<?php echo $_smarty_tpl->tpl_vars['view_public_path']->value;?>
/uploads/catalog/product/thumb/<?php echo $_smarty_tpl->tpl_vars['resSelectproduct']->value['productImage'];?>
?random=<?php echo $_smarty_tpl->tpl_vars['rand']->value;?>
" alt="logo" style="max-width:100%" /> <?php }?>
                  </div>
                    </li>
                  </ul>
                </div>
              </div>
              <div class="right-pane">
                <div class="form_listing01">
                  <ul>
                    
					<li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrand'];?>
</div>
                      <div class="rightside01-new"><?php echo $_smarty_tpl->tpl_vars['resSelectproduct']->value['brandName'];?>
</div>
                    </li>
                    <li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblBodyType'];?>
</div>
                      <div class="rightside01-new"><?php echo $_smarty_tpl->tpl_vars['resSelectproduct']->value['bodyStyle'];?>
</div>
                    </li>
                     <li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblFeaturedHot'];?>
</div>
                      <div class="rightside01-new"><?php if ($_smarty_tpl->tpl_vars['resSelectproduct']->value['featuredStatus']){?><?php echo $_smarty_tpl->tpl_vars['resSelectproduct']->value['featuredStatus'];?>
 <?php }else{ ?> No<?php }?></div>
                    </li>
                    <li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblFinanceAvail'];?>
</div>
                      <div class="rightside01-new"><?php if ($_smarty_tpl->tpl_vars['resSelectproduct']->value['financeAvail']){?><?php echo $_smarty_tpl->tpl_vars['resSelectproduct']->value['financeAvail'];?>
 <?php }else{ ?> No<?php }?></div>
                    </li>
                    <li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblLeaseAvail'];?>
</div>
                      <div class="rightside01-new"><?php if ($_smarty_tpl->tpl_vars['resSelectproduct']->value['leaseAvail']){?><?php echo $_smarty_tpl->tpl_vars['resSelectproduct']->value['leaseAvail'];?>
 <?php }else{ ?> No<?php }?></div>
                    </li>
                     <li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblStatus'];?>
</div>
                      <div class="rightside01-new"><?php echo (($tmp = @$_smarty_tpl->tpl_vars['resSelectproduct']->value['productStatus'])===null||$tmp==='' ? '' : $tmp);?>
</div>
                    </li>
                      <?php if (count($_smarty_tpl->tpl_vars['detailViewCount']->value)!=0){?>            
               <li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblTotalProductView'];?>
</div>
                      <div class="rightside01-new"><?php echo $_smarty_tpl->tpl_vars['detailViewCount']->value;?>
</div>
                    </li>
              <?php }?>
              <?php if (count($_smarty_tpl->tpl_vars['uniqueDetailViewCount']->value)!=0){?>              
                       <?php if (count($_smarty_tpl->tpl_vars['detailViewCount']->value)!=0){?>            
                       <li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblUniqueProductView'];?>
</div>
                      <div class="rightside01-new"><?php echo $_smarty_tpl->tpl_vars['uniqueDetailViewCount']->value;?>
</div>
                    </li>              
              <?php }?> 
			  <?php }?>
					<li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductPopularity'];?>
</div>
                      <div class="rightside01-new"><?php echo $_smarty_tpl->tpl_vars['resSelectproduct']->value['popularity'];?>
</div>
                    </li> 
					
					<li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPurchasePopularity'];?>
</div>
                      <div class="rightside01-new"><?php echo $_smarty_tpl->tpl_vars['resSelectproduct']->value['purchasePopularity'];?>
</div>
                    </li> 
				
                  </ul>
                </div>
              </div>
              <!--end: right pane --> 
            </li>             
          </ul>
        </div>
        
        <!-- Related Products --> 
      </div>
      </div>
      <!--End:Product Details--> 
      <!-- Image Listing-->
      
      <!--End: Images--> 
      <!-- Options-->
    <div class="tabpane" style="display:none;">
      <div class="tabpane_inner">
            <div class="form_listing"><ul> <li class="clearfix">
              <h3><span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblQuantityandPrice'];?>
</span></h3>
            </li> 
            
            </ul>

         <?php if (count($_smarty_tpl->tpl_vars['resProductOptions']->value)>0){?>
          <?php $_smarty_tpl->tpl_vars["productOptionCount"] = new Smarty_variable("0", null, 0);?>      
        
        <?php if ($_smarty_tpl->tpl_vars['resProductOptions']->value){?>                
        <?php  $_smarty_tpl->tpl_vars["productOptions"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["productOptions"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['resProductOptions']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["productOptions"]->key => $_smarty_tpl->tpl_vars["productOptions"]->value){
$_smarty_tpl->tpl_vars["productOptions"]->_loop = true;
?>
        
        <?php $_smarty_tpl->tpl_vars["productOptionCount"] = new Smarty_variable($_smarty_tpl->tpl_vars['productOptionCount']->value+1, null, 0);?>
          <?php if ($_smarty_tpl->tpl_vars['resSelectproduct']->value['multiOptionsAvailable']=="Yes"){?>
          <ul class="option productOptionRow" >
			  <li class="clearfix first">
              <h3><span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOption'];?>
 <?php echo $_smarty_tpl->tpl_vars['productOptionCount']->value;?>
</span></h3>
            </li>
            <?php }else{ ?>
             <ul class="no-option" >
            <?php }?>
            <li class="clearfix form_listing01">
            <div class="left-pane">
                  <ul>
                  
                    <?php if ($_smarty_tpl->tpl_vars['productOptions']->value['bmwCode']){?>
                    <li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCode'];?>
 </div>
                      <div class="rightside01-new"><?php echo $_smarty_tpl->tpl_vars['productOptions']->value['bmwCode'];?>
</div>
                    </li>
                    <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['productOptions']->value['modelYear']){?>
                    <li class="clearfix">
                      <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblModelYear'];?>
 </div>
                      <div class="rightside01-new"><?php echo $_smarty_tpl->tpl_vars['productOptions']->value['modelYear'];?>
</div>
                    </li>
                    <?php }?>
                   
                  </ul>
              </div>
              
              </li>
		
		  
		  
		
                <li>
                    <div  class="grid_table01">
                        <table width="100%">
                            <tr>
                                <th align="left" valign="middle" width="25%"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSKU'];?>
</th>
                                <td style="padding: 0;">
                                    <table width="100%">
                                        <tbody>
                                            <tr>
                                                <th align="left" valign="middle" width="15%" style="border-bottom:0;">
                                                    <?php echo $_smarty_tpl->tpl_vars['language']->value['lblItemPrice'];?>

                                                </th>
                                                <th align="left" valign="middle" width="15%" style="border-bottom:0;">
                                                    <?php echo $_smarty_tpl->tpl_vars['language']->value['lblSalePrice'];?>

                                                </th>
                                                <th align="left" valign="middle" width="8.5%" style="border-bottom:0;">
                                                    <?php echo $_smarty_tpl->tpl_vars['language']->value['lblQuantity'];?>

                                                </th>
                                                
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                                <tr <?php if (count($_smarty_tpl->tpl_vars['resProductOptions']->value)>1){?> style=" border-bottom: 1px solid #d3d4d8;" <?php }?>>
                                    <td width="25%" style="border-top: 0; padding:0;">
                                        <?php if (count($_smarty_tpl->tpl_vars['resProductOptions']->value)>0){?>
                                            <table width="100%">
                                                <tr>
                                                    <td style="border:0;">
                                                        <?php echo $_smarty_tpl->tpl_vars['language']->value['lblOptionName'];?>
 : 
                                                        <?php echo $_smarty_tpl->tpl_vars['productOptions']->value['productOptionName'];?>
 (<?php echo $_smarty_tpl->tpl_vars['language']->value['lblOptionSKU'];?>
: 
                                                         <?php echo $_smarty_tpl->tpl_vars['productOptions']->value['optionSKU'];?>
)
                                                    </td>
                                                </tr>
                                            </table>
                                        <?php }?>
                                        
                                    </td>
                                    <td style="border-top: 0; padding:0;">
                                        <table width="100%">
                                            <?php if (count($_smarty_tpl->tpl_vars['productOptions']->value['businessOptions'])>0){?>
                                                <?php  $_smarty_tpl->tpl_vars['businessOptions'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['businessOptions']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['productOptions']->value['businessOptions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['businessOptions']->key => $_smarty_tpl->tpl_vars['businessOptions']->value){
$_smarty_tpl->tpl_vars['businessOptions']->_loop = true;
?>
                                                    <tr>
                                                        
                                                        <td style="" align="left" valign="top" width="15%" style="border-left: 0; border-top: 0;">
                                                            <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency((($tmp = @$_smarty_tpl->tpl_vars['businessOptions']->value['productOptionRegularPrice'])===null||$tmp==='' ? '' : $tmp));?>

                                                        </td>
                                                        <td style="" align="left" valign="top" width="15%" style="border-left: 0; border-top: 0;">
                                                            <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency((($tmp = @$_smarty_tpl->tpl_vars['businessOptions']->value['productOptionProductPrice'])===null||$tmp==='' ? '' : $tmp));?>

                                                        </td>
                                                        <td style="" align="left" valign="top" width="8.7%" style="border-left: 0; border-top: 0;">
                                                            <?php if ($_smarty_tpl->tpl_vars['resProductList']->value['InventoryTrackLevel']=='No'){?>
                                                                <?php echo $_smarty_tpl->tpl_vars['language']->value['lblUnlimited'];?>

                                                            <?php }else{ ?>
                                                                <?php if ($_smarty_tpl->tpl_vars['businessOptions']->value['productQuantityUnlimited']==1){?>
                                                                    <?php echo $_smarty_tpl->tpl_vars['language']->value['lblUnlimited'];?>

                                                                <?php }else{ ?>
                                                                    <?php echo $_smarty_tpl->tpl_vars['businessOptions']->value['productOptionQuantity'];?>

                                                                <?php }?>
                                                            <?php }?>
                                                        </td>
                                                       
                                                    </tr>
                                                <?php } ?>
                                            <?php }else{ ?>
                                                <?php echo $_smarty_tpl->tpl_vars['language']->value['lblNoMerchantAssigned'];?>

                                            <?php }?>
                                        </table>
                                    </td>
                                </tr>
                        </table>
                    </div>
               </li>
               <li>
                    <h3><span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMedia'];?>
</span></h3>
               </li>                         
          <?php if ((($tmp = @$_smarty_tpl->tpl_vars['productReqID']->value)===null||$tmp==='' ? '' : $tmp)){?>                  
          <?php $_smarty_tpl->tpl_vars["productImageLoc"] = new Smarty_variable("product-request", null, 0);?>                  
          <?php }else{ ?>                  
          <?php $_smarty_tpl->tpl_vars["productImageLoc"] = new Smarty_variable("product", null, 0);?>                  
          <?php }?>
           <li class="clearfix full_width_list">
           <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAdditionalImages'];?>
</div>
            <div class="rightside01-new">
            <ul class="img-list clearfix"  rel="<?php echo $_smarty_tpl->tpl_vars['productOptionCount']->value;?>
">
                    <?php $_smarty_tpl->tpl_vars["productImageCount"] = new Smarty_variable("0", null, 0);?> 
                    <?php if ($_smarty_tpl->tpl_vars['productOptions']->value['media']){?>              
                    <?php  $_smarty_tpl->tpl_vars["productImages"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["productImages"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['productOptions']->value['media']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["productImages"]->key => $_smarty_tpl->tpl_vars["productImages"]->value){
$_smarty_tpl->tpl_vars["productImages"]->_loop = true;
?>              
                    <?php $_smarty_tpl->tpl_vars["productImageCount"] = new Smarty_variable($_smarty_tpl->tpl_vars['productImageCount']->value+1, null, 0);?>
                    <li> <img width="150px" height="150px" src="<?php echo $_smarty_tpl->tpl_vars['view_public_path']->value;?>
/uploads/catalog/product/large/<?php echo $_smarty_tpl->tpl_vars['productImages']->value['productMedia'];?>
?random=<?php echo $_smarty_tpl->tpl_vars['rand']->value;?>
"/> </li>
                    <?php } ?><?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblNotSpecified'];?>
<?php }?>
                  </ul>
            </div>
          </li>
              </ul>
              <?php } ?>
              <?php }?>
              <?php }else{ ?>
      <div class="message_info"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblNoAdditionalOptions'];?>
 </div>
      <?php }?> 
      
      
              </div>
             </div>
            </div>
        <div class="tabpane"  style="display:none;">
        <div class="tabpane_inner" >
         <div class="form_listing">
          <ul>
            <li class="clearfix">
              <h3><span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductInfo'];?>
</span></h3>
            </li>
            <?php if (htmlspecialchars_decode($_smarty_tpl->tpl_vars['resSelectproduct']->value['productShortDescription'], ENT_QUOTES)!=''){?>
            <li class="clearfix full_width_list">
              <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblShortDescription'];?>
</div>
              <div class="rightside01-new border-bottom default-style"> <?php echo htmlspecialchars_decode($_smarty_tpl->tpl_vars['resSelectproduct']->value['productShortDescription'], ENT_QUOTES);?>
 </div>
            </li> 
            <?php }?>
            <li class="clearfix full_width_list">
              <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDescription'];?>
</div>
              <div class="rightside01-new border-bottom default-style"> <?php echo htmlspecialchars_decode($_smarty_tpl->tpl_vars['resSelectproduct']->value['productDescription'], ENT_QUOTES);?>
 </div>
            </li>          

			<li class="clearfix full_width_list">
              <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSearchTags'];?>
</div>
              <div class="rightside01-new border-bottom default-style"><?php if ($_smarty_tpl->tpl_vars['resSelectproduct']->value['searchTags']){?><?php echo $_smarty_tpl->tpl_vars['resSelectproduct']->value['searchTags'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblNotSpecified'];?>
<?php }?></div>
            </li>  
          <li class="clearfix full_width_list">
            <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMetaTitle'];?>
</div>
            <div class="rightside01-new border-bottom default-style"><?php if ($_smarty_tpl->tpl_vars['resSelectproduct']->value['productMetaTitle']){?> 
              <?php echo $_smarty_tpl->tpl_vars['resSelectproduct']->value['productMetaTitle'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblNotSpecified'];?>
<?php }?> </div>
          </li>
          <li class="clearfix full_width_list">
            <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMetaDescription'];?>
</div>
            <div class="rightside01-new border-bottom default-style"> <?php if ($_smarty_tpl->tpl_vars['resSelectproduct']->value['productMetaDescription']){?> <?php echo $_smarty_tpl->tpl_vars['resSelectproduct']->value['productMetaDescription'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblNotSpecified'];?>
<?php }?> </div>
          </li>
          <li class="clearfix full_width_list">
            <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMetakeywords'];?>
</div>
            <div class="rightside01-new border-bottom default-style"> <?php if ($_smarty_tpl->tpl_vars['resSelectproduct']->value['productMetaKeywords']){?> <?php echo $_smarty_tpl->tpl_vars['resSelectproduct']->value['productMetaKeywords'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblNotSpecified'];?>
<?php }?> </div>
          </li>
		
          </ul>
        </div>
      </div>
     </div>


  <div class="tabpane"  style="display:none;">
   <div class="tabpane_inner">
    <h3><span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCustomOptions'];?>
</span></h3><?php if (count($_smarty_tpl->tpl_vars['resUserLevelAttributes']->value)>0){?>  
    <div class="grid_table01 custom-option-grid">
    <table width="100%" cellspacing="0" cellpadding="0" border="0" id="userLevelCustomAttr" class="customAttributePriority">
    <tbody>              
    <tr class="nodrag nodrop">
    <th align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblName'];?>
</th>   
    <th align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblInputType'];?>
</th>
     <th align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAttributeSubText'];?>
</th>
      <th align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblValidate'];?>
</th>
       
    </tr>
    <?php  $_smarty_tpl->tpl_vars["resAttributesUser"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["resAttributesUser"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['resUserLevelAttributes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["resAttributesUser"]->key => $_smarty_tpl->tpl_vars["resAttributesUser"]->value){
$_smarty_tpl->tpl_vars["resAttributesUser"]->_loop = true;
?>
   
    <?php $_smarty_tpl->tpl_vars["customOptionID"] = new Smarty_variable($_smarty_tpl->tpl_vars['resAttributesUser']->value['customOptionID'], null, 0);?>
    <?php if (isset($_smarty_tpl->tpl_vars['productRequestID']->value)&&$_smarty_tpl->tpl_vars['productRequestID']->value>0){?>
    <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['productRequestID']->value;?>
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["editAttributeURL"] = new Smarty_variable((((('attribute/edit/productRequestID/').($_tmp2)).('/custid/')).($_smarty_tpl->tpl_vars['customOptionID']->value)).('/'), null, 0);?>
    <?php }elseif($_smarty_tpl->tpl_vars['productID']->value){?>        
    <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['productID']->value;?>
<?php $_tmp3=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["editAttributeURL"] = new Smarty_variable((((('productoption/show/productID/').($_tmp3)).('/id/')).($_smarty_tpl->tpl_vars['customOptionID']->value)).('/'), null, 0);?>
    <?php }?>    
    <tr id="<?php echo $_smarty_tpl->tpl_vars['customOptionID']->value;?>
">
    <td align="left" valign="top"><div class="pos-relative expand-outer"><?php echo $_smarty_tpl->tpl_vars['resAttributesUser']->value['customOptionName'];?>
<?php if ($_smarty_tpl->tpl_vars['resAttributesUser']->value['isGlobal']==1){?>(Global)<?php }?>
     <?php if ($_smarty_tpl->tpl_vars['resAttributesUser']->value['inputType']=='select'||$_smarty_tpl->tpl_vars['resAttributesUser']->value['inputType']=='multiselect'){?><span class="expandable expand-span" >              
                                <img class="expand" src="<?php echo $_smarty_tpl->tpl_vars['view_images']->value;?>
/plus.gif" width="14" height="9">
                                <img class="collapse" src="<?php echo $_smarty_tpl->tpl_vars['view_images']->value;?>
/minus.gif" width="14" height="9" >
              </span><?php }?></div></td>        
    <td align="left" valign="top"><?php echo $_smarty_tpl->tpl_vars['resAtrributeInputTypes']->value[$_smarty_tpl->tpl_vars['resAttributesUser']->value['inputType']];?>
</td>
     <td align="left" valign="top"><?php if ($_smarty_tpl->tpl_vars['resAttributesUser']->value['helpText']){?> <?php echo $_smarty_tpl->tpl_vars['resAttributesUser']->value['helpText'];?>
 <?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblNotSpecified'];?>
<?php }?></td>
      <td align="left" valign="top"> <?php if (strstr($_smarty_tpl->tpl_vars['resAttributesUser']->value['validateRule'],"required")){?>
                   <?php echo $_smarty_tpl->tpl_vars['language']->value['lblYes'];?>
(<?php echo $_smarty_tpl->tpl_vars['resAttributesUser']->value['validationMessage'];?>
)
                    <?php }else{ ?>
                   <?php echo $_smarty_tpl->tpl_vars['language']->value['lblNo'];?>
 
                  <?php }?></td>
    
    </tr>
     <?php if (isset($_smarty_tpl->tpl_vars['resAttributesUser']->value['variant'])){?>
    <tr class="detailview">
      <td colspan="5" class="expand-div">
    <div class="grid_table01"> 
    <table width="100%" cellpadding="0" cellspacing="0">
     <tr>
      <th align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblValue'];?>
</th>
      <th align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCode'];?>
</th>
      
      <?php if ($_smarty_tpl->tpl_vars['resAttributesUser']->value['inputType']=='select'){?>
      <th align="left" class="variant_image" valign="middle" width="20%"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblImage'];?>
</th>
      <?php }?>
      <th align="left" valign="middle" width="10%"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblIsDefault'];?>
</th>
    </tr>    
    <?php  $_smarty_tpl->tpl_vars["attributeOptions"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["attributeOptions"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['resAttributesUser']->value['variant']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["attributeOptions"]->key => $_smarty_tpl->tpl_vars["attributeOptions"]->value){
$_smarty_tpl->tpl_vars["attributeOptions"]->_loop = true;
?>  	
    <tr>
    <td align="left" valign="top">
<?php echo html_entity_decode($_smarty_tpl->tpl_vars['attributeOptions']->value['value']);?>

   </td>
   <td align="left" valign="top">
<?php echo html_entity_decode($_smarty_tpl->tpl_vars['attributeOptions']->value['variantCode']);?>

   </td>
  
   <?php if ($_smarty_tpl->tpl_vars['attributeOptions']->value['inputType']=='select'){?>
    <td align="center" valign="top">       
        <?php if ($_smarty_tpl->tpl_vars['attributeOptions']->value['variantThumbImage']!=''){?><div>		  
	 <img src="<?php echo $_smarty_tpl->tpl_vars['view_public_path']->value;?>
/uploads/catalog/custom-option-variant/<?php echo $_smarty_tpl->tpl_vars['attributeOptions']->value['variantThumbImage'];?>
" width="77"/>              
        </div> <?php }?>
     
    </td><?php }?>
    <td align="center" valign="top"> 
    <?php if ($_smarty_tpl->tpl_vars['attributeOptions']->value['isDefault']==1){?>
     <?php echo $_smarty_tpl->tpl_vars['language']->value['lblYes'];?>

    <?php }else{ ?>
   <?php echo $_smarty_tpl->tpl_vars['language']->value['lblNo'];?>

    <?php }?>
  </td>     
    </tr>
    <?php } ?>
    </table>
    <div>
    </td></tr>
    
    <?php }?>   
    <?php } ?>
    </tbody>
    </table>
    </div>	            
<?php }else{ ?>
<div class="message_info"> <?php echo $_smarty_tpl->tpl_vars['language']->value['msgNoRecords'];?>
</div>
<?php }?></div>
</div>



    <!-- Discussions-->
    <div class="tabpane"  style="display:none;"> 
     <div class="tabpane_inner">
      <h3>
       <span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDiscussion'];?>
</span>
      </h3>
    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"productTab",'value'=>$_smarty_tpl->tpl_vars['productTab']->value),$_smarty_tpl);?>
            
      <?php if (!count($_smarty_tpl->tpl_vars['resProductReviewDetails']->value)==0){?>
      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formProductDiscussion",'action'=>'','method'=>"post"),$_smarty_tpl);?>

      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"hidProductReviewID",'value'=>0),$_smarty_tpl);?>
      
      <div class="review-listing">
	  <?php  $_smarty_tpl->tpl_vars["product_review_details_list"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["product_review_details_list"]->_loop = false;
 $_smarty_tpl->tpl_vars["key1"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['resProductReviewDetails']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["product_review_details_list"]->key => $_smarty_tpl->tpl_vars["product_review_details_list"]->value){
$_smarty_tpl->tpl_vars["product_review_details_list"]->_loop = true;
 $_smarty_tpl->tpl_vars["key1"]->value = $_smarty_tpl->tpl_vars["product_review_details_list"]->key;
?>
        <?php $_smarty_tpl->tpl_vars['currProductReviewID'] = new Smarty_variable($_smarty_tpl->tpl_vars['product_review_details_list']->value['ProductReviewID'], null, 0);?>
        <div class="clearfix listing ">
          <div class="rv-left fixing_left">
            <ul id="unit_ul1" class="unit-rating ">
              <li id="current-rating" class="current-rating" style="width:<?php echo 16*$_smarty_tpl->tpl_vars['product_review_details_list']->value['productRating'];?>
px;"><?php echo $_smarty_tpl->tpl_vars['product_review_details_list']->value['productRating'];?>
/5</li>
            </ul>
            <span class="name"><?php echo $_smarty_tpl->tpl_vars['product_review_details_list']->value['userFirstName'];?>
 <?php echo $_smarty_tpl->tpl_vars['product_review_details_list']->value['userLastName'];?>
</span> <br />
            <span class="date"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['product_review_details_list']->value['reviwedDate'],($_smarty_tpl->tpl_vars['date_format']->value));?>
 <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['product_review_details_list']->value['reviwedDate'],($_smarty_tpl->tpl_vars['time_format']->value));?>
 </span> </div>
          <div class="rv-right fixing_right">
            <div class="fixing_right ">
            <span class="fade-color">IP : <?php echo $_smarty_tpl->tpl_vars['product_review_details_list']->value['userIP'];?>
</span>
            	<?php if ($_smarty_tpl->tpl_vars['product_review_details_list']->value['reviewStatus']=='Inactive'){?>
                	<span class="highlight"> <?php echo $_smarty_tpl->tpl_vars['product_review_details_list']->value['reviewStatus'];?>
 </span>
                <?php }?> 
               <?php if ($_smarty_tpl->tpl_vars['product_review_details_list']->value['reviewStatus']=='New'){?>
			   <?php if ($_smarty_tpl->tpl_vars['reviewprivilage']->value){?>
                <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','reviewID'=>($_smarty_tpl->tpl_vars['currProductReviewID']->value),'class'=>"approve",'caption'=>"<strong>".($_smarty_tpl->tpl_vars['language']->value['lblApprove'])."</strong>",'task'=>"approve"),$_smarty_tpl);?>

                <?php }?>	
                <?php }?>
                 <?php if (count($_smarty_tpl->tpl_vars['view_common_languages']->value)>1){?> 
                	<?php if ($_smarty_tpl->tpl_vars['product_review_details_list']->value['languageID']){?>
                		 <img class="flag " id="flag"  src="<?php echo $_smarty_tpl->tpl_vars['view_root_path']->value;?>
/public/uploads/languages/<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product_review_details_list']->value['languageImage'], ENT_QUOTES, 'UTF-8', true);?>
" alt="flag" /> 	
                     <?php }?>
                 <?php }?>
                 </div>
          <?php if ($_smarty_tpl->tpl_vars['product_review_details_list']->value['helpfulVoteCount']>0||$_smarty_tpl->tpl_vars['product_review_details_list']->value['notHelpfulVoteCount']>0){?> 
            <?php echo $_smarty_tpl->tpl_vars['product_review_details_list']->value['helpfulVoteCount'];?>
 <?php echo $_smarty_tpl->tpl_vars['language']->value['lblOf'];?>
 <?php echo $_smarty_tpl->tpl_vars['product_review_details_list']->value['notHelpfulVoteCount']+$_smarty_tpl->tpl_vars['product_review_details_list']->value['helpfulVoteCount'];?>
 <?php echo $_smarty_tpl->tpl_vars['language']->value['lblReviewHelpfulText'];?>
 
            <?php }?>
            <?php $_smarty_tpl->tpl_vars["reviewtext"] = new Smarty_variable(htmlspecialchars_decode($_smarty_tpl->tpl_vars['product_review_details_list']->value['reviewText'], ENT_QUOTES), null, 0);?>
			<?php $_smarty_tpl->tpl_vars["reviewtextCharCount"] = new Smarty_variable(mb_strlen($_smarty_tpl->tpl_vars['reviewtext']->value, 'UTF-8'), null, 0);?>
            <?php $_smarty_tpl->tpl_vars["reviewtextCharLimit"] = new Smarty_variable(100, null, 0);?>
            <div class="position"> 
			  <?php if ($_smarty_tpl->tpl_vars['reviewprivilage']->value){?>
			<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"product/reviewedit/id/".($_smarty_tpl->tpl_vars['currProductReviewID']->value),'title'=>($_smarty_tpl->tpl_vars['language']->value['lblEditUserReview']),'class'=>"editpop  icon-set edit03 "),$_smarty_tpl);?>

             <?php }?>
			<?php if ($_smarty_tpl->tpl_vars['revdeleteprivilage']->value){?>	
              <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('rel'=>"/product/reviewdelete/id/".($_smarty_tpl->tpl_vars['currProductReviewID']->value)."/productid/".($_smarty_tpl->tpl_vars['productID']->value)."/",'title'=>($_smarty_tpl->tpl_vars['language']->value['lblDelete']),'class'=>" icon-set delete05",'task'=>"review_delete"),$_smarty_tpl);?>
<?php }?>
              <?php if ($_smarty_tpl->tpl_vars['reviewtextCharCount']->value>$_smarty_tpl->tpl_vars['reviewtextCharLimit']->value){?> 
              	<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('class'=>"reviewReadMore  add01 icon-set",'title'=>($_smarty_tpl->tpl_vars['language']->value['lblViewMore']),'rel'=>($_smarty_tpl->tpl_vars['currProductReviewID']->value)),$_smarty_tpl);?>

              <?php }else{ ?>
              <span style="display:inline-block;width:15px;">&nbsp;</span>
              <?php }?> </div>
            <div class="rv-title"><?php echo $_smarty_tpl->tpl_vars['product_review_details_list']->value['reviewTitle'];?>
</div>
            <div class="cmt ">
            
            <?php if ($_smarty_tpl->tpl_vars['reviewtextCharCount']->value>$_smarty_tpl->tpl_vars['reviewtextCharLimit']->value){?>
            <span class="reviewReadLessDet" id="reviewReadLessDet_<?php echo $_smarty_tpl->tpl_vars['currProductReviewID']->value;?>
"><?php echo mb_substr($_smarty_tpl->tpl_vars['reviewtext']->value,0,$_smarty_tpl->tpl_vars['reviewtextCharLimit']->value);?>
...</span>
            
            <span class="reviewReadMoreDet" id="reviewReadMoreDet_<?php echo $_smarty_tpl->tpl_vars['currProductReviewID']->value;?>
"  style="display:none;">
            <?php echo nl2br($_smarty_tpl->tpl_vars['reviewtext']->value);?>

            </span>
           
            <?php }else{ ?>
            <?php echo nl2br($_smarty_tpl->tpl_vars['reviewtext']->value);?>
										
            <?php }?>
            
             </div>
          </div><?php if ($_smarty_tpl->tpl_vars['reviewprivilage']->value||$_smarty_tpl->tpl_vars['revdeleteprivilage']->value){?>
        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('class'=>"productReviewBulkStatus checkbox-review",'name'=>"productReviewBulkStatus[]",'options'=>'','value'=>$_smarty_tpl->tpl_vars['currProductReviewID']->value),$_smarty_tpl);?>
<?php }?>
</div>        
        <?php } ?> </div>
      <div class="clearfix">
        <div class="fixing_right pagination_outer"> <?php echo $_smarty_tpl->smarty->registered_objects['paginate'][0]->layout(array('key'=>"page",'label_record'=>($_smarty_tpl->tpl_vars['language']->value['lblRecorsFound']),'label_pages'=>($_smarty_tpl->tpl_vars['language']->value['lblPages'])),$_smarty_tpl);?>

          <div class="clear"></div>
        </div>
		<?php if ($_smarty_tpl->tpl_vars['reviewprivilage']->value||$_smarty_tpl->tpl_vars['revdeleteprivilage']->value){?>
			 <?php $_smarty_tpl->tpl_vars["bulkStatusOptions"] = new Smarty_variable("->".($_smarty_tpl->tpl_vars['language']->value['lblDonotchange']), null, 0);?>
			<?php if ($_smarty_tpl->tpl_vars['reviewprivilage']->value){?>
				<?php $_smarty_tpl->tpl_vars["bulkStatusOptions"] = new Smarty_variable(($_smarty_tpl->tpl_vars['bulkStatusOptions']->value)."~*Active->".($_smarty_tpl->tpl_vars['language']->value['lblActivate'])."~*Inactive->".($_smarty_tpl->tpl_vars['language']->value['lblInactivate']), null, 0);?>
			<?php }?>
			<?php if ($_smarty_tpl->tpl_vars['revdeleteprivilage']->value){?>		
				<?php $_smarty_tpl->tpl_vars["bulkStatusOptions"] = new Smarty_variable(($_smarty_tpl->tpl_vars['bulkStatusOptions']->value)."~*Deleted->".($_smarty_tpl->tpl_vars['language']->value['lblDelete']), null, 0);?>
			<?php }?>
			<div > <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('class'=>"select-box width-auto",'name'=>"reviewStatus",'options'=>$_smarty_tpl->tpl_vars['bulkStatusOptions']->value),$_smarty_tpl);?>
 
			  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitBulkStatus",'id'=>"submitBulkStatus",'class'=>"update_btn_table button04",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblUpdate'])),$_smarty_tpl);?>
              
			  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>

			  <div class="clear"></div>
			</div>
		<?php }?>
      </div>
      <?php }else{ ?>
      <div class="message_info"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblNoProductDiscussions'];?>
</div>
      <?php }?> </div>
      </div>
    <!--End:Discussion--> 

    </div>
    </div>
 </div>
    <!--End:Border 3--> 
    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"statusChanged"),$_smarty_tpl);?>
 
    <!--End:Border 2--> 
  </div>
  <!--End: left Block-->
  <div class="clear"></div>
</div>
<!--End:Content Container--> 
<?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

</div>
<!--End:Outer Container--> 
<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScriptBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/tab-double.js"></script>  
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/table.plugin.js"></script> 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/productDetails.page.js"></script> 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/jquery.colorbox.js"></script> 
<script type="text/javascript" >
$(document).ready(function () {
		$(document).on('click','.reviewReadMore', function () {
			var thisRel = $(this).attr("rel");			
			if($(this).hasClass("minus01"))
			{
				$(this).removeClass("minus01");
				$("#reviewReadMoreDet_"+thisRel).hide();
				$("#reviewReadLessDet_"+thisRel).show();
			}
			else
			{
				$(this).addClass("minus01");
				$("#reviewReadLessDet_"+thisRel).hide();
				$("#reviewReadMoreDet_"+thisRel).show();
				
			}
		});
	});
var msgSelectItem	=	"<?php echo $_smarty_tpl->tpl_vars['language']->value['msgSelectItem'];?>
";
var msgSelectAStatus	=	"<?php echo $_smarty_tpl->tpl_vars['language']->value['msgSelectAStatus'];?>
";

$(document).ready(function(){       
        $(document).on('click',".expandable",function(){
		$(".detailview").hide();
		$("td").removeClass("selectedtd");
		$(".expand-span").removeClass("collapsable").addClass("expandable");
		$(this).closest("tr").next(".detailview").show();
		$(this).removeClass("expandable").addClass("collapsable");
		$(this).parent("td").addClass("selectedtd")
	});
	
	$(document).on('click',".collapsable", function(){
		$(this).closest("tr").next(".detailview").hide();
		$(this).removeClass("collapsable").addClass("expandable");
		$(this).parent("td").removeClass("selectedtd")
	});
        
        
});

$('.remove-spacing li:last-child').css('border-bottom', 'none');
</script> 
<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('id'=>"common_message"),$_smarty_tpl);?>
 
<script type="text/javascript" >
var lblSelectAction ='<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectAction'];?>
';
var lblSelectItem 	='<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectItem'];?>
';
var lblSelectDelete ='<?php echo $_smarty_tpl->tpl_vars['language']->value['lblDeleteReview'];?>
';
var lblConfirmDeleteGeneral	='<?php echo $_smarty_tpl->tpl_vars['language']->value['msgConfirmDelete'];?>
';
</script>
<script type="text/javascript" >

$(document).ready(function(){
	$(".editpop").colorbox({iframe:true, innerWidth:"60%", innerHeight:300});
});


</script>
</body>
</html>
<?php }} ?>