LEGO SP 5.0.2
Добавил поле в шаблон:
<label><span class="caption">Номер пасспорта</span><input class="required" type="text" name="rodpass" id="rodpass" value="{if $smarty.session.userinf.rodpass}{$smarty.session.userinf.rodpass}{else}{$smarty.post.rodpass}{/if}" /></label>
Добавил order_place.php
$_POST["rodpass"]=$userinfo["rodpass"];
...
db_query("INSERT INTO ".ORDERS_TABLE." (order_time, cust_firstname, cust_lastname, cust_email, cust_country, cust_zip, cust_state, cust_city, cust_address, cust_phone, comment, manager, rodpass) values ('".get_current_time()."','".mysql_real_escape_string($_POST["first_name"])."','".mysql_real_escape_string($_POST["last_name"])."','".$post_email."','".mysql_real_escape_string($_POST["country"])."','".mysql_real_escape_string($_POST["zip"])."','".mysql_real_escape_string($_POST["state"])."','".mysql_real_escape_string($_POST["city"])."','".mysql_real_escape_string($_POST["address"])."','".$post_phone."','".$_POST["comment"]."','".$_POST["rodpass"]."', '".$man_arr[0]."');") or die (db_error());
Но в БД вместо данных ложится число "1".