<?php
header("Content-type: text/html; charset=windows-1251");
require("../libs/setup.php");
$setup = new setup();
$row_tpl = $setup->db->getRow("select * from sms_tpl where id=?",array($_GET['tplID']),DB_FETCHMODE_ASSOC);
print trim($row_tpl['msg']);
?>