?
Path : /home/admin/domains/happytokorea.com/private_html/libs/ |
Current File : /home/admin/domains/happytokorea.com/private_html/libs/agent.php |
<? $n=$db->getRow('agents',"WHERE eng_name LIKE '%{$_GET['name']}%'"); $data=$db->getDataOneRow('agents',$_GET['name'],'name'); ?> <table id="Table_01" width="680" height="294" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="680" height="24" background="images/box_item_01.jpg" style="padding-left:20px;text-align:left"><font color=#FFFFF><b> <a href="index.php?mod=agents"><font color="#FFFFFF">หน้าหลัก Agents</font></a> : <?=$data['eng_name'];?> </td> </tr> <tr> <td height="11"> <img src="images/box_item_02.jpg" width="680" height="11" alt=""></td> </tr> <tr> <td width="680" height="237" background="box_item_03.jpg" valign="top" style="text-align:left;padding-left:20px;padding-right:20px;"> <? if($data['zone1']==''){ $apmer="อำเภอ".$data['amper']; }else{ $amper=$cfg['bkk_zone'][$data['zone1']]; } if($data['road']!=''){ $data['road']="ถนน".$data['road']; } $rs=$db->Query("SELECT * FROM business_type WHERE agent_id='{$data['id']}'"); while($bz=mysql_fetch_array($rs)){ $bst.=" ".$cfg[business_type][$bz[business_id]].","; } ?> <div style="padding-left:15px;"> <h1 style="font-size:14px;"><?=$data['eng_name'];?> ( <?=$data['name'];?> )</h1></div> <table border="0" width="600" height="52"> <tr> <td height="18" width="600">ประเภทธุรกิจ: <?=$bst1l;?></td> </tr> <tr> <td height="18" width="600">ที่อยู่บริษัท:<?=$data['address'];?> <?=$data['road'];?> <?=$data['sub_district'];?> <?=$amper;?> <?=$arr['province'];?> <?=$data['zipcode'];?> </td> </tr> <tr> <td height="18" width="600">เบอร์โทร:<?=$data['tel'];?> มือถือ:<?=$data['mobile'];?> Fax:<?=$data['fax'];?> </td> </tr> <tr> <td height="18" width="600">Website :<a href="http://<?=$data['website'];?>" target=_blank><?=$data['website'];?></a></td> </tr> </table> </td> </tr> <tr> <td> <img src="images/box_item_05.jpg" width="680" height="23" alt=""></td> </tr> </table>