feat: iqon.com full backup and design audit

- Server backup: PHP source files, theme assets, fonts, images,
  wp-config.php (masked), .htaccess, sitemaps, manifest
- Design audit: comparison with Open Design systems (Corporate,
  Clean, Modern, Bold), critical issues, SEO problems, 3-phase
  change plan, new_redesign analysis
- All files downloaded from production server via Code Snippets

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Sergei Vasilev
2026-05-18 12:58:44 +03:00
parent 212909283c
commit 2fadc15923
52 changed files with 2208 additions and 0 deletions
@@ -0,0 +1,36 @@
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
RewriteCond %{HTTP_HOST} ^iqon\.md$ [OR]
RewriteCond %{HTTP_HOST} ^www\.iqon\.md$
RewriteRule ^/?$ "http\:\/\/www\.iqon\.kz\/" [R=301,L]
RewriteCond %{HTTP_HOST} ^iqonrussia\.kz$ [OR]
RewriteCond %{HTTP_HOST} ^www\.iqonrussia\.kz$
RewriteRule ^/?$ "http\:\/\/www\.iqon\.kz\/" [R=301,L]
RewriteCond %{HTTP_HOST} ^iqonrussia\.ru$ [OR]
RewriteCond %{HTTP_HOST} ^www\.iqonrussia\.ru$
RewriteRule ^/?$ "http\:\/\/www\.iqon\.kz\/" [R=301,L]
<Files "wp-login.php">
AuthType Basic
AuthName "please use your control panel password"
AuthUserFile /var/www/u0012812/data/etc/users
Require valid-user
</Files>
@@ -0,0 +1 @@
<?php // GA-UA removed - migrated to GA4 ?>\n
@@ -0,0 +1,72 @@
<?php error_reporting(E_ERROR | E_PARSE); ?>
<?php get_header(); ?>
<?php
include 'paginare-script.php';
?>
<?php if (!in_array($selected_object_id, array(1,25,26))) { ?>
<div class="contentleft">
<h1 class="fontsize20 marginbottom20">Career opportunities:</h1>
<?php
$categories = get_categories(array('parent'=>7, 'hide_empty' => false));
?>
<?php foreach ($categories as $cat) { ?>
<a href="<?php echo get_category_link($cat->term_id);?>" title="<?php echo $cat->name; ?>" <?php if ($selected_department == $cat->term_id) echo 'class="active"'; ?>>&raquo; <?=$cat->name;?> (<?php echo $cat->count; ?>)</a>
<div id="linie-punctata"></div>
<?php } ?>
</div>
<div class="contentright">
<?php } ?>
<?php
wp_reset_query();
if (!intval($selected_department)) $args = array( 'posts_per_page' => $per_page, 'cat' => $selected_object_id, 'post_type' => 'post', 'post_status' => 'publish', 'paged' => $current_page );
else $args = array( 'posts_per_page' => $per_page, 'cat' => $selected_department, 'post_type' => 'post', 'post_status' => 'publish', 'paged' => $current_page );
query_posts($args);
while ( have_posts() ) : the_post();
if (in_array($selected_object_id, array(1,25,26))) {
$id_featured = 0;
if (has_post_thumbnail()) {
$id_featured = get_post_thumbnail_id();
$imagine_featured = wp_get_attachment_image_src($id_featured, 'post-thumbnail');
}
}
?>
<?php if (in_array($selected_object_id, array(1,25,26))) { ?>
<div class="caseStudyRow">
<?php if ($id_featured && $imagine_featured[0]) { ?>
<div class="container_imagine floatleft marginright20">
<a href="<?=get_permalink($latest_case[0]->ID); ?>"><img src="<?=$imagine_featured[0];?>" /></a>
</div>
<?php } ?>
<h2><a href="<?php echo get_permalink();?>"><?php the_title();?></a></h2>
<?php //echo apply_filters('the_content',short_text(get_the_content(), 500));
echo short_text(get_the_content(), 500, '...');
?>
<div class="button_read <?php if ($id_featured && $imagine_featured[0]) { ?>readCaseStudy<?php } else { ?>margintop10<?php } ?>"><a href="<?=get_permalink($latest_case[0]->ID); ?>"><img src="/wp-content/themes/iqon/images/read.png" /></a></div>
<div class="clear"></div>
</div>
<?php } else { ?>
<div class="caseStudyRow">
<h2><a href="<?php echo get_permalink();?>"><?php the_title();?></a></h2>
<?php //echo apply_filters('the_content',short_text(get_the_content(), 500));
echo short_text(get_the_content(), 500, '...');
?>
<div class="button_read <?php if ($id_featured && $imagine_featured[0]) { ?>readCaseStudy<?php } else { ?>margintop10<?php } ?>"><a href="<?=get_permalink($latest_case[0]->ID); ?>"><img src="/wp-content/themes/iqon/images/read_job.png" /></a></div>
<div class="clear"></div>
</div>
<?php } ?>
<?php
endwhile;
wp_reset_query();
?>
<?php
include 'paginare-template.php';
?>
<?php if (!in_array($selected_object_id, array(1,25,26))) { ?>
<?php if ( !have_posts() ) { ?>
If you want to apply for a position within the Iqon company, please submit your resume by pressing the following button.<br/><br/>
<a href="mailto:office@iqon.com?subject=Submit CV from website"><img src="/wp-content/themes/iqon/images/submit_cv.png" /></a>
<?php } ?>
</div>
<div class="clear"></div>
<?php } ?>
<?php get_footer(); ?>
@@ -0,0 +1,156 @@
<?php
/**
* Template Name: CONTACTKZ
*/
?>
<?php
function rpHash($value) {
$hash = 5381;
$value = strtoupper($value);
for($i = 0; $i < strlen($value); $i++) {
$hash = (leftShift32($hash, 5) + $hash) + ord(substr($value, $i));
}
return $hash;
}
// Perform a 32bit left shift
function leftShift32($number, $steps) {
// convert to binary (string)
$binary = decbin($number);
// left-pad with 0's if necessary
$binary = str_pad($binary, 32, "0", STR_PAD_LEFT);
// left shift manually
$binary = $binary.str_repeat("0", $steps);
// get the last 32 bits
$binary = substr($binary, strlen($binary) - 32);
// if it's a positive number return it
// otherwise return the 2's complement
return ($binary[0] == "0" ? bindec($binary) :
-(pow(2, 31) - bindec(substr($binary, 1))));
}
if (!empty($_POST)) {
$nume = $_POST['nume'];
$email = $_POST['email'];
$message = $_POST['mesaj'];
$subject = $_POST['subject'];
$validation_code = $_POST['validation'];
$hash = $_POST['hash'];
$hash_not_valid = false;
if ($hash != rpHash($validation_code)) {
$hash_not_valid = true;
}
else {
require_once 'class.phpmailer.php';
$new_mail = new PHPMailer(true);
try {
$new_mail->AddReplyTo($email, $nume);
$admin_email = get_option('admin_email');
//dv($admin_email);die();
$new_mail->AddAddress($admin_email);
//$new_mail->AddAddress('gabriel.ilie@gmail.com', 'Gabriel Ilie');
$new_mail->SetFrom('contact@iqon.com', 'CONTACT FORM');
$new_mail->Subject = '[IQON CONTACT FORM] '.$nume.' has sent you a message. Subject: '.$subject;
$new_mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; // optional - MsgHTML will create an alternate automatically
//$new_mail->MsgHTML(file_get_contents('contents.html'));
$html = $nume.' has sent you an message.<br /><b>E-mail:</b> '.$email.'<br /><b>Subject:</b> '.$subject.'<br /><b>Message:</b> '.$message;
$new_mail->MsgHTML($html);
$new_mail->Send();
} catch (phpmailerException $e) {
echo $e->errorMessage(); //Pretty error messages from PHPMailer
} catch (Exception $e) {
echo $e->getMessage(); //Boring error messages from anything else!
}
echo '<script>top.location = "'.get_permalink(12).'?sent=ok";</script>';
die();
}
}
?>
<?php $ascunde_services = true; ?>
<?php get_header(); ?>
<div class="contentleft">
<p><h1 class="fontsize20 marginbottom20">Bucharest Office:</h1>
10th Montreal Square, 2nd Floor <br />
Office 2.10, 011469 <br />
Bucharest - 1, Romania <br />
<div id="linie-punctata"></div>
T: +4 037 239 0880<br />
F: +4 037 261 2608<br />
<div id="linie-punctata"></div>
<a href="mailto:office@iqon.com">office@iqon.com</a></p>
<p><h1 class="fontsize20 marginbottom20">Moscow Office:</h1>
ул. Большая Полянка, дом 7/10, стр. 3<br />
119180, РФ, г. Москва<br />
<div id="linie-punctata"></div>
T: +7 965 195 85 26<br />
<div id="linie-punctata"></div>
<a href="mailto:office@iqon.kz">office@iqon.kz</a></p>
<p><h1 class="fontsize20 marginbottom20">Almaty Office:</h1>
улица Богенбай батыра 117, кв. 25 <br />
05000, Казахстан, г. Алматы<br />
<div id="linie-punctata"></div>
T: +7 727 267 02 55<br />
F: +7 727 267 02 55<br />
<div id="linie-punctata"></div>
<a href="mailto:office@iqon.kz">office@iqon.kz</a></p>
</div>
<div class="contentright">
<iframe width="700" height="250" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=str+montreal+bucuresti+iqon&amp;aq=&amp;sll=44.475036,26.07116&amp;sspn=0.006546,0.016512&amp;t=m&amp;g=str+montreal+bucuresti+nr+10&amp;ie=UTF8&amp;hq=iqon&amp;hnear=Pia%C5%A3a+Montreal,+Sector+1,+Bucure%C8%99ti,+Romania&amp;ll=44.475732,26.069977&amp;spn=0.003828,0.014999&amp;z=16&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=str+montreal+bucuresti+iqon&amp;aq=&amp;sll=44.475036,26.07116&amp;sspn=0.006546,0.016512&amp;t=m&amp;g=str+montreal+bucuresti+nr+10&amp;ie=UTF8&amp;hq=iqon&amp;hnear=Pia%C5%A3a+Montreal,+Sector+1,+Bucure%C8%99ti,+Romania&amp;ll=44.475732,26.069977&amp;spn=0.003828,0.014999&amp;z=16" target="_blank" style="color:#0000FF;text-align:left">View Larger Map</a></small>
<h2 class="margintop40">Please fill in the form below <?php if ($_GET['sent'] ?? '' ?? '' ?? '' ?? '' ?? '' ?? ''=='ok') { ?>[Your message has been send.]<?php } ?></h2>
<form action="" method="POST" id="formular_contact">
<div class="rowInput">
<label id="label_name">Your name (required):</label>
<input type="text" name="nume" id="name" />
</div>
<div class="rowInput">
<label id="label_email">Your email (required):</label>
<input type="text" name="email" id="email" />
</div>
<div class="clear"></div>
<!--<div class="rowInput">
<label>Category:</label>
<input type="text" name="name" id="name" />
</div>-->
<div class="rowInput">
<label id="label_subject">Subject:</label>
<input type="text" name="subject" id="subject" />
</div>
<div class="clear"></div>
<div class="rowTextarea">
<label id="label_mesaj">Message:</label>
<textarea name="mesaj" id="mesaj"></textarea>
</div>
<div class="rowInput" style="width: 600px!important;">
<label id="label_validation">Validation code(required):</label>
<input type="text" name="validation" id="validation" value="" data-default="validation code" class="text validation" style="width: 100px!important; text-transform: uppercase;" />
</div>
<div class="clear"></div>
<input type="submit" class="submitMessage" value="" />
</form>
<script type="text/javascript">
$(document).ready(function() {
$('#validation').realperson({length: 5, includeNumbers: false, hashName: 'hash'});
$('#formular_contact').submit(function(event) {
if (!$('#name').val()) {
$('#label_name').addClass('notCompleted');
event.preventDefault();
}
else $('#label_name').removeClass('notCompleted');
if (!$('#email').val()) {
$('#label_email').addClass('notCompleted');
event.preventDefault();
}
else $('#label_email').removeClass('notCompleted');
if (!$('#validation').val()) {
$('#label_validation').addClass('notCompleted');
event.preventDefault();
}
else $('#label_validation').removeClass('notCompleted');
});
});
</script>
<div class="disclaimer">
<strong>Disclaimer:</strong> IQON Romania takes all necessary measures to keep your personal information private and secure. Only authorized IQON Romania staff, Third Party companies (i.e. service providers) staff or our business partners' authorized staff (who have contractually agreed to keep all information secure) have access to your personal information.
</div>
</div>
<?php get_footer(); ?>
@@ -0,0 +1,120 @@
<?php global $meniu, $case_file; ?>
<div class="clear"></div>
</div>
<?php if ($case_file) { ?>
<div class="download_case_file">
<div class="link"><a target="_blank" href="<?=$case_file;?>"><img src="/wp-content/themes/iqon/images/download_case_study.png" /></a></div>If you would like to read this material later, download the case study's full PDF.
</div>
<?php } ?>
<div id="footer">
<div id="linie-interior"></div>
<div id="content-footer">
<div class="cf">
<?php $domain = $_SERVER['SERVER_NAME'];
switch($domain) {
default :?>
<h3>Latest Case Studies</h3>
<?php break;
case 'www.iqon.kz' :?>
<h3>Latest Case Studies RU</h3>
<?php break;} ?>
<?php
wp_reset_query();
$args = array( 'posts_per_page' => 5, 'cat' => 1, 'post_type' => 'post', 'post_status' => 'publish' );
$latests_case = query_posts($args);
wp_reset_query();
?>
<?php foreach($latests_case as $case) { ?>
<a href="<?=get_permalink($case->ID);?>">&raquo; <?=$case->post_title;?></a><br />
<?php } ?>
</div>
<div class="cf">
<?php $domain = $_SERVER['SERVER_NAME'];
switch($domain) {
default :?>
<h3>Our Services</h3>
<?php break;
case 'www.iqon.kz' :?>
<h3>Наши услуги</h3>
<?php break; }?>
<?php
$mainMeniu = $meniu[74];
$mainMeniu_ru = isset($meniu[279]) ? $meniu[279] : null;
$mainMeniu_kz = isset($meniu[282]) ? $meniu[282] : null; ?>
<?php if ($mainMeniu){foreach ($mainMeniu->childrens as $services) {
?>
<a href="<?=$services->url;?>" title="<?php echo $services->attr_title; ?>">&raquo; <?=$services->title;?></a><br />
<? }}
?>
<?php if ($mainMeniu_ru){foreach ($mainMeniu_ru->childrens as $services) {
?>
<a href="<?=$services->url;?>" title="<?php echo $services->attr_title; ?>">&raquo; <?=$services->title;?></a><br />
<? }}
?>
<?php if ($mainMeniu_kz){foreach ($mainMeniu_kz->childrens as $services) {
?>
<a href="<?=$services->url;?>" title="<?php echo $services->attr_title; ?>">&raquo; <?=$services->title;?></a><br />
<? }}
?>
</div>
<?php $domain = $_SERVER['SERVER_NAME'];
switch($domain) {
default :?>
<div class="cf noborder lineheight14">
<h3>Contact</h3>
10th Montreal Square, 2nd Floor, Office 2.10, Bucharest - 1, 011469, Romania
<br /><br />T: +4 037 239 0880
<br />F: +4 037 261 2608
<br /><br /><a href="mailto:office@iqon.com">office@iqon.com</a>
<?php if(1==0) { ?>
<div class="iconite-contact">
<a href="#"><img src="/wp-content/themes/iqon/images/twitter.png" /></a>
<a href="#"><img src="/wp-content/themes/iqon/images/facebook.png" /></a>
<a href="<?php echo function_exists('icl_get_home_url') ? icl_get_home_url() : home_url(); ?>/feed"><img src="/wp-content/themes/iqon/images/rss.png" /></a>
</div>
<?php } ?>
</div>
<?php break;
case 'www.iqon.kz' :?>
<div class="cf noborder lineheight14">
<h3>Контакт</h3>
ул. Большая Полянка, дом 7/10, стр. 3<br /> 119180, РФ, г. Москва
<br /><br />T: +7 965 195 85 26
<br /><br /><a href="mailto:office@iqon.kz">office@iqon.kz</a>
<?php if(1==0) { ?>
<div class="iconite-contact">
<a href="#"><img src="/wp-content/themes/iqon/images/twitter.png" /></a>
<a href="#"><img src="/wp-content/themes/iqon/images/facebook.png" /></a>
<a href="<?php echo function_exists('icl_get_home_url') ? icl_get_home_url() : home_url(); ?>/feed"><img src="/wp-content/themes/iqon/images/rss.png" /></a>
</div>
<?php } ?>
</div>
<?php break;} ?>
<div class="clear"></div>
</div>
<div id="linie-interior"></div>
<div id="content-footer-bottom">
<a href="<?php echo function_exists('icl_get_home_url') ? icl_get_home_url() : home_url(); ?>" title="<?php bloginfo('name'); ?>">Home</a>
<?php if ($meniu) { ?>
<?php foreach ($meniu as $key=>$mainMenu) { ?>
| <a id="mainMenu_<?php echo $mainMenu->ID;?>" href="<?php echo $mainMenu->url; ?>" title="<?php echo $mainMenu->attr_title; ?>" <?php if ($mainMenu->selected) echo 'class="active"'; ?>><?php echo $mainMenu->title; ?></a>
<?php } ?>
<?php } ?>
<br />
<?php $domain = $_SERVER['SERVER_NAME'];
switch($domain) {
default :?>
<div id="copy">2016 &copy; Copyright IQON. All rights reserved.</div>
<?php break;
case 'www.iqon.kz' :?>
<div id="copy">2016 &copy; Авторское IQON. Все права защищены.</div>
<?php break;} ?>
<div id="logo-bottom">
<a href="<?php echo function_exists('icl_get_home_url') ? icl_get_home_url() : home_url(); ?>" title="<?php bloginfo('name'); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/logo-footer.png" alt="<?php bloginfo('name'); ?>" /></a>
</div>
</div>
</div>
</div>
<?php include_once("analyticstracking.php") ?>
</body>
</html>
@@ -0,0 +1,421 @@
<?php
define('JS_URL', '/wp-content/themes/iqon/js');
define('CSS_URL', '/wp-content/themes/iqon/css');
define('IMAGE_URL', '/wp-content/themes/iqon/images');
register_nav_menus( array('principal' => 'Meniu principal') );
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size(208,142, true);
add_image_size('case-study', 435);
/*add_image_size('home-slider', 700, 495, true);
add_image_size('article-page', 320, 226, true);
add_image_size('listing-article', 160, 113, true);
add_image_size('product-image', 560, 420, false);
add_image_size('gallery', 9999, 600, false);
*/
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', ('https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js'), false, '3.7.1');
wp_register_script('jquery-ui', ('https://ajax.googleapis.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js'), array('jquery'), '1.13.2');
wp_enqueue_script('jquery-ui');
}
show_admin_bar(false);
add_editor_style();
remove_action('wp_head', 'rsd_link');
remove_action('wp_head', 'wp_generator');
remove_action('wp_head', 'index_rel_link');
remove_action('wp_head', 'wlwmanifest_link');
remove_action('wp_head', 'start_post_rel_link', 10, 0);
remove_action('wp_head', 'parent_post_rel_link', 10, 0);
remove_action('wp_head', 'adjacent_posts_rel_link', 10, 0);
automatic_feed_links(false);
if ( class_exists("global_posts_ordering") ) {
$global_posts_ordering = new global_posts_ordering(array("product"));
}
function image_src($img_tag)
{
preg_match("/src=\"(.*?)\"/i", $img_tag, $matches);
return $matches[1];
}
function short_text($text, $len=200, $puncte = ""){
$text = strip_tags($text);
if( (mb_strlen($text) > $len) ) {
$whitespaceposition = mb_strpos($text," ",$len)-1;
if( $whitespaceposition > 0 ) {
$chars = count_chars(mb_substr($text, 0, ($whitespaceposition+1)), 1);
if (isset($chars[ord('<')]) && $chars[ord('<')] > (isset($chars[ord('>')]) ? $chars[ord('>')] : 0))
$whitespaceposition = mb_strpos($text,">",$whitespaceposition)-1;
$text = mb_substr($text, 0, ($whitespaceposition+1));
}
// close unclosed html tags
if( preg_match_all("|<([a-zA-Z]+)|",$text,$aBuffer) ) {
if( !empty($aBuffer[1]) ) {
preg_match_all("|</([a-zA-Z]+)>|",$text,$aBuffer2);
if( count($aBuffer[1]) != count($aBuffer2[1]) ) {
foreach( $aBuffer[1] as $index => $tag ) {
if( empty($aBuffer2[1][$index]) || $aBuffer2[1][$index] != $tag)
$text .= '</'.$tag.'>';
}
}
}
}
}
return $text.$puncte;
}
/*
returneaza data in format:
- pt postare de azi 'azi la {ora}'
- pt anul asta, dar nu azi '{ziua} {luna} la {ora}
- pt alt an '{ziua} {luna} {anul} la {ora}
*/
function afiseaza_data($data=false)
{
if (!$data) return false;
// verifica daca este data in format corect
if (($data_timestamp = strtotime($data)) === false) {
// daca nu este corecta si nu am ce face cu ea returnez valoarea inapoi
return $data;
}
else {
//@setlocale(LC_TIME, 'ro_RO');
/*if (date("Y")==date("Y",$data_timestamp)) {
// acelasi an
if (date('d')==date('d',$data_timestamp)) {
// aceeasi zi
return strftime('azi la %H:%M',$data_timestamp);
}
else
{
// zi diferite
return strftime('%d %b la %H:%M',$data_timestamp);
}
}
else {
// ani diferiti
return strftime('%d %b %Y la %H:%M',$data_timestamp);
}*/
return strftime("%b %d",$data_timestamp);
}
}
function afiseaza_data_cu_an($data=false)
{
if (!$data) return false;
// verifica daca este data in format corect
if (($data_timestamp = strtotime($data)) === false) {
// daca nu este corecta si nu am ce face cu ea returnez valoarea inapoi
return $data;
}
else {
//@setlocale(LC_TIME, 'ro_RO');
/*if (date("Y")==date("Y",$data_timestamp)) {
// acelasi an
if (date('d')==date('d',$data_timestamp)) {
// aceeasi zi
return strftime('azi la %H:%M',$data_timestamp);
}
else
{
// zi diferite
return strftime('%d %b la %H:%M',$data_timestamp);
}
}
else {
// ani diferiti
return strftime('%d %b %Y la %H:%M',$data_timestamp);
}*/
return strftime("%b %d, %Y",$data_timestamp);
}
}
function arrangeMenuIqon($menu, $selected_object_id = 0, $selected_object_type, $homeID) {
global $object_id, $object_id_child, $object_id_child_child;
$arranged_menu = array();
$mainLevel = array();
$secondLevel = array();
$thirdLevel = array();
foreach ($menu as $m)
if ($m->menu_item_parent == 0) {
$key = $m->ID;
$arranged_menu[$key] = new stdClass;
$arranged_menu[$key]->ID = $m->ID;
$arranged_menu[$key]->object_id = $m->object_id;
$arranged_menu[$key]->object_id_en = function_exists('icl_object_id') ? icl_object_id($m->object_id, $m->object, true, 'en') : $m->object_id;
$arranged_menu[$key]->parrent = 0;
$arranged_menu[$key]->title = $m->title;
$arranged_menu[$key]->attr_title = $m->attr_title;
$arranged_menu[$key]->object = $m->object;
if (empty($arranged_menu[$key]->attr_title)) $arranged_menu[$key]->attr_title = $arranged_menu[$key]->title;
$arranged_menu[$key]->url = $m->url;
$arranged_menu[$key]->has_childrens = false;
$arranged_menu[$key]->selected = false;
if ($selected_object_type == 'home') {
if ($selected_object_id == $arranged_menu[$key]->object_id_en && $m->object == 'page')
$arranged_menu[$key]->selected = true;
$object_id = $key;
}
elseif ($selected_object_type == $m->object && $selected_object_id == $m->object_id) {
$arranged_menu[$key]->selected = true;
$object_id = $key;
}
$mainLevel[] = $m->ID;
}
elseif (in_array($m->menu_item_parent, $mainLevel)) {
$key_parent = $m->menu_item_parent;
$arranged_menu[$key_parent]->has_childrens = true;
$key_child = $m->ID;
$objectToModify = &$arranged_menu[$key_parent]->childrens;
$objectToModify[$key_child] = new stdClass;
$objectToModify[$key_child]->ID = $m->ID;
$objectToModify[$key_child]->object_id = $m->object_id;
$objectToModify[$key_child]->object_id_en = function_exists('icl_object_id') ? icl_object_id($m->object_id, $m->object, true, 'en') : $m->object_id;
$objectToModify[$key_child]->parrent = $key_parent;
$objectToModify[$key_child]->title = $m->title;
$objectToModify[$key_child]->attr_title = $m->attr_title;
$objectToModify[$key_child]->object = $m->object;
if (empty($objectToModify[$key_child]->attr_title)) $objectToModify[$key_child]->attr_title = $objectToModify[$key_child]->title;
$objectToModify[$key_child]->url = $m->url;
if (($arranged_menu[$key_parent]->object_id_en == 8) && sizeof($arranged_menu[$key_parent]->childrens) == 1) $arranged_menu[$key_parent]->url = $objectToModify[$key_child]->url;
$objectToModify[$key_child]->selected = false;
if ($selected_object_type == $m->object && $selected_object_id == $m->object_id) {
$objectToModify[$key_child]->selected = true;
$arranged_menu[$key_parent]->selected = true;
$object_id = $key_parent;
$object_id_child = $key_child;
}
$objectToModify[$key_child]->has_childrens = false;
$secondLevel[] = $m->ID;
if ($arranged_menu[$key_parent]->object_id_en == 8) {
wp_reset_query();
$args_pages = array('post_type' => 'page', 'order' => 'ASC', 'orderby' => 'menu_order', 'post_status' => 'publish', 'nopaging' => true, 'post_parent' => $objectToModify[$key_child]->object_id);
$pages = query_posts($args_pages);
//dv($pages);
if ($pages) {
$objectToModifyChild = &$objectToModify[$key_child]->childrens;
$objectToModify[$key_child]->has_childrens = true;
foreach ($pages as $p) {
$key_child_child = $p->ID;
$objectToModifyChild[$key_child_child] = new stdClass;
$objectToModifyChild[$key_child_child]->ID = $p->ID;
$objectToModifyChild[$key_child_child]->object_id = $p->ID;
$objectToModifyChild[$key_child_child]->object_id_en = function_exists('icl_object_id') ? icl_object_id($p->ID, $p->post_type, true, 'en') : $p->ID;
$objectToModifyChild[$key_child_child]->parrent = $key_child;
$objectToModifyChild[$key_child_child]->title = $p->post_title;
$objectToModifyChild[$key_child_child]->attr_title = $p->post_title;
$objectToModifyChild[$key_child_child]->object = $p->post_type;
$objectToModifyChild[$key_child_child]->url = get_permalink($p->ID);
$objectToModifyChild[$key_child_child]->selected = false;
if ($selected_object_type == $p->post_type && $selected_object_id == $p->ID) {
$objectToModifyChild[$key_child_child]->selected = true;
$objectToModify[$key_child]->selected = true;
$arranged_menu[$key_parent]->selected = true;
$object_id = $key_parent;
$object_id_child = $key_child;
$object_id_child_child = $key_child_child;
}
$objectToModifyChild[$key_child_child]->has_childrens = false;
}
}
wp_reset_query();
}
unset($objectToModify);
}
return $arranged_menu;
}
function arrangeMenu($menu, $selected_object_id = 0, $selected_object_type, $homeID) {
global $object_id, $object_id_child, $object_id_child_child;
$arranged_menu = array();
// get level 1 menus
foreach ($menu as $m)
if ($m->menu_item_parent == 0) {
$i = $m->ID;
$arranged_menu[$i] = new stdClass;
$arranged_menu[$i]->ID = $m->ID;
$arranged_menu[$i]->object_id = $m->object_id;
$arranged_menu[$i]->title = $m->title;
$arranged_menu[$i]->attr_title = $m->attr_title;
if (empty($arranged_menu[$i]->attr_title)) $arranged_menu[$i]->attr_title = $arranged_menu[$i]->title;
$arranged_menu[$i]->parrent = 0;
$arranged_menu[$i]->url = $m->url;
$arranged_menu[$i]->selected = false;
if ($selected_object_id == $m->object_id) {
$object_id = $i;
$arranged_menu[$i]->selected = true;
}
$arranged_menu[$i]->has_childrens = false;
}
if ($selected_object_type == 'home') $arranged_menu[$homeID]->selected = true;
return $arranged_menu;
}
function dv($var, $var_type = '') {
dump_var($var, $var_type);
}
function dump_var($var, $var_type = '') {
$ip=$_SERVER['REMOTE_ADDR'];
$local=false;
//if(preg_match("/192\.168\.([0-9]+)\.([0-9]+)/", $ip))$local=true;
//if(preg_match("/10\.([0-9]+)\.([0-9]+)\.([0-9]+)/", $ip))$local=true;
if($ip == "89.36.30.26") $local=true;
$local=true;
$rand = rand(0,9999);
echo "<div id='dv_".$rand."' style='position:absolute; z-index:10000; top:0; left:0;' onclick='document.getElementById(\"dv_".$rand."\").style.display=\"none\";'>";
if($local==true) {
print_var($var, $var_type);
}
echo "</div>";
}
function print_var(&$var, $var_type, $return=false)
{
global $html;
$html="<style>
.printvar {
background-color: #fdf8db;
border: 1px dashed #000;
padding:10px;
width: 90%;
word-wrap: break-word;
margin-left:auto;
margin-right:auto;
}
.printvar *{
color:#000;
font-size:12px;
font-family:Courier New;
align:left;
}
.printvar .var {
color: #0066CC;
}
.printvar .string {
color: #DD0000;
}
.printvar .numeric {
color: #0000BB;
}
.printvar .object {
color: #0080FF;
}
.printvar .button {
width:10px;
height:10px;
cursor:pointer;
}
</style>
<script>
function showHidePrintVar(id) {
elem = document.getElementById(id);
img = document.getElementById('img'+id);
if(elem.style.display=='none') {
elem.style.display='block';
} else {
elem.style.display='none';
}
}
</script>
<div class='printvar'>";
if(!isset($var))$var="%NULL%";
$old = $var;
$var = '0unique'.rand().'value';
$var_name = array_search($var, $GLOBALS, true);
$var=$old;
if($var_name) {
print_content($var, "$".$var_name, 1, "$".$var_name);
} else {
print_content($var, $var_type, 1, $var_type);
}
$html.="</div>";
if($return)return $html;
else echo $html;
}
function print_content($var, $var_name, $level, $parent) {
if(!isset($var))$var="%NULL%";
global $html;
for($i=0;$i<$level;$i++)$html.="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
if(strpos($var_name, "$")===0) {
$html.="<span class='var'>$var_name</span> = ";
} elseif(strpos($parent, "->$var_name")==strlen($parent)-strlen($var_name)-2) {
$html.="-><span title=\"$parent\" class='object'>$var_name</span> = ";
} else {
$html.="[";
if(is_numeric($var_name)) {
$html.="<span title=\"$parent\" onclick=\"prompt('Path:','".addslashes($parent)."');\" class='numeric'>$var_name</span>";
} else {
$html.="<span title=\"$parent\" onclick=\"prompt('Path:','".addslashes($parent)."');\" class='string'>\"$var_name\"</span>";
}
$html.="] = ";
}
if(is_array($var)) {
$id=base64_encode(microtime());
$html.=" Array <span onclick=\"showHidePrintVar('$id');\" class='button'></span> {<br/>";
$html.="<div id='$id'>";
foreach ($var as $k=>$v) {
print_content($v, $k, $level+1, $parent."['$k']");
}
$html.="</div>";
for($i=0;$i<$level;$i++)$html.="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
$html.=" }<br/>";
} elseif(is_object($var)) {
$id=base64_encode(microtime());
$html.=" Object <span onclick=\"showHidePrintVar('$id');\" class='button'><img id='img$id' src='".IMGURL."close.png' width='10px' height='10px' /></span> {<br/>";
$html.="<div id='$id'>";
foreach ($var as $k=>$v) {
print_content($v, $k, $level+1, $parent."->$k");
}
$html.="</div>";
for($i=0;$i<$level;$i++)$html.="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
$html.=" }<br/>";
} else {
if (is_string($var)) {
$var=htmlentities($var, ENT_QUOTES, "UTF-8");
}
if(is_numeric($var)) {
$html.="<span class='numeric'>$var</span>;<br/>";
} elseif($var=="%NULL%") {
$html.="<span class='numeric'>NULL</span>;<br/>";
} else {
$html.="<span class='string'>\"$var\"</span>;<br/>";
}
}
}
function fileVersion($filename) {
//check if the file exists
if (file_exists($filename)) {
// return the time the file was last modified
echo filemtime($filename);
} else {
// let them know the file wasn't found
echo 'FileNotFound';
}
}
?>
@@ -0,0 +1,137 @@
<?php session_start(); ?>
<?php
global $selected_object_id, $selected_object_type, $meniu, $object_id, $object_id_child, $object_id_child_child, $ascunde_services, $selected_department, $selected_department_name;
wp_reset_query();
$languages = function_exists('icl_get_languages')?icl_get_languages():array();
if (is_page()) {
$selected_object_id = get_the_ID();
$selected_object_type = 'page';
$imagine_header = get_post_meta($selected_object_id, 'wpcf-header-image', true);
$header_link = get_post_meta($selected_object_id, 'wpcf-header-link', true);
if (is_page(array(70, function_exists('icl_object_id') ? icl_object_id(70, 'page', false) : 70))) {
$selected_object_type = 'home';
}
}
else if (is_category()) {
$ascunde_services = true;
$selected_object_id = get_cat_id(single_term_title("", false));
//dv($selected_object_id);
//dv(get_term_by('id', $selected_object_id, 'category'));
$selected_object_type = 'category';
if ($selected_object_id == 1 || $selected_object_id == 25 || $selected_object_id == 26) $imagine_header = '/wp-content/uploads/2012/05/header-case-study.png';
else {
$imagine_header = '/wp-content/uploads/2012/05/header-careers.png';
$selected_department = $selected_object_id;
$selected_department_name = get_term_by('id', $selected_object_id, 'category')->name;
$selected_object_id = get_term_by('id', $selected_object_id, 'category')->parent;
}
}
else if (is_single()) {
$ascunde_services = true;
if (get_queried_object()->post_type == 'post') {
$taxonomy = get_the_terms(get_the_ID(),'category');
$selected_object_type = 'category';
$title_bread = get_queried_object()->post_title;
if ($taxonomy[1]->term_id == 1) $selected_object_id = 1;
else {
$pas = 0;
foreach ($taxonomy as $tax) {
$pas++;
if ($pas==1) {
$selected_object_id = $tax->term_id;
}
else {
$selected_department = $tax->term_id;
$selected_department_name = $tax->name;
}
}
}
}
}
else if (is_search()) {
}
?>
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?> | <?php bloginfo('description'); ?></title>
<?php wp_head(); ?>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/style.css?v=<?php fileVersion(ABSPATH.CSS_URL.'/style.css'); ?>" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/fonts/fonts.css?v=<?php fileVersion(ABSPATH.CSS_URL.'/fonts/fonts.css'); ?>" />
<?php if ($selected_object_id == 12 && $selected_object_type == 'page') { ?>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/jquery.realperson.css?v=<?php fileVersion(ABSPATH.CSS_URL.'/jquery.realperson.css'); ?>" />
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.realperson.min.js?v=<?php fileVersion(ABSPATH.JS_URL.'/jquery.realperson.min.js'); ?>"></script>
<?php } ?>
</head>
<body>
<div id="line" class="<?php if ($selected_object_type == 'home') { ?>line-homepage<?php }?>"></div>
<div id="wrapper">
<div id="header">
<div id="logo">
<a href="<?php echo function_exists('icl_get_home_url') ? icl_get_home_url() : home_url(); ?>" title="<?php bloginfo('name'); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/logo.png" alt="<?php bloginfo('name'); ?>" /></a>
</div>
<div id="search">
<form action="<?php bloginfo('url'); ?>" method="GET" id="searchForm">
<input type="text" value="<?php echo isset($_GET['s']) ? $_GET['s'] : '';?>" data-default="Search" name="s" />
<input type="submit" value="GO" class="submit" />
</form>
</div>
<?php
function language_selector_flags(){
$languages = function_exists('icl_get_languages') ? icl_get_languages('skip_missing=0&orderby=code') : array();
if(!empty($languages)){
foreach($languages as $l){
if(!$l['active']) echo '<a href="'.$l['url'].'">';
echo '<img src="'.$l['country_flag_url'].'" height="12" alt="'.$l['language_code'].'" width="18" /> ';
if(!$l['active']) echo '</a>';
}
}
}
?>
<div id="flags_language_selector" style="margin:10px;text-align:right"><?php language_selector_flags(); ?></div >
</div>
<div id="menu"><?php include 'meniu.php'; ?></div>
<?php if ($selected_object_type == 'home') { ?>
<div id="header-image-home">
<?php if ($header_link) { ?><a href="<?=$header_link;?>"><?php } ?>
<img src="<?=$imagine_header;?>" />
<?php if ($header_link) { ?></a><?php } ?>
</div>
<?php } else { ?>
<div id="breadcrumb">
&raquo; <a href="<?php echo function_exists('icl_get_home_url') ? icl_get_home_url() : home_url(); ?>" title="IQON">Home</a>
<?php if ($object_id) { ?>
/ <a href="<?php echo $meniu[$object_id]->url;?>" <?php if (!$object_id_child) echo 'class="last"'; ?>><?php echo $meniu[$object_id]->title;?></a>
<?php } ?>
<?php if ($object_id_child) { ?>
/ <a href="<?php echo $meniu[$object_id]->childrens[$object_id_child]->url;?>"><?php echo $meniu[$object_id]->childrens[$object_id_child]->title;?></a>
<?php } ?>
<?php if ($object_id_child_child) { ?>
/ <a href="<?php echo $meniu[$object_id]->childrens[$object_id_child]->childrens[$object_id_child_child]->url;?>"><?php echo $meniu[$object_id]->childrens[$object_id_child]->childrens[$object_id_child_child]->title;?></a>
<?php } ?>
<?php if (!empty($selected_department_name)) { ?>
/ <?php if (empty($title_bread)) { ?><strong><?php echo $selected_department_name; ?></strong><?php } else { ?><a href="<?php echo get_category_link($selected_department);?>"><?php echo $selected_department_name; ?></a><?php } ?>
<?php } ?>
<?php if (!empty($title_bread)) { ?>
/ <strong><?php echo $title_bread; ?></strong>
<?php } ?>
</div>
<div id="linie-interior"></div>
<?php if ($imagine_header) { ?>
<div id="header-image">
<img src="<?=$imagine_header;?>" />
</div>
<?php } ?>
<?php } ?>
<?php if (!$ascunde_services) { ?>
<div id="menu-services">
<?php include 'meniu-services.php'; ?>
<div class="clear"></div>
</div>
<?php } ?>
<?php if ($imagine_header) { ?>
<div id="linie-interior" class="margintop10"></div>
<?php } ?>
<div id="content">
@@ -0,0 +1,35 @@
<?php
/**
* Template Name: HOMEPAGE
*/
?>
<?php get_header(); ?>
<?php
wp_reset_query();
$args = array( 'posts_per_page' => 1, 'cat' => 1, 'post_type' => 'post', 'post_status' => 'publish' );
$latest_case = query_posts($args);
//dv($latest_case);
if ($latest_case[0]) {
$h2 = get_post_meta($latest_case[0]->ID, 'wpcf-intro', true);
$id_featured = 0;
if (has_post_thumbnail($latest_case[0]->ID)) {
$id_featured = get_post_thumbnail_id($latest_case[0]->ID);
$imagine_featured = wp_get_attachment_image_src($id_featured, 'post-thumbnail');
}
?>
<h1><a href="<?=get_permalink($latest_case[0]->ID); ?>"><?=$latest_case[0]->post_title;?></a></h1>
<?php if ($h2) { ?><h2><?=$h2?></h2><?php } ?>
<?php if ($id_featured && $imagine_featured[0]) { ?>
<div class="contentleft">
<div class="container_imagine">
<a href="<?=get_permalink($latest_case[0]->ID); ?>"><img src="<?=$imagine_featured[0];?>" /></a>
</div>
</div>
<div class="contentright">
<?php } ?>
<?php echo apply_filters('the_content',short_text($latest_case[0]->post_content, 700));?>
<?php if ($id_featured && $imagine_featured[0]) { ?></div><?php } ?>
<?php }
wp_reset_query();
?>
<?php get_footer(); ?>
@@ -0,0 +1,20 @@
<?php
$mainMeniu = $meniu[74];
$mainMeniu_ru = isset($meniu[279]) ? $meniu[279] : null;
$mainMeniu_kz = isset($meniu[282]) ? $meniu[282] : null;
?>
<?php if ($mainMeniu) { ?>
<?php foreach ($mainMeniu->childrens as $services) { ?>
<a href="<?=$services->url;?>" title="<?php echo $services->attr_title; ?>" <?php if ($services->selected) echo 'class="active"'; ?>><?=$services->title;?></a>
<?php } ?>
<?php } ?>
<?php if ($mainMeniu_ru) { ?>
<?php foreach ($mainMeniu_ru->childrens as $services) { ?>
<a href="<?=$services->url;?>" title="<?php echo $services->attr_title; ?>" <?php if ($services->selected) echo 'class="active"'; ?>><?=$services->title;?></a>
<?php } ?>
<?php } ?>
<?php if ($mainMeniu_kz) { ?>
<?php foreach ($mainMeniu_kz->childrens as $services) { ?>
<a href="<?=$services->url;?>" title="<?php echo $services->attr_title; ?>" <?php if ($services->selected) echo 'class="active"'; ?>><?=$services->title;?></a>
<?php } ?>
<?php } ?>
@@ -0,0 +1,11 @@
<?php
global $meniu;
$meniu = wp_get_nav_menu_items('meniu_principal');
$meniu = arrangeMenuIqon($meniu, $selected_object_id, $selected_object_type, 70);
//dv($meniu);
?>
<?php if ($meniu) { ?>
<?php foreach ($meniu as $key=>$mainMenu) { ?>
<a id="mainMenu_<?php echo $mainMenu->ID;?>" href="<?php echo $mainMenu->url; ?>" title="<?php echo $mainMenu->attr_title; ?>" <?php if ($mainMenu->selected) echo 'class="active"'; ?>><?php echo $mainMenu->title; ?></a>
<?php } ?>
<?php } ?>
@@ -0,0 +1,28 @@
<?php get_header(); ?>
<?php
$am_submeniu = false;
if ($object_id && $object_id_child) {
if ($meniu[$object_id]->childrens[$object_id_child]->childrens) $am_submeniu = true;
}
?>
<?php if ($am_submeniu) { ?>
<div class="contentleft">
<h1 class="fontsize20 marginbottom20">Services:</h1>
<?php foreach ($meniu[$object_id]->childrens[$object_id_child]->childrens as $subMenu) { ?>
<div class="submeniu"><a href="<?=$subMenu->url;?>" title="<?php echo $subMenu->attr_title; ?>" <?php if ($subMenu->selected) echo 'class="active"'; ?>><span class="submeniuLeft">&raquo;</span><span class="submeniuRight"><?=$subMenu->title;?></span></a><div class="clear"></div></div>
<?php } ?>
<a id="download_brosura" target="_blank" href="/iqon-brosura-web.pdf"><img src="/wp-content/themes/iqon/images/download_pdf.png" /></a>
<div class="clear"></div>
</div>
<div class="contentright">
<?php } ?>
<h1><?php the_title();?></h1>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php if (!$am_submeniu && 1==0) { ?><h1><?php the_title();?></h1><?php } ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
<?php if ($am_submeniu) { ?>
</div>
<div class="clear"></div>
<?php } ?>
<?php get_footer(); ?>
@@ -0,0 +1,52 @@
<?php get_header(); ?>
<?php if ($selected_object_id != 1) { ?>
<div class="contentleft">
<h1 class="fontsize20 marginbottom20">Departments:</h1>
<?php
$categories = get_categories(array('parent'=>7, 'hide_empty' => false));
?>
<?php foreach ($categories as $cat) { ?>
<a href="<?php echo get_category_link($cat->term_id);?>" title="<?php echo $cat->name; ?>" <?php if ($selected_department == $cat->term_id) echo 'class="active"'; ?>>&raquo; <?=$cat->name;?> (<?php echo $cat->count; ?>)</a>
<div id="linie-punctata"></div>
<?php } ?>
</div>
<div class="contentright">
<?php } ?>
<?php
while ( have_posts() ) : the_post();
if ($selected_object_id == 1 || $selected_object_id == 25 || $selected_object_id == 26) {
$id_featured = 0;
if (has_post_thumbnail()) {
$id_featured = get_post_thumbnail_id();
$imagine_featured = wp_get_attachment_image_src($id_featured, 'case-study');
}
}
?>
<?php if ($selected_object_id == 1 || $selected_object_id == 25 || $selected_object_id == 26) { ?>
<?php if ($id_featured && $imagine_featured[0]) { ?>
<div class="imagine_study_interior"><img src="<?php echo $imagine_featured[0];?>" /></div>
<?php } ?>
<h1 class="single"><?php the_title();?></h1>
<?php $h2 = get_post_meta($post->ID, 'wpcf-intro', true); ?>
<?php if ($h2) { ?><h2 class="single"><?=$h2;?></h2><?php } ?>
<?php the_content();?>
<div class="timp">posted on: <strong><?php the_time('F jS, Y'); ?></strong></div>
<?php $case_file = get_post_meta($post->ID, 'wpcf-case-file', true); ?>
<?php } else { ?>
<h2><?php the_title();?></h2>
<?php the_content();?>
<br />
<a href="mailto:office@iqon.com?subject=<?php the_title(); ?>"><img src="/wp-content/themes/iqon/images/submit_cv.png" /></a>
<div class="disclaimer">
<strong>Disclaimer:</strong> Iqon Romania takes all necessary measures to keep your personal information private and secure. Only authorized Iqon Romania staff, Third Party companies (i.e. service providers) staff or our business partners' authorized staff (who have contractually agreed to keep all information secure) have access to your personal information.
</div>
<?php } ?>
<?php
endwhile;
wp_reset_query();
?>
<?php if ($selected_object_id != 1) { ?>
</div>
<div class="clear"></div>
<?php } ?>
<?php get_footer(); ?>
@@ -0,0 +1,7 @@
/*
Theme Name: IQON
Theme URI: http://www.iqon.ro/
Description: Tema IQON
Author: Adrian Matei
Version: 1.0
*/
@@ -0,0 +1,94 @@
<?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'u0012812_iqon');
/** MySQL database username */
define('DB_USER', '***MASKED***');
/** MySQL database password */
/*define('DB_PASSWORD', '***MASKED***');*/
define('DB_PASSWORD', '***MASKED***');
/** MySQL hostname */
define('DB_HOST', '***MASKED***');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
/**#@+
* Authentication Unique Keys and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
define('AUTH_KEY', 'syf#up;-]r]-4{V|Qtqnsf TFTtFX`Qjl;5$6SF%MA#Eg7ROFj|olW|k?[roAKYf');
define('SECURE_AUTH_KEY', '#j16q0:Va- K#8u@zD`Cb4,j^6`J>]d5!SY8NWp%~Gs:K<)[cXJ~OnsrM<Nu$cKg');
define('LOGGED_IN_KEY', '}bn:i7QuX:Pfnw:O/(6;=mNFZ7rYt|!FBXS`Zr|PB`s4vHk:E+4@zK0Rx<zp-vG7');
define('NONCE_KEY', '1q(#>?WG%P)Uex|SErakAM,`mokR@m7dM4ahr|dt[;Qlm/Bx3n]19Fl]x=f&wi)@');
define('AUTH_SALT', ' |Y;Tf` z!ci%Fn*|^9-[)G1oXUrn9x{kz|+/=6:SWm[[=nd4zd@PSM]Lq1MyB(s');
define('SECURE_AUTH_SALT', 'WRyBo2>VM0`nP+!j6F:(0vPo3Kk9@|Umf+kE&(*3:C#hd}Ca!@C-*ig~Nu+NezRu');
define('LOGGED_IN_SALT', 't I&%yRf6B-b?v+9[&+dJ-O2sj!5N$&hq9VUuhVaupJx!:,PGT)e(.5BA{f,_l6x');
define('NONCE_SALT', '8Ur,(MG kq[CU#*c>j]bCbp.A^;Mh9r^!|0R,2@`)V&HG^+JvPGIi}K+r&A,]NjP');
/**#@-*/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'yo_';
/**
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
* language support.
*/
define('WPLANG', '');
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
define('WP_DEBUG', false);
ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');