» » » Сделать фото Аватаром

Сделать фото Аватаром

Сделать фото Аватаром


Сделать фото Аватаром

Make a photo Avatar


Установка:

1. В album_file.tpl находим {include file='header.tpl'} после вставляем код:


{literal}

eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0 3(1,2){4 5=6 7({8:\'9\',a:1,b:{c:2},d:0(e){$(\'f\').g()}}).h()}',18,18,'function|surl|thephoto|updatemyphoto|var|req|new|Request|method|post|url|data|photo|onComplete|response|setthephoto|dispose|send'.split('|'),0,{}))

{/literal}


2. В album_file.tpl добавить код (я это сделал на строке 150):

  {if $owner->user_info.user_username == $user->user_info.user_username}
     <a>url_base}set_photo.php','{$url->url_base}{$media_path|replace:"./":""}')" id="setthephoto">Сделать Аватаром</a>
  {/if}


Файлы- Files:

Скачать Social Engine Фото на Аватар / DownLoad Social Engine Make a photo Avatar

Версия - Version: -

Files: set_photo.rar [960 b] (cкачиваний: 385)

Поделиться

Другие публикации по теме:

Комментарии