CloneSet81


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
73240.963root
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1731
components/com_search/views/search/tmpl/default_form.php
2731
templates/rhuk_milkyway/html/com_search/search/default_form.php
Clone Instance
1
Line Count
73
Source Line
1
Source File
components/com_search/views/search/tmpl/default_form.php

<?php defined( "_JEXEC") or exit;
                                ?>
<form id="searchForm" action="<?php echo JRoute::_('index.php?option=com_search');?>" method="post" name="searchForm">
<table class="contentpaneopen<?php echo $this->params->get('pageclass_sfx'); ?>">
<tr>
  <td nowrap="nowrap">
    <label for="search_searchword">
<?php echo JText::_('Search Keyword'); ?>:
</label>
</td>
<td nowrap="nowrap">
  <input type="text" name="searchword" id="search_searchword" size="30" maxlength="20" value="<?php echo $this->escape($this->searchword); ?>" class="inputbox" />
</td>
<td width="100%" nowrap="nowrap">
  <button name="Search" onclick="this.form.submit()" class="button"><?php echo JText::_('Search');?></button>
</td>
</tr>
<tr>
  <td colspan="3">
<?php echo $this->lists['searchphrase']; ?>
</td>
</tr>
<tr>
  <td colspan="3">
    <label for="ordering">
<?php echo JText::_('Ordering');?>:
</label>
<?php echo $this->lists['ordering'];?>
</td>
</tr>
</table>
<?php if ($this->params->get('search_areas', 1)):  ;
                                                   ?>
<?php         echo JText::_('Search Only');?>:
<?php         foreach ($this->searchareas['search'] as $val => $txt):
                $checked=  is_array($this->searchareas['active'])
                           &&                                        in_array($val, $this->searchareas['active'])
                           ?                                                                                        'checked="checked"'
                           :                                                                                                              '';
        ?>
<input type="checkbox" name="areas[]" value="<?php         echo $val;?>" id="area_<?php echo $val;?>" <?php echo $checked;?> />
<label for="area_<?php                 echo $val;?>">
<?php                         echo JText::_($txt); ?>
</label>
<?php
              endforeach
              ;           ?>
<?php
      endif; ?>
<table class="searchintro<?php echo $this->params->get('pageclass_sfx'); ?>">
<tr>
  <td colspan="3">
    <br/>
<?php echo JText::_('Search Keyword')
           .                           ' <b>'
           .                                   $this->escape($this->searchword)
           .                                                                     '</b>'; ?>
</td>
</tr>
<tr>
  <td>
    <br/>
<?php echo $this->result; ?>
</td>
</tr>
</table>
<br/>
<?php if ($this->total > 0):  ;
                              ?>
<div align="center">
  <div style="float: right;">
    <label for="limit">
<?php                         echo JText::_('Display Num'); ?>
</label>
<?php                 echo $this->pagination->getLimitBox(); ?>
</div>
<div>
<?php                 echo $this->pagination->getPagesCounter(); ?>
</div>
</div>
<?php
      endif; ?>
<input type="hidden" name="task" value="search"/>
</form>


Clone Instance
2
Line Count
73
Source Line
1
Source File
templates/rhuk_milkyway/html/com_search/search/default_form.php

<?php defined( "_JEXEC") or exit ('Restricted access');
                                                     ?>
<form id="searchForm" action="<?php echo JRoute::_( 'index.php?option=com_search'); ?>" method="post" name="searchForm">
<table class="contentpaneopen<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<tr>
  <td nowrap="nowrap">
    <label for="search_searchword">
<?php echo JText::_( 'Search Keyword');  ?>:
</label>
</td>
<td nowrap="nowrap">
  <input type="text" name="searchword" id="search_searchword" size="30" maxlength="20" value="<?php echo $this->escape($this->searchword); ?>" class="inputbox" />
</td>
<td width="100%" nowrap="nowrap">
  <button name="Search" onclick="this.form.submit()" class="button"><?php echo JText::_( 'Search'); ?></button>
</td>
</tr>
<tr>
  <td colspan="3">
<?php echo $this->lists['searchphrase']; ?>
</td>
</tr>
<tr>
  <td colspan="3">
    <label for="ordering">
<?php echo JText::_( 'Ordering'); ?>:
</label>
<?php echo $this->lists['ordering'];?>
</td>
</tr>
</table>
<?php if ($this->params->get( 'search_areas', 1)):   ;
                                                     ?>
<?php         echo JText::_( 'Search Only'); ?>:
<?php         foreach ($this->searchareas['search'] as $val => $txt):
                $checked=  is_array( $this->searchareas['active'])
                           &&                                          in_array( $val, $this->searchareas['active'])
                           ?                                                                                            'checked="checked"'
                           :                                                                                                                  '';
        ?>
<input type="checkbox" name="areas[]" value="<?php         echo $val;?>" id="area_<?php echo $val;?>" <?php echo $checked;?> />
<label for="area_<?php                 echo $val;?>">
<?php                         echo JText::_($txt); ?>
</label>
<?php
              endforeach
              ;           ?>
<?php
      endif; ?>
<table class="searchintro<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<tr>
  <td colspan="3">
    <br/>
<?php echo JText::_( 'Search Keyword')
           .                             ' <b>'
           .                                     $this->escape($this->searchword)
           .                                                                       '</b>'; ?>
</td>
</tr>
<tr>
  <td>
    <br/>
<?php echo $this->result; ?>
</td>
</tr>
</table>
<br/>
<?php if ($this->total > 0): ;
                             ?>
<div align="center">
  <div style="float: right;">
    <label for="limit">
<?php                         echo JText::_( 'Display Num');  ?>
</label>
<?php                 echo $this->pagination->getLimitBox();  ?>
</div>
<div>
<?php                 echo $this->pagination->getPagesCounter(); ?>
</div>
</div>
<?php
      endif; ?>
<input type="hidden" name="task" value="search"/>
</form>


Clone AbstractionParameter Count: 4Parameter Bindings

<?php
  defined( "_JEXEC") or [[#variable58886140]];
?>
<form id="searchForm" action="<?php
                                echo JRoute::_('index.php?option=com_search');
                              ?>" method="post" name="searchForm">
<table class="contentpaneopen<?php
                               echo [[#variable588860a0]]-> [[#variable58886000]]( [[#variable58886060]]);
                             ?>">
<tr>
  <td nowrap="nowrap">
    <label for="search_searchword">
<?php
  echo JText::_('Search Keyword');
?>:
</label>
</td>
<td nowrap="nowrap">
  <input type="text" name="searchword" id="search_searchword" size="30" maxlength="20" value="<?php
                                                                                                echo $this->escape($this->searchword);
                                                                                              ?>" class="inputbox" />
</td>
<td width="100%" nowrap="nowrap">
  <button name="Search" onclick="this.form.submit()" class="button"><?php
                                                                      echo JText::_('Search');
                                                                    ?></button>
</td>
</tr>
<tr>
  <td colspan="3">
<?php
  echo $this->lists['searchphrase'];
?>
</td>
</tr>
<tr>
  <td colspan="3">
    <label for="ordering">
<?php
  echo JText::_('Ordering');
?>:
</label>
<?php
  echo $this->lists['ordering'];
?>
</td>
</tr>
</table>
<?php
  if ($this->params->get('search_areas',1)):
    ;
    ?>
<?php
    echo JText::_('Search Only');
    ?>:
<?php
    foreach ($this->searchareas['search'] as $val => $txt):
      $checked=is_array($this->searchareas['active'])
               && in_array($val,$this->searchareas['active'])
               ? 'checked="checked"'
               : '';
      ?>
<input type="checkbox" name="areas[]" value="<?php
      echo $val;
      ?>" id="area_<?php
      echo $val;
      ?>" <?php
      echo $checked;
      ?> />
<label for="area_<?php
      echo $val;
      ?>">
<?php
      echo JText::_($txt);
      ?>
</label>
<?php
    endforeach
    ;
    ?>
<?php
  endif;
?>
<table class="searchintro<?php
                           echo [[#variable588860a0]]-> [[#variable58886000]]( [[#variable58886060]]);
                         ?>">
<tr>
  <td colspan="3">
    <br/>
<?php
  echo JText::_('Search Keyword')
       . ' <b>'
       . $this->escape($this->searchword)
       . '</b>';
?>
</td>
</tr>
<tr>
  <td>
    <br/>
<?php
  echo $this->result;
?>
</td>
</tr>
</table>
<br/>
<?php
  if ($this->total >0):
    ;
    ?>
<div align="center">
  <div style="float: right;">
    <label for="limit">
<?php
    echo JText::_('Display Num');
    ?>
</label>
<?php
    echo $this->pagination->getLimitBox();
    ?>
</div>
<div>
<?php
    echo $this->pagination->getPagesCounter();
    ?>
</div>
</div>
<?php
  endif;
?>
<input type="hidden" name="task" value="search"/>
</form>
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58886140]]
exit 
12[[#58886140]]
exit ('Restricted access') 
21[[#588860a0]]
$this->params 
22[[#588860a0]]
$this 
31[[#58886000]]
get 
32[[#58886000]]
escape 
41[[#58886060]]
'pageclass_sfx' 
42[[#58886060]]
$this->params->get('pageclass_sfx')