uawdijnntqw1x1x1
IP : 216.73.216.231
Hostname : 213-108-241-110.cprapid.com
Kernel : Linux 213-108-241-110.cprapid.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
digilove
/
public_html
/
f7525
/
..
/
modules
/
mod_virtuemart_cart
/
..
/
mod_shop
/
tmpl
/
default.php
/
/
<?php /** * Marketplace Menus module * * PHP version 7.0 * * @category Module * @package Joomla * @author WebKul software private limited <support@webkul.com> * @copyright 2010 WebKul software private limited * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL * @version GIT:5.2 * @filesource http://store.webkul.com * @link Technical Support: webkul.uvdesk.com */ // no direct access defined('_JEXEC') or die(); $jinput=JFactory::getApplication()->input; $method=$jinput->getMethod(); $seller_id=0; $seller_id=$jinput->get('seller_id', 0, 'INT'); if (!class_exists('VmConfig')) { include JPATH_ADMINISTRATOR.'/components/com_virtuemart/helpers/config.php'; } VmConfig::loadConfig(); $menuitem=plgSystemMarketplace::getMenuId( 'index.php?option=com_marketplace&view=productlist' ); ?> <style type="text/css"> .wk_about_<?php echo $class_sfx; ?>{ border-color: <?php echo $bod_col; ?>; border-style: <?php echo $mod_b_sty; ?>; border-width: <?php echo $bod_width; ?>px; padding-left:10px; margin: 5px 0; } .wk_about_<?php echo $class_sfx; ?> .table { border-bottom:0px !important; } .wk_about_<?php echo $class_sfx; ?> .table th, .table td { border: 1px !important; } .wk_about_<?php echo $class_sfx; ?> .fixed-table-container { border:0px !important; } .wk_about_shop *{ font-size: 15px!important; } .wk_tab_left,.wk_tab_right{ width:50%; float: left; } .shop_ratings .yellow { width:100%; } </style> <div class="wk_about_shop wk_about_<?php echo $class_sfx; ?>"> <h5><?php echo JText::_('ABOU_SHOP');?></h5> <div style="border-top:1px solid;width:100%"></div> <?php if (!$seller_id) { $user = JFactory::getUser(); $seller_id=$user->id; } $vmCountryModel=VmModel::getModel('country'); require_once JPATH_SITE."/components/com_marketplace/models/profilesave.php"; $model = new MarketplaceModelProfilesave(); $data=$model->getItem($seller_id, "countrylogo"); $is_seller=$model->getItem($seller_id, "is_seller"); if ($is_seller==1) { $db = JFactory::getDBO(); $lang_tag=VmConfig::$vmlang; $document = JFactory::getDocument(); $document->addStyleSheet( '//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css' ); $document->addStyleSheet( JURI::root().'components/com_marketplace/css/msdropdown/dd.css' ); $document->addStyleSheet( JURI::root().'components/com_marketplace/css/msdropdown/flags.css' ); $document->addScript( JURI::root().'components/com_marketplace/js/msdropdown/jquery.dd.min.js' ); $reg_date=JFactory::getUser($seller_id)->registerDate; $helper_ins = new ModShopHelper(); $seller_info = $helper_ins->getSellerInfo($seller_id); $user = JFactory::getUser(); $c_pro =$helper_ins->sellerProducts($seller_id, $lang_tag); $cntry_name=$vmCountryModel->getCountryByCode($seller_info->countrylogo); if (is_object($cntry_name)) { $cntry_name=$cntry_name->country_name; } else { $cntry_name=''; } $wk_sale = $helper_ins->getSellerOrders($seller_id); $wk_total_sale=count($wk_sale); $feedback_rec = $helper_ins->getSellerFeedback($seller_id); $feed_price = $feed_value = $feed_quality = 0; foreach ($feedback_rec as $key => $value) { $feed_price += $value->feed_price; $feed_value += $value->feed_value; $feed_quality += $value->feed_quality; } $total_feedback = count($feedback_rec); if ($total_feedback) { $feed_price = $feed_price / $total_feedback; $feed_value = $feed_value / $total_feedback; $feed_quality = $feed_quality / $total_feedback; $feed = (int)(($feed_price+$feed_value+$feed_quality)/3); } else { $feed=0; } $ratings = '<span class="yellow">'; $xv= 5-$feed; for ($i=0; $i < $feed; $i++) { $ratings .= '<i class="pad_none fa fa-star"></i>'; } if ($xv>0) { for ($i=0; $i <$xv ; $i++) { $ratings .= '<i class="pad_none fa fa-star-o"></i>'; } } $ratings .= '</span>'; $date=JFactory::getDate($reg_date); $reg_date=$date->format('d-M-Y'); ?> <div class="wk_shop_content"> <table class="table borderless"> <thead></thead> <tbody> <tr> <td><?php echo JText::_('WK_SINCE');?></td> <td><?php echo $reg_date." "?></td> </tr> <tr> <td><?php echo JText::_('FROM_SHOP'); ?></td> <td><?php if (!strlen($data)) { echo '<i class="fa fa-flag" ari' .'a-hidden="true"></i> (N/A)'; } else { ?> <img src="<?php echo JURI::root();?>components/com_marketplace/images/msdropdown/icons/blank.gif" class="flag <?php echo $data;?> fnone"><?php echo " (".$cntry_name.")"; } ?> </td> </tr> <tr> <td><?php echo JText::_('PRODUCTS');?></td> <td><?php echo count($c_pro)." "?></td> </tr> <tr> <td><?php echo JText::_('ORDERS');?></td> <td><?php echo $wk_total_sale." "?></td> </tr> <tr> <td><?php echo JText::_('FEEDBACK');?></td> <td><?php echo round($total_feedback, 2)." "?></td> </tr> <tr> <td><?php echo JText::_('RATING');?></td> <td><div class="shop_ratings"><?php echo $ratings ?></div></td> </tr> </tbody> <tfoot> <tr> <td colspan="2"><a style="text-align: center" class="btn btn-primary wk_sel_button" href="<?php echo JRoute::_('index.php?option=com_marketplace&view=productlist&Itemid='.$menuitem.'&seller_id='.$seller_id, false);?>"><?php echo JText::_('VIEW_FULL_COLLECTION');?></a></td> </tr> </tfoot> </table> </div> <?php } else { echo JText::_('NO_SELL'); } ?> </div>
/home/digilove/public_html/f7525/../modules/mod_virtuemart_cart/../mod_shop/tmpl/default.php