core/api/modules/mc/class.php

17 lines
544 B
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
class main{
var $db; // Здесь объект для работы с MySQL
var $id;
function __construct($smarty, $settings, $db){
$this->db=$db;
$db->free_sql2("ALTER TABLE `content` ADD `reyt` int(10) NULL;");
}
/* ------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------- */
}
?>