| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 21 | 2 | 3 | 0.955 | php_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 21 | 30 | templates/beez/html/com_content/article/default.php |
| 2 | 21 | 68 | templates/beez/html/com_content/frontpage/default_item.php |
| ||||
<?php if ((intval($this->article->modified) != 0
&& $this->params->get('show_modify_date'))
|| ($this->params->get('show_author')
&& ($this->article->author != ""))
|| ($this->params->get('show_create_date'))): ;
?>
<p class="articleinfo">
<?php if (intval($this->article->modified) != 0
&& $this->params->get('show_modify_date')): ;
?>
<span class="modifydate">
<?php echo JText::sprintf('LAST_UPDATED2', JHtml::_('date', $this->article->modified ,JText::_('DATE_FORMAT_LC2'))); ?>
</span>
<?php
endif; ?>
<?php if (($this->params->get('show_author'))
&& ($this->article->author != "")): ;
?>
<span class="createdby">
<?php JText::printf('Written by', ($this->article->created_by_alias
? $this->article->created_by_alias
: $this->article->author)); ?>
</span>
<?php
endif; ?>
<?php if ($this->params->get('show_create_date')): ;
?>
<span class="createdate">
<?php echo JHtml::_('date', $this->article->created ,JText::_('DATE_FORMAT_LC2')); ?>
</span>
<?php
endif; ?>
</p>
<?php
endif; ?>
|
| ||||
<?php if ((intval($this->item->modified) != 0
&& $this->item->params->get('show_modify_date'))
|| ($this->item->params->get('show_author')
&& ($this->item->author != ""))
|| ($this->item->params->get('show_create_date'))): ;
?>
<p class="iteminfo">
<?php if (intval($this->item->modified) != 0
&& $this->item->params->get('show_modify_date')): ;
?>
<span class="modifydate">
<?php echo JText::sprintf('LAST_UPDATED2', JHtml::_('date', $this->item->modified ,JText::_('DATE_FORMAT_LC2'))); ?>
</span>
<?php
endif; ?>
<?php if (($this->item->params->get('show_author'))
&& ($this->item->author != "")): ;
?>
<span class="createdby">
<?php JText::printf('Written by', ($this->item->created_by_alias
? $this->item->created_by_alias
: $this->item->author)); ?>
</span>
<?php
endif; ?>
<?php if ($this->item->params->get('show_create_date')): ;
?>
<span class="createdate">
<?php echo JHtml::_('date', $this->item->created ,JText::_('DATE_FORMAT_LC2')); ?>
</span>
<?php
endif; ?>
</p>
<?php
endif; ?>
|
| |||
<?php
if ((intval($this-> [[#variable55a5edc0]]->modified) != 0
&& [[#variable55a5ed80]]->get('show_modify_date'))
|| ( [[#variable55a5ed80]]->get('show_author')
&& ($this-> [[#variable55a5edc0]]->author != ""))
|| ( [[#variable55a5ed80]]->get('show_create_date'))):
;
?> [[#variable52607320]]<?php
if (intval($this-> [[#variable55a5edc0]]->modified) != 0
&& [[#variable55a5ed80]]->get('show_modify_date')):
;
?>
<span class="modifydate">
<?php
echo JText::sprintf('LAST_UPDATED2',JHtml::_('date',$this-> [[#variable55a5edc0]]->modified ,JText::_('DATE_FORMAT_LC2')));
?>
</span>
<?php
endif;
?>
<?php
if (( [[#variable55a5ed80]]->get('show_author'))
&& ($this-> [[#variable55a5edc0]]->author != "")):
;
?>
<span class="createdby">
<?php
JText::printf('Written by',($this-> [[#variable55a5edc0]]->created_by_alias
? $this-> [[#variable55a5edc0]]->created_by_alias
: $this-> [[#variable55a5edc0]]->author));
?>
</span>
<?php
endif;
?>
<?php
if ( [[#variable55a5ed80]]->get('show_create_date')):
;
?>
<span class="createdate">
<?php
echo JHtml::_('date',$this-> [[#variable55a5edc0]]->created ,JText::_('DATE_FORMAT_LC2'));
?>
</span>
<?php
endif;
?>
</p>
<?php
endif;
?>
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#55a5edc0]] | item |
| 1 | 2 | [[#55a5edc0]] | article |
| 2 | 1 | [[#55a5ed80]] | $this->item->params |
| 2 | 2 | [[#55a5ed80]] | $this->params |
| 3 | 1 | [[#52607320]] | <p class="iteminfo"> |
| 3 | 2 | [[#52607320]] | <p class="articleinfo"> |