Parašė aikidoek· 2009 Sau. 27 16:01:13
#1
Atsidarome locale/Lithunian/global.php susirandame:
$locale['087'] = "zinutes";
Po juo dedame:
// Top10
$locale['8100'] = "Top10";
$locale['8101'] = "iskaiciuoti balsa";
$locale['8102'] = "Noredamas balsuoti turite prisijungti.";
$locale['8103'] = "Balsuoti";
$locale['8104'] = "Balsai";
$locale['8105'] = "Balsai: ";
$locale['8106'] = "Pradetas: ";
$locale['8107'] = "Baigtas: ";
$locale['8108'] = "Top10 archyvas";
$locale['8109'] = "Pasirinkti Top10 perziurai is saraso:";
$locale['8110'] = "Ziureti";
$locale['8111'] = "Perziureti Top10";
$locale['8112'] = "Dekojame jog atidavete savo balsa. Rezultatus isvysite savaites pabaigoje!";
iki sito suprantu kur det o apacioj tas lenteles ir kur jas ideti? :?:?:?:?
Sukuriame lenteles:
CREATE TABLE `fusion_top_votes` (
`vote_id` smallint(5) unsigned NOT NULL auto_increment,
`vote_user` smallint(5) unsigned NOT NULL default '0',
`vote_opt` smallint(2) unsigned NOT NULL default '0',
`top_id` smallint(5) unsigned NOT NULL default '0',
PRIMARY KEY (`vote_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;
CREATE TABLE `fusion_tops` (
`top_id` smallint(5) unsigned NOT NULL auto_increment,
`top_title` varchar(200) NOT NULL default '',
`top_opt_0` varchar(200) NOT NULL default '',
`top_opt_1` varchar(200) NOT NULL default '',
`top_opt_2` varchar(200) NOT NULL default '',
`top_opt_3` varchar(200) NOT NULL default '',
`top_opt_4` varchar(200) NOT NULL default '',
`top_opt_5` varchar(200) NOT NULL default '',
`top_opt_6` varchar(200) NOT NULL default '',
`top_opt_7` varchar(200) NOT NULL default '',
`top_opt_8` varchar(200) NOT NULL default '',
`top_opt_9` varchar(200) NOT NULL default '',
`top_started` int(10) unsigned NOT NULL default '0',
`top_ended` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`top_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
INSERT INTO `fusion_admin` (admin_rights,admin_image,admin_title,admin_link,admin_page) VALUES('PO', 'polls.gif', 'Top10', 'top10.php', 1);