Файл: system/modules/batle.php
Строк: 12
<?php
if(!defined('MOZG'))
die('Hacking attempt!');
$id = intval( $_REQUEST['id'] );
$tpl->load_template('batl/batle.tpl');
$row= $db->super_query("SELECT * FROM " . PREFIX . "_voting WHERE `id` ");
$tpl->set('{title}', $row['title']);
$tpl->set('{one}',$row['one']);
$tpl->set('{two}',$row['two']);
$tpl->set ('{img_one}',$row['img_one']);
$tpl->set ('{img_two}',$row['img_two']);
$tpl->set ('{link}',$row['alt_title']);
$metatags['title'] = $row['alt_title'];
$tpl->compile ('content');
$tpl->clear();
?>