/home/bjcompany/domains/benjabhorn.com/public_html/benjabhorn_group/project.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<title>เบญจพรกรุ๊ป  Benjabhorn Group</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
    background-image:url(images/bg-inside.jpg); background-position:top; background-repeat:repeat-x;
}
#apDiv1 {
    position:absolute;
    left:422px;
    top:136px;
    width:822px;
    height:310px;
    z-index:1;
}
#apDiv2 {
    position:absolute;
    margin:0 auto;
    top:158px;
    width:100%;
    height:33px;
    z-index:1;
}
#apDiv3 {
    position:absolute;
    left:143px;
    top:161px;
    width:220px;
    height:29px;
    z-index:2;
}
-->
</style>
</head>
<body  leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?php include("header.php"); ?>
<?php 
            
//-------------------data  project----------------------//
            
$query="SELECT * FROM tbl_project WHERE id = '".$_GET['ProjectID']."' ";
            
$resultDetail=mysql_query($query);
            
$dataProject=mysql_fetch_assoc($resultDetail);
            
//-----------------data home type---------------------//
            
$query="SELECT a.id, b.home_type_name FROM `tbl_home_data` a "
            
." LEFT JOIN tbl_home_type b ON a.home_type_id=b.id "
            
." WHERE a.project_id='".$_GET['ProjectID']."' ";
            
$resultHomeType=mysql_query($query);
?>

<!--<div id="apDiv1">
<iframe src="slide-project/index.html" width="800" height="300" frameborder="0" scrolling="no"></iframe></div>
 -->
<div id="apDiv2" align="right">
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
       <td>&nbsp;</td>
       <td width="990" align="right" valign="top">
       <table border="0" cellspacing="0" cellpadding="0" align="right">
         <tr>
           <td width="225" height="33" background="images/submenu-project_01.gif" class="name-project" style="background-image:url(images/submenu-project_01.gif); background-repeat:no-repeat;">&nbsp;&nbsp;<?php echo $dataProject['project_name']?></td>
           <td><a href="project.php?ProjectID=<?php echo $_GET['ProjectID']?>"><img src="images/submenu-project_02.gif" alt="" width="79" height="33" border="0" style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.6;this.filters.alpha.opacity=60"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
           <td><a href="type.php?ProjectID=<?php echo $_GET['ProjectID']?>"><img src="images/submenu-project_03.gif" alt="" width="88" height="33" border="0" style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.6;this.filters.alpha.opacity=60"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
           <td><a href="plan.php?ProjectID=<?php echo $_GET['ProjectID']?>"><img src="images/submenu-project_04.gif" alt="" width="91" height="33" border="0" style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.6;this.filters.alpha.opacity=60"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
           <td><a href="gallery.php?ProjectID=<?php echo $_GET['ProjectID']?>"><img src="images/submenu-project_05.gif" alt="" width="108" height="33" border="0"style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.6;this.filters.alpha.opacity=60"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
           <td><a href="progress.php?ProjectID=<?php echo $_GET['ProjectID']?>"><img src="images/submenu-project_06.gif" alt="" width="75" height="33" border="0" style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.6;this.filters.alpha.opacity=60"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
           <td><a href="location.php?ProjectID=<?php echo $_GET['ProjectID']?>"><img src="images/submenu-project_07.gif" alt="" width="78" height="33" border="0" style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.6;this.filters.alpha.opacity=60"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
         </tr>
       </table></td>
       <td>&nbsp;</td>
     </tr>
   </table>
   <p>&nbsp;</p>
   </div>
<center>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
   <td colspan="2" width="1000" height="420"  align="left" valign="top"><iframe src="Slideshow2/slide/index_slide.php" width="994" height="430" scrolling="no" frameborder="0" style="background:transparent;"></iframe></td>
  </tr>
  <tr>
    <td colspan="2" align="center" valign="top"><img src="images/shadow.png" alt="" width="985" height="20" vspace="1" /></td>
  </tr>
  
  <tr>
    <td colspan="2" align="center" valign="top">
  
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
       <td>&nbsp;</td>
       <td width="1290" align="right" valign="top">
       <table border="0" cellspacing="0" cellpadding="0" align="left">
         <tr>
           <td width="200" height="33" background="images/submenu-project_01.gif" class="name-project" style="background-image:url(images/submenu-project_01.gif); background-repeat:no-repeat;">&nbsp;&nbsp;<?php echo $dataProject['project_name']?></td>
           <td><a href="project.php?ProjectID=<?php echo $_GET['ProjectID']?>"><img src="images/submenu-project_02.gif" alt="" width="79" height="33" border="0" style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.6;this.filters.alpha.opacity=60"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
           <td><a href="type.php?ProjectID=<?php echo $_GET['ProjectID']?>"><img src="images/submenu-project_03.gif" alt="" width="88" height="33" border="0" style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.6;this.filters.alpha.opacity=60"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
           <td><a href="plan.php?ProjectID=<?php echo $_GET['ProjectID']?>"><img src="images/submenu-project_04.gif" alt="" width="91" height="33" border="0" style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.6;this.filters.alpha.opacity=60"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
           <td><a href="gallery.php?ProjectID=<?php echo $_GET['ProjectID']?>"><img src="images/submenu-project_05.gif" alt="" width="108" height="33" border="0"style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.6;this.filters.alpha.opacity=60"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
           <td><a href="progress.php?ProjectID=<?php echo $_GET['ProjectID']?>"><img src="images/submenu-project_06.gif" alt="" width="75" height="33" border="0" style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.6;this.filters.alpha.opacity=60"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
           <td><a href="location.php?ProjectID=<?php echo $_GET['ProjectID']?>"><img src="images/submenu-project_07.gif" alt="" width="78" height="33" border="0" style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.6;this.filters.alpha.opacity=60"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
            <td height="33" width="300" style="background-image: url(images/submenu-project_bg.gif); background-repeat: repeat-x;"> </td>
         </tr>
       </table></td>
       <td>&nbsp;</td>
     </tr>
   </table>
   <p>&nbsp;</p>
   
        
    </td>
  </tr>
  
  
  
  <tr>
    <td width="735" align="left" valign="top" class="txt30"><strong><br />
        <span class="h-project"><?php echo $dataProject['project_name']?></span></strong>
      <p class="txt-project"><br />
      <?php echo $dataProject['project_desc']?></p>
      <p class="txt-project">&nbsp;</p>
      <table width="85%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="40" bgcolor="#D8D7DC" class="L25">บ้านพักอาศัยทั้งหมด</td>
          <td height="40" bgcolor="#D8D7DC" class="L25"> <?php echo $dataProject['project_unit']?> &nbsp;</td>
        </tr>
        <tr>
          <td height="40" class="L25">เนื้อที่</td>
          <td height="40" class="L25"><?php echo $dataProject['project_area']?> </td>
        </tr>
        <tr>
          <td height="40" bgcolor="#D7D6DB" class="L25">ประเภทบ้านในโครงการ</td>
          <td height="40" bgcolor="#D7D6DB" class="L25">
          <?php $n=1; while($type=mysql_fetch_assoc($resultHomeType)){ ?>
          &#8226;&nbsp;<?php echo $type['home_type_name']?>
          <?php if($n==3){ echo "<br />"$n=0;}?>
           <?php $n++; }?> 
          
          </td>
        </tr>
        <tr>
          <td height="40" class="L25">ทำเลที่ตั้ง</td>
          <td height="40" class="L25"><?php echo $dataProject['project_localtion_detail']?> </td>
        </tr>
        <tr>
          <td height="40" bgcolor="#D7D6DB" class="L25">สำนักงานขาย</td>
          <td height="40" bgcolor="#D7D6DB" class="L25"><?php echo $dataProject['project_office']?></td>
        </tr>
      </table>      <p class="txt-project">&nbsp;</p></td>
    <td width="270" align="left" valign="top" class="txt30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="images/project-link_01.png" alt="" width="232" height="64" /></td>
        </tr>
        <tr>
          <td><a href="contact.php" target="_blank"><img src="images/project-link_02.png" alt="" width="232" height="92" border="0" style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.4;this.filters.alpha.opacity=40"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
        </tr>
        <tr>
          <td><a href="estimate.php" target="_blank"><img src="images/project-link_03.png" alt="" width="232" height="78" border="0" style="opacity:1;filter:alpha(opacity=100)" onmouseover="this.style.opacity=0.4;this.filters.alpha.opacity=40"
onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100"/></a></td>
        </tr>
      </table>      
      <p>&nbsp;</p></td>
  </tr>
  <tr>
    <td colspan="2" align="center">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" align="center">&nbsp;</td>
  </tr>
</table>
</center>
<?php include("footer.php"); ?>
</body>
</html>