//ver=2

//  Setting 
CREATE TABLE rank ( id integer, fraz integer DEFAULT 0,  rank integer DEFAULT 0)

//  text
CREATE TABLE textres ( id counter, textper string, textval string(255))

INSERT INTO textres ( textper, textval ) VALUES ("rank0", "" )
INSERT INTO textres ( textper, textval ) VALUES ("rank1", "" )
INSERT INTO textres ( textper, textval ) VALUES ("rank2", "" )
INSERT INTO textres ( textper, textval ) VALUES ("rank3", "" )
INSERT INTO textres ( textper, textval ) VALUES ("rank4", "" )
INSERT INTO textres ( textper, textval ) VALUES ("rank5", " " )
INSERT INTO textres ( textper, textval ) VALUES ("rank6", " " )
INSERT INTO textres ( textper, textval ) VALUES ("rank7", "" )
INSERT INTO textres ( textper, textval ) VALUES ("rank8", " " )
INSERT INTO textres ( textper, textval ) VALUES ("rank9", " " )
INSERT INTO textres ( textper, textval ) VALUES ("rank10", " " )
INSERT INTO textres ( textper, textval ) VALUES ("rank11", " " )
INSERT INTO textres ( textper, textval ) VALUES ("rank12", " " )
INSERT INTO textres ( textper, textval ) VALUES ("rank13", " " )
INSERT INTO textres ( textper, textval ) VALUES ("rank14", " " )
INSERT INTO textres ( textper, textval ) VALUES ("vashrang", " : " )
INSERT INTO textres ( textper, textval ) VALUES ("VsegoSkazano", ".   : " )
INSERT INTO textres ( textper, textval ) VALUES ("povzvan1", "  [text]" )
INSERT INTO textres ( textper, textval ) VALUES ("povzvan2", "[url][/url].   : " )

INSERT INTO textres ( textper, textval ) VALUES ("200", "     :  " )
INSERT INTO textres ( textper, textval ) VALUES ("201", " ()." )
INSERT INTO textres ( textper, textval ) VALUES ("202", "  !" )
INSERT INTO textres ( textper, textval ) VALUES ("203", "   ,   : [text]" )
INSERT INTO textres ( textper, textval ) VALUES ("204", "  ,    ,   ." )


//    
CREATE TABLE golos ( idgolos counter, name string, golostxt string(255), chenal string, variantov integer, var1 string, var2 string, var3 string, var4 string, var5 string, pokazov integer, timeon integer, period integer, menyatprivet bit, menyattemu bit, fromone bit)
CREATE TABLE dlyagolos( idgolos integer, id integer, var integer)


//  
update Setting set valuep=2 WHERE per="ver"