Подскажите пожалуйста, как удалить ссылку

Тема в разделе "Психологическая консультация", создана пользователем lexsedlex, 18.11.2018.

  1. Offline

    lexsedlex Недавно здесь

    Регистрация:
    04.11.2016
    Сообщения:
    3
    Симпатии:
    0
    Пол:
    Мужской
    Добрый день, уважаемые специалисты.
    Подскажите пожалуйста, как можно удалить ссылку, которая установилась вместо счетчика посещений. Видимо, кто-то сделал это недобросовестно, получив доступ к сайту.

    Внизу страницы.
    Ссылка на сайт, якобы cy-pr.
    Перелопатил все файлы своего сайта, но не могу найти, где прописаны эта ссылка и изображение.
     

    Вложения:

  2.  
  3. OlegK
    Offline

    OlegK Russian Joomla! Team Команда форума ⇒ Профи ⇐

    Регистрация:
    17.01.2011
    Сообщения:
    7 813
    Симпатии:
    771
    Пол:
    Мужской
    А супер юзер один ? Если нет в файлах, то ищи в модуле, который может выводит инфо о копирайте. Обычно это модуль в позиции footer.
     
  4. Offline

    lexsedlex Недавно здесь

    Регистрация:
    04.11.2016
    Сообщения:
    3
    Симпатии:
    0
    Пол:
    Мужской
    Добрый день. Искал модуль.
    В файле template есть ссылка на модуль metrika. Однако, я почему-то, не могу найти этот модуль в файлах сайта.

    Вот выкладываю, на всякий случай содержание файла index

    Код (PHP):
    1. <?php
    2. /**
    3. * @package     Joomla.Administrator
    4. * @subpackage  Templates.protostar
    5. *
    6. * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
    7. * @license     GNU General Public License version 2 or later; see LICENSE.txt
    8. */
    9.  
    10. defined('_JEXEC') or die;
    11.  
    12. // Getting params from template
    13. $params = JFactory::getApplication()->getTemplate(true)->params;
    14.  
    15. $app = JFactory::getApplication();
    16. $doc = JFactory::getDocument();
    17. $this->language = $doc->language;
    18. $this->direction = $doc->direction;
    19.  
    20. // Detecting Active Variables
    21. $option   = $app->input->getCmd('option', '');
    22. $view     = $app->input->getCmd('view', '');
    23. $layout   = $app->input->getCmd('layout', '');
    24. $task     = $app->input->getCmd('task', '');
    25. $itemid   = $app->input->getCmd('Itemid', '');
    26. $sitename = $app->getCfg('sitename');
    27.  
    28. if($task == "edit" || $layout == "form" )
    29. {
    30.     $fullWidth = 1;
    31. }
    32. else
    33. {
    34.     $fullWidth = 0;
    35. }
    36.  
    37. // Add JavaScript Frameworks
    38. JHtml::_('bootstrap.framework');
    39.  
    40. // Add Stylesheets
    41. $doc->addStyleSheet('templates/'.$this->template.'/css/template.css');
    42. $doc->addScript('templates/'.$this->template.'/js/custom.js');
    43.  
    44. // Load optional rtl Bootstrap css and Bootstrap bugfixes
    45. JHtmlBootstrap::loadCss($includeMaincss = false, $this->direction);
    46.  
    47. // Add current user information
    48. $user = JFactory::getUser();
    49.  
    50. // Adjusting content width
    51. if ($this->countModules('position-7') && $this->countModules('position-8'))
    52. {
    53.     $span = "span6";
    54. }
    55. elseif ($this->countModules('position-7') && !$this->countModules('position-8'))
    56. {
    57.     $span = "span9";
    58. }
    59. elseif (!$this->countModules('position-7') && $this->countModules('position-8'))
    60. {
    61.     $span = "span9";
    62. }
    63. else
    64. {
    65.     $span = "span12";
    66. }
    67.  
    68. // Logo file or site title param
    69. if ($this->params->get('logoFile'))
    70. {
    71.     $logo = '<img src="'. JURI::root() . $this->params->get('logoFile') .'" alt="'. $sitename .'" />';
    72. }
    73. elseif ($this->params->get('sitetitle'))
    74. {
    75.     $logo = '<span class="site-title" title="'. $sitename .'">'. htmlspecialchars($this->params->get('sitetitle')) .'</span>';
    76. }
    77. else
    78. {
    79.     $logo = '<span class="site-title" title="'. $sitename .'">'. $sitename .'</span>';
    80. }
    81. ?>
    82. <!DOCTYPE html>
    83. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
    84. <head>
    85.     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    86.     <jdoc:include type="head" />
    87.     <?php
    88.     // Use of Google Font
    89.     if ($this->params->get('googleFont'))
    90.     {
    91.     ?>
    92.         <link href='http://fonts.googleapis.com/css?family=<?php echo $this->params->get('googleFontName');?>' rel='stylesheet' type='text/css' />
    93.         <style type="text/css">
    94.             h1,h2,h3,h4,h5,h6,.site-title{
    95.                 font-family: '<?php echo str_replace('+', ' ', $this->params->get('googleFontName'));?>', sans-serif;
    96.             }
    97.         </style>
    98.     <?php
    99.     }
    100.     ?>
    101.     <?php
    102.     // Template color
    103.     if ($this->params->get('templateColor'))
    104.     {
    105.     ?>
    106.     <?php
    107.     }
    108.     ?>
    109.     <!--[if lt IE 9]>
    110.         <script src="<?php echo $this->baseurl ?>/media/jui/js/html5.js"></script>
    111.     <![endif]-->
    112. </head>
    113.  
    114. <body class="site <?php echo $option
    115.     . ' view-' . $view
    116.     . ($layout ? ' layout-' . $layout : ' no-layout')
    117.     . ($task ? ' task-' . $task : ' no-task')
    118.     . ($itemid ? ' itemid-' . $itemid : '')
    119.     . ($params->get('fluidContainer') ? ' fluid' : '');
    120. ?>">
    121.  
    122.  
    123. <div class="line_top">
    124. <div class="line_top_into">
    125. <div class="left_line_top">
    126.       <?php if ($this->countModules('adres')) : ?>
    127.     <jdoc:include type="modules" name="adres" />
    128.     <?php endif; ?>
    129. </div>
    130. <div class="center_line_top">
    131.       <?php if ($this->countModules('telmail')) : ?>
    132.     <jdoc:include type="modules" name="telmail" />
    133.     <?php endif; ?>
    134. </div>
    135. <div class="right_line_top">
    136. <p class="btn_callback">
    137.       <?php if ($this->countModules('callback')) : ?>
    138.     <jdoc:include type="modules" name="callback" />
    139.     <?php endif; ?>
    140. </p></div>
    141. </div>
    142. </div>
    143.  
    144.  
    145. <div class="header">
    146. <div class="menu">
    147.     <?php if ($this->countModules('menu')) : ?>
    148.     <div class="menu_into">
    149.  
    150.     <div class="logo">
    151.       <?php if ($this->countModules('logo')) : ?>
    152.     <jdoc:include type="modules" name="logo" />
    153.     <?php endif; ?>
    154.     </div>
    155.     <jdoc:include type="modules" name="menu" style="none" />
    156.     </div>
    157.     <?php endif; ?>
    158. </div>
    159. <div class="header_into">
    160. <div class="ramka"></div>
    161. <div class="textbunner">
    162.       <?php if ($this->countModules('textbunner')) : ?>
    163.     <jdoc:include type="modules" name="textbunner" />
    164.     <?php endif; ?>
    165. </div>  
    166. </div>
    167. </div>
    168.  
    169.  
    170.  
    171. <div class="caruselnashaprod">
    172. <div class="caruselnashaprod_into">
    173.     <?php if ($this->countModules('carus')) : ?>
    174.     <div class="carus"><jdoc:include type="modules" name="carus" style="xhtml" /></div>
    175.     <?php endif; ?>
    176. </div>
    177. </div>
    178.  
    179.  
    180. <div class="pagecontent">
    181. <table class="tabcontent">
    182. <tr>
    183. <td class="lefttd">
    184. <div class="leftblock">
    185.     <?php if ($this->countModules('leftmenu')) : ?>
    186.     <div class="carus"><jdoc:include type="modules" name="leftmenu" /></div>
    187.     <?php endif; ?>
    188. </div>
    189. </td>
    190. <td class="righttd">
    191. <div class="rightblock">
    192. <jdoc:include type="component" />
    193. </div>
    194. </td>
    195. </tr>
    196. </table>
    197. </div>
    198.  
    199.  
    200.  
    201.  
    202.  
    203.  
    204. <div class="footer">
    205. <div class="footer_into">
    206. <div class="logofoot"><a href="/index.php"><img src="templates/protostar/images/logo2.png"></a></div>
    207.     <?php if ($this->countModules('menufooter')) : ?>
    208.     <div class="menufooter"><jdoc:include type="modules" name="menufooter" style="none" /></div>
    209.     <?php endif; ?>
    210.  
    211.     <div class="kontchet">
    212.     <table>      
    213.     <tr>
    214.     <td>
    215.       <?php if ($this->countModules('telfoter')) : ?>
    216.     <jdoc:include type="modules" name="telfoter" />
    217.     <?php endif; ?>  
    218.     </td>
    219.     <td>  
    220.       <?php if ($this->countModules('metrik')) : ?>
    221.     <jdoc:include type="modules" name="metrik" />
    222.     <?php endif; ?>
    223.     </td>  
    224.     </tr>  
    225.     </table>      
    226.     </div>      
    227. </div>
    228. <div class="copyright"><div class="copyright_into">
    229.       <?php if ($this->countModules('copyright')) : ?>
    230.     <jdoc:include type="modules" name="copyright" />
    231.     <?php endif; ?>
    232. </div></div>
    233. </div>  
    234.              
    235. </body>
    236. </html>

    --- добавлено: 18.11.2018 ---
    Это код страницы и этой ссылки.
     

    Вложения:

    Последнее редактирование модератором: 18.11.2018
  5. OlegK
    Offline

    OlegK Russian Joomla! Team Команда форума ⇒ Профи ⇐

    Регистрация:
    17.01.2011
    Сообщения:
    7 813
    Симпатии:
    771
    Пол:
    Мужской
    Используй форматирование кода при вставке в сообщения.
    Судя по коду, это модуль HTML
    модули ищут в менеджере модулей.
     
  6. Offline

    lexsedlex Недавно здесь

    Регистрация:
    04.11.2016
    Сообщения:
    3
    Симпатии:
    0
    Пол:
    Мужской
    Попробую. Спасибо.
    --- добавлено: 18.11.2018 ---
    Большое спасибо. Нашел модуль в админке и исправил код.
    Думал, что код в файлах сайта находится.
    Еще раз спасибо за помощь!
     
  7. OlegK
    Offline

    OlegK Russian Joomla! Team Команда форума ⇒ Профи ⇐

    Регистрация:
    17.01.2011
    Сообщения:
    7 813
    Симпатии:
    771
    Пол:
    Мужской
    Осталось найти откуда появился модуль.
     

Поделиться этой страницей

Загрузка...