Файл: install.php
Строк: 21
<?php
/**
* @link http://samad.ulty.ru
* @copyright Copyright (C) 2015 Universal Group
* @author http://ok.ru/uzbmas
*/
include 'connect.php';
require_once ("head.php");
echo '<div class="'.$title.'">Устаноака Модул автодобавление новостей</div>';
mysql_query("CREATE TABLE IF NOT EXISTS `ultynews` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`time` int(10) unsigned NOT NULL,
`name` varchar(500) NOT NULL,
`ulty` int(10) unsigned NOT NULL,
`text` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;");
echo '<div class="'.$gmenu.'">Модул установлен! Удалите install.php!</div>';
require_once ('foot.php');
?>