|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /home/pathumthani_integration/integration/application/industry/ |
Upload File : |
<?php /*?>
<?
include "connect.php";
$query = mysql_query("SELECT * FROM ".$_GET['tb']." WHERE runid='".$_GET['runid']."' ");
$rows = mysql_fetch_assoc($query);
$query_picture = mysql_query("SELECT path FROM picture WHERE picture.picid='".$_GET['runid']."' ORDER BY runid LIMIT 1");
$picture = mysql_fetch_assoc($query_picture);
if(file_exists("images_picture/resize_".$picture['path'])){
$picture_url = "images_picture/resize_".$picture['path'];
}else{
$picture_url = "img/resize_no_image.jpg";
}
?>
<style type="text/css">
body,td,th{
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
}
</style>
<table width="300" border="0">
<tr>
<td align="center"><img src="<?=$picture_url?>" width="95" height="90" align="absmiddle" /></td>
</tr>
<tr>
<td> <?=$rows['description']?></td>
</tr>
<tr>
<td>
<?php
$arrWebSite = explode(".",$rows['website']);
$getHttp = (strtolower($arrWebSite[0]) == "www")?"http://":"";
?>
<strong>àÇçºä«µì</strong>: <?=($rows['website']!="")?'<a href="'.$getHttp.$rows['website'].'" target="_blank">'.$getHttp.$rows['website'].'</a>':""?>
</td>
</tr>
</table><?php */?>