- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
class xxxxxxxxxx
{
private $string_services;
public function init() {
$this->string_services = '<script type="text/javascript" src="//yandex.st/share/share.js" charset="utf-8"></script>
<div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="none" data-yashareQuickServices="yaru,vkontakte,facebook,twitter,odnoklassniki,moimir,lj,friendfeed,moikrug,gplus"></div> ';
}
public function run() {
if(empty($this->string_services))
{
$this->init();
}
echo $this->string_services;
}
}
Steve_Brown 05.10.2012 13:58 # 0
Lure Of Chaos 05.10.2012 18:19 # 0
myaut 05.10.2012 18:50 # +1
Lure Of Chaos 06.10.2012 11:47 # +5