1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/**
* Template Name: Mẫu hóa đơn
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 2.1
*/
get_header();
// $invoice_temp_01 = wp_get_attachment_image_src(274, '423x600' );
// list ảnh mẫu hóa đơn
$arr_invoice = array(
1 => 274,
2 => 275,
3 => 276,
4 => 277,
5 => 278,
6 => 279,
7 => 280,
8 => 281,
9 => 283,
10 => 955,
11 => 956,
12 => 957,
13 => 958,
14 => 959,
15 => 960,
16 => 961,
17 => 962,
18 => 963,
19 => 964,
20 => 965,
21 => 966,
);
?>
<?php get_template_part( 'template-parts/content', 'intro-slider' ); ?>
<section class="container ">
<div class="row text-center">
</div>
<div class="text-left">
<h1 class="feature-title">MẪU HÓA ĐƠN THAM KHẢO</h1>
</div>
<div class="row">
<?php foreach ($arr_invoice as $key => $val):
$invoice_temp = wp_get_attachment_image_src($val, '423x600' );
?>
<div class="col-xs-12 col-sm-12 col-md-4 text-center wow flipInY">
<img src="<?php echo $invoice_temp[0] ?>" class="img-fluid tpl-hoadon">
<p class="invoice-template-name">Mẫu hóa đơn số <?=$key?></p>
</div>
<?php endforeach;?>
</div>
</section>
<?php get_footer(); ?>