<?php
run_query("UPDATE {$config['table_prefix']}fields SET main = 1, type_value = '0|0', default_value = '{current}' WHERE type_field = 11");
run_query("UPDATE {$config['table_prefix']}fields SET main = 1, type_value = 1, default_value = '{cur.time}' WHERE type_field = 12");
run_query("UPDATE {$config['table_prefix']}fields SET main = 1, default_value = 0  WHERE type_field = 13");