CloneSet12


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
50310.999php_sequence[8]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15032
templates/beez/html/com_content/category/blog.php
25013
templates/beez/html/com_content/frontpage/default.php
35032
templates/beez/html/com_content/section/blog.php
Clone Instance
1
Line Count
50
Source Line
32
Source File
templates/beez/html/com_content/category/blog.php

        <?php $i=  $this->pagination->limitstart;
        $rowcount=  $this->params->def('num_leading_articles', 1);
        for ($y=  0; $y<  $rowcount
                     &&                $i<  $this->total; $y ++ ,$i ++):;
                                                                        ?>
<div class="leading<?php                 echo $this->params->get('pageclass_sfx'); ?>">
<?php                         $this->item = &$this->getItem($i, $this->params);
                        echo $this->loadTemplate('item'); ?>
</div>
<span class="leading_separator<?php                 echo $this->params->get('pageclass_sfx'); ?>">&nbsp;</span>
<?php
        endfor
        ;             ?>
<?php $introcount=  $this->params->def('num_intro_articles', 4);
if ($introcount):
        $colcount=  $this->params->def('num_columns', 2);
        if ($colcount == 0):
                $colcount=  1;
        endif;
        $rowcount=  (int) $introcount/  $colcount;
        $ii=  0;
        for ($y=  0; $y<  $rowcount
                     &&                $i<  $this->total; $y ++): ;
                                                                  ?>
<div class="article_row<?php                 echo $this->params->get('pageclass_sfx'); ?>">
<?php                         for ($z=  0; $z<  $colcount
                                           &&                $ii<  $introcount
                                           &&                                     $i<  $this->total; $z ++ ,$i ++ ,$ii ++):
                                                                                                                          ;
                                                                                                                          ?>
<div class="article_column column<?php                                 echo $z+  1; ?> cols<?php echo $colcount; ?>" >
<?php                                         $this->item = &$this->getItem($i, $this->params);
                                        echo $this->loadTemplate('item'); ?>
</div>
<span class="article_separator">&nbsp;</span>
<?php
                              endfor
                              ;       ?>
<span class="row_separator<?php                         echo $this->params->get('pageclass_sfx'); ?>">&nbsp;</span>
</div>
<?php
        endfor
        ;
endif; ?>
<?php $numlinks=  $this->params->def('num_links', 4);
if ($numlinks
    &&           $i<  $this->total):  ;
                                      ?>
<div class="blog_more<?php echo $this->params->get('pageclass_sfx'); ?>">
<?php         $this->links = array_slice($this->items ,$i-  $this->pagination->limitstart ,$i-  $this->pagination->limitstart + $numlinks);
        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)):  ;
                                                                                                                                                         ?>
<?php         if ($this->pagination->get('pages.total')>  1):  ;
                                                               ?>
<p class="counter">
<?php                 echo $this->pagination->getPagesCounter(); ?>
</p>
<?php
              endif; ?>
<?php         if ($this->params->def('show_pagination_results', 1)):  ;
                                                                      ?>
<?php                 echo $this->pagination->getPagesLinks(); ?>
<?php
              endif; ?>
<?php
      endif; ?>
</div>


Clone Instance
2
Line Count
50
Source Line
13
Source File
templates/beez/html/com_content/frontpage/default.php

        <?php $i=  $this->pagination->limitstart;
        $rowcount=  $this->params->def('num_leading_articles', 1);
        for ($y=  0; $y<  $rowcount
                     &&                $i<  $this->total; $y ++ ,$i ++):;
                                                                        ?>
<div class="leading<?php                 echo $this->params->get('pageclass_sfx'); ?>">
<?php                         $this->item = &$this->getItem($i, $this->params);
                        echo $this->loadTemplate('item'); ?>
</div>
<span class="leading_separator<?php                 echo $this->params->get('pageclass_sfx'); ?>">&nbsp;</span>
<?php
        endfor
        ;             ?>
<?php $introcount=  $this->params->def('num_intro_articles', 4);
if ($introcount):
        $colcount=  $this->params->def('num_columns', 2);
        if ($colcount == 0):
                $colcount=  1;
        endif;
        $rowcount=  (int) $introcount/  $colcount;
        $ii=  0;
        for ($y=  0; $y<  $rowcount
                     &&                $i<  $this->total; $y ++): ;
                                                                  ?>
<div class="article_row<?php                 echo $this->params->get('pageclass_sfx'); ?>">
<?php                         for ($z=  0; $z<  $colcount
                                           &&                $ii<  $introcount
                                           &&                                     $i<  $this->total; $z ++ ,$i ++ ,$ii ++):
                                                                                                                          ;
                                                                                                                          ?>
<div class="article_column column<?php                                 echo $z+  1; ?> cols<?php echo $colcount; ?>" >
<?php                                         $this->item = &$this->getItem($i, $this->params);
                                        echo $this->loadTemplate('item'); ?>
</div>
<span class="article_separator">&nbsp;</span>
<?php
                              endfor
                              ;       ?>
<span class="row_separator<?php                         echo $this->params->get('pageclass_sfx'); ?>">&nbsp;</span>
</div>
<?php
        endfor
        ;
endif; ?>
<?php $numlinks=  $this->params->def('num_links', 4);
if ($numlinks
    &&           $i<  $this->total):  ;
                                      ?>
<div class="blog_more<?php echo $this->params->get('pageclass_sfx'); ?>">
<?php         $this->links = array_slice($this->items ,$i-  $this->pagination->limitstart ,$i-  $this->pagination->limitstart + $numlinks);
        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)):  ;
                                                                                                                                                         ?>
<?php         if ($this->pagination->get('pages.total')>  1):  ;
                                                               ?>
<p class="counter">
<?php                 echo $this->pagination->getPagesCounter(); ?>
</p>
<?php
              endif; ?>
<?php         if ($this->params->def('show_pagination_results', 1)):  ;
                                                                      ?>
<?php                 echo $this->pagination->getPagesLinks(); ?>
<?php
              endif; ?>
<?php
      endif; ?>
</div>


Clone Instance
3
Line Count
50
Source Line
32
Source File
templates/beez/html/com_content/section/blog.php

        <?php $i=  $this->pagination->limitstart;
        $rowcount=  $this->params->def('num_leading_articles', 1);
        for ($y=  0; $y<  $rowcount
                     &&                $i<  $this->total; $y ++ ,$i ++):;
                                                                        ?>
<div class="leading<?php                 echo $this->params->get('pageclass_sfx'); ?>">
<?php                         $this->item = &$this->getItem($i, $this->params);
                        echo $this->loadTemplate('item'); ?>
</div>
<span class="leading_separator<?php                 echo $this->params->get('pageclass_sfx'); ?>">&nbsp;</span>
<?php
        endfor
        ;             ?>
<?php $introcount=  $this->params->def('num_intro_articles', 4);
if ($introcount):
        $colcount=  $this->params->def('num_columns', 2);
        if ($colcount == 0):
                $colcount=  1;
        endif;
        $rowcount=  (int) $introcount/  $colcount;
        $ii=  0;
        for ($y=  0; $y<  $rowcount
                     &&                $i<  $this->total; $y ++): ;
                                                                  ?>
<div class="article_row<?php                 echo $this->params->get('pageclass_sfx'); ?>">
<?php                         for ($z=  0; $z<  $colcount
                                           &&                $ii<  $introcount
                                           &&                                     $i<  $this->total; $z ++ ,$i ++ ,$ii ++):
                                                                                                                          ;
                                                                                                                          ?>
<div class="article_column column<?php                                 echo $z+  1; ?> cols<?php echo $colcount; ?>" >
<?php                                         $this->item = &$this->getItem($i, $this->params);
                                        echo $this->loadTemplate('item'); ?>
</div>
<span class="article_separator">&nbsp;</span>
<?php
                              endfor
                              ;       ?>
<span class="row_separator<?php                         echo $this->params->get('pageclass_sfx'); ?>">&nbsp;</span>
</div>
<?php
        endfor
        ;
endif; ?>
<?php $numlinks=  $this->params->def('num_links', 4);
if ($numlinks
    &&           $i<  $this->total):  ;
                                      ?>
<div class="blog_more<?php echo $this->params->get('pageclass_sfx'); ?>">
<?php         $this->links = array_slice($this->items ,$i-  $this->pagination->limitstart ,$i-  $this->pagination->limitstart + $numlinks);
        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)):  ;
                                                                                                                                                         ?>
<?php         if ($this->pagination->get('pages.total')>  1):  ;
                                                               ?>
<p class="counter">
<?php                 echo $this->pagination->getPagesCounter(); ?>
</p>
<?php
              endif; ?>
<?php         if ($this->params->def('show_pagination_results', 1)):  ;
                                                                      ?>
<?php                 echo $this->pagination->getPagesLinks(); ?>
<?php
              endif; ?>
<?php
      endif; ?>
</div>


Clone AbstractionParameter Count: 1Parameter Bindings

<?php
  $i=$this->pagination->limitstart;
  $rowcount=$this->params->def('num_leading_articles',1);
  for ($y=0; $y<$rowcount
             && $i<$this->total; $y ++ ,$i ++):
    ;
    ?>
<div class="leading<?php
    echo $this->params->get('pageclass_sfx');
    ?>">
<?php
    $this->item = &$this->getItem($i,$this->params);
    echo $this->loadTemplate('item');
    ?>
</div>
<span class="leading_separator<?php
    echo $this->params->get('pageclass_sfx');
    ?>">&nbsp;</span>
<?php
  endfor
  ;
?>
<?php
  $introcount=$this->params->def('num_intro_articles',4);
  if ($introcount):
    $colcount=$this->params->def('num_columns',2);
    if ($colcount == 0):
      $colcount=1;
    endif;
    $rowcount= (int) $introcount/$colcount;
    $ii=0;
    for ($y=0; $y<$rowcount
               && $i<$this->total; $y ++):
      ;
      ?>
<div class="article_row<?php
      echo $this->params->get('pageclass_sfx');
      ?>">
<?php
      for ($z=0; $z<$colcount
                 && $ii<$introcount
                 && $i<$this->total; $z ++ ,$i ++ ,$ii ++):
        ;
        ?>
<div class="article_column column<?php
        echo $z+1;
        ?> cols<?php
        echo $colcount;
        ?>" >
<?php
        $this->item = &$this->getItem($i,$this->params);
        echo $this->loadTemplate('item');
        ?>
</div>
<span class="article_separator">&nbsp;</span>
<?php
      endfor
      ;
      ?>
<span class="row_separator<?php
      echo $this->params->get('pageclass_sfx');
      ?>">&nbsp;</span>
</div>
<?php
    endfor
    ;
  endif;
?>
<?php
  $numlinks=$this->params->def('num_links',4);
  if ($numlinks
      && $i<$this->total):
    ;
    ?>
<div class="blog_more<?php
    echo $this->params->get('pageclass_sfx');
    ?>">
<?php
    $this->links =array_slice($this->items ,$i-$this->pagination->limitstart ,$i-$this->pagination->limitstart +$numlinks);
    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)):
    ;
    ?>
<?php
    if ($this->pagination->get('pages.total')>1):
      ;
      ?>
<p class="counter">
<?php
      echo $this->pagination->getPagesCounter();
      ?>
</p>
<?php
    endif;
    ?>
<?php
    if ($this->params->def('show_pagination_results',1)):
      ;
      ?>
<?php
      echo $this->pagination->getPagesLinks();
      ?>
<?php
    endif;
    ?>
<?php
  endif;
?> [[#variable525ec980]]
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#525ec980]]
</div> 
12[[#525ec980]]
</div> 
13[[#525ec980]]
</div>