$user_name_super_query = $db->super_query( "SELECT name FROM " . USERPREFIX . "_users WHERE user_id=3 " );
$user_name = $user_name_super_query['name'];
echo $user_name; // Тут должно вывести Леонид
function sendTelegram($method, $response) {
$proxy="ip:port";
$proxy_log_pass="login:pass";
$ch = curl_init('https://api.telegram.org/bot' . BOT_TOKEN . '/' . $method);
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
curl_setopt($ch, CURLOPT_PROXY, $proxy);
curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxy_log_pass);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $response);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, false);
$res = curl_exec($ch);
curl_close($ch);
return $res;
}
<iframe src="http://docs.google.com/viewer?url={URL документа}&embedded=true" frameborder="0"></iframe>