<?php
/**
 * Marketplace - Component Marketplace 
 * ******************************************************************
 *
 * PHP version 7.0
 *
 * @category   Component
 * @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('Restricted access');
JHTML::_('behavior.tooltip');
JHtml::_('bootstrap.tooltip');
JHtml::_('behavior.multiselect');
JHtml::_('dropdown.init');
JHtml::_('formbehavior.chosen', 'select');
$doc=JFactory::getDocument();
$doc->addStyleSheet(
    JURI::root().
    'administrator/components/com_marketplace/assets/newdesign/admin-dashboard.css'
);
$style='
.icon-dashboards {
    background-image: url("components/com_marketplace/assets/images/sprite-icon.png");
    background-repeat: no-repeat;
    background-position: -39px -13px !important;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-right: 0px!important;
}
';
$doc->addStyleDeclaration($style);

?>
<style type="text/css">.icon-dashboard {
    background-image: url("<?php
    echo JURI::root().
    'administrator/components/com_marketplace/assets/images/dashboard.png'
    ?>");
}

.prod {
    background-image: url("<?php
    echo JURI::root().
    'administrator/components/com_marketplace/assets/images/vm-marketplace-dashboard-sprite.png'
    ?>");
}

.info {
    background-image: url("<?php
    echo JURI::root().
    'administrator/components/com_marketplace/assets/images/info.png'
    ?>");
}

.mp {
    background-image: url("<?php
    echo JURI::root().
    'administrator/components/com_marketplace/assets/images/vm-marketplace-logo.png'
    ?>");
}
</style>
    <div id="j-sidebar-container" class="span2">
        <?php echo $this->sidebar; ?>
    </div>
    <div id="j-main-container" class="span10">

        <div id="j-main-container">
            <div class="row span12 border pad">
                <div class="span9">
                    <a class="link" href="<?php echo JRoute::_('index.php?option=com_marketplace&view=marketplace'); ?>" title="Seller View">
                    <img class="icons-dash1" src="<?php echo JURI::root().'administrator/components/com_marketplace/assets/images/sellers.png'?>">
                        
                    </a>
                    <a class="link" href="<?php echo JRoute::_('index.php?option=com_marketplace&view=mpusers'); ?>" title="Users View">
                    <img class="icons-dash1" src="<?php echo JURI::root().'administrator/components/com_marketplace/assets/images/new-icon-image/users1.png'?>">
                        
                    </a>
                    <a class="link" href="<?php echo JRoute::_('index.php?option=com_marketplace&view=commisions'); ?>" title="Commision View">
                    <img class="icons-dash1" src="<?php echo JURI::root().'administrator/components/com_marketplace/assets/images/commisson.png'?>">
                        
                    </a>
                    <a class="link" href="<?php echo JRoute::_('index.php?option=com_marketplace&view=mporders'); ?>" title="Orders View">
                    <img class="icons-dash1" src="<?php echo JURI::root().'administrator/components/com_marketplace/assets/images/new-icon-image/orders1.png'?>">
                        
                    </a>
                    <a class="link" href="<?php echo JRoute::_('index.php?option=com_marketplace&view=products'); ?>" title="Seller Product View">
                    <img class="icons-dash1" src="<?php echo JURI::root().'administrator/components/com_marketplace/assets/images/products.png'?>">
                        
                    </a>
                     <a class="link" href="<?php echo JRoute::_('index.php?option=com_marketplace&view=adminproducts'); ?>" title="Admin Products View">
                    <img class="icons-dash1" src="<?php echo JURI::root().'administrator/components/com_marketplace/assets/images/admin-products.png'?>">
                        
                    </a>
                    <a class="link" href="<?php echo JRoute::_('index.php?option=com_marketplace&view=feedback'); ?>" title="Reviews">
                    <img class="icons-dash1" src="<?php echo JURI::root().'administrator/components/com_marketplace/assets/images/review.png'?>">
                        
                    </a>
                    <a class="link" href="<?php echo JRoute::_('index.php?option=com_marketplace&view=suggestedcategory'); ?>" title="Suggested Category View">
                    <img class="icons-dash1" src="<?php echo JURI::root().'administrator/components/com_marketplace/assets/images/new-icon-image/icon-suggested-category.png'?>">
                        
                    </a>
                    <a class="link" href="<?php echo JRoute::_('index.php?option=com_marketplace&view=messages'); ?>" title="Seller Messages">
                    <img class="icons-dash1" src="<?php echo JURI::root().'administrator/components/com_marketplace/assets/images/sellermsg.png'?>">
                        
                    </a>
                    <a class="link" href="<?php echo JRoute::_('index.php?option=com_marketplace&view=mpaddons'); ?>" title="Marketplace Addons">
                    <img class="icons-dash1" src="<?php echo JURI::root().'administrator/components/com_marketplace/assets/images/new-icon-image/marketplace-addons1.png'?>">
                        
                    </a>
                    <a class="link" href="https://webkul.uvdesk.com/en/customer/create-ticket/" title="Support View" target="blank">
                    <img class="icons-dash1" src="<?php echo JURI::root().'administrator/components/com_marketplace/assets/images/new-icon-image/support1.png'?>">
                        
                    </a>
                </div>
                <?php
                $mpManifest=JFactory::getXml(
                    JPATH_ADMINISTRATOR."/components/com_marketplace/marketplace.xml"
                );
                if (!$mpManifest) {
                    $version = 5.2;
                } else {
                    $version = (String)$mpManifest->version;
                }
                ?>
                <div class="info-dash">
                    <div class="icon-pic1">
                        <div class="image-top1 bor">
                            <div class="mp">
                            </div>
                            <div class="bot-text1">
                                Joomla Virtuemart Multi Vendor Marketplace
                            </div>
                            <hr class="hr1">
                            <div class="version-info">
                                <p class="ver">توسعه دهنده:
                                    <a
                                    class="link"
                                    href="http://store.webkul.com"
                                    target="blank" title="Click to go Webkul Store">
                                        <span class="wk-web">Webkul Software</span>
                                    </a>
                                </p>
								<p class="ver">فارسی سازی:
                                    <a
                                    class="link"
                                    href="http://www.joomtools.ir"
                                    target="blank" title="جوم تولز، فروشگاه ابزار جوملا">
                                        <span class="wk-web">جوم تولز</span>
                                    </a>
                                </p>
                                <p class="ver">نسخه فعلی: <?php echo $version ?></p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
