Server IP : 14.241.111.210 / Your IP : 3.145.79.93 Web Server : Apache System : Linux localhost.localdomain 3.10.0-1160.66.1.el7.x86_64 #1 SMP Wed May 18 16:02:34 UTC 2022 x86_64 User : www ( 1001) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/webthanhha.com/wp-content/themes/webthanhha/ |
Upload File : |
<?php get_header(); ?> <!--============================================================================--> <!--============================================================================--> <div id="content" class="site-content"> <div class="banner"> <img src="<?php bloginfo('template_directory') ?>/img/banner.jpg" alt="<?php the_title(); ?>"> </div> <!--============================================================================--> <div class="container"> <div class="row"> <div class="break"> <?php if ( function_exists('yoast_breadcrumb') ) {yoast_breadcrumb('<p id="breadcrumbs">','</p>');} ?> </div> </div> <div class="row"> <h1 class="single-title"><?php the_title(); ?></h1> <div class="col col-lg-8 col-md-8 col-sm-12 col-xs-12 padding5"> <div class="single-mau-website text-justify"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="row"> <div class="col col-lg-7 col-md-7 col-sm-12 col-xs-12 padding5"> <div class="anh-mau-web"> <a class="group1" href="<?php $image = get_field('trang_chu_full'); if( !empty($image) ): echo $image['url']; endif; ?>" title="<?php the_title(); ?>"> <img class="anhmau chitiet-anhmau" src="<?php echo get_the_post_thumbnail_url(get_the_ID(),'full'); ?>" alt="<?php the_title(); ?>"> </a> <div class="ma-giaodien">Mã giao diện: <b><?php echo get_post_meta(get_the_ID(),'ma_website', true ); ?></b></div> </div> </div> <div class="col col-lg-5 col-md-5 col-sm-12 col-xs-12 padding5"> <div class="fb-like" data-href="<?php bloginfo('url'); ?>" data-width="" data-layout="button" data-action="like" data-size="small" data-share="true"></div> <hr> <div class="single-mau-website-content"> <div class="thoi-gian-hoan-thanh border-bottom" style="margin-top:0;padding-top:0;"> <p>Thời gian hoàn thành:</p> <ul><li><?php echo get_post_meta(get_the_ID(),'thoi_gian_hoan_thanh', true ); ?></li></ul> </div> <div class="ban-giao border-bottom"> <p>Bảo hành:</p> <ul><li><?php echo get_post_meta(get_the_ID(),'bao_hanh', true ); ?></li></ul> </div> <div class="bao-hanh border-bottom"> <p>Bàn giao:</p> <?php echo get_post_meta(get_the_ID(),'ban_giao', true ); ?> </div> <div class="qua-tang border-bottom"> <p>Quà tặng:</p> <?php echo get_post_meta(get_the_ID(),'qua_tang', true ); ?> </div> </div> </div> </div> <?php endwhile; ?> <?php endif; ?> </div> </div> <div class="col col-lg-4 col-md-4 col-sm-12 col-xs-12 padding5 dat-hang"> <p class="tt-dat-hang">ĐẶT MẪU WEBISTE NÀY</p> <?php echo do_shortcode('[contact-form-7 id="128" title="Đặt hàng nhanh"]') ?> </div> </div> <!--<div class="row"> <div class="chi-tiet-mau-website"> <h3>Danh sách các trang chi tiết</h3> </div> <div class="col col-md-2 col-sm-4 col-xs-6 cactrang-item aos-init" data-aos="zoom-in-up"> <a class="group1" href="<?php $image = get_field('trang_chu_full'); if( !empty($image) ): echo $image['url']; endif; ?>" title="Trang chủ - <?php the_title(); ?>"> <img class="thumbnail" src="<?php echo get_the_post_thumbnail_url(get_the_ID(),'full'); ?>" title="<?php the_title(); ?>" alt="<?php the_title(); ?>"> </a> <div class="ten-trang">Trang chủ</div> </div> <div class="col col-md-2 col-sm-4 col-xs-6 cactrang-item aos-init" data-aos="zoom-in-up"> <a class="group1" href="<?php $image = get_field('danh_muc_san_pham_full'); if( !empty($image) ): echo $image['url']; endif; ?>" title="Trang danh mục sản phẩm - <?php the_title(); ?>"> <img src="<?php $image = get_field('danh_muc_san_pham'); if( !empty($image) ): echo $image['url']; endif; ?>" title="Trang danh mục sản phẩm - <?php the_title(); ?>" alt="Trang danh mục sản phẩm - <?php the_title(); ?>"> </a> <div class="ten-trang">Trang danh mục sản phẩm</div> </div> <div class="col col-md-2 col-sm-4 col-xs-6 cactrang-item aos-init" data-aos="zoom-in-up"> <a class="group1" href="<?php $image = get_field('chi_tiet_san_pham_full'); if( !empty($image) ): echo $image['url']; endif; ?>" title="Trang chi tiết sản phẩm - <?php the_title(); ?>"> <img src="<?php $image = get_field('chi_tiet_san_pham'); if( !empty($image) ): echo $image['url']; endif; ?>" title="Trang chi tiết sản phẩm - <?php the_title(); ?>" alt="Trang chi tiết sản phẩm - <?php the_title(); ?>"> </a> <div class="ten-trang">Trang chi tiết sản phẩm</div> </div> <div class="col col-md-2 col-sm-4 col-xs-6 cactrang-item aos-init" data-aos="zoom-in-up"> <a class="group1" href="<?php $image = get_field('danh_muc_tin_tuc_full'); if( !empty($image) ): echo $image['url']; endif; ?>" title="Trang danh mục tin tức - <?php the_title(); ?>"> <img src="<?php $image = get_field('danh_muc_tin_tuc'); if( !empty($image) ): echo $image['url']; endif; ?>" title="Trang danh mục tin tức - <?php the_title(); ?>" alt="Trang danh mục tin tức - <?php the_title(); ?>"> </a> <div class="ten-trang">Trang danh mục tin tức</div> </div> <div class="col col-md-2 col-sm-4 col-xs-6 cactrang-item aos-init" data-aos="zoom-in-up"> <a class="group1" href="<?php $image = get_field('chi_tiet_tin_tuc_full'); if( !empty($image) ): echo $image['url']; endif; ?>" title="Trang chi tiết tin tức - <?php the_title(); ?>"> <img src="<?php $image = get_field('chi_tiet_tin_tuc'); if( !empty($image) ): echo $image['url']; endif; ?>" title="Trang chi tiết tin tức - <?php the_title(); ?>" alt="Trang chi tiết tin tức - <?php the_title(); ?>"> </a> <div class="ten-trang">Trang chi tiết tin tức</div> </div> <div class="col col-md-2 col-sm-4 col-xs-6 cactrang-item aos-init" data-aos="zoom-in-up"> <a class="group1" href="<?php $image = get_field('lien_he_full'); if( !empty($image) ): echo $image['url']; endif; ?>" title="Trang liên hệ - <?php the_title(); ?>"> <img src="<?php $image = get_field('lien_he'); if( !empty($image) ): echo $image['url']; endif; ?>" title="Trang liên hệ - <?php the_title(); ?>" alt="Trang liên hệ - <?php the_title(); ?>"> </a> <div class="ten-trang">Trang liên hệ</div> </div> </div>--> </div> <div class="chuc-nang" style="background:#f5f5f5;"> <div class="container"> <div class="row"> <div class="col col-md-9 col-sm-12 col-xs-12" style="padding-left:0"> <div class="chi-tiet-mau-website"> <h3>Các chức năng chính của <?php the_title(); ?></h3> <article class="post-content padding5"> <?php the_content(); ?> </article> </div> <div class="fb-comments" data-href="<?php bloginfo('url'); ?>" data-width="" data-numposts="3"></div> </div> <div class="col col-md-3 col-sm-12 col-xs-12" style="padding:0;"> <div class="sidebar"> <?php get_sidebar(); ?> </div> </div> </div> </div> </div> <div class="tags"> <div class="container"> <h3>Tags: <?php the_terms($post->ID, 'tags'); ?></h3> <p></p> </div> </div> <div class="container"> <div class="sanpham-lienquan"> <h3><span><i class="fa fa-bars" aria-hidden="true"></i> Sản phẩm cùng danh mục</span></h3> <div class="row"> <?php $postType = 'kho-giao-dien'; $taxonomyName = 'nganh-nghe'; $taxonomy = get_the_terms(get_the_ID(), $taxonomyName); if ($taxonomy){ $category_ids = array(); foreach($taxonomy as $individual_category) $category_ids[] = $individual_category->term_id; $args = array( 'post_type' => $postType, 'post__not_in' => array(get_the_ID()), 'posts_per_page' => 4, 'tax_query' => array( array( 'taxonomy' => $taxonomyName, 'field' => 'term_id', 'terms' => $category_ids, ), ) ); $my_query = new wp_query($args); if( $my_query->have_posts() ): echo '<div class="mau-website">'; while ($my_query->have_posts()):$my_query->the_post(); ?> <div class="col col-md-3 col-sm-6 col-xs-12 aos-init" data-aos="zoom-in-down"> <div class="mau-website-item"> <div class="hinh-anh-mau" style="height:250px;"> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><img class="anhmau" src="<?php echo get_the_post_thumbnail_url(get_the_ID(),'full'); ?>" alt="<?php the_title(); ?>"></a> <div class="mau-website-hover"> <span class="ma-web-top"><?php echo get_post_meta(get_the_ID(),'ma_website', true ); ?></span> <a class="anh-web-full group1" u="<?php the_permalink(); ?>" href="<?php $image = get_field('trang_chu_full'); if( !empty($image) ): echo $image['url']; endif; ?>"> </a> <!--<a href="#" rel="nofollow" class="dangky">Đăng ký</a> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="xemchitiet">Chi tiết</a>--> </div> </div> <h4 class="ten-website"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" style="font-size:14px;"><?php the_title(); ?></a></h4> <div class="tt-website"> <div class="ma-website">Mã website: <b><?php echo get_post_meta(get_the_ID(),'ma_website', true ); ?></b></div> <div class="gia-website">Giá: <b><?php echo get_post_meta(get_the_ID(),'gia_website', true ); ?></b></div> </div> </div> </div> <?php endwhile; echo '</div>'; endif; wp_reset_query(); } ?> <!-- <?php $terms = get_the_terms(get_the_ID(),'nganh-nghe'); $current_term = $terms[0]->slug; if(current_term){ $args = array( 'nganh-nghe' => $current_term, 'post__not_in' => array(get_the_id()), 'showposts' => 4, 'caller_get_posts' => 1, 'post_type' => 'kho-giao-dien' ); $my_query = new wp_query($args); if( $my_query->have_posts()){ echo '<div class="mau-website">'; while ($my_query->have_posts()){ $my_query->the_post(); ?> <div class="col col-md-3 col-sm-6 col-xs-12 aos-init" data-aos="zoom-in-down"> <div class="mau-website-item"> <div class="hinh-anh-mau" style="height:250px;"> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><img class="anhmau" src="<?php echo get_the_post_thumbnail_url(get_the_ID(),'full'); ?>" alt="<?php the_title(); ?>"></a> <div class="mau-website-hover"> <span class="ma-web-top"><?php echo get_post_meta(get_the_ID(),'ma_website', true ); ?></span> <a class="anh-web-full group1" u="<?php the_permalink(); ?>" href="<?php $image = get_field('trang_chu_full'); if( !empty($image) ): echo $image['url']; endif; ?>"> </a> <!--<a href="#" rel="nofollow" class="dangky">Đăng ký</a> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="xemchitiet">Chi tiết</a>-> </div> </div> <h4 class="ten-website"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" style="font-size:14px;"><?php the_title(); ?></a></h4> <div class="tt-website"> <div class="ma-website">Mã website: <b><?php echo get_post_meta(get_the_ID(),'ma_website', true ); ?></b></div> <div class="gia-website">Giá: <b><?php echo get_post_meta(get_the_ID(),'gia_website', true ); ?></b></div> </div> </div> </div> <?php } echo '</div>'; } } ?> --> </div> </div> </div> </div> </div> <?php get_footer(); ?>