<?php
$res = run_query("SELECT * FROM " . $config['table_prefix'] . "config WHERE `name` = 'hide_not_edit'");
if (!sql_num_rows($res)){
    $res = run_query("INSERT INTO " . $config['table_prefix'] . "config (`name`, `value`) VALUES ('hide_not_edit', 0)");
}