Buttons for adding to social bookmarks

Practice









JUST ADD TO BROWSER BOOKMARKS
return false;" href="{php}echo $_SERVER['REQUEST_URI']; {/php}" 
title="{$product_info } Inter -office - Everything for business comfort!">
Buttons for adding to social bookmarks

ADD TO LIVEINTERNET BOOKMARKS
href="http://www.liveinternet.ru/twitter/ptt.php?t={$server_name}{$php_self}">
Buttons for adding to social bookmarks


LIVEJOURNAL
{$php_self}&subject={if $meta_title_utf8}{$meta_title_utf8}
{else}{$page_title_utf8}{/if}" >Buttons for adding to social bookmarksalt="Post to LiveJournal" />



href="http://www.liveinternet.ru/journal_post.php?action=n_add&cnurl=http://{$server_name}{$php_self}&cntitle={if $meta_title}
{$meta_title}{else}{$page_title}{/if}" >
Buttons for adding to social bookmarkstitle="To my LI.RU journal" alt="To my LI.RU journal" />



ADD TO FACEBOOK
href="http://www.facebook.com/sharer.php?u=http://{$server_name}{$php_self}">
Buttons for adding to social bookmarkstitle="Post to Facebook" alt="Post to Facebook" />



ADD TO VK
href="http://vkontakte.ru/share.php?url=http://{$server_name}{$php_self}" >
Buttons for adding to social bookmarkstitle="Share on VK" alt="Share on VK" />




ADD TO ODNOKLASSNIKI BOOKMARKS 
href="http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=0&st._surl=http://{$server_name}{$php_self}" >
Buttons for adding to social bookmarkstitle="Share on Odnoklassniki" alt="Share on VK" />







ADD TO BLOGGER BOOKMARKS
href="http://www.blogger.com/blog_this.pyra?t&u=http://{$server_name}{$php_self}&n={if $meta_title}{$meta_title}
{else}{$page_title}{/if}&a=ADD_SERVICE_FLAG&passive=true&alinsu=0&
aplinsu=0&alwf=true&hl=ru&skipvpage=true&rm=false&
showra=1&fpui=2&naui=8" target="_blank">
Buttons for adding to social bookmarks

(all URL lines must be on a single line, with no line breaks or spaces)


ADD TO MOI MIR BOOKMARKS
href="http://connect.mail.ru/share?share_url=http://{$server_name}{$php_self}" >
Buttons for adding to social bookmarkstitle="Show in Moi Mir" alt="Show in Moi Mir" />



ADD TO MOI MIR
{else}{$page_title}{/if}&URL=http://{$server_name}{$php_self}">
Buttons for adding to social bookmarks

ADD TO BUZZ BOOKMARKS

href="http://www.google.com/reader/link?url=http://{$server_name}{$php_self}&title={if $meta_title}{$meta_title}
{else}{$page_title}{/if}&srcURL={$server_name}{$php_self}">
Buttons for adding to social bookmarksalt="To Google Buzz" />






Share your impressions with friends. Send them the link!!!

Link:



 




and you can grab buttons here, for example
 
Buttons for adding to social bookmarks\

 
 {$server_name}{$php_self} {else} 


these are commands of the Smarty-
language, an intermediary between PHP code and the HTML page
 
very convenient when creating templates — it lets you completely separate design and programming..
here's how these variable values are set in the controller

$smarty->assign("php_self",$_SERVER['REQUEST_URI']);
$smarty->assign("server_name",$_SERVER['SERVER_NAME']);

$smarty->assign("page_meta",$page_meta);
$smarty->assign("page_title",$page_title);

$smarty->assign("page_meta_utf8",winToUtf8($page_meta));
$smarty->assign("page_title_utf8",winToUtf8($page_title))

if you don't have Smarty or don't want to use it, then simply

instead of {$php_self} write $_SERVER['REQUEST_URI']
instead of {$server_name} write $_SERVER['SERVER_NAME']
etc. 

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "seo, smo, monetization, basics of internet marketing"

Terms: seo, smo, monetization, basics of internet marketing