<?php define('TRUSTLINK_USER', 'a161d32377d2ac14589547f6c9de09f5ab5715ff'); require_once($_SERVER['DOCUMENT_ROOT'].'/'. TRUSTLINK_USER.'/trustlink.php'); $o['charset'] = 'cp1251';//кодировка сайта $trustlink = new TrustlinkClient my $o = {};
$o->{charset} = 'cp1251';
$o->{TRUSTLINK_USER} =
'a161d32377d2ac14589547f6c9de09f5ab5715ff';
push @INC, "$ENV{DOCUMENT_ROOT}/$o->{TRUSTLINK_USER}";
eval("use TrustlinkClient;");
my $trustlink = new TrustlinkClient($o);
undef($o);
print $trustlink->build_links(); |