if(!isset($_POST[$value['field']])){$data[$value['field']]=$value['default'];}
$lang=model('lang')->langid();$data['lang']=$lang;
if(!isset($_POST[$value['field']])){$data[$value['field']]=$value['default'];}$lang=model('lang')->langid();$data['lang']=$lang;