Your IP : 216.73.216.231


Current Path : /home/digilove/public_html/templates/sj_revo/includes/
Upload File :
Current File : /home/digilove/public_html/templates/sj_revo/includes/cpanel.php

<?php
/*
 * ------------------------------------------------------------------------
 * Copyright (C) 2009 - 2014 The YouTech JSC. All Rights Reserved.
 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
 * Author: The YouTech JSC
 * Websites: http://www.smartaddons.com - http://www.cmsportal.net
 * ------------------------------------------------------------------------
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<div id="cpanel_wrapper" style="direction:rtl" class="hidden-xs">
    <div class="accordion" id="ytcpanel_accordion">
        <div class="cpanel-head">
            تنظیمات قالب
            <div class="cpanel-reset">
                <a class="btn btn-info" href="#" onclick="javascript: onCPResetDefault(TMPL_COOKIE);" ><i class="fa fa-refresh fa-spin"></i> بازگردانی</a>
            </div>
        </div>

        <!--Body-->
        <div class="cpanel-theme">
            <!-- Style Color -->
            <div class="panel-group">
                <h4 class="panel-heading">رنگ های قالب</h4>

                <div class="panel-theme-color">
                    <span data-placement="left" title="آبی"     class="theme-color blue<?php echo ($templateColor=='blue')?' active':'';?>">Blue</span>
                    <span data-placement="top" title="زرد"      class="theme-color yellow<?php echo ($templateColor=='yellow')?' active':'';?>">Yellow</span>
                    <span data-placement="top" title="نارنجی"  class="theme-color orange<?php echo ($templateColor=='orange')?' active':'';?>">Orange</span>
                    <span data-placement="top" title="قرمز"   class="theme-color red<?php echo ($templateColor=='red')?' active':'';?>">Red</span>
                    <span data-placement="top" title="سبز"   class="theme-color green<?php echo ($templateColor=='green')?' active':'';?>">Green</span>
                </div>
            </div>

            <!-- Layouts -->
            <div class="panel-group visible-lg">
                <h4 class="panel-heading">طرح بندی</h4>
                <!-- Layout Style -->
                <div class="panel-layout typeLayout">
                    <span data-value="layout-wide"  class="layout-item btn <?php echo ($typelayout=='wide')?' active':'';?>">پهن</span>
                    <span data-value="layout-boxed" class="layout-item btn <?php echo ($typelayout=='boxed')?' active':'';?>">جعبه</span>
                    <span data-value="layout-framed"  class="layout-item btn <?php echo ($typelayout=='framed')?' active':'';?>">قاب دار</span>
                    <span data-value="layout-rounded" class="layout-item btn <?php echo ($typelayout=='rounded')?' active':'';?>">لبه دار</span>
                </div>
            </div>

            <div class="panel-group nomarginbottom visible-lg">
                <div class="panel-desc" style="margin:10px 0 3px;"> نمونه های برای طرح بندی جعبه، قاب دار، لبه دار </div>
                <div class="body-bg">
                <?php
                $path = JPATH_ROOT.'/templates/'.$yt->template.'/images/pattern/body';
                $files = JFolder::files($path, '.');
                foreach($files as $file) {
                    $file = JFile::stripExt($file); ?>
                    <a href="#"  title="<?php echo $file; ?>" class="pattern <?php echo $file; ?><?php echo ($yt->getParam('bgimage')==$file)?' active':''?>"><?php echo $file; ?></a>
                    <?php
                }
                ?>
                </div>
                <input type="hidden" name="ytcpanel_bgimage" value="<?php echo $yt->getParam('bgimage'); ?>"/>

            </div>

        </div>

    </div>
    <div id="cpanel_btn" class="isDown visible-md visible-lg"><i class="fa fa-wrench"></i></div>

</div>