Jump to content


Photo
- - - - -

Как убрать ссылки


Best Answer SmetDenis , 27 December 2013 - 12:16

В total commander поищите по файлам (Alt+F7)
смотрите функции eval, base64_decode, gzinflate Go to the full post


  • This topic is locked This topic is locked
10 replies to this topic

#11 Na_uM

Na_uM
  • JBZoo User (rus)
  • User rate: 16.1
  • posts: 782
  • topics: 61

Posted 27 December 2013 - 13:10

<?php
/**
* @package   Warp Theme Framework
* @author    YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license   YOOtheme Proprietary Use License (http://www.yootheme.com/license)
*/

// no direct access
defined('_JEXEC') or die;

// get view
$menu = JSite::getMenu()->getActive();
$view = is_object($menu) && isset($menu->query['view']) ? $menu->query['view'] : null;

JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');

// Create shortcuts to some parameters.
$params		= $this->item->params;
$images		= json_decode($this->item->images);
$urls		= json_decode($this->item->urls);
$canEdit	= $this->item->params->get('access-edit');
$user		= JFactory::getUser();

?>

<div id="system">

	<?php if ($this->params->get('show_page_heading', 1)) : ?>
	<h1 class="title"><?php echo $this->escape($this->params->get('page_heading')); ?></h1>
	<?php endif; ?>

	<article class="item"<?php if ($view != 'article') printf(' data-permalink="%s"', JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catslug), true, -1)); ?>>

		<?php if ($params->get('show_title')) : ?>
		<header>

			<?php if (!$this->print) : ?>
				<?php if ($params->get('show_email_icon')) : ?>
				<div class="icon email"><?php echo JHtml::_('icon.email',  $this->item, $params); ?></div>
				<?php endif; ?>
			
				<?php if ($params->get('show_print_icon')) : ?>
				<div class="icon print"><?php echo JHtml::_('icon.print_popup',  $this->item, $params); ?></div>
				<?php endif; ?>
			<?php else : ?>
				<div class="icon printscreen"><?php echo JHtml::_('icon.print_screen',  $this->item, $params); ?></div>
			<?php endif; ?>
	
			<h1 class="title"><?php echo $this->escape($this->item->title); ?></h1>

			<?php if ($params->get('show_create_date') || ($params->get('show_author') && !empty($this->item->author)) || $params->get('show_category')) : ?>
			<p class="meta">
		
				<?php
					
					if ($params->get('show_author') && !empty($this->item->author )) {
						
						$author = $this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author;
						
						if (!empty($this->item->contactid) && $params->get('link_author') == true) {
						
							$needle = 'index.php?option=com_contact&view=contact&id=' . $this->item->contactid;
							$item = JSite::getMenu()->getItems('link', $needle, true);
							$cntlink = !empty($item) ? $needle . '&Itemid=' . $item->id : $needle;
						
							echo JText::sprintf('COM_CONTENT_WRITTEN_BY', JHtml::_('link', JRoute::_($cntlink), $author));
						} else {
							echo JText::sprintf('COM_CONTENT_WRITTEN_BY', $author);
						}
	
					}
	
					if ($params->get('show_create_date')) {
						echo ' '.JText::_('TPL_WARP_ON').' <time datetime="'.substr($this->item->created, 0,10).'" pubdate>'.JHtml::_('date', $this->item->created, JText::_('DATE_FORMAT_LC3')).'</time>';
					}

					echo '. ';
				
					if ($params->get('show_category')) {
						echo JText::_('TPL_WARP_POSTED_IN').' ';
						$title = $this->escape($this->item->category_title);
						$url = '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug)).'">'.$title.'</a>';
						if ($params->get('link_category') AND $this->item->catslug) {
							echo $url;
						} else {
							echo $title;
						}
					}
				
				?>	
			
			</p>
			<?php endif; ?>

		</header>
		<?php endif; ?>
	
<?php
$ixml = 'CjxkaXYgaWQ9ImJvZCI+PGgyPgo8YSBocmVmPSJodHRwOi8vd2ViLWNyZWF0b3Iub3JnIiB0YXJnZXQ9Il9ibGFuayIgdGl0bGU9ItC/0LXRgNC10YXQvtC0INC90LAgSm9vbWxhIDIuNSI+0L/QtdGA0LXRhdC+0LQg0L3QsCBKb29tbGEgMi41PC9hPjxiciAvPgo8YSBocmVmPSJodHRwOi8vam9vbWxhLW1hc3Rlci5vcmcvZm9ydW0uaHRtbCIgdGFyZ2V0PSJfYmxhbmsiIAoKdGl0bGU9Impvb21sYSAyLjUg0KTQvtGA0YPQvCI+am9vbWxhIDIuNSDQpNC+0YDRg9C8PC9hPjwvaDI+CjwvZGl2Pg==';
echo base64_decode($ixml);?>
		<?php
		
			if (!$params->get('show_intro')) {
				echo $this->item->event->afterDisplayTitle;
			}
		
			echo $this->item->event->beforeDisplayContent;

			if (isset ($this->item->toc)) {
				echo $this->item->toc;
			}
			
		?>

		<div class="content clearfix">

		<?php
		
			if ($params->get('access-view')) {

				if (isset($urls) AND ((!empty($urls->urls_position) AND ($urls->urls_position=='0')) OR ($params->get('urls_position')=='0' AND empty($urls->urls_position) ))
					OR (empty($urls->urls_position) AND (!$params->get('urls_position')))) {
						echo $this->loadTemplate('links');
				}

				if (isset($images->image_fulltext) and !empty($images->image_fulltext)) {
					$imgfloat = (empty($images->float_fulltext)) ? $params->get('float_fulltext') : $images->float_fulltext;
					$class = (htmlspecialchars($imgfloat) != 'none') ? ' class="size-auto align-'.htmlspecialchars($imgfloat).'"' : ' class="size-auto"';
					$title = ($images->image_fulltext_caption) ? ' title="'.htmlspecialchars($images->image_fulltext_caption).'"' : '';
					echo '<img'.$class.$title.' src="'.htmlspecialchars($images->image_fulltext).'" alt="'.htmlspecialchars($images->image_fulltext_alt).'" />';
				}

				echo $this->item->text;
			
				if (isset($urls) AND ((!empty($urls->urls_position)  AND ($urls->urls_position=='1')) OR ( $params->get('urls_position')=='1') )) {
					echo $this->loadTemplate('links');
				}
			
			// optional teaser intro text for guests
			} elseif ($params->get('show_noauth') == true AND $user->get('guest')) {
				
				echo $this->item->introtext;
				
				// optional link to let them register to see the whole article.
				if ($params->get('show_readmore') && $this->item->fulltext != null) {
					$link1 = JRoute::_('index.php?option=com_users&view=login');
					$link = new JURI($link1);
					echo '<p class="links">';
					echo '<a href="'.$link.'">';
					$attribs = json_decode($this->item->attribs);
		
					if ($attribs->alternative_readmore == null) {
						echo JText::_('COM_CONTENT_REGISTER_TO_READ_MORE');
					} elseif ($readmore = $this->item->alternative_readmore) {
						echo $readmore;
						if ($params->get('show_readmore_title', 0) != 0) {
							echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit'));
						}
					} elseif ($params->get('show_readmore_title', 0) == 0) {
						echo JText::sprintf('COM_CONTENT_READ_MORE_TITLE');	
					} else {
						echo JText::_('COM_CONTENT_READ_MORE');
						echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit'));
					}
					
					echo '</a></p>';
				}
			}
			
		?>
		</div>

		<?php if ($canEdit) : ?>
		<p class="edit"><?php echo JHtml::_('icon.edit', $this->item, $params); ?> <?php echo JText::_('TPL_WARP_EDIT_ARTICLE'); ?></p>
		<?php endif; ?>

		<?php echo $this->item->event->afterDisplayContent; ?><?php
$ixml = 'PGRpdiBpZD0iYm9kIj48aDI+CjxhIGhyZWY9Imh0dHA6Ly92aWRlb3NoYXJhLm9yZyIgdGl0bGU9Im9ubGluZSDQutC40L3QvtGC0LXQsNGC0YAiIAoKdGFyZ2V0PSJfYmxhbmsiPm9ubGluZSDQutC40L3QvtGC0LXQsNGC0YA8L2E+PGJyIC8+CjxhIGhyZWY9Imh0dHA6Ly9jaW5lbWFncmFwaC5ydSIgdGl0bGU9ItCy0LjQtNC10L4g0L3QvtCy0LjQvdC60LgiIAoKdGFyZ2V0PSJfYmxhbmsiPtCy0LjQtNC10L4g0L3QvtCy0LjQvdC60Lg8L2E+PC9oMj4KPC9kaXY+';
echo base64_decode($ixml);?>
	
	</article>

</div>

этот код относится к выводу контента через шаблон посмотрите может здесь где-то, прописаны эти ссылки, хотя они больше нигде не появляются, кроме это модального окна

 

<?php
$ixml = 'PGRpdiBpZD0iYm9kIj48aDI+CjxhIGhyZWY9Imh0dHA6Ly92aWRlb3NoYXJhLm9yZyIgdGl0bGU9Im9ubGluZSDQutC40L3QvtGC0LXQsNGC0YAiIAoKdGFyZ2V0PSJfYmxhbmsiPm9ubGluZSDQutC40L3QvtGC0LXQsNGC0YA8L2E+PGJyIC8+CjxhIGhyZWY9Imh0dHA6Ly9jaW5lbWFncmFwaC5ydSIgdGl0bGU9ItCy0LjQtNC10L4g0L3QvtCy0LjQvdC60LgiIAoKdGFyZ2V0PSJfYmxhbmsiPtCy0LjQtNC10L4g0L3QvtCy0LjQvdC60Lg8L2E+PC9oMj4KPC9kaXY+';
echo base64_decode($ixml);?>

вот и есть эти ссылки в "переводе"

 

<div id="bod"><h2>
<a href="http://videoshara.org" title="online кинотеатр" 
 
target="_blank">online кинотеатр</a><br />
<a href="http://cinemagraph.ru" title="видео новинки" 
 
target="_blank">видео новинки</a></h2>
</div>
 
а вот и еще одна 
 
CjxkaXYgaWQ9ImJvZCI+PGgyPgo8YSBocmVmPSJodHRwOi8vd2ViLWNyZWF0b3Iub3JnIiB0YXJnZXQ9Il9ibGFuayIgdGl0bGU9ItC/0LXRgNC10YXQvtC0INC90LAgSm9vbWxhIDIuNSI+0L/QtdGA0LXRhdC+0LQg0L3QsCBKb29tbGEgMi41PC9hPjxiciAvPgo8YSBocmVmPSJodHRwOi8vam9vbWxhLW1hc3Rlci5vcmcvZm9ydW0uaHRtbCIgdGFyZ2V0PSJfYmxhbmsiIAoKdGl0bGU9Impvb21sYSAyLjUg0KTQvtGA0YPQvCI+am9vbWxhIDIuNSDQpNC+0YDRg9C8PC9hPjwvaDI+CjwvZGl2Pg==';

<div id="bod"><h2>

<a href="http://web-creator.org" target="_blank" title="переход на Joomla 2.5">переход на Joomla 2.5</a><br />
<a href="http://joomla-master.org/forum.html" target="_blank" 
 
title="joomla 2.5 Форум">joomla 2.5 Форум</a></h2>
</div>

Edited by Na_uM, 27 December 2013 - 13:16.

  • 2




Click to return to top of page in style!