نتایج از شماره 1 تا 2 از مجموع 2
  1. #1

    سلام خدمت تمامی کمک کنندگان عزیز
    آقا من یک قالب نصب کردم ولی وقتی مخوام سایت رو باز کنم ارور زیر میاد :
    Fatal error: Call to undefined function cubeimport() in /home2/bazibazn/public_html/khane/templates/jf_gamespoint/html/com_content/frontpage/default.php on line 10
    فکر هم نکنم قالب مشکلی داشته باشه من کد default رو میزارم برای بررسی :
    <?php
    /*--------------------------------------
    # Copyright(C) 2004-2009 Jooforge
    # http://www.jooforge.com/
    -----------------------------------------*/

    defined('_JEXEC') or die('Restricted Access');

    JPluginHelper::importPlugin('cube', 'cube');
    cubeimport('template');

    ?>

    <?php if ($this->params->get('show_page_title', 1)) : ?>
    <div class="componentheading">
    <?php echo $this->escape($this->params->get('page_title')); ?>
    </div>
    <?php endif; ?>

    <div class="frontpage">

    <?php if ($this->params->def('num_leading_articles', 1)) : ?>
    <div class="leadingarticles">
    <?php for ($i = $this->pagination->limitstart; $i < ($this->pagination->limitstart + $this->params->get('num_leading_articles')); $i++) : ?>
    <?php if ($i >= $this->total) : break; endif; ?>
    <?php
    $this->item =& $this->getItem($i, $this->params);
    echo $this->loadTemplate('item');
    ?>
    <?php endfor; ?>
    </div>
    <?php else : $i = $this->pagination->limitstart; endif; ?>

    <?php
    if ($i < $this->total) {

    // init vars
    $count = min($this->params->get('num_intro_articles', 4), ($this->total - $i));
    $rows = ceil($count / $this->params->get('num_columns', 2));
    $columns = array();

    // create intro columns
    for ($j = 0; $j < $count; $j++, $i++) {

    if ($this->params->get('multi_column_order', 1) == 0) {
    // order down
    $column = intval($j / $rows);
    } else {
    // order across
    $column = $j % $this->params->get('num_columns', 2);
    }

    if (!isset($columns[$column])) {
    $columns[$column] = '';
    }

    $this->item =& $this->getItem($i, $this->params);
    $columns[$column] .= $this->loadTemplate('item2');
    }

    // render intro columns
    $count = count($columns);
    if ($count) {
    if ($count != 1) {
    echo '<div class="teaserarticles clearfix">';
    } else {
    echo '<div class="teaserarticles">';
    }
    for ($j = 0; $j < $count; $j++) {
    $firstlast = "";
    if ($count != 1) {
    $firstlast = "center";
    if($j == 0) $firstlast = "first";
    if($j == $count - 1) $firstlast = "last";
    }
    echo '<div class="'.$firstlast.' float-left width'.intval(100 / $count).'">'.$columns[$j].'</div>';
    }
    echo '</div>';
    echo '<div class="article_separator"></div>';
    }
    }
    ?>

    <?php if ($this->params->def('num_links', 4) && ($i < $this->total)) : ?>
    <div class="blog_more">
    <?php
    $this->links = array_splice($this->items, $i - $this->pagination->limitstart);
    echo $this->loadTemplate('links');
    ?>
    </div>
    <?php endif; ?>

    <?php if ($this->params->def('show_pagination', 2) == 1 || ($this->params->get('show_pagination') == 2 && $this->pagination->get('pages.total') > 1)) : ?>
    <div class="pagination clearfix">
    <?php if ($this->params->def('show_pagination_results', 1)) : ?>
    <div class="results">
    <?php echo $this->pagination->getPagesCounter(); ?>
    </div>
    <?php endif; ?>
    <?php echo $this->pagination->getPagesLinks(); ?>
    </div>
    <?php endif; ?>

    </div>

    ممنون میشم کمک کنید با تشکر
    قربون همه بچه های webalfa
    >:D

  2. #2

    آدرس سایتتون چی هست؟
    [CENTER]طراح وب و گرافیست و انجام امور میکس و مونتاژ وب سایت شخصی بهزاد نهرمیانی فارسی سازی قالب جوملا و وردپرس و ویبولتین

اطلاعات موضوع

Users Browsing this Thread

در حال حاضر 1 نفر از این موضوع دیدن می کنند (0 عضو و 1 مهمان)

برچسب برای این موضوع

بوک مارک ها

بوک مارک ها

مجوزهای ارسال و ویرایش

  • شما نمی توانید موضوع جدید ارسال کنید
  • شما نمی توانید به ارسال ها پاسخ دهید
  • شما نمی توانید فایل پیوست کنید
  • شما نمی توانید ارسال های خود را ویرایش کنید
  •