/var/www/globavet.com/tc/services.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<?php require_once('../webadmin/configure.php');
$servicesid = (int)$_GET['servicesid'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Victory Animal Hospital</title>
<meta name="keywords" content="Victory Animal Hospital,獸醫,獸醫診所,動物醫院,veterinary,animal hospital,veterinary clinic,Vet,動物診所,Animal hospitals,Veterinarian,Vet clinic,Vet specialist,Vet Hospital">
<meta name="description" content="Victory Animal Hospital " />
<link rel="stylesheet" type="text/css" href="../css/style.css" />
<link rel="stylesheet" type="text/css" href="../css/jqueryslidemenu.css" />

<!--[if lte IE 7]>
<style type="text/css">
html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/
</style>
<![endif]-->

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="../js/jqueryslidemenu.js"></script>
</head>
<body>
<table width="1000" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="400" align="left" valign="top" style="background-image:url(../images/banner.jpg)">
    <div id="headerlogo"><a href="home.php"><img src="../images/blank.png" width="330" height="100" /></a></div>
    <table border="0" cellpadding="0" cellspacing="0" class="headerlang" id="headerlangtable">
      <tr>
        <td><a href="../en/<?=basename($_SERVER['PHP_SELF'])."?".$_SERVER['QUERY_STRING'];?>">ENGLISH</a> &nbsp;&nbsp; <a href="../tc/<?=basename($_SERVER['PHP_SELF'])."?".$_SERVER['QUERY_STRING'];?>">中文</a> </td>
      </tr>
    </table>
    <div id="mapsearch-codesearch">
      <form action="search.php">
          <input type="text" class="codesearchbox" name="s" value="" />
          <input name="image" type="image" class="codesearchbox_submit" value="" src="../images/blank.png" />
        </form>
    </div></td>
  </tr>
  <tr>
    <td align="left" valign="top"><div id="myslidemenu" class="jqueryslidemenu">
        <ul>
        <li><a href="home.php">主頁</a></li>
        <li><a href="news.php">最新消息</a></li>        
        <li><a href="aboutus.php">關於我們</a></li>
        <li><a href="services.php">我們的服務</a></li>
        <li><a href="clinic_spec.php">專科醫生服務</a></li>
        <li><a href="info.php">客戶與寵物資訊</a></li>
        <li><a href="https://eshop.victoryanimalhospital.com" target="_blank">寵物食品送貨服務</a></li>
        <li><a href="contactus.php">聯絡我們</a></li>
        </ul>
        <br style="clear: left" />
    </div></td>
  </tr>
  <tr>
    <td width="235" align="left" valign="top" class="pagetitlebg"><table width="970" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="235" class="pagetitle1"><a name="c" id="c"></a>我們的服務</td>
        <td width="22" class="pagetitle1"><img src="../images/icon_title.jpg" width="22" height="24" /></td>
        <?php
            
if ( $servicesid ) {
                
$sql "SELECT * FROM services WHERE services.servicesid = $servicesid ";
            } else {
                
$sql "SELECT * FROM services ORDER BY levelnum ASC, sort ASC ";
            }
            
//echo $sql;        
            
$result mysql_query($sql);                
            
$row mysql_fetch_array($result,MYSQL_ASSOC);                            
        
?>   
        <td width="713" class="pagetitle2"><?=$row{'title_tc'};?></td>
      </tr>
      
    </table></td>
  </tr>
  <tr>
    <td align="left" valign="top" bgcolor="#FFFFFF" class="pagecontentbg"><table width="700" border="0" cellpadding="0" cellspacing="0"id="pagecontent">
      <tr>
        <td align="left" valign="top" class="pagecontenttxt"><?=$row{'desc_tc'};?>
        <?php /*?><?php if ($row{'servicesid'} == '16') { ?>
        <link rel="stylesheet" href="http://www.globavet.com/js/bjqs.css" /><script src="http://code.jquery.com/jquery-1.7.1.min.js"></script><script src="http://www.globavet.com/js/bjqs-1.3.min.js"></script>
        <div id="banner-fade"><!-- start Basic Jquery Slider -->
        <ul class="bjqs">
            <li><img src="http://www.globavet.com/uploadfile/MRI_01.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/MRI_02.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/MRI_03.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/MRI_04.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/MRI_05.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/MRI_06.JPG" title="" alt="" /></li>
        </ul>        
        <!-- end Basic jQuery Slider --></div>
        <!-- End outer wrapper -->      <script class="secret-source">        jQuery(document).ready(function($) {          $('#banner-fade').bjqs({            height      : 480,            width       : 600, showmarkers : false,            responsive  : true          });        });      </script>
        <?php } else if ($row{'servicesid'} == '17') { ?>
        <link rel="stylesheet" href="http://www.globavet.com/js/bjqs.css" /><script src="http://code.jquery.com/jquery-1.7.1.min.js"></script><script src="http://www.globavet.com/js/bjqs-1.3.min.js"></script>
        <div id="banner-fade"><!-- start Basic Jquery Slider -->
        <ul class="bjqs">
            <li><img src="http://www.globavet.com/uploadfile/x-ray_01.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/x-ray_02.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/x-ray_03.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/x-ray_04.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/x-ray_05.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/x-ray_06.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/x-ray_07.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/x-ray_08.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/x-ray_09.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/x-ray_10.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/x-ray_11.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/x-ray_12.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/x-ray_13.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/x-ray_14.JPG" title="" alt="" /></li>
        </ul>        
        <!-- end Basic jQuery Slider --></div>
        <!-- End outer wrapper -->      <script class="secret-source">        jQuery(document).ready(function($) {          $('#banner-fade').bjqs({            height      : 480,            width       : 600, showmarkers : false,            responsive  : true          });        });      </script>
        <?php } else if ($row{'servicesid'} == '11') { ?>
        <link rel="stylesheet" href="http://www.globavet.com/js/bjqs.css" /><script src="http://code.jquery.com/jquery-1.7.1.min.js"></script><script src="http://www.globavet.com/js/bjqs-1.3.min.js"></script>
        <div id="banner-fade"><!-- start Basic Jquery Slider -->
        <ul class="bjqs">
            <li><img src="http://www.globavet.com/uploadfile/Ultrasound_01.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/Ultrasound_02.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/Ultrasound_03.JPG" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/Ultrasound_04.bmp" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/Ultrasound_05.bmp" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/Ultrasound_06.bmp" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/Ultrasound_07.bmp" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/Ultrasound_08.bmp" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/Ultrasound_09.bmp" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/Ultrasound_10.bmp" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/Ultrasound_11.bmp" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/Ultrasound_12.bmp" title="" alt="" /></li>
            <li><img src="http://www.globavet.com/uploadfile/Ultrasound_13.bmp" title="" alt="" /></li>
        </ul>
        <!-- end Basic jQuery Slider --></div>
        <!-- End outer wrapper -->      <script class="secret-source">        jQuery(document).ready(function($) {          $('#banner-fade').bjqs({            height      : 480,            width       : 600, showmarkers : false,            responsive  : true          });        });      </script>
        <?php } else if ($row{'servicesid'} == '7') { ?>
        <link rel="stylesheet" href="http://www.globavet.com/js/bjqs.css" /><script src="http://code.jquery.com/jquery-1.7.1.min.js"></script><script src="http://www.globavet.com/js/bjqs-1.3.min.js"></script>
<div id="banner-fade"><!-- start Basic Jquery Slider -->
<ul class="bjqs">
    <li><img src="http://www.globavet.com/uploadfile/idexx-01.png" title="IDEXX VetLab&reg; Station" alt="" /></li>
    <li><img src="http://www.globavet.com/uploadfile/idexx-02.png" title="ProCyte Dx&reg; Hematology Analyzer" alt="" /></li>
    <li><img src="http://www.globavet.com/uploadfile/idexx-03.png" title="Catalyst Dx&reg; Chemistry Analyzer" alt="" /></li>
    <li><img src="http://www.globavet.com/uploadfile/idexx-04.png" title="SNAPshot Dx&reg; Analyzer" alt="" /></li>
    <li><img src="http://www.globavet.com/uploadfile/idexx-05.png" title="SNAP&reg; 4Dx&reg; Plus Test" alt="" /></li>
    <li><img src="http://www.globavet.com/uploadfile/idexx-06.png" title="SNAP&reg; 3Dx&reg; Test" alt="" /></li>
    <li><img src="http://www.globavet.com/uploadfile/idexx-07.png" title="SNAP&reg; Feline Triple&reg; Test" alt="" /></li>
    <li><img src="http://www.globavet.com/uploadfile/idexx-08.png" title="SNAP&reg; fPL&trade; Test" alt="" /></li>
</ul>
<!-- end Basic jQuery Slider --></div>
<!-- End outer wrapper -->      <script class="secret-source">        jQuery(document).ready(function($) {          $('#banner-fade').bjqs({            height      : 300,            width       : 400, showmarkers : false,            responsive  : true          });        });      </script>
        <?php } ?>
        <br />
        <br />        
        <?=$row{'desc_tc'};?><?php */
?></td>
      </tr>
    </table>
    <table width="210" border="0" cellpadding="0" cellspacing="0" id="submenu">
        <tr>
            <td><div id="ddblueblockmenu">
            <?php        
                
function html_menu($p$level, &$rtn_hasChild)
                {
                    
$rtn_hasChild false;
                    
$sql1 "SELECT * FROM services where parentid = $p order by levelnum ASC, sort ASC";
                
                    
$result1 mysql_query($sql1);
                
                    while (
$row1 mysql_fetch_array($result1,MYSQL_ASSOC)){
                        
// var_dump($row1);
                        
$html_child html_menu($row1{'servicesid'}, $level+1$haschild);
                        if(
$level>1){
                            
$html.= '<li><a href="services.php?servicesid='$row1{'servicesid'} .'#c">'$row1{'title_tc'} . '</a></li>' PHP_EOL;
                        }
                        elseif (
$haschild) { //has child
                            
$html.='<div class="menutitle"><a href="services.php?servicesid='$row1{'servicesid'} .'#c">' $row1{'title_tc'} . '</a></div>' PHP_EOL;
                            
$html.="<ul>" PHP_EOL;
                            
$html.=$html_child;
                            
$html.="</ul>" PHP_EOL;
                        }
                        else{
                            
$html.= '<div class="menutitle"><a href="services.php?servicesid='$row1{'servicesid'} .'#c">'$row1{'title_tc'} . '</a></div>' PHP_EOL;                        
                        }
                        
$rtn_hasChild true;            
                    }
                    return 
$html;            
                }
    
                print 
html_menu(01);
            
?>        
         </div></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center" valign="middle" class="footer">Copyright © 2017 Globavet Limited. All rights reserved. |  Powered by <a href="http://www.onesolution.com.hk" target="_blank">One Solution Limited</a>. </td>
  </tr>
</table>
</body>
</html>