Диплом: Автоматизация управления проектами компании ИП "Optimal Decision"

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам
97
</div>
</div>
<?php
}
?>
<div class="page_content_wrap">
<?php
// Content and sidebar wrapper
if ($body_style!='fullscreen') themerex_open_wrapper('<div class="content_
wrap">');
// Main content wrapper
themerex_open_wrapper('<div class="content">');
?>
Footer.php
<?php
global $THEMEREX_GLOBALS;
themerex_close_wrapper(); // <!-- </.content> -->
// Show main sidebar
get_sidebar();
if (themerex_get_custom_option('body_style')!='fullscreen') themerex_close
_wrapper(); // <!-- </.content_wrap> -->
?>
</div> <!-- </.page_content_wrap> -->
<?php
// Footer Testimonials stream
if (themerex_get_custom_option('show_testimonials_in_footer')=='yes') {
$count = max(1, themerex_get_custom_option('testimonials_count'));
$data = do_shortcode('[trx_testimonials count="'.esc_attr($count).'"][/trx_tes
timonials]');
if ($data) {
?>
<footer class="testimonials_wrap sc_section scheme_<?php echo esc_attr
(themerex_get_custom_option('testimonials_scheme')); ?>">
<div class="testimonials_wrap_inner sc_section_inner sc_section_overl
ay">
<div class="content_wrap"><?php echo ($data); ?></div>
</div>
</footer>
<?php
}
}
// Footer sidebar
$footer_show = themerex_get_custom_option('show_sidebar_footer');
$sidebar_name = themerex_get_custom_option('sidebar_footer');
if (!themerex_sc_param_is_off($footer_show) && is_active_sidebar($sidebar_
name)) {
$THEMEREX_GLOBALS['current_sidebar'] = 'footer';
?>
98
<footer class="footer_wrap widget_area scheme_<?php echo esc_attr(theme
rex_get_custom_option('sidebar_footer_scheme')); ?>">
<div class="footer_wrap_inner widget_area_inner">
<div class="content_wrap">
<div class="columns_wrap"><?php
ob_start();
do_action( 'before_sidebar' );
if ( !dynamic_sidebar($sidebar_name) ) {
// Put here html if user no set widgets in sidebar
}
do_action( 'after_sidebar' );
$out = ob_get_contents();
ob_end_clean();
echo trim(chop(preg_replace("/<\/aside>[\r\n\s]*<aside/", "</aside><
aside", $out)));
?></div> <!-- /.columns_wrap -->
</div> <!-- /.content_wrap -->
</div> <!-- /.footer_wrap_inner -->
</footer> <!-- /.footer_wrap -->
<?php
}
// Footer Twitter stream
if (themerex_get_custom_option('show_twitter_in_footer')=='yes') {
$count = max(1, themerex_get_custom_option('twitter_count'));
$data = do_shortcode('[trx_twitter count="'.esc_attr($count).'"]');
if ($data) {
?>
<footer class="twitter_wrap sc_section scheme_<?php echo esc_attr(them
erex_get_custom_option('twitter_scheme')); ?>">
<div class="twitter_wrap_inner sc_section_inner sc_section_overlay">
<div class="content_wrap"><?php echo ($data); ?></div>
</div>
</footer>
<?php
}
}
// Footer Prices area
if (themerex_get_custom_option('show_price_in_footer')=='yes') {
$count = max(1, themerex_get_custom_option('price_count'));
$title_1 = themerex_get_custom_option('title_1');
$link_1 = themerex_get_custom_option('link_1');
$money_1 = themerex_get_custom_option('money_1');
$currency_1 = themerex_get_custom_option('currency_1');
$price_content_1 = (themerex_get_custom_option('price_content_1'));
$title_2 = themerex_get_custom_option('title_2');
$link_2 = themerex_get_custom_option('link_2');
$money_2 = themerex_get_custom_option('money_2');
99
$currency_2 = themerex_get_custom_option('currency_2');
$price_content_2 = (themerex_get_custom_option('price_content_2'));
$title_3 = themerex_get_custom_option('title_3');
$link_3 = themerex_get_custom_option('link_3');
$money_3 = themerex_get_custom_option('money_3');
$currency_3 = themerex_get_custom_option('currency_3');
$price_content_3 = (themerex_get_custom_option('price_content_3'));
if ( $count == 1 ){
$data_1 = do_shortcode('[trx_price_block title="'.esc_attr($title_1) .'" link
="'.esc_attr($link_1) .'" money="'.esc_attr($money_1) .'" currency="'.esc_attr($currenc
y_1) .'" height="" width="" left="1em" right="1em" link_text="Order now" period=""
]'
. ($price_content_1) . '[/trx_price_block]');
if ($data_1) {
?>
<footer class="prices_area_wrap sc_section scheme_<?php echo esc_at
tr(themerex_get_custom_option('price_scheme')); ?>">
<h6>Цены на наши услуги</h6>
<div class="prices_area_wrap_inner sc_section_inner sc_section_ov
erlay">
<div class="content_wrap"><div class="column-
1_1"><?php echo ($data_1); ?></div></div>
</div>
</footer>
<?php
}
}
if( $count == 2 ){
$data_1 = do_shortcode('[trx_price_block title="'.esc_attr($title_1) .'" link
="'.esc_attr($link_1) .'" money="'.esc_attr($money_1) .'" currency="'.esc_attr($currenc
y_1) .'" height="" width="" left="1em" right="1em" link_text="Order now" period=""
]'
. ($price_content_1) . '[/trx_price_block]');
$data_2 = do_shortcode('[trx_price_block title="'.esc_attr($title_2) .'" link
="'.esc_attr($link_2) .'" money="'.esc_attr($money_2) .'" currency="'.esc_attr($currenc
y_2) .'" height="" width="" left="1em" right="1em" link_text="Order now" period=""
]'
. ($price_content_2) . '[/trx_price_block]');
if ($data_1 || $data_2) {
?>
<footer class="prices_area_wrap sc_section scheme_<?php echo esc_at
tr(themerex_get_custom_option('price_scheme')); ?>">
<h6>Цены на наши услуги</h6>
<div class="prices_area_wrap_inner sc_section_inner sc_section_ov
erlay">
<div class="content_wrap">
<div class="column-1_2"><?php echo ($data_1); ?></div>
<div class="column-1_2"><?php echo ($data_2); ?></div>
100
</div>
</div>
</footer>
<?php
}
}
if( $count == 3 ){
$data_1 = do_shortcode('[trx_price_block title="'.esc_attr($title_1) .'" link
="'.esc_attr($link_1) .'" money="'.esc_attr($money_1) .'" currency="'.esc_attr($currenc
y_1) .'" height="" width="" left="" right="" link_text="Прайс лист" period=""]'
. ($price_content_1) . '[/trx_price_block]');
$data_2 = do_shortcode('[trx_price_block title="'.esc_attr($title_2) .'" link
="'.esc_attr($link_2) .'" money="'.esc_attr($money_2) .'" currency="'.esc_attr($currenc
y_2) .'" height="" width="" left="" right="" link_text="Прайс лист" period=""]'
. ($price_content_2) . '[/trx_price_block]');
$data_3 = do_shortcode('[trx_price_block title="'.esc_attr($title_3) .'" link
="'.esc_attr($link_3) .'" money="Бесплатно" currency=" " height="" width="" left=""
right="" link_text="Прайс лист" period=""]'
. ($price_content_3) . '[/trx_price_block]');
if ($data_1 || $data_2 || $data_3) {
?>
<footer class="prices_area_wrap sc_section scheme_<?php echo esc_at
tr(themerex_get_custom_option('price_scheme')); ?>">
<h6>Услуги ветклиники</h6>
<div class="prices_area_wrap_inner sc_section_inner sc_section_ov
erlay">
<div class="content_wrap">
<?php echo do_shortcode('[trx_columns count="3"][trx_column_it
em]'. ($data_1) .'[/trx_column_item][trx_column_item]'. ($data_2) .'[/trx_column_item
][trx_column_item]'. ($data_3) .'[/trx_column_item][/trx_columns]') ?>
</div>
</div>
</footer>
<?php
}
}
}
// Google map
if ( themerex_get_custom_option('show_googlemap')=='yes' ) {
$map_address = themerex_get_custom_option('googlemap_address');
$map_latlng = themerex_get_custom_option('googlemap_latlng');
$map_zoom = themerex_get_custom_option('googlemap_zoom');
$map_style = themerex_get_custom_option('googlemap_style');
$map_height = themerex_get_custom_option('googlemap_height');
$map_title = themerex_get_custom_option('googlemap_title');
$map_descr = themerex_strmacros(themerex_get_custom_option('googlem
ap_description'));
101
if (!empty($map_address) || !empty($map_latlng)) {
echo do_shortcode('[trx_googlemap'
. (!empty($map_style) ? ' style="'.esc_attr($map_style).'"' : '')
. (!empty($map_zoom) ? ' zoom="'.esc_attr($map_zoom).'"' : '')
. (!empty($map_height) ? ' height="'.esc_attr($map_height).'"' : '')
. ']'
. '[trx_googlemap_marker'
. (!empty($map_title) ? ' title="'.esc_attr($map_title).'"' : '')
. (!empty($map_descr) ? ' description="'.esc_attr($map_descr).
'"' : '')
. (!empty($map_address) ? ' address="'.esc_attr($map_address).'
"' : '')
. (!empty($map_latlng) ? ' latlng="'.esc_attr($map_latlng).'"' : ''
)
. ']'
. '[/trx_googlemap]'
);
}
}
// Footer contacts
if (themerex_get_custom_option('show_contacts_in_footer')=='yes') {
$address_1 = themerex_get_theme_option('contact_address_1');
$phone = themerex_get_theme_option('contact_phone');
$fax = themerex_get_theme_option('contact_fax');
if (!empty($address_1) || !empty($phone) || !empty($fax)) {
?>
<footer class="contacts_wrap scheme_<?php echo esc_attr(themerex_get
_custom_option('contacts_scheme')); ?>">
<div class="vc_row white-overlay_1 fixed_bg contacts_wrap_inner">
<div class="content_wrap">
<?php
// Google map in contact info
if ( themerex_get_custom_option('show_googlemap_in_contacts')
=='yes' ) {
?>
<div class="column-1_2 alignleft" style="z-
index: 999;position: relative;">
<img style="right: 16px; position: relative;" src="/wp-
content/uploads/2015/07/Vetclinika_Talisman_Almaty.jpg" alt="Контакты ветерина
рной клиники в Алматы" >
</div>
<div class="contact-info">
<?php }
?>
<div class="contacts-
title"><?php echo __('Контакты', 'themerex'); ?>
<div class="circle-bottom-title-area">
102
<span class="circle-bottom-title one"></span>
<span class="circle-bottom-title two"></span>
<span class="circle-bottom-title three"></span>
</div>
</div>
<div class="contacts_address">
<div class="contacts-area-
adress"><strong><?php if (!empty($address_1)) echo ($address_1); ?> </strong>
</div>
<?php $top_panel_top_components = array( 'open_hour
s' );
require_once( themerex_get_file_dir('templates/hea
ders/_parts/top-panel-top.php') );
$top_panel_top_components = array( 'open_hours2'
);
require_once( themerex_get_file_dir('templates/hea
ders/_parts/top-panel-top.php') );
$top_panel_top_components = array( 'open_hours3')
;
require_once( themerex_get_file_dir('templates/hea
ders/_parts/top-panel-top.php') );?>
<?php if (!empty($phone)) echo ('<div class="contacts-
area-phone icon-phone">'.($phone) . '</div>'); ?>
<?php if (!empty($phone)) echo ('<div class="contacts-
area-phone icon-phone">+7 777 733 15 15</div>'); ?>
<?php if (!empty($fax)) echo ('<div class="contacts-
area-fax">' .__('Fax:', 'themerex') . ' ' . ($fax) . '</div>'); ?>
</div>
<?php if ( themerex_get_custom_option('show_googlemap_
in_contacts')=='yes' ) { ?>
</div>
<?php } ?>
</div> <!-- /.content_wrap -->
</div> <!-- /.contacts_wrap_inner -->
</footer> <!-- /.contacts_wrap -->
<?php
}
}
// Contact form area
if (themerex_get_custom_option('show_contacts_form_in_footer')=='yes') {
?>
<div class="contact_form_wrap contact_form_style_<?php echo esc_attr($c
opyright_style); ?> scheme_<?php echo esc_attr(themerex_get_custom_option('conta
cts_form_scheme')); ?>">
<div class="contact_form_wrap_inner">
<div class="content_wrap">
<?php
103
echo do_shortcode('[vc_row full_width="" parallax="" parallax_ima
ge=""][vc_column width="1/1"][trx_content scheme="inherit" id="" class="" animatio
n="none" css="" top="" bottom=""][trx_title type="1" style="underline" align="center
" font_weight="inherit" icon="inherit" image="none" image_size="small" position="t
op" animation="none" font_size="2em" top="2.1em"]Жалобы, и предложения по ра
боте ветклиники[/trx_title][trx_contact_form custom="" style="1" align="none" anim
ation="none" top="3em" bottom="3em" width="83%" left="auto" right="auto"][/trx_c
ontact_form][/trx_content][/vc_column][/vc_row][vc_row][vc_column][vc_column_te
xt][/vc_column_text][/vc_column][/vc_row]');
?>
</div>
</div>
</div>
<?php }
// Copyright area
$copyright_style = themerex_get_custom_option('show_copyright_in_footer');
if (!themerex_sc_param_is_off($copyright_style)) {
?>
<div class="copyright_wrap copyright_style_<?php echo esc_attr($copyrigh
t_style); ?> scheme_<?php echo esc_attr(themerex_get_custom_option('copyright_sc
heme')); ?>">
<div class="copyright_wrap_inner">
<div class="content_wrap">
<div class="sc_socials sc_socials_type_ sc_socials_shape_round sc_
socials_size_tiny"><div class="sc_socials_item"><a href="https://vk.com/vetklinikaal
maty" target="_blank" class="social_icons social_vkontakte"><span class="icon-
vkontakte"></span></a></div><div class="sc_socials_item"><a href="https://www.in
stagram.com/vetclinic.kz/" target="_blank" class="social_icons social_instagramm"><
span class="icon-
instagramm"></span></a></div><div class="sc_socials_item"><a href="https://www.
facebook.com/vetclinic.kz/" target="_blank" class="social_icons social_facebook"><s
pan class="icon-facebook"></span></a></div></div>
<div class="copyright_text"><?php echo force_balance_tags(themer
ex_get_theme_option('footer_copyright')); ?></div>
</div>
</div>
</div>
<?php } ?>
</div> <!-- /.page_wrap -->
</div> <!-- /.body_wrap -->
<?php if ( !themerex_sc_param_is_off(themerex_get_custom_option('show_sidebar
_outer')) ) { ?>
</div> <!-- /.outer_wrap -->
<?php } ?>
<?php
if (themerex_get_custom_option('show_theme_customizer')=='yes') {
require_once( themerex_get_file_dir('core/core.customizer/front.customizer.php') );
104
}
?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="scroll_to_top icon-
up" title="<?php _e('Scroll to top', 'themerex'); ?>"></a>
<div class="custom_html_section">
<?php echo force_balance_tags(themerex_get_custom_option('custom_code')); ?>
</div>
<?php echo force_balance_tags(themerex_get_custom_option('gtm_code2')); ?>
<?php wp_footer(); ?>
</body>
</html>
Functions.php
<?php
// Set the content width based on the theme's design and stylesheet.
if ( ! isset( $content_width ) ) $content_width = 1170; /* pixels */
// Add theme specific actions and filters
// Attention! Function were add theme specific actions and filters handlers must have p
riority 1
if ( !function_exists( 'themerex_theme_setup' ) ) {
add_action( 'themerex_action_before_init_theme', 'themerex_theme_setup', 1 );
function themerex_theme_setup() {
add_filter( 'themerex_filter_add_theme_menus', 'themerex_add_theme_menus'
);
add_filter( 'themerex_filter_add_theme_sidebars', 'themerex_add_theme_sidebar
s' );
}
}
if ( !function_exists( 'themerex_add_theme_menus' ) ) {
function themerex_add_theme_menus($menus) {
return $menus;
}
}
if ( !function_exists( 'themerex_add_theme_sidebars' ) ) {
function themerex_add_theme_sidebars($sidebars=array()) {
if (is_array($sidebars)) {
$theme_sidebars = array(
'sidebar_main' => __( 'Main Sidebar', 'themerex' ),
'sidebar_outer' => __( 'Outer Sidebar', 'themerex' ),
'sidebar_footer' => __( 'Footer Sidebar', 'themerex' )
);
$sidebars = array_merge($theme_sidebars, $sidebars);
}
return $sidebars;
}
}
/* Include framework core files
------------------------------------------------------------------- */
// If now is WP Heartbeat call - skip loading theme core files
105
if (!isset($_POST['action']) || $_POST['action']!="heartbeat") {
require_once( get_template_directory().'/fw/loader.php' );
}
//wooo
add_filter( 'wc_city_select_cities', 'my_cities' );
function my_cities( $cities ) {
$cities['KZ'] = array(
'Алматы'
);
return $cities;
}
//woocomerce custom functions
add_action( 'pre_get_posts', 'custom_pre_get_posts_query' );
function custom_pre_get_posts_query( $q ) {
if ( ! $q->is_main_query() ) return;
if ( ! $q->is_post_type_archive() ) return;
if ( ! is_admin() && is_shop() ) {
$q->set( 'tax_query', array(array(
'taxonomy' => 'product_cat',
'field' => 'slug',
'terms' => array( 'Анализы' ), // Don't display products in the knives category o
n the shop page
'operator' => 'NOT IN'
)));
}
remove_action( 'pre_get_posts', 'custom_pre_get_posts_query' );
}
function rv_exclude_wc_widget_categories( $cat_args ) {
$cat_args['exclude'] = array('102'); // Insert the product category IDs you wish to ex
clude
return $cat_args;
}
if (class_exists('autoptimizeCache')) {
$myMaxSize = 256000; # You may change this value to lower like 100000 for 100
MB if you have limited server space
$statArr=autoptimizeCache::stats();
$cacheSize=round($statArr[1]/1024);
if ($cacheSize>$myMaxSize){
autoptimizeCache::clearall();
header("Refresh:0"); # Refresh the page so that autoptimize can create new cache
files and it does breaks the page after clearall.
}
}
require('dekoda_seo.php' );
?>
team.php
<?php
106
// Disable direct call
if ( ! defined( 'ABSPATH' ) ) { exit; }
if ( !function_exists( 'themerex_template_team_1_theme_setup' ) ) {
add_action( 'themerex_action_before_init_theme', 'themerex_template_team_1_the
me_setup', 1 );
function themerex_template_team_1_theme_setup() {
themerex_add_template(array(
'layout' => 'team-1',
'template' => 'team-1',
'mode' => 'team',
/*'container_classes' => 'sc_slider_nopagination sc_slider_controls sc_slider_c
ontrols_bottom',*/
'title' => __('Team /Style 1/', 'themerex'),
'thumb_title' => __('Medium square image ', 'themerex'),
'w' => 319, //390,
'h' => 515 //390
));
}
}
// Template output
if ( !function_exists( 'themerex_template_team_1_output' ) ) {
function themerex_template_team_1_output($post_options, $post_data) {
$show_title = true;
$parts = explode('_', $post_options['layout']);
$style = $parts[0];
$columns = max(1, min(12, empty($parts[1]) ? (!empty($post_options['columns_
count']) ? $post_options['columns_count'] : 1) : (int) $parts[1]));
if (themerex_sc_param_is_on($post_options['slider'])) {
?><div class="swiper-slide" data-
style="<?php echo esc_attr($post_options['tag_css_wh']); ?>" style="<?php echo esc_
attr($post_options['tag_css_wh']); ?>"><?php
} else if ($columns > 1) {
?><div class="column-
1_<?php echo esc_attr($columns); ?> column_padding_bottom"><?php
}
?>
<div<?php echo ($post_options['tag_id'] ? ' id="'.esc_attr($post_options['tag_id
']).'"' : ''); ?>
class="sc_team_item sc_team_item_<?php echo esc_attr($post_options['nu
mber']) . ($post_options['number'] % 2 == 1 ? ' odd' : ' even') . ($post_options['number'
] == 1 ? ' first' : '') . (!empty($post_options['tag_class']) ? ' '.esc_attr($post_options['tag
_class']) : ''); ?>"
<?php echo ($post_options['tag_css']!='' ? ' style="'.esc_attr($post_options['t
ag_css']).'"' : '')
. (!themerex_sc_param_is_off($post_options['tag_animation']) ? ' data-
animation="'.esc_attr(themerex_sc_get_animation_classes($post_options['tag_animati
on'])).'"' : ''); ?>>

Смотрите также:

"Автоматизация обработки заявок ООО "Проектно-Строительная Компания"
"Автоматизация процесса аттестации персонала для ООО "Нэт Бай Нэт Холдинг"
"Анализ интернет-активности конкурентов ( на примере конкурентов "Газпром нефть")
"Бухгалтерский учёт и аудит расчётов с подотчётними лицами в организации на примере ООО "ЛОЦ 10""
«Психологическое сопровождение персонала в организации на примере ООО «Крокус»
Cовершенствование деловой оценки персонала в организации (на примере ООО "Даймонд кейтеринг развитие")
IPO - инструмент финансирования деятельности организации. На примере ПАО «Нефтяная компания «Лукойл»
PR как средство продвижения организации (на примере ПАО "Тамбовский завод "Комсомолец им. Н.С. Артемова")
PR-коммуникации в сфере общественного питания (на примере кафе-кондитерской «Cream Cheese»)
SMM как средство повышения эффективности работы учреждений социокультурной сферы (на примере Малого театра)