<?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>Tony Virelli - Web Developer - HTML, xHTML, PHP, MySQL, JavaScript&#187; Tony Virelli</title>
	<atom:link href="http://tonyvirelli.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://tonyvirelli.com</link>
	<description>Tony Virelli - I share the information I have dealing with web design, technology, the internet and more</description>
	<lastBuildDate>Tue, 31 Jan 2012 14:57:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Simple Alternating Row Color with PHP!</title>
		<link>http://tonyvirelli.com/blog/simple-alternating-row-color-with-php/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=simple-alternating-row-color-with-php</link>
		<comments>http://tonyvirelli.com/blog/simple-alternating-row-color-with-php/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 15:20:07 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[alternate]]></category>
		<category><![CDATA[alternating]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[row color]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=599</guid>
		<description><![CDATA[If you have ever do table data and want to alternate the row colors here is a super simple way to do that using PHP. First you need to declare your variables. So since we are doing Alternating Colors I will use $ac as my var. &#60;?php $ac = 0; ?&#62; Then in your &#60;tr&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>If you have ever do table data and want to alternate the row colors here is a super simple way to do that using PHP.<br />
<span id="more-599"></span><br />
First you need to declare your variables. So since we are doing <span style="text-decoration: underline;">A</span>lternating <span style="text-decoration: underline;">C</span>olors I will use $ac as my var.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$ac</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Then in your &lt;tr&gt; tag it is as simple as adding this code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;tr bgcolor=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$ac</span><span style="color: #339933;">++%</span><span style="color:#800080;">2</span><span style="color: #339933;">==</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>?<span style="color: #0000ff;">&quot;#EBEBEB&quot;</span><span style="color: #339933;">:</span><span style="color: #0000ff;">&quot;#FFFFFF&quot;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;</pre></div></div>

<p>Another way you could do it is to declare a class:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;tr class=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$ac</span><span style="color: #339933;">++%</span><span style="color:#800080;">2</span><span style="color: #339933;">==</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>?<span style="color: #0000ff;">&quot;odd&quot;</span><span style="color: #339933;">:</span><span style="color: #0000ff;">&quot;even&quot;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/blog/simple-alternating-row-color-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Digg v4 &#8211; I got invite codes!</title>
		<link>http://tonyvirelli.com/blog/new-digg-v4-i-got-invite-codes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-digg-v4-i-got-invite-codes</link>
		<comments>http://tonyvirelli.com/blog/new-digg-v4-i-got-invite-codes/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 02:48:25 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[digg]]></category>
		<category><![CDATA[invite]]></category>
		<category><![CDATA[new]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=589</guid>
		<description><![CDATA[Want an invite code to the new Digg.com? Of course you do! I got 4 more invites left! I am going to post the link below and the first 4 lucky people who click the link WIN! (Sorry would have had 5 but had to give one to John!) Invite Code Link: http://new.digg.com/login/bd4e2a073cfea23691b29eb6a85be8a07 (You have [...]]]></description>
			<content:encoded><![CDATA[<p>Want an invite code to the new Digg.com? Of course you do!<br />
<span id="more-589"></span><br />
I got 4 more invites left! I am going to post the link below and the first 4 lucky people who click the link WIN! (Sorry would have had 5 but had to give one to John!)</p>
<p>Invite Code Link:<br />
http://new.digg.com/login/bd4e2a073cfea23691b29eb6a85be8a07  (You have to copy and paste it. Don&#8217;t want any bots clicking the link and wasting it!)</p>
<p>If you you get an account via my link above leave a comment to let me know!</p>
<p><!--2c77de14c55e40afb5f2e9db727629a8--></p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/blog/new-digg-v4-i-got-invite-codes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fix ShadowBox.js In Internet Explorer 8</title>
		<link>http://tonyvirelli.com/slider/fix-shadowbox-js-in-internet-explorer-8/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fix-shadowbox-js-in-internet-explorer-8</link>
		<comments>http://tonyvirelli.com/slider/fix-shadowbox-js-in-internet-explorer-8/#comments</comments>
		<pubDate>Tue, 25 May 2010 18:03:23 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[shadow]]></category>
		<category><![CDATA[shadowbox]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=580</guid>
		<description><![CDATA[So at my office we use ShadowBox a lot. Well with the release of Internet Explorer 8 our sites that use ShadowBox no longer worked. Oh, they worked in IE6, IE7, FireFox, Chrome, Safari &#038; Opera, but not in IE8 (a.k.a. The Broken Browser!). So after some Googling around I found this tip: 1. Go [...]]]></description>
			<content:encoded><![CDATA[<p>So at my office we use <a href="http://www.shadowbox-js.com/" target="_blank">ShadowBox</a> a lot.</p>
<p>Well with the release of Internet Explorer 8 our sites that use ShadowBox no longer worked. Oh, they worked in IE6, IE7, FireFox, Chrome, Safari &#038; Opera, but not in IE8 (a.k.a. The Broken Browser!).<br />
<span id="more-580"></span><br />
So after some Googling around I found this tip:</p>
<p>1. Go to your path where skin.css is on your server: */skin/classic/<br />
2. Open skin.css and add the following lines:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#shadowbox_title</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#shadowbox_info</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>So there you have it! ShadowBox should work in IE8 for you now!</p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/slider/fix-shadowbox-js-in-internet-explorer-8/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Clearing Out Postfix Deferred Mail Queue</title>
		<link>http://tonyvirelli.com/slider/clearing-out-postfix-deferred-mail-queue/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=clearing-out-postfix-deferred-mail-queue</link>
		<comments>http://tonyvirelli.com/slider/clearing-out-postfix-deferred-mail-queue/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 17:06:16 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[mail queue]]></category>
		<category><![CDATA[mailq]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=550</guid>
		<description><![CDATA[I had a bit of a situation with my Postfix Mail Queue. Mail stopped sending and the queue built up. When I did a mailq I found a lot of double-bounce@domain.com emails in my queue. I knew it would take forever for those to clear and get the good mail flowing again. So after doing [...]]]></description>
			<content:encoded><![CDATA[<p>I had a bit of a situation with my Postfix Mail Queue. Mail stopped sending and the queue built up. When I did a mailq I found a lot of double-bounce@domain.com emails in my queue. I knew it would take forever for those to clear and get the good mail flowing again.<br />
<span id="more-550"></span><br />
So after doing some searching on Google I found this site:<br />
<a href="http://www.cyberciti.biz/tips/howto-postfix-flush-mail-queue.html">http://www.cyberciti.biz/tips/howto-postfix-flush-mail-queue.html</a></p>
<p>It has some of the common Postfix commands, but what interested me was the Perl script to delete mailqs that matched regular expressions.</p>
<p><strong>postfix-delete.pl script</strong></p>
<p>The following script deletes all mail from the mailq which matches the regular expression specified as the first argument.</p>
<p><em>(Credit: Vivek Gite of cyberciti.biz.  His credit: Credit: ??? &#8211; I found it on old good newsgroup)</em></p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl</span>
&nbsp;
<span style="color: #0000ff;">$REGEXP</span> <span style="color: #339933;">=</span> <span style="color: #000066;">shift</span> <span style="color: #339933;">||</span> <span style="color: #000066;">die</span> <span style="color: #ff0000;">&quot;no email-adress given (regexp-style, e.g. bl.*<span style="color: #000099; font-weight: bold;">\@</span>yahoo.com)!&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #0000ff;">@data</span> <span style="color: #339933;">=</span> <span style="color: #000066;">qx</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">@data</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/^(\w+)(\*|\!)?\s/</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
     <span style="color: #0000ff;">$queue_id</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$1</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$queue_id</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/$REGEXP/i</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #0000ff;">$Q</span><span style="color: #009900;">&#123;</span><span style="color: #0000ff;">$queue_id</span><span style="color: #009900;">&#125;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
      <span style="color: #0000ff;">$queue_id</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#open(POSTSUPER,&quot;|cat&quot;) || die &quot;couldn't open postsuper&quot; ;</span>
<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span>POSTSUPER<span style="color: #339933;">,</span><span style="color: #ff0000;">&quot;|postsuper -d -&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <span style="color: #000066;">die</span> <span style="color: #ff0000;">&quot;couldn't open postsuper&quot;</span> <span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000066;">keys</span> <span style="color: #0000ff;">%Q</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066;">print</span> POSTSUPER <span style="color: #ff0000;">&quot;$_<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #000066;">close</span><span style="color: #009900;">&#40;</span>POSTSUPER<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>For example, delete all queued messages from or to the domain called double-bounce@domain.com, enter:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>postfix-delete.pl double-bounce<span style="color: #000000; font-weight: bold;">@</span>domain.com</pre></div></div>

<p>Delete all queued messages that contain the word &#8220;xyz&#8221; in the e-mail address:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>postfix-delete.pl xyz</pre></div></div>

<p>For more information about this script make sure and checkout <a href="http://www.cyberciti.biz/tips/howto-postfix-flush-mail-queue.html">http://www.cyberciti.biz/tips/howto-postfix-flush-mail-queue.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/slider/clearing-out-postfix-deferred-mail-queue/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Where Is My Candidate</title>
		<link>http://tonyvirelli.com/portfolio/where-is-my-candidate/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=where-is-my-candidate</link>
		<comments>http://tonyvirelli.com/portfolio/where-is-my-candidate/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 07:53:28 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[candidate]]></category>
		<category><![CDATA[google map]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=546</guid>
		<description><![CDATA[Find the upcoming locations of the politicians you want to follow. I utilized the Google Maps API for this project. Visit WhereIsMyCandidate.com]]></description>
			<content:encoded><![CDATA[<p>Find the upcoming locations of the politicians you want to follow.</p>
<p>I utilized the Google Maps API for this project.</p>
<p><a href="http://whereismycandidate.com">Visit WhereIsMyCandidate.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/portfolio/where-is-my-candidate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conference Craze</title>
		<link>http://tonyvirelli.com/portfolio/conference-craze/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=conference-craze</link>
		<comments>http://tonyvirelli.com/portfolio/conference-craze/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 07:47:02 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[talk]]></category>
		<category><![CDATA[voice]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=541</guid>
		<description><![CDATA[Conference Craze Conference Service provides you with instant unlimited automated and free conferencing calls that take place on regular telephone lines. No computer or internet access required! The conference call services are available 24/7 with no scheduling and an 800 number is available for your convenience. INSTANT, UNLIMITED, AUTOMATED, AND FREE CONFERENCING Visit ConferenceCraze.com]]></description>
			<content:encoded><![CDATA[<p>Conference Craze Conference Service provides you with instant unlimited automated and free conferencing calls that take place on regular telephone lines.</p>
<p>No computer or internet access required! The conference call services are available 24/7 with no scheduling and an 800 number is available for your convenience.</p>
<p><strong>INSTANT, UNLIMITED, AUTOMATED, AND FREE CONFERENCING</strong></p>
<p><a href="http://conferencecraze.com">Visit ConferenceCraze.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/portfolio/conference-craze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improve Droid Sound Quality</title>
		<link>http://tonyvirelli.com/slider/improve-droid-sound-quality/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=improve-droid-sound-quality</link>
		<comments>http://tonyvirelli.com/slider/improve-droid-sound-quality/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 18:16:02 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[call quality]]></category>
		<category><![CDATA[cell phone]]></category>
		<category><![CDATA[droid]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=535</guid>
		<description><![CDATA[Today I got a text message from a reader wanting to know how to improve the sound quality of their droid. Here is a quick step-by-step guide to doing that. However, keep in mind that sound quality is a thing of opinion and results may very! Click the phone icon Dial ##7764726 Click the Green [...]]]></description>
			<content:encoded><![CDATA[<p>Today I got a text message from a reader wanting to know how to improve the sound quality of their droid.</p>
<p>Here is a quick step-by-step guide to doing that. However, keep in mind that sound quality is a thing of opinion and results may very!<br />
<span id="more-535"></span></p>
<ol>
<li>Click the phone icon</li>
<li>Dial ##7764726</li>
<li>Click the Green Phone Icon or Call Button</li>
<li>You will then be asked for a SPC password</li>
<li>Enter 000000  (That is 6 Zeros)</li>
<li>Then click the Verify button</li>
<li>You will then see the programming Menu</li>
<li>Select option 04 or whatever option is titled &#8220;Vocode&#8221;</li>
<li>By default the option &#8220;EVRC&#8221; should be selected</li>
<li>To &#8220;improve&#8221; call quality select &#8220;EVRC-B&#8221; and click Apply</li>
<li>Then click the back button on the phone</li>
<li>Your phone will then reboot</li>
<li>When it comes back up you are done!</li>
</ol>
<p>So now you can be the judge as to whether or not your call quality is better.</p>
<p>Be advised that this will cause your battery to drain faster&#8230; yes, even faster than it already does!</p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/slider/improve-droid-sound-quality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update Your Website Copyright With Some Simple PHP</title>
		<link>http://tonyvirelli.com/slider/update-your-website-copyright-with-some-simple-php/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=update-your-website-copyright-with-some-simple-php</link>
		<comments>http://tonyvirelli.com/slider/update-your-website-copyright-with-some-simple-php/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 07:00:24 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[copyright]]></category>
		<category><![CDATA[year]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=521</guid>
		<description><![CDATA[Ok, so every year web designers have the all dreaded task of updating the copyright on their designs. This isn&#8217;t so bad if you work for 1 company, but if you work for a design firm like I do and have tons of clients websites to update it can be a time eating task. So [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so every year web designers have the all dreaded task of updating the copyright on their designs. This isn&#8217;t so bad if you work for 1 company, but if you work for a design firm like I do and have tons of clients websites to update it can be a time eating task.<br />
<span id="more-521"></span><br />
So to fix this problem I wrote this super small, super easy bit of code. It&#8217;s nothing special, but it gets the job done.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$startYear</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">2010</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Enter the starting year of the copyright.</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$startYear</span> <span style="color: #339933;">&lt;</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Y&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$startYear</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;-&quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Y&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$startYear</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>And for the function lovers</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> updateCopyright<span style="color: #009900;">&#40;</span><span style="color: #000088;">$startYear</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$startYear</span> <span style="color: #339933;">&lt;</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Y&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$startYear</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;-&quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Y&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$startYear</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
//Usage: Copyright &amp;copy; <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> updateCopyright<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">2010</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> Company Name</pre></div></div>

<p>There ya go!</p>
<p>Isn&#8217;t making your life easier fun!? I sure think so!</p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/slider/update-your-website-copyright-with-some-simple-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Get a Custom Boot Screen on Droid</title>
		<link>http://tonyvirelli.com/slider/how-to-get-a-custom-boot-screen-on-droid/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-get-a-custom-boot-screen-on-droid</link>
		<comments>http://tonyvirelli.com/slider/how-to-get-a-custom-boot-screen-on-droid/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 06:44:29 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[droid]]></category>
		<category><![CDATA[motorola]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=484</guid>
		<description><![CDATA[**************************************************************************** UPDATE: FBG Studios.com seems to be down right now. Also the video tutorial is set to private. So until further notice the only instructions are the written. **************************************************************************** Yesterday I was searching around the web and found this video on fbgstudios.com. It is a tutorial on how to add a custom boot screen to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>****************************************************************************</strong><br />
<strong>UPDATE:</strong> FBG Studios.com seems to be down right now. Also the video tutorial is set to private. So until further notice the only instructions are the written.<br />
<strong>****************************************************************************</strong></p>
<p>Yesterday I was searching around the web and found this video on <a href="http://fbgstudios.com" target="_blank">fbgstudios.com</a>. It is a tutorial on how to add a custom boot screen to your Motorola Droid. It does require you to root your Droid, but hey, if you are ballsy enough to change your boot screen I bet you already have your Droid rooted!<br />
<span id="more-484"></span><br />
<strong>Here is the video tutorial:</strong></p>
<div style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="295" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/JhccSkNcUx8&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="295" src="http://www.youtube.com/v/JhccSkNcUx8&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<p><strong>Here is the text tutorial:</strong></p>
<p>1. Make sure that your phone is rooted, if it is not watch this video tutorial: http://www.youtube.com/watch?v=4QVm4SxH8Pw</p>
<p>2. Download an animation and make sure that it is named bootanimation.zip.</p>
<p>Here are some you can download (but there are plenty more online so you can google them):</p>
<ul>
<li><a href="http://alldroid.org/download/file.php?id=726" target="_blank">Nexus One</a></li>
<li><a href="http://alldroid.org/download/file.php?id=752" target="_blank">3d Android</a></li>
<li><a href="http://alldroid.org/download/file.php?id=916" target="_blank">R2-D2</a> (MAKE SURE TO RENAME IT TO “BootAnimation”)</li>
</ul>
<p>3 OPTIONAL</p>
<p>* a) To customize the animation just add the text or image you want. Remember that each picture is a frame and that each frame moves very quickly so if you want solid text make sure to put it on for more than 15 frames. Also keep in mind that there are two animations (part0 and part1) and part is the one that repeats.<br />
* b) Now highlight folders part0 and part1 as well as desc.txt file.<br />
* c) Using WinRAR right click and select “Add to archive…”. IMPORTANT: Make sure that the file is named “bootanimation” and the file format is .zip!</p>
<p>4. Connect your USB on your Droid and make sure it is mounted!</p>
<p>5. Go to your SD card of your phone and drag the bootanimation.zip into the root folder.</p>
<p>6. Eject your phone</p>
<p>7. Download Terminal Emulator for you phone then open it up</p>
<p>8. Type in the following (EXACTLY THE WAY YOU SEE IT; press enter after each line):</p>
<p>su<br />
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system<br />
dd if=/sdcard/bootanimation.zip of=/system/media/bootanimation.zip<br />
Reboot</p>
<p>9. Your phone will be rebooted and now you can enjoy your new custom bootscreen!</p>
<p>Again I want to give credit to <a href="http://fbgstudios.com" target="_blank">FBG Studios.com</a>, so make sure and visit their site.</p>
<p>Here is a direct link to the tutorial: <a href="http://fbgstudios.com/how-to-get-a-custom-boot-screen-on-droid/2009/12/">http://fbgstudios.com/how-to-get-a-custom-boot-screen-on-droid/2009/12/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/slider/how-to-get-a-custom-boot-screen-on-droid/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Iconfinder &#8211; Great Source For Open Source Icons</title>
		<link>http://tonyvirelli.com/slider/iconfinder-great-source-for-open-source-icons/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=iconfinder-great-source-for-open-source-icons</link>
		<comments>http://tonyvirelli.com/slider/iconfinder-great-source-for-open-source-icons/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 20:57:46 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[slider]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[icon]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=243</guid>
		<description><![CDATA[Iconfinder provides high quality icons for web designers and developers in an easy and efficient way. You can either search by keyword, browse individual icons, or entire icon sets! I use Iconfinder.net whenever I need icons for a back-end design or web application. Vist Iconfinder.net for more information!]]></description>
			<content:encoded><![CDATA[<p>Iconfinder provides high quality icons for web designers and developers in an easy and efficient way. You can either search by keyword, browse individual icons, or entire icon sets! I use <a href="http://iconfinder.net">Iconfinder.net</a> whenever I need icons for a back-end design or web application.</p>
<p>Vist <a href="http://iconfinder.net/">Iconfinder.net</a> for more information!</p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/slider/iconfinder-great-source-for-open-source-icons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

