Parašė malybu· 2009 Bal. 11 22:04:42
#1
Sveiki parsiunciau Sharman top10 moda idejau failus apkeiciua ka ten reikai ieinu i Administracijos panele--> Pridetiniai puslapiai idedu sita koda :
REATE 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);
Iterpiu tarp <?php ir paspaudziu Puslapio Perziura ir raso :
Parse error: syntax error, unexpected T_STRING in /home/login/webas/administration/custom_pages.php(71) : eval()'d code on line 2
Ka daryti?
Parašė ex-it· 2009 Bal. 11 22:04:37
#6
Cia net nematyti tinkamos sintakses
php, eik per pma ir ten pakopink ;)