CODE نسخ الكود
CREATE TABLE `pbb_blocks` (
`id` int(9) NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`text` longtext NOT NULL,
`place_block` varchar(100) NOT NULL,
`sort` int(5) NOT NULL,
`active` smallint(5) unsigned NOT NULL default '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ;
INSERT INTO `pbb_blocks` VALUES (1, 'الأقسام الرئيسية', '{template}portal_main_categories{/template}', 'left', 1, 1);
INSERT INTO `pbb_blocks` VALUES (2, 'إحصائيات', '{template}portal_static{/template}', 'left', 2, 1);
INSERT INTO `pbb_blocks` VALUES (3, 'الساعة', '{template}portal_clock{/template}', 'left', 3, 1);
INSERT INTO `pbb_blocks` VALUES (4, 'التقويم', '{template}portal_calendar{/template}', 'center', 2, 1);
INSERT INTO `pbb_blocks` VALUES (5, 'آخر الأخبار', '{template}portal_last_news{/template}', 'center', 1, 1);
INSERT INTO `pbb_blocks` VALUES (6, 'القائمة الرئيسية', '{template}portal_main_menu{/template}', 'right', 1, 1);
INSERT INTO `pbb_blocks` VALUES (7, 'المتواجدين الآن', '{template}portal_online{/template}', 'right', 2, 1);
INSERT INTO `pbb_blocks` VALUES (8, 'آخر المشاركات', '{template}portal_latest_posts{/template}', 'right', 3, 1);