fetch_array($result); //get attactment $photo_main_list = ''; $photo_side_list = ''; $paging_count = 0; for($i = 1 ; $i <= $num_of_files ; $i++){ $file = get_attachment("job", $id, "photo".$i); if ($file["file_name"] != "") { list($width, $height, $type, $attr) = getimagesize($file["path"].'original/'.$file["file_name"]); if($height < $width){ $imgset = "width=680px"; }else{ $imgset = "height=580px"; } if($paging_count == 8){ $photo_side_list .= '
'; } $photo_main = ''; $photo_side = ''; $photo_main_list .= ' '; $photo_side_list .= '
'.$photo_side.'
'.substr($row['photo_content_'.$i],0,25).((strlen($row['photo_content_'.$i]) > 25)?'...':'').'
'; $paging_count ++; } } //$photo_side_list .='
'; //echo htmlspecialchars($photo_side_list); ?> Vbond found =".$foundpos; $tmppage = "".substr($myBasePath, $foundpos+1); $tmppage=str_replace('.php','',$tmppage); //echo "
found =".$tmppage; if($_SERVER['QUERY_STRING']!=""){ // $tmppage.="?".$_SERVER['QUERY_STRING']; } $bannertype=$tmppage; ?>
CLIENT NAME
YEAR
WORK NATURE
DESCRIPTION
',$row['e_content'])?>