" ;exit ;} while($row = mysql_fetch_array($res)){ $id = $row['id']; $case_name = $row['case_name']; $year = $row['year']; $make = $row['make']; $query2 = 'select photo1 from photos where id = '.$id.' limit 1'; $sql2 = mysql_query("$query2"); if (!$res2 = $sql2) {echo "SQL error" ; exit ; } $row2 = mysql_fetch_array($res2); $fname = $row2['photo1']; $pname = substr($fname, 7,100); $pname_tmp = substr($fname, 7,100); $pname_tmp = substr($pname_tmp, 0,-4); $pname = "thumb/".$pname; $ori_p = "manager/".$fname; $pname = substr($fname, 7,100); $pname = "thumb/".$pname; if (!file_get_contents($pname)) { $image = new SimpleImage(); $image->load($ori_p); $image->resizeToWidth(370); $image->save("$pname"); } $urlcasename = str_replace(" ","_",$case_name); $urlcasename = $urlcasename."_jp"; $ori_p = $root."manager/".$fname; $link_stock = ''; // href="http://www.c-b-c.cc/wp-content/uploads/2016/02/IMG_0779.jpg" rel="prettyPhoto[gallery2]"> $dsp_comming .= '
'.$link_stock.' ヴィンテージカー '.$make.' '.$case_name.'販売済

'.$year.'年 '.$make.' '.$case_name.'

'; } ///////////////////////////////////////////////////////////////////////// ?> クラッシクカー ビンテージカー ご成約済車両

Sold out ご契約済車両

ご契約を頂いた車両の一覧です。ご希望の車両をお探し致します。ご相談ください。

v4.2.3