more about
MONTH OF PRODUCTION
(click Sample)
STEP (1)
Buy package
for any username
no monthly payments
only packages
STEP (2) username
password
*
register
to get username/password
STEP (3)
Save as /month.php
"; foreach($vendor_arr as $val) { echo "
".strtoupper($val)."
"; } echo "
"; ## RESULT if (strlen($_POST['chassis'])>=8) { if (!in_array($_POST['vendor'],$vendor_arr)) {die('bad vendor');} if (!preg_match("/[a-zA-Z0-9]\-[\d]+/",$_POST['chassis'])) {die('bad chassis');} $url = 'http://78.46.90.228/api/month?json&vendor='.$_POST['vendor'].'&body='.$_POST['chassis'].'&user='.$code; ## DEBUG echo "
".$url."
"; $json = file_get_contents($url); ## DATA $arr = json_decode($json,true); ## ARRAY foreach($arr as $key=>$val) { ## PRINT if ($key=='year'||$key=='month'||$key=='balance') {echo '
';} echo "$key: $val
"; if ($key=='year'||$key=='month'||$key=='balance') {echo '
';} } } ## YEAR - year ## MONTH - the month of production ## MODELCODE - model code ## COLORCODE - color of the body ## TRIMCODE - color of the salon ## JAPANVDS - identification number (VDS) ## CATALOGNO - catalogue number ## ENGINENO - engine ## ENGINECODE - engine's options ## BODYCODE - body type ## GRADECODE - modification ## GRADEDESC - description of update ## TRANSCODE - transmission ## MODELNAME - model name ## COMPATIBLEFRAME - compatible body ## FRAMEYEAR - year of the numbering plan ## FRAMEMONTH - the month of production on the numbering plan ## CODE - advanced ## TRANSTYPE - description of transmission ## DOORSTYLE - doorstyle ## FRAMECODE - description of the body ## SPEC - spec. equipment