<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gregory A McMullen</title>
	<atom:link href="http://gregoryamcmullen.com/feed" rel="self" type="application/rss+xml" />
	<link>http://gregoryamcmullen.com</link>
	<description>Swim Coach &#38; Online Marketer</description>
	<lastBuildDate>Mon, 21 May 2012 02:18:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Coaches and Our Health</title>
		<link>http://gregoryamcmullen.com/coaching/coaches-and-our-health</link>
		<comments>http://gregoryamcmullen.com/coaching/coaches-and-our-health#comments</comments>
		<pubDate>Fri, 18 May 2012 02:22:27 +0000</pubDate>
		<dc:creator>Greg McMullen</dc:creator>
				<category><![CDATA[Coaching]]></category>
		<category><![CDATA[health]]></category>
		<category><![CDATA[swimming]]></category>

		<guid isPermaLink="false">http://gregoryamcmullen.com/?p=11025</guid>
		<description><![CDATA[The other day, I finally decided to weigh myself. I weighed in at 194.4lbs. New goal, weigh in the 180&#8242;s before August 11. The immediate...]]></description>
			<content:encoded><![CDATA[<p>The other day, I finally decided to weigh myself. I weighed in at 194.4lbs. New goal, weigh in the 180&#8242;s before August 11.</p>
<p>The immediate question on my mind is not, &#8220;why don&#8217;t I take better care of myself.&#8221; Rather it&#8217;s &#8220;why is it coaches seem to take better care of their athletes than themselves.&#8221; Maybe I&#8217;m wrong, but I would love for others to chime in.</p>
<p>So I want to reach out to all gathering ideas on the subject and how we can change our actions to better portray the things we teach.</p>
<p><strong>Edit: </strong>The &#8220;ideal body weight&#8221; for my height (6&#8217;0&#8243;) is 140 &#8211; 184lbs.</p>
<p><a href="http://gregoryamcmullen.com/coaching/coaches-and-our-health" rel="bookmark">Coaches and Our Health</a> originally appeared on <a href="http://gregoryamcmullen.com">Gregory A McMullen</a> on May 17, 2012.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregoryamcmullen.com/coaching/coaches-and-our-health/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Working Life</title>
		<link>http://gregoryamcmullen.com/personal/my-working-life</link>
		<comments>http://gregoryamcmullen.com/personal/my-working-life#comments</comments>
		<pubDate>Mon, 02 Apr 2012 13:37:07 +0000</pubDate>
		<dc:creator>Greg McMullen</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://gregoryamcmullen.com/?p=10851</guid>
		<description><![CDATA[People have asked me, why do you work so much? I didn&#8217;t really understand what they meant until this last year. Throughout the year, I...]]></description>
			<content:encoded><![CDATA[<p>People have asked me, why do you work so much? I didn&#8217;t really understand what they meant until this last year. Throughout the year, I work 3 different jobs which range, at times, from 5:30am until 8:00pm.</p>
<h2>Why do you work so much?</h2>
<p>I don&#8217;t do it for the <em>pay</em>, I don&#8217;t do it for the recognition. I do it because I want to pay off my bills. I&#8217;ve worked the same base full-time job for nearly 3 years, and honestly it&#8217;s helped me pay off my debt better than I thought it would. I&#8217;ve had some excellent situations though that allowed me to pay off 2 student loans within a year of graduating.</p>
<p><strong>I&#8217;ve been blessed&#8230;</strong> Thus far, I&#8217;ve only had to pay one years worth of rent which means everything else goes towards my car, student loans and (wait for it&#8230;&#8230;.) SAVINGS (401k and IRA)! (@PeteThePlanner would be proud I&#8217;m sure)</p>
<p>I&#8217;ve never been much of a &#8220;student&#8221; &#8211; honestly I didn&#8217;t graduate from Xavier University with a great overall GPA, but there was one class that forced me to wake up and realize what I need to do. That class was Finance.</p>
<p>So Prof. Sisak, thank you. I never had a professor ingrain something in my head so deeply.</p>
<p>At 25 years old, I have one student loan to pay off along with  $10k in a car loan left to pay. My goal is have no debt by the time Sarah finishes school and we buy our first home.</p>
<p><a href="http://gregoryamcmullen.com/personal/my-working-life" rel="bookmark">My Working Life</a> originally appeared on <a href="http://gregoryamcmullen.com">Gregory A McMullen</a> on April 2, 2012.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregoryamcmullen.com/personal/my-working-life/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding @Username to Jetpack Sharedaddy</title>
		<link>http://gregoryamcmullen.com/coding/adding-username-to-jetpack-sharedaddy</link>
		<comments>http://gregoryamcmullen.com/coding/adding-username-to-jetpack-sharedaddy#comments</comments>
		<pubDate>Wed, 28 Mar 2012 16:53:25 +0000</pubDate>
		<dc:creator>Greg McMullen</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://gregoryamcmullen.com/?p=10838</guid>
		<description><![CDATA[It&#8217;s actually rather simple. However, it&#8217;s not technically adding data-via=&#8221;USERNAME&#8221;. Unfortunately that doesn&#8217;t quite work right. However, you can just add your username to the...]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s actually rather simple. However, it&#8217;s not technically adding data-via=&#8221;USERNAME&#8221;. Unfortunately that doesn&#8217;t quite work right.</p>
<p>However, you can just add your username to the text inside of the Sharedaddy Module. Please note, I do not take any responsibility for broken code. I&#8217;m just giving you the potential for a work around.</p>
<p>You will want to edit this file: jetpack/modules/sharedaddy/sharing-sources.php &#8211; In this block of code.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">return '&lt;div class=&quot;twitter_button&quot;&gt;&lt;iframe style=&quot;width: 97px; height: 20px;&quot; src=&quot;http://platform.twitter.com/widgets/tweet_button.html?url=' <br />
. rawurlencode( apply_filters( 'sharing_permalink', get_permalink( $post-&amp;gt;ID ), $post-&amp;gt;ID, $this-&amp;gt;id ) ) <br />
. '&amp;amp;counturl=' <br />
. rawurlencode( str_replace( 'https://', 'http://', get_permalink( $post-&amp;gt;ID ) ) ) <br />
. '&amp;amp;count=horizontal&amp;amp;text=' <br />
. rawurlencode( apply_filters( 'sharing_post_title', $post-&amp;gt;post_title, $post-&amp;gt;ID, $this-&amp;gt;id ) ) <br />
. ': &quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; width=&quot;320&quot; height=&quot;240&quot;&gt;&lt;/iframe&gt;<br />
&lt;/div&gt;';';</div></div>
<p>Simply Add your username (however you wish) after</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">. '&amp;amp;count=horizontal&amp;amp;text='</div></div>
<p>I personally used:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">. '&amp;amp;count=horizontal&amp;amp;text=Via @McMullen_Greg: ' . rawurlencode( apply_filters( 'sharing_post_title', $post-&amp;gt;post_title, $post-&amp;gt;ID, $this-&amp;gt;id ) ) . ': &quot; style=&quot;width:97px; height:20px;&quot;&amp;gt;</div></div>
<p>Which displays Via @McMullen_Greg: POST TITLE: URL</p>
<p>Not the greatest, but it does the job!</p>
<p><a href="http://gregoryamcmullen.com/coding/adding-username-to-jetpack-sharedaddy" rel="bookmark">Adding @Username to Jetpack Sharedaddy</a> originally appeared on <a href="http://gregoryamcmullen.com">Gregory A McMullen</a> on March 28, 2012.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregoryamcmullen.com/coding/adding-username-to-jetpack-sharedaddy/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>2011-2012 Season Recap</title>
		<link>http://gregoryamcmullen.com/coaching/2011-2012-season-recap</link>
		<comments>http://gregoryamcmullen.com/coaching/2011-2012-season-recap#comments</comments>
		<pubDate>Wed, 28 Mar 2012 13:51:57 +0000</pubDate>
		<dc:creator>Greg McMullen</dc:creator>
				<category><![CDATA[Coaching]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://gregoryamcmullen.com/?p=10835</guid>
		<description><![CDATA[It&#8217;s simple, Coaches and athletes have to have goals. However, you have to make sure that the athletes and coaching staff buy into those goals...]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s simple, Coaches and athletes have to have goals. However, you have to make sure that the athletes and coaching staff buy into those goals and are all on the same page too. How do you do that? How does it work? What does it look like before/during/after? Well, this season was all about that.</p>
<p>This season was a different monster; it was something I wasn&#8217;t quite ready for. I was responsible for practice development, discipline and general team maintenance. It was new and I was afraid of it, but I know that it helped me grow further than I thought possible in 5 months.</p>
<h2>Meeting Challenges with Open Arms</h2>
<p>Ask anyone around me, I was nervous (looking back on it, I still am). However, I knew that with hard work, dedication, research and a little luck our season would be a success.</p>
<p>The very first challenge I had to overcome was the fear of practice development and drafting meet lineups. This wasn&#8217;t an easy task by any means. For me, practice development takes a very long time. I&#8217;ve taken some advice from Glenn Mills from GoSwim.TV and GoSwimTV.com in regards to &#8220;write practices you would want to swim&#8221; and integrated that into my practice writing. My goal was to create challenging sets mentally and physically &#8211; mix it up and make them <em>think</em> about what they were swimming, instead of just doing it.</p>
<h2>Gaining Respect and Faith in Leadership</h2>
<p>While I say that practice development was the biggest challenge, I also knew that gaining respect would be difficult. Luckily, I worked with most of these athletes in the previous year. Consistency in a coaching staff created a very solid foundation with the athletes in our program. (It also helps to come from the former head coaches &#8220;tree&#8221;)</p>
<p>For some, it took weeks to buy into the program direction. However by mid December, after the Marion County Championship Meet, it seemed like people had bought in. This was clear by the success we had at Conference and Sectionals, but we had some great times at a variety of other meets along the path.</p>
<p>Respect is earned and cannot be expected nor forced. It&#8217;s hard gaining respect and I believe that a person&#8217;s character can lead to the success or failure of gaining that respect.</p>
<h2>Finally&#8230;.</h2>
<p>The season ended with a bang. The girls finished strong. We had many athletes finish within the top 16 at sectionals and we ended up finishing 4th overall, what impressed me more was the poise at which they swam. We didn&#8217;t have nearly as much fear as we have in the past. The girls were confident and calm; they swam like it too.</p>
<p>The boys finished the season strong as well, including having at least one swimmer in every event. The meet started and finished the strongest, with our 200 medley and 400 free relay setting new school records.</p>
<p>I&#8217;m extremely proud I was a part of these teams and look forward to continuing my coaching career.</p>
<p><a href="http://gregoryamcmullen.com/coaching/2011-2012-season-recap" rel="bookmark">2011-2012 Season Recap</a> originally appeared on <a href="http://gregoryamcmullen.com">Gregory A McMullen</a> on March 28, 2012.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregoryamcmullen.com/coaching/2011-2012-season-recap/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My 2012 Resolutions</title>
		<link>http://gregoryamcmullen.com/life/my-2012-resolutions</link>
		<comments>http://gregoryamcmullen.com/life/my-2012-resolutions#comments</comments>
		<pubDate>Mon, 09 Jan 2012 03:29:41 +0000</pubDate>
		<dc:creator>Greg McMullen</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[2012]]></category>
		<category><![CDATA[goal setting]]></category>
		<category><![CDATA[personal goals]]></category>
		<category><![CDATA[resolutions]]></category>

		<guid isPermaLink="false">http://gregoryamcmullen.com/?p=10785</guid>
		<description><![CDATA[I honestly can&#8217;t remember the last time I actually wanted to make a New Year&#8217;s resolution. However, I am wanting to better my life and...]]></description>
			<content:encoded><![CDATA[<p>I honestly can&#8217;t remember the last time I actually wanted to make a New Year&#8217;s resolution. However, I am wanting to better my life and others around me so here it is; making it 100% public for the first time.</p>
<p><strong>First: </strong>Eat out less and stop buying microwaveable/prepackaged frozen foods.<br />
<strong>Second: </strong>Work out more. (The typical New Year&#8217;s Resolution, right?)<br />
<strong>Third: </strong>Take care of myself and things I care about first and make more time for these things.<br />
<strong>Fourth: </strong>Take more pictures! It&#8217;s something I enjoy, and I need to take advantage of it.</p>
<p>I know it&#8217;s well after the new year, but I still want these&nbsp;publicly known so that friends and family can hold me accountable.</p>
<p><a href="http://www.freedigitalphotos.net/images/view_photog.php?photogid=809">Image: Idea go / FreeDigitalPhotos.net</a></p>
<p><a href="http://gregoryamcmullen.com/life/my-2012-resolutions" rel="bookmark">My 2012 Resolutions</a> originally appeared on <a href="http://gregoryamcmullen.com">Gregory A McMullen</a> on January 8, 2012.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregoryamcmullen.com/life/my-2012-resolutions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I am a failure&#8230;</title>
		<link>http://gregoryamcmullen.com/life/i-am-a-failure</link>
		<comments>http://gregoryamcmullen.com/life/i-am-a-failure#comments</comments>
		<pubDate>Mon, 28 Nov 2011 17:13:41 +0000</pubDate>
		<dc:creator>Greg McMullen</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Failure]]></category>

		<guid isPermaLink="false">http://gregoryamcmullen.com/?p=10775</guid>
		<description><![CDATA[There are two Michael Jordan quotes that truly are amazing. Actually, he has quite a few quotes on this topic; the two I am going...]]></description>
			<content:encoded><![CDATA[<p>There are two Michael Jordan quotes that truly are amazing. Actually, he has quite a few quotes on this topic; the two I am going to focus on are some of my favorites.</p>
<blockquote><p>I&#8217;ve missed more than 9000 shots in my career. I&#8217;ve lost almost 300 games. 26 times, I&#8217;ve been trusted to take the game winning shot and missed. I&#8217;ve failed over and over and over again in my life. And that is why I succeed.<span class="alignright">- Michael Jordan</span></p></blockquote>
<h2>Failure leads to Success</h2>
<p>I recently wrote <a title="Taking Risks; Meeting Opportunity" href="http://gregoryamcmullen.com/personal/taking-risks-meeting-opportunity">Taking Risks; Meeting Opportunities</a> because of my own life experiences. I&#8217;ve been too afraid at times to move on; mainly because I&#8217;m afraid of failure myself. However, should you be afraid to fail? Or simply learn from those around you and the mistakes that you&#8217;ve made in your life.</p>
<p>The best example I can currently think of involves Steve Jobs. We all know of the risks he took in the computer and entertainment industries, but amidst his success there was also failure.</p>
<blockquote cite="http://blog.heritage.org/2011/08/26/celebrating-steve-jobs-failures/"><p>Jobs failed better than anyone else in Silicon Valley, maybe better than anyone in corporate America. By that I mean Jobs did what only the greatest entrepreneurs can do: learn from their failures. I don’t mean learn from their mistakes. I mean learn from their abject, humiliating, bonehead, epic fails. <a href="http://blog.heritage.org/2011/08/26/celebrating-steve-jobs-failures/" target="_blank" style="float:right;">Celebrating Steve Jobs&#8217; Failures</a></p></blockquote>
<p>The moral of this post is to accept failure. Own up to your failures and most importantly <span style="text-decoration: underline;">never stop learning</span>. As soon as you give up on learning; you are abandoning success too.</p>
<p>And just because I can, I&#8217;ll leave you with one more MJ quote:</p>
<blockquote><p>I can accept failure, everyone fails at something. But I can&#8217;t accept not trying.</p></blockquote>
<p><a href="http://gregoryamcmullen.com/life/i-am-a-failure" rel="bookmark">I am a failure&#8230;</a> originally appeared on <a href="http://gregoryamcmullen.com">Gregory A McMullen</a> on November 28, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregoryamcmullen.com/life/i-am-a-failure/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Facebook Contact Forms with AJAX and PHP</title>
		<link>http://gregoryamcmullen.com/coding/facebook-contact-forms-with-ajax-and-php</link>
		<comments>http://gregoryamcmullen.com/coding/facebook-contact-forms-with-ajax-and-php#comments</comments>
		<pubDate>Fri, 07 Oct 2011 18:02:33 +0000</pubDate>
		<dc:creator>Greg McMullen</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[contnact form on facebook]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Putting forms on facebook]]></category>

		<guid isPermaLink="false">http://gregoryamcmullen.com/?p=10766</guid>
		<description><![CDATA[While working today, I was having an issue finding information on how to add a lead capture form on our Facebook Page. Luckily I stumbled...]]></description>
			<content:encoded><![CDATA[<p>While working today, I was having an issue finding information on how to add a lead capture form on our Facebook Page. Luckily I stumbled across this amazing post! <a href="http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/" title="Submitting a Contact Form via AJAX From Your Facebook Page" target="_blank">Submitting a Contact Form via AJAX From Your Facebook Page</a></p>
<p>However, this solution didn&#8217;t completely work out of the box so I had to pull some knowledge in from working on previous PHP Forms.</p>
<h2>The Facebook Code</h2>
<p>Both of these pieces of code should be placed on your Static HTML Page/Tab</p>
<h3>The Form</h3>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;form action=&quot;http://YOURWEBSITE.com/form_submit.php&quot; method=&quot;post&quot;&gt;<br />
&nbsp; &nbsp; &nbsp;&lt;p&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;label for=&quot;name&quot;&gt;Name:&lt;/label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input type=&quot;text&quot; name=&quot;name&quot; id=&quot;name&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp;&lt;/p&gt;<br />
&nbsp; &nbsp; &nbsp;&lt;p&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;label for=&quot;email&quot;&gt;Email:&lt;/label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input type=&quot;text&quot; name=&quot;email&quot; id=&quot;email&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp;&lt;/p&gt;<br />
&nbsp; &nbsp; &nbsp;&lt;button type=&quot;submit&quot; onclick=&quot;return submitAjaxForm();&quot;&gt;Submit&lt;/button&gt;<br />
&nbsp; &nbsp; &nbsp;&lt;p id=&quot;ajaxMessage&quot;&gt;&lt;/p&gt;<br />
&lt;/form&gt;</div></div>
<h3>The AJAX</h3>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;script&gt;&lt;!--<br />
function submitAjaxForm()<br />
{<br />
&nbsp; &nbsp; // declare a new FBJS AJAX object<br />
&nbsp; &nbsp; var ajax = new Ajax();<br />
&nbsp; &nbsp; ajax.responseType = Ajax.FBML;<br />
&nbsp; &nbsp; // define a callback to handle the response from the server<br />
&nbsp; &nbsp; ajax.ondone = function(data)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; document.getElementById('ajaxMessage').setInnerFBML(data);<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; // let the user know we're sending the data<br />
&nbsp; &nbsp; document.getElementById('ajaxMessage').setInnerXHTML('Submitting your information, please wait...');<br />
&nbsp; &nbsp; // collect field values<br />
&nbsp; &nbsp; var queryParams = { 'name' : document.getElementById('name').getValue(), 'email' : document.getElementById('email').getValue() };<br />
&nbsp; &nbsp; ajax.post('http://mywebsite.com/form_submit.php', queryParams);<br />
&nbsp; &nbsp; return false;<br />
}<br />
//--&gt;&lt;/script&gt;</div></div>
<p>Please note that either of these can be edited to add or remove form fields. You just need to check to make sure the queryParams are updated in the Ajax as they are queried by the &#8220;getElementById&#8221; function</p>
<h2>The PHP</h2>
<p>I don&#8217;t know any other scripting languages at the moment and don&#8217;t have a desire to learn others at this point so everything else was done in PHP. The default PHP script can be found at the link above. This modified script will allow you to send an email using the PHP Mail function.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;?php<br />
// Set Default Timezone to Indianapolis for Submission Date/Time<br />
&nbsp; &nbsp; date_default_timezone_set('America/Indianapolis'); <br />
// Get User Content from the Form<br />
&nbsp; &nbsp; $name = stripslashes($_POST['name']);<br />
&nbsp; &nbsp; $email = stripslashes($_POST['email']);<br />
&nbsp; &nbsp; $phone = stripslashes($_POST['phone']);<br />
&nbsp; &nbsp; $address = stripslashes($_POST['address']);<br />
&nbsp; &nbsp; $products = stripslashes($_POST['product']);<br />
// Set Date for when Submission was Sent<br />
&nbsp; &nbsp; $date = date('F d, Y @ h:i a', time()); <br />
<br />
// Email headers and subject information<br />
&nbsp; &nbsp; $headers &nbsp;= 'MIME-Version: 1.0' . &quot;rn&quot;;<br />
&nbsp; &nbsp; $headers .= 'Content-type: text/html; charset=iso-8859-1' . &quot;rn&quot;; //HTML Content Type<br />
&nbsp; &nbsp; $headers .= 'From: ' . $name . '&lt;' . $email . '&gt;'; //Who's it from? The person that filled out the form!<br />
&nbsp; &nbsp; &nbsp; &nbsp; $subject = 'YOUR EMAIL SUBJECT';<br />
&nbsp; &nbsp; $recipient = 'You@YourDomain.com';<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; $msg = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;&lt;strong&gt;Submission Info:&lt;/strong&gt;&quot; .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;&lt;br /&gt;&lt;br /&gt;&quot; .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;&lt;strong&gt;Submitted: &lt;/strong&gt;&quot; . $date . &quot;&lt;br /&gt;&quot; .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;&lt;strong&gt;Name: &lt;/strong&gt;&quot; . $name . &quot;&lt;br /&gt;&quot; .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;&lt;strong&gt;Phone: &lt;/strong&gt;&quot; . $phone . &quot;&lt;br /&gt;&quot; .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;&lt;strong&gt;Email: &lt;/strong&gt;&quot; . $email . &quot;&lt;br /&gt;&quot; .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;&lt;strong&gt;Address: &lt;/strong&gt;&quot; . $address . &quot;&lt;br /&gt;&quot; .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;&lt;strong&gt;Product: &lt;/strong&gt;&quot; . $products .&quot;&lt;br /&gt;&quot; .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;&lt;strong&gt;How they Found Us: &lt;/strong&gt;Facebook&quot;;<br />
<br />
&nbsp; &nbsp; //Mail $msg to the recipient on the form<br />
&nbsp; &nbsp; &nbsp; if (mail($recipient, $subject, $msg, $headers))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //Output a confirmation that the email has been sent<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;p&gt;&lt;strong&gt;&quot; . $name . &quot; Your Entry has been submitted. &lt;/strong&gt;&lt;p&gt;&quot;; <br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;else //Error Message if problems arise<br />
&nbsp; &nbsp; &nbsp;{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;p&gt;Message failed to send.&quot;;<br />
&nbsp; &nbsp; &nbsp;}<br />
?&gt;</div></div>
<p>This is the code that I used. I plan on updating to counter an empty form. But haven&#8217;t had the time to do that as of yet. Let me know if you have any thoughts on how to improve a lead capture form on a Facebook page! Please note that I did NOT write this code and all credit should go to the original author George Huger and his post <a href="http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/" title="Submitting a Contact Form via AJAX From Your Facebook Page" target="_blank">Submitting a Contact Form via AJAX From Your Facebook Page</a></p>
<p><a href="http://gregoryamcmullen.com/coding/facebook-contact-forms-with-ajax-and-php" rel="bookmark">Facebook Contact Forms with AJAX and PHP</a> originally appeared on <a href="http://gregoryamcmullen.com">Gregory A McMullen</a> on October 7, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregoryamcmullen.com/coding/facebook-contact-forms-with-ajax-and-php/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Code: First and Last Day of Month</title>
		<link>http://gregoryamcmullen.com/coding/php-code-first-and-last-day-of-month</link>
		<comments>http://gregoryamcmullen.com/coding/php-code-first-and-last-day-of-month#comments</comments>
		<pubDate>Mon, 19 Sep 2011 15:41:56 +0000</pubDate>
		<dc:creator>Greg McMullen</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dates]]></category>
		<category><![CDATA[last day of month]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php dates]]></category>

		<guid isPermaLink="false">http://gregoryamcmullen.com/?p=10744</guid>
		<description><![CDATA[As I was writing some code today, I wanted a quick way to display the end of the month Date and came across this little...]]></description>
			<content:encoded><![CDATA[<p>As I was writing some code today, I wanted a quick way to display the end of the month Date and came across this little snippet on Justin-Cook.com. It&#8217;s a post from 2009, but it still does what I need it to!</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">function firstOfMonth() { <br />
return date(&quot;m/d/Y&quot;, strtotime(date('m').'/01/'.date('Y').' 00:00:00')); <br />
} <br />
function lastOfMonth() { <br />
return date(&quot;m/d/Y&quot;, strtotime('-1 second',strtotime('+1 month',strtotime(date('m').'/01/'.date('Y').' 00:00:00'))));<br />
&nbsp;}</div></div>
<p>The end date function goes to the NEXT month and subtracts a day to get the last day of the current month. Quite a nice piece of code if you have time sensitive offers like we do at Unique.</p>
<p><strong>Orignal post:</strong> <a href="http://www.justin-cook.com/wp/2009/04/18/get-the-first-last-day-of-the-month-with-php/" title="Get the first &#038; last day of the month with PHP" target="_blank">Get the first &#038; last day of the month with PHP</a></p>
<p><a href="http://gregoryamcmullen.com/coding/php-code-first-and-last-day-of-month" rel="bookmark">PHP Code: First and Last Day of Month</a> originally appeared on <a href="http://gregoryamcmullen.com">Gregory A McMullen</a> on September 19, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregoryamcmullen.com/coding/php-code-first-and-last-day-of-month/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taking Risks; Meeting Opportunity</title>
		<link>http://gregoryamcmullen.com/life/taking-risks-meeting-opportunity</link>
		<comments>http://gregoryamcmullen.com/life/taking-risks-meeting-opportunity#comments</comments>
		<pubDate>Thu, 01 Sep 2011 01:51:46 +0000</pubDate>
		<dc:creator>Greg McMullen</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Coaching]]></category>
		<category><![CDATA[employment]]></category>
		<category><![CDATA[Greg McMullen]]></category>
		<category><![CDATA[risk]]></category>

		<guid isPermaLink="false">http://gregoryamcmullen.com/?p=10722</guid>
		<description><![CDATA[Recently I was talking to an online acquaintance regarding the process of making tough decisions. My question to you is why are you afraid to...]]></description>
			<content:encoded><![CDATA[<p><span class="Apple-style-span" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;">Recently I was talking to an online acquaintance regarding the process of making tough decisions. My question to you is <em>why are you afraid to take the risks that will make you happy?</em></span></p>
<h2>People are Safe</h2>
<p>You know what will make you happy don&#8217;t you? So why aren&#8217;t you doing everything you can to <em>do it</em>? I&#8217;ve seen in my life that I need encouragement do try something different. When I saw the coaching position open I was hesitant to apply, why? I knew that I had the knowledge of the sport and a want to coach. I was afraid of change and rejection.</p>
<p>In my job search after college I applied to numerous jobs over a ten month period. I had one interview and one job offer, it&#8217;s the position I hold now. Rejection, even after a year of employment, was still fresh in my mind. I really wanted to hold on to the job I had, and not risk losing it, especially since it pays my bills. However, I figured out that it was possible for the jobs to complement one another and I wanted to do something else with my time.</p>
<blockquote><p>“The person who risks nothing, does nothing, has nothing, is nothing, and becomes nothing. He may avoid suffering and sorrow, but he simply cannot learn and feel and change and grow and love and live.”</p>
<p><span class="alignright">- Leo F. Buscaglia</span></p></blockquote>
<h2>Breaking the Cycle</h2>
<p>So how do you break the chain on a risk-less life? You take risks! Go do something you wouldn&#8217;t normally do. Apply for that dream job that you aren&#8217;t qualified for. The worst that anyone can say to you is &#8220;no thanks.&#8221; You might be afraid of rejection; but trust me, you&#8217;ll feel even more satisfied when you prove yourself wrong.</p>
<p>And one day, it will pay off. You will apply for the job and get it.</p>
<h2>Tips to Succeed</h2>
<p>If you want sure-fire ways to succeed in this, well send me the list too so we&#8217;ll both know. I do, however, have some tips of how to successfully take risks and feel rewarded.</p>
<ol>
<li><strong>Start Small &#8211; </strong>Take small calculated risks to get warmed up to the big stuff. There&#8217;s no reason to over compensate for your lack of risk taking before.</li>
<li><strong>Be Confident &#8211; </strong>There&#8217;s nothing better than seeing someone who is confident in their skill sets. Believe in what you know and trust what you are doing. Do you think I knew anything about coaching going in? Nope, but I did have knowledge of the sport, how to do the technique and I was confident in relaying what I know to the group.</li>
<li><strong>Don&#8217;t Let Fear Guide You &#8211; </strong>If you are smart and confident about the risks you are taking and fear will no longer be a factor. Just make sure you aren&#8217;t stepping too far out of your comfort zone too fast or you might take steps backwards. Jumping too far ahead will ruin your risk taking abilities in the future.</li>
</ol>
<div>So what are your thoughts? Why are you afraid to take risks? What tips would you add to people who are afraid to take risks? Input is always welcome and appreciated&#8230;</div>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=d2f8ecee-a781-4c0b-9053-be1df54dfac4" alt=" Taking Risks; Meeting Opportunity"  title="Taking Risks; Meeting Opportunity" /></div>
<p><a href="http://gregoryamcmullen.com/life/taking-risks-meeting-opportunity" rel="bookmark">Taking Risks; Meeting Opportunity</a> originally appeared on <a href="http://gregoryamcmullen.com">Gregory A McMullen</a> on August 31, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregoryamcmullen.com/life/taking-risks-meeting-opportunity/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Law of the Lid</title>
		<link>http://gregoryamcmullen.com/coaching/law-of-the-lid</link>
		<comments>http://gregoryamcmullen.com/coaching/law-of-the-lid#comments</comments>
		<pubDate>Mon, 29 Aug 2011 16:57:27 +0000</pubDate>
		<dc:creator>Greg McMullen</dc:creator>
				<category><![CDATA[Coaching]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[empowerment]]></category>
		<category><![CDATA[health]]></category>
		<category><![CDATA[inner circle]]></category>
		<category><![CDATA[leadership]]></category>
		<category><![CDATA[personal development]]></category>

		<guid isPermaLink="false">http://gregoryamcmullen.com/?p=10630</guid>
		<description><![CDATA[Recently I was given a copy of The 21 Irrefutable Laws of Leadership and decided that I will partake in applying these laws to my...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.com/21-Irrefutable-Laws-Leadership-Follow/dp/0785288376/ref=dp_ob_image_bk" target="_blank"><img class="alignright" title="The 21 Irrefutable Laws of Leadership: Follow Them and People Will Follow You" src="http://ecx.images-amazon.com/images/I/51EcFbudX2L._SS400_.jpg" alt="51EcFbudX2L. SS400  Law of the Lid" width="280" height="280" /></a>Recently I was given a copy of <em><a href="http://www.amazon.com/21-Irrefutable-Laws-Leadership-Follow/dp/0785274316" target="_blank">The 21 Irrefutable Laws of Leadership</a></em> and decided that I will partake in applying these laws to my life online.</p>
<p>My hope is that I can also urge you, my readers and friends, to also partake and keep me accountable for my goals, dreams and ambitions as I also help you.</p>
<ul>
<li>List some of your Major Goals. No more than 10; No less than 5. Figure out which ones need help.
<ol>
<li>Become a Head Coach of a HS or Club Program</li>
<li>Achieve Level 3 ASCA Certification or Higher</li>
<li>Prove my self as knowledgeable in Leadership/Coaching</li>
<li>Become a speaker on leadership and motivation for athletes/workers</li>
<li>Get involved with post-college athletic groups, such as Master&#8217;s Swimming programs</li>
</ol>
</li>
<li>Assess your leadership ability. Questions not shown as respect the author and his work.
<ul>
<li>Strengths &#8211; Legacy, Growth, Buy-In, The Picture, Empowerment, Inner Circle, Magnetism, Intuition, Respect, Solid Ground, and Addition. From what I gather, it goes along the same lines of other analysis that I have done. I&#8217;m attracted to people and people are generally attracted to me. Essentially, I am a people person. I like to network and talk, and can seemingly gain their trust through example.</li>
<li>Needs Work &#8211; Timing, Sacrifice, Priorities, Momentum, Victory, Navigation, Influence, the Lid. What this is telling me is that I have to do a better job of increasing my effectiveness as a leader and rate on a better scale. Not only that, but I also need the willingness to sacrifice my personal time and set better priorities for myself and my teams that I work with.</li>
<li>Weaknesses &#8211; Process. Upon the first completion of the analysis this is the only area that is a true weakness. The process at which I grow needs work. I&#8217;d like some help in how to develop a prices of personal growth that I can engage in and would like some classes, articles or books to help improve myself in this category.</li>
</ul>
</li>
<li>Finally, ask others to rate your leadership ability. This is something I&#8217;ve not done and I would welcome those of you that read this and know me to do so.</li>
</ul>
<p><a href="http://gregoryamcmullen.com/coaching/law-of-the-lid" rel="bookmark">Law of the Lid</a> originally appeared on <a href="http://gregoryamcmullen.com">Gregory A McMullen</a> on August 29, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregoryamcmullen.com/coaching/law-of-the-lid/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

