$active_sheet->setCellValue('C9', '=SUBTOTAL(9,C4:C8)');
<div id="background">#ffffff</div>
<!DOCTYPE HTML>
<html>
<head>
<meta charset = "utf-8" >
<script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
<title>...</title>
</head>
<body>
<?php
include "file.php";
?>
<script type="text/javascript">
if (location.search.substring(1) == 'color') {
var color = prompt('Введите цвет в формате HEX:', '');
color = color.replace(/#([0-9A-F]){6}/gi, '#$1');
if (!color || color == '') { color = '#ffffff'; }
$.get( 'file.php', { background: color});
}
var a = $('#background').html();
$('body').css('background', a);
</script>
</body>
</html>
set_time_limit(0);
function makeLink($string){
/*** make sure there is an http:// on all URLs ***/
$string = preg_replace("/([^\w\/])(www\.[a-z0-9\-]+\.[a-z0-9\-]+)/i", "$1http://$2", shortUrl($string));
/*** make all URLs links ***/
$string = preg_replace("/([\w]+:\/\/[\w-?&;#~=\.\/\@]+[\w\/])/i","<a target=\"_blank\" href=\"$1\">$1</a>",$string);
/*** make all emails hot links ***/
$string = preg_replace("/([\w-?&;#~=\.\/]+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?))/i","<a href=\"mailto:$1\">$1</a>",$string);
shortUrl($string)
}
include 'core/core.php';
$r = "string";
echo "$r";
$r = "string";
echo "$r";
Как это сделать?