А что значит - раскодируйте скрипты?
Я извиняюсь, конечно. но не очень разбираюсь.
А где взять скрипты эти? Может всю папку темы проще загрузить через файлобменник?
А еще вот такой вопрос: если плагин TAC не нашел кодов, то это о чем - то говорит? Можно ему доверять?
Ну а что, если с помойки, то обязательно есть вредные коды. Так есть они в этой теме все - таки, или нет?
Да, кстати, именно это и пишет при проверке сайта и DrWeb и Alarm.
А опасны эти библиотеки? Или это нормальные файлы?
SeVlad, спасибо.:) Надо мной легко издеваться. Я даже и не обижаюсь.
Вот попробовала по вашей ссылке загрузить файлы темы.
Я загрузила только главные - всякие php, а те, что в папках не пока. Может вы сразу увидите в них что - то. Но, если нужно, загружу всю тему полностью со всем содержимым.
Вот ссылка на скачивание:
Download link: http://disk.nulled.cat/www/?a=d&i=0326950972
Мужчины, буду вашей должницей, если поможите. А может там ничё и нет.
Но, в любом случае, лучше перепроверить.
SeVlad,
я пытаюсь загрузить архивом и прицепить к сообщению их, а мне пишет - загрузка пошла неудачно. сегодня явно не мой день. так хочется вам их показать. а можно вам на почту, или в личку отправить?
как еще можно?
6666,
топик о том, что нужно брать темы на офиц. сайтах?
А что за айболит? не нашла. где его можно взять?
SeVlad, а какие файлы темы нужны?
И прошу ва, уважаемые мужчины, не судите меня строго. это мой первый сайт.
features.php
<?php
add_theme_support( 'woocommerce' );
wp_enqueue_script( 'mobilemenu', get_template_directory_uri() . '/lib/js/jquery.mobilemenu.js', array('jquery') );
add_action('wp_footer', 'themater_menu_js');
function themater_menu_js()
{
$return .= "<script type='text/javascript'>\n";
$return .= '/* <![CDATA[ */' . "\n";
$return .= "if (jQuery('#pagemenucontainer').length > 0) {
jQuery('#pagemenucontainer').mobileMenu({
defaultText: 'Menu',
className: 'menu-primary-responsive',
containerClass: 'menu-primary-responsive-container',
subMenuDash: '–'
});
} else if (jQuery('#pagemenu').length > 0) {
jQuery('#pagemenu').mobileMenu({
} \n";
$return .= "if (jQuery('#navcontainer').length > 0) {
jQuery('#navcontainer').mobileMenu({
defaultText: 'Navigation',
className: 'menu-secondary-responsive',
containerClass: 'menu-secondary-responsive-container',
} else if (jQuery('#nav').length > 0) {
jQuery('#nav').mobileMenu({
} else if (jQuery('.navcontainer').length > 0) {
jQuery('.navcontainer').mobileMenu({
$return .= "
themater_widow = jQuery(window).width();
function themater_content_first(){
get_parrent = jQuery('#content').parent();
jQuery('.sidebar-left').parent().insertAfter(get_parrent);
}
function themater_sidebar_first(){
jQuery('.sidebar-left').parent().insertBefore(get_parrent);
if ( themater_widow < 769) {
themater_content_first();
jQuery(window).resize(function() {
themater_widow_resized = jQuery(window).width();
if ( themater_widow_resized < 769) {
} else {
themater_sidebar_first()
\n";
$return .= '/* ]]> */' . "\n";
$return .= '</script>' . "\n";---------- Добавлено 21.03.2013 в 18:59 ----------Какие еще нуны?
Помогите пожалуйста, а то я боюсь сама шаблон поломать совсем.---------- Добавлено 21.03.2013 в 19:01 ----------header
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' |'; } ?> <?php bloginfo('name'); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/print.css" type="text/css" media="print" />
<!--[if IE]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/ie.css" type="text/css" media="screen, projection"><![endif]-->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php if(get_theme_option('featured_posts') != '' && is_home()) {
?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.css" type="text/css" media="screen" charset="utf-8" />
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2.5-core-yc.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2-more.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.transitions.js" type="text/javascript"></script>
<?php } ?>
<!--[if IE 6]>
<script src="<?php bloginfo('template_url'); ?>/js/pngfix.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<script src="<?php bloginfo('template_directory'); ?>/menu/mootools-1.2.5-core-yc.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/menu/MenuMatic.css" type="text/css" media="screen" charset="utf-8" />
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/menu/MenuMatic-ie6.css" type="text/css" media="screen" charset="utf-8" />
<!-- Load the MenuMatic Class -->
<script src="<?php bloginfo('template_directory'); ?>/menu/MenuMatic_0.68.3.js" type="text/javascript" charset="utf-8"></script>
<?php echo get_theme_option("head") . "\n"; wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<script type="text/javascript">
window.addEvent('domready', function() {
var myMenu = new MenuMatic();
</script>
<div id="wrapper">
<div id="container" class="container">
<div class="span-24">
<div class="span-22">
<div id="pagemenucontainer">
if(function_exists('wp_nav_menu')) {
wp_nav_menu( 'depth=1&theme_location=menu_1&menu_id=pagemenu&container=&fallback_cb=menu_1_default');
menu_1_default();
function menu_1_default()
<ul id="pagemenu">
<li <?php if(is_home()) { ?> class="current_page_item" <?php } ?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
<?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' ); ?>
</ul>
</div>
<div class="span-2 last">
<div class="feedtwitter">
<a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss.png" style="margin:0 4px 0 0;" /></a>
<?php if(get_theme_option('twitter') != '') { ?><a href="<?php echo get_theme_option('twitter'); ?>" title="<?php echo get_theme_option('twittertext'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/twitter.png" style="margin:0 4px 0 0; " title="<?php echo get_theme_option('twittertext'); ?>" /></a><?php } ?>
<div id="header" class="span-24">
<div class="span-12">
$get_logo_image = get_theme_option('logo');
if($get_logo_image != '') {
<a href="<?php bloginfo('url'); ?>"><img src="<?php echo $get_logo_image; ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" class="logoimg" /></a>
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
<div class="span-12 last" style="padding-top: 32px; text-align:right;">
<?php echo get_theme_option('ad_header'); ?>
<div id="navcontainer">
wp_nav_menu( 'theme_location=menu_2&menu_id=nav&container=&fallback_cb=menu_2_default');
menu_2_default();
function menu_2_default()
<ul id="nav">
<li <?php if(is_home()) { echo ' class="current-cat" '; } ?>><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_list_categories('depth=3&exclude=1&hide_empty=0&orderby=name&show_count=0&use_desc_for_title=1&title_li='); ?>
Продолжение:
if(!function_exists('get_sidebars')) {
function get_sidebars($args='')
get_sidebar($args);
function mytheme_admin() {
global $themename, $shortname, $options;
if ( $_REQUEST['saved'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' settings saved.</strong></p></div>';
<div class="wrap">
<h2><?php echo $themename; ?> Theme Options | </h2>
<div style="border-bottom: 1px dotted #000; padding-bottom: 10px; margin: 10px;">Leave blank any field if you don't want it to be shown/displayed.</div>
<?php $buy_theme_name = str_replace(' ', '-', strtolower(trim($themename))); ?>
<form method="post">
<?php foreach ($options as $value) {
switch ( $value['type'] ) {
case "open":
<table width="100%" border="0" style=" padding:10px;">
<?php break;
case "close":
</table><br />
case "title":
<table width="100%" border="0" style="padding:5px 10px;"><tr>
<td colspan="2"><h3 style="font-family:Georgia,'Times New Roman',Times,serif;"><?php echo $value['name']; ?></h3></td>
</tr>
case 'text':
<tr>
<td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
<td width="80%"><input style="width:100%;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" type="<?php echo $value['type']; ?>" value="<?php echo get_theme_settings( $value['id'] ); ?>" /></td>
<td><small><?php echo $value['desc']; ?></small></td>
</tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;"> </td></tr><tr><td colspan="2"> </td></tr>
break;
case 'textarea':
<td width="80%"><textarea name="<?php echo $value['id']; ?>" style="width:100%; height:140px;" type="<?php echo $value['type']; ?>" cols="" rows=""><?php echo get_theme_settings( $value['id'] ); ?></textarea></td>
case 'select':
<td width="80%">
<select style="width:240px;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
foreach ($value['options'] as $option) { ?>
<option value="<?php echo $option['value']; ?>" <?php if ( get_theme_settings( $value['id'] ) == $option['value']) { echo ' selected="selected"'; } ?>><?php echo $option['title']; ?></option>
</select>
</td>
case "checkbox":
<td width="80%"><?php if(get_theme_settings($value['id'])){ $checked = "checked=\"checked\""; }else{ $checked = ""; } ?>
<input type="checkbox" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="true" <?php echo $checked; ?> />
<!--</table>-->
<p class="submit">
<input name="save" type="submit" value="Save changes" />
<input type="hidden" name="action" value="save" />
</p>
</form>
mytheme_admin_init();
global $pagenow;
if(isset($_GET['activated'] ) && $pagenow == "themes.php") {
wp_redirect( admin_url('themes.php?page=functions.php') );
exit();
add_action('admin_menu', 'mytheme_add_admin');
function sidebar_ads_125()
global $shortname;
$option_name = $shortname."_ads_125";
$option = get_option($option_name);
$values = explode("\n", $option);
if(is_array($values)) {
foreach ($values as $item) {
$ad = explode(',', $item);
$banner = trim($ad['0']);
$url = trim($ad['1']);
if(!empty($banner) && !empty($url)) {
echo "<a href=\"$url\" target=\"_new\"><img class=\"ad125\" src=\"$banner\" /></a> \n";
if ( function_exists("add_theme_support") ) { add_theme_support("post-thumbnails"); }
if(function_exists('add_custom_background')) {
add_custom_background();
if ( function_exists( 'register_nav_menus' ) ) {
register_nav_menus(
array(
'menu_1' => 'Menu 1',
'menu_2' => 'Menu 2'
)
);
?>---------- Добавлено 21.03.2013 в 18:57 ----------footer
<div id="footer">Copyright © <a href="<?php bloginfo('home'); ?>"><strong><?php bloginfo('name'); ?></strong></a> - <?php bloginfo('description'); ?></div>
<div id="credits">Powered by </div>
wp_footer();
echo get_theme_option("footer") . "\n";
<!--LiveInternet counter--><script type="text/javascript"><!--
document.write("<a href='http://www.liveinternet.ru/click' "+
"target=_blank><img src='//counter.yadro.ru/hit?t16.15;r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random()+
"' alt='' title='LiveInternet: показано число просмотров за 24"+
" часа, посетителей за 24 часа и за сегодня' "+
"border='0' width='88' height='31'><\/a>")
//--></script><!--/LiveInternet-->
<!-- Rating@Mail.ru counter -->
<script type="text/javascript">//<![CDATA[ (function(w,n,d,r,s){d.write('<p><a href="http://top.mail.ru/jump?from=2319662">'+
'<img src="http://d5.c6.b3.a2.top.mail.ru/counter?id=2319662;t=210;js=13'+
((r=d.referrer)?';r='+escape(r):'')+((s=w.screen)?';s='+s.width+'*'+s.height:'')+';_='+Math.random()+
'" style="border:0;" height="31" width="88" alt="Рейтинг@Mail.ru" /><\/a><\/p>');})(window,navigator,document);//]]>
</script><noscript><p><a href="http://top.mail.ru/jump?from=2319662">
<img src="http://d5.c6.b3.a2.top.mail.ru/counter?id=2319662;t=210;js=na"
style="border:0;" height="31" width="88" alt="Рейтинг@Mail.ru" /></a></p></noscript>
<!-- //Rating@Mail.ru counter -->
<!-- Yandex.Metrika counter -->
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter20470162 = new Ya.Metrika({id:20470162,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true});
} catch(e) { }
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
<noscript><div><img src="//mc.yandex.ru/watch/20470162" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<!-- begin of Top100 code -->
<script id="top100Counter" type="text/javascript" src="http://counter.rambler.ru/top100.jcn?2866440"></script>
<noscript>
<a href="http://top100.rambler.ru/navi/2866440/">
<img src="http://counter.rambler.ru/top100.cnt?2866440" alt="Rambler's Top100" border="0" />
</a>
</noscript>