コード例 #1
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.koolphp.net";
$socialshare->Add(new TwitterButton());
?>

<form id="myform" method="post" class="decoration">
	Share on Twitter:
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #2
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.koolphp.net";
$socialshare->Add(new LinkedInVertical());
?>

<form id="myform" method="post" class="decoration">
	Share on LinkedIn:
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #3
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.facebook.com/pages/KoolPHPNET/125680098393";
//KoolPHP Fan page.
$socialshare->Add(new FacebookLikeWithCount());
?>

<form id="myform" method="post" class="decoration">
	Connect with us on Facebook:
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #4
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.facebook.com/pages/KoolPHPNET/125680098393";
//KoolPHP Fan page.
$socialshare->Add(new FacebookLikeWithSend());
?>

<form id="myform" method="post" class="decoration">
	Connect with us on Facebook:
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #5
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.facebook.com/pages/KoolPHPNET/125680098393";
//KoolPHP Fan page.
$socialshare->Add(new FacebookLikeWithCountAndSend());
?>

<form id="myform" method="post" class="decoration">
	Connect with us on Facebook:
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #6
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.koolphp.net";
$socialshare->Add(new TwitterFollow("koolphpnet"));
?>

<form id="myform" method="post" class="decoration">
	Follow on Twitter:
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #7
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.koolphp.net";
$socialshare->Add(new LinkedInButton());
?>

<form id="myform" method="post" class="decoration">
	Share on LinkedIn:
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #8
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "default";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->Add(new SocialButton("Twitter"));
$socialshare->Add(new SocialButton("Delicious"));
$socialshare->Add(new SocialButton("Facebook"));
$socialshare->Add(new SocialButton("LinkedIn"));
?>

<form id="myform" method="post" class="decoration">
	You can customize to have any social buttons that you like:
	<br/><br/>
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #9
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.facebook.com/pages/KoolPHPNET/125680098393";
//KoolPHP Fan page.
$socialshare->Add(new FacebookLikeWithSendAndPeople());
?>

<form id="myform" method="post" class="decoration">
	Connect with us on Facebook:<br/>
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #10
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.koolphp.net";
$socialshare->Add(new GooglePlusWithCount());
?>

<form id="myform" method="post" class="decoration">
	Share on Google+:
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #11
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.koolphp.net";
$socialshare->Add(new GooglePlusVertical());
?>

<form id="myform" method="post" class="decoration">
	Share on Google+:
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #12
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.koolphp.net";
$socialshare->Add(new GooglePlusWithCountAndPeople());
?>

<form id="myform" method="post" class="decoration">
	Share on Google+:
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #13
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.koolphp.net";
$socialshare->Add(new GooglePlusButton());
?>

<form id="myform" method="post" class="decoration">
	Share on Google+:
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #14
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "default";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->Add(new SocialButton("Facebook"));
$socialshare->Add(new SocialButton("Twitter"));
$socialshare->Add(new SocialLineBreak());
$socialshare->Add(new SocialButton("Blogger"));
$socialshare->Add(new SocialButton("Delicious"));
$socialshare->Add(new SocialLineBreak());
$socialshare->Add(new SocialButton("LinkedIn"));
$socialshare->Add(new SocialButton("MySpace"));
$socialshare->Add(new SocialLineBreak());
$socialshare->Add(new SocialButton("Reddit"));
$socialshare->Add(new SocialButton("StumbleUpon"));
$socialshare->Add(new SocialLineBreak());
$socialshare->Add(new SocialButton("Tumblr"));
$socialshare->Add(new SocialButton("MailTo"));
?>

<form id="myform" method="post" class="decoration">
	Make line break:
コード例 #15
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.koolphp.net";
$socialshare->Add(new TwitterWithCount());
?>

<form id="myform" method="post" class="decoration">
	Share on Twitter:
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #16
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.facebook.com/pages/KoolPHPNET/125680098393";
//KoolPHP Fan page.
$socialshare->Add(new FacebookVertical());
?>

<form id="myform" method="post" class="decoration">
	Connect with us on Facebook: <br/>
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #17
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.koolphp.net";
$socialshare->Add(new LinkedInWithCount());
?>

<form id="myform" method="post" class="decoration">
	Share on LinkedIn:
	<?php 
echo $socialshare->Render();
?>
</form>
コード例 #18
0
<?php

/*
 * This file is ready to run as standalone example. However, please do:
 * 1. Add tags <html><head><body> to make a complete page
 * 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder 
 */
$KoolControlsFolder = "../../../../KoolControls";
//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder . "/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "none";
$socialshare->scriptFolder = $KoolControlsFolder . "/KoolSocialShare";
$socialshare->UrlToShare = "http://www.facebook.com/pages/KoolPHPNET/125680098393";
//KoolPHP Fan page.
$socialshare->Add(new FacebookLike());
?>

<form id="myform" method="post" class="decoration">
	Connect with us on Facebook:
	<?php 
echo $socialshare->Render();
?>
</form>