| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 30 | 2 | 3 | 0.962 | php_sequence[5] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 30 | 10 | templates/rhuk_milkyway/html/com_content/category/blog.php |
| 2 | 30 | 10 | templates/rhuk_milkyway/html/com_content/section/blog.php |
| ||||
" cellpadding="0" cellspacing="0">
<?php if ($this->params->def('show_description', 1)
|| $this->params->def('show_description_image', 1)): ;
?>
<tr>
<td valign="top">
<?php if ($this->params->get('show_description_image')
&& $this->category->image): ;
?>
<img src="<?php echo $this->baseurl
. '/'
. $cparams->get('image_path')
. '/'
. $this->category->image;?>" align="<?php echo $this->category->image_position;?>" hspace="6" alt="" />
<?php
endif; ?>
<?php if ($this->params->get('show_description')
&& $this->category->description): ;
?>
<?php echo $this->category->description; ?>
<?php
endif; ?>
<br/>
<br/>
</td>
</tr>
<?php
endif; ?>
<?php if ($this->params->get('num_leading_articles')): ;
?>
<tr>
<td valign="top">
<?php for ($i= $this->pagination->limitstart; $i< ($this->pagination->limitstart + $this->params->get('num_leading_articles')); $i ++): ;
?>
<?php if ($i>= $this->total): break;
endif; ?>
<div>
<?php $this->item = &$this->getItem($i, $this->params);
echo $this->loadTemplate('item');
?>
</div>
<?php
endfor
; ?>
</td>
</tr>
<?php
else : $i= $this->pagination->limitstart;
endif; ?>
|
| ||||
" cellpadding="0" cellspacing="0">
<?php if ($this->params->def('show_description', 1)
|| $this->params->def('show_description_image', 1)): ;
?>
<tr>
<td valign="top">
<?php if ($this->params->get('show_description_image')
&& $this->section->image): ;
?>
<img src="<?php echo $this->baseurl
. '/'
. $cparams->get('image_path')
. '/'
. $this->section->image;?>" align="<?php echo $this->section->image_position;?>" hspace="6" alt="" />
<?php
endif; ?>
<?php if ($this->params->get('show_description')
&& $this->section->description): ;
?>
<?php echo $this->section->description; ?>
<?php
endif; ?>
<br/>
<br/>
</td>
</tr>
<?php
endif; ?>
<?php if ($this->params->def('num_leading_articles', 1)): ;
?>
<tr>
<td valign="top">
<?php for ($i= $this->pagination->limitstart; $i< ($this->pagination->limitstart + $this->params->get('num_leading_articles')); $i ++): ;
?>
<?php if ($i>= $this->total): break;
endif; ?>
<div>
<?php $this->item = &$this->getItem($i, $this->params);
echo $this->loadTemplate('item');
?>
</div>
<?php
endfor
; ?>
</td>
</tr>
<?php
else : $i= $this->pagination->limitstart;
endif; ?>
|
| |||
" cellpadding="0" cellspacing="0">
<?php
if ($this->params->def('show_description',1)
|| $this->params->def('show_description_image',1)):
;
?>
<tr>
<td valign="top">
<?php
if ($this->params->get('show_description_image')
&& $this-> [[#variable50a728c0]]->image):
;
?>
<img src="<?php
echo $this->baseurl
. '/'
. $cparams->get('image_path')
. '/'
. $this-> [[#variable50a728c0]]->image;
?>" align="<?php
echo $this-> [[#variable50a728c0]]->image_position;
?>" hspace="6" alt="" />
<?php
endif;
?>
<?php
if ($this->params->get('show_description')
&& $this-> [[#variable50a728c0]]->description):
;
?>
<?php
echo $this-> [[#variable50a728c0]]->description;
?>
<?php
endif;
?>
<br/>
<br/>
</td>
</tr>
<?php
endif;
?>
<?php
if ($this->params-> [[#variable50a72860]]( [[#variable50a72840]])):
;
?>
<tr>
<td valign="top">
<?php
for ($i=$this->pagination->limitstart; $i<($this->pagination->limitstart +$this->params->get('num_leading_articles')); $i ++):
;
?>
<?php
if ($i>=$this->total):
break;
endif;
?>
<div>
<?php
$this->item = &$this->getItem($i,$this->params);
echo $this->loadTemplate('item');
?>
</div>
<?php
endfor
;
?>
</td>
</tr>
<?php
else :
$i=$this->pagination->limitstart;
endif;
?>
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#50a728c0]] | section |
| 1 | 2 | [[#50a728c0]] | category |
| 2 | 1 | [[#50a72860]] | def |
| 2 | 2 | [[#50a72860]] | get |
| 3 | 1 | [[#50a72840]] | 'num_leading_articles',1 |
| 3 | 2 | [[#50a72840]] | 'num_leading_articles' |