/var/www/hkosl.com/alliancealliance/services_landing_page.php


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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?php
    
require_once ('webadmin/basic_info.php');

    
$this_menu_info get_menu_info((int)$_GET["id"]);
?>

<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
    <?php require_once("html_head.php"?>
</head>

<body>

<?php require_once("google_analysis.php"); ?>

<?php require_once("html_header.php"?>

<section id="content" class="services_landing_page">

    <?php require_once("banner.php"?>

    <div class="container">
        <div class="head_title">
            <?= $this_menu_info["title_" $langcode?>
        </div>

        <div>
            <?= $this_menu_info["desc_" $langcode?>
        </div>

        <table id="services_page_table">
            <?php
                $sql 
"select * from menu where parent_id = ? and deleted = ? order by sort ASC";
                
$parameters = array((int)$_GET["id"], 0);
                
$menu_info bind_pdo($sql$parameters"selectall");

                if(!empty(
$menu_info)){
                    if((int)
$_GET["id"] == 1){
                        
$link_to "consulting_services_detail.php";
                    }else{
                        
$link_to "training_services_detail.php";
                    }

                    
$count 1;
                    foreach(
$menu_info as $menu){
                        if(
count($count)%== || $count == 1){
                            echo 
'<tr>';
                        }

                        echo 
'<td class="vt">
                            <div class="inline_block" style="width: 125px;">
                                <div style="background: url(\'images/service_page_icon/'
.$menu["icon_img_".$langcode].'\') no-repeat center center; background-size: 100%; width: 125px; height: 125px;">
                                </div>
                            </div>

                            <div class="inline_block vt" style="width: 230px;">
                                <a href="'
.$link_to.'?id='.$menu["id"].'">
                                    <div class="title">'
.$menu["short_title_".$langcode].'</div>
                                </a>

                                <div class="desc1">
                                    '
.$menu["short_desc1_".$langcode].'
                                </div>
                            </div>

                            <div style="border: 1px solid #d4d4d4; margin: 13px 0;"></div>

                            <div>
                                '
.$menu["short_desc2_".$langcode].'
                            </div>
                            <br>

                            <a href="'
.$link_to.'?id='.$menu["id"].'">
                                <div class="button">
                                    Read More
                                </div>
                            </a>

                        </td>'
;

                        
$count++;

                        if(
count($count)%== && $count >= 3){
                            echo 
'</tr>';
                        }


            
?>

            <?php } } ?>
        </table>

        <div style="padding-top: 50px;">
            For more information, please contact us by filling the <a href="contact_us.php" style="text-decoration: underline; color: #10218B">Enquiry Form</a>
        </div>
    </div>

</section>

<?php require_once("html_footer.php"); ?>

</body>
</html>