<?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>bgallz.org &#124; Web coding &#38; design tutorials, scripts, resources and more.</title>
	<atom:link href="http://bgallz.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://bgallz.org</link>
	<description>Web coding &#38; design tutorials, scripts, resources and more.</description>
	<lastBuildDate>Tue, 15 May 2012 23:18:33 +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>Deathwing</title>
		<link>http://bgallz.org/1281/deathwing/</link>
		<comments>http://bgallz.org/1281/deathwing/#comments</comments>
		<pubDate>Wed, 02 May 2012 19:21:33 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Graphics]]></category>
		<category><![CDATA[artwork]]></category>
		<category><![CDATA[banner]]></category>
		<category><![CDATA[deathwing]]></category>
		<category><![CDATA[graphic]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=1281</guid>
		<description><![CDATA[Another quick banner made with a Deathwing render (found here). Just did some smudging and brushing basically as I worked the render into a background color. I then used a brush to paint a mountain like background behind the render. Let me know what you think!]]></description>
			<content:encoded><![CDATA[<div id="attachment_1282" class="wp-caption aligncenter" style="width: 605px"><a href="http://bgallz.org/wp-content/uploads/2012/05/deathwing.jpg" target="_blank"><img class=" wp-image-1282 " title="Deathwing" src="http://bgallz.org/wp-content/uploads/2012/05/deathwing.jpg" alt="Deathwing Banner" width="595" height="221" /></a><p class="wp-caption-text">Deathwing</p></div>
<p>Another quick banner made with a Deathwing render (<a href="http://www.gamerenders.com/forum/showthread.php?t=300350" target="_blank">found here</a>). Just did some smudging and brushing basically as I worked the render into a background color. I then used a brush to paint a mountain like background behind the render. Let me know what you think!</p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=1281&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/1281/deathwing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Flash</title>
		<link>http://bgallz.org/1272/the-flash/</link>
		<comments>http://bgallz.org/1272/the-flash/#comments</comments>
		<pubDate>Wed, 02 May 2012 19:04:46 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[artwork]]></category>
		<category><![CDATA[banner]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[graphic]]></category>
		<category><![CDATA[marvel]]></category>
		<category><![CDATA[timeline]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=1272</guid>
		<description><![CDATA[&#160; Working on some random Facebook timeline images and/or banners. Here&#8217;s one using a render of The Flash (found here). Let me know what you think!]]></description>
			<content:encoded><![CDATA[<div id="attachment_1273" class="wp-caption aligncenter" style="width: 605px"><a href="http://bgallz.org/wp-content/uploads/2012/05/theflash.jpg" target="_blank"><img class=" wp-image-1273   " title="The Flash" src="http://bgallz.org/wp-content/uploads/2012/05/theflash.jpg" alt="The Flash Banner" width="595" height="221" /></a><p class="wp-caption-text">The Flash</p></div>
<p>&nbsp;</p>
<p>Working on some random Facebook timeline images and/or banners. Here&#8217;s one using a render of The Flash (<a href="http://www.gamerenders.com/forum/showthread.php?t=92530" target="_blank">found here</a>). Let me know what you think!</p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=1272&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/1272/the-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Your New Internal Hard Drive</title>
		<link>http://bgallz.org/1192/installing-internal-hard-drive/</link>
		<comments>http://bgallz.org/1192/installing-internal-hard-drive/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 02:29:33 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[device]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[drive]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[hard]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=1192</guid>
		<description><![CDATA[So you just bought a hard drive and want to start filling that sucker with some files or whatever you want to put on it&#8230; Whether you don&#8217;t know how to install it into your computer&#8217;s case or just on the BIOS you have come to the right place. Here I am going to show [...]]]></description>
			<content:encoded><![CDATA[<p>So you just bought a hard drive and want to start filling that sucker with some files or whatever you want to put on it&#8230; Whether you don&#8217;t know how to install it into your computer&#8217;s case or just on the BIOS you have come to the right place. Here I am going to show you step by step how to install the new piece of hardware into your case as well as how to be sure it is populated properly on your PC.</p>
<h2><span style="text-decoration: underline;">Hard Drive (Hardware) Installation</span></h2>
<h4>Step 1)<strong> Open your computer&#8217;s case.</strong></h4>
<p>Your case should support at least 2 hard drives if not more. The hard drive bays are located (usually) below the bays for the CD/DVD drives. Most modern cases have locking mechanisms for the drives as you can see in <strong>Figure 1</strong> next the the numbers for each bay.</p>
<div id="attachment_1227" class="wp-caption alignright" style="width: 160px"><img class=" wp-image-1227  " style="margin: 0px 2px;" title="sata-cable" src="http://bgallz.org/wp-content/uploads/2012/04/sata-cable.jpg" alt="7-Pin SATA Cable" width="150" height="201" /><p class="wp-caption-text">Figure 2 (7-Pin SATA Cable)</p></div>
<p>Now if this is your first hard drive you are installing you are going to want to choose a bay that works well with your power supply connection&#8217;s cord length. So don&#8217;t choose the bottom bay with a cord that runs to hard drives as well as CD/DVD drives because you probably will have trouble reaching them up at the top of your case. The amount of space and cord length which you are given is always important to consider when installing <strong>ANY</strong> new hardware in your system.</p>
<p>In <strong>Figure 1</strong> below you can see I labeled the following important items:</p>
<p style="padding-left: 30px;">a) <span style="text-decoration: underline;">SATA Cables</span> &#8211; Also called &#8220;Serial ATA&#8221; cables as seen in <strong>Figure 2</strong>, these connect from your motherboard to CD/DVD/Bluray Drives and SATA hard drive disks.<br />
b) <span style="text-decoration: underline;">CD/DVD Drives</span> &#8211; Usually located on top of the hard drive bays and are larger in size.<br />
c) <span style="text-decoration: underline;">Hard Drive Bays</span> &#8211; This is where you are installing your new hard drive. You will most likely need to remove a locking mechanism from the bay before you can insert a new drive. Be sure to pick an easily accessible bay with adequate cord length to the mother board and PSU.</p>
<div id="attachment_1228" class="wp-caption alignright" style="width: 210px"><img class="wp-image-1228  " title="4-pin-molex-sata" src="http://bgallz.org/wp-content/uploads/2012/04/4-pin-molex-sata.jpg" alt="" width="200" height="101" /><p class="wp-caption-text">Figure 3 (4-Pin Molex to SATA)</p></div>
<p style="padding-left: 30px;">d)<span style="text-decoration: underline;"> Molex Cables</span> &#8211; These are usually white or clear 4-pin connectors that have 4 male outputs to connect to devices, see <strong>Figure 3</strong>. Most modern power supplies will have these molex connectors attached with adapters to connect to SATA devices like the hard drive. See <strong>Figure 3</strong> for the connector to your new hard drive.</p>
<p><strong><span style="color: #ff0000;">Not all hard drives come with SATA cables to connect to the motherboard. Make sure you have one before hand or that it comes with one!</span></strong></p>
<div id="attachment_1223" class="wp-caption alignnone" style="width: 510px"><img class="wp-image-1223     " style="border: 1px solid black; margin-top: 5px; margin-bottom: 5px;" title="pic1-overview" src="http://bgallz.org/wp-content/uploads/2012/04/pic1-overview.jpg" alt="Computer Hardware Layout" width="500" height="565" /><p class="wp-caption-text">Figure 1 (Computer Hardware Layout)</p></div>
<h4>Step 2)<strong> Place hard drive in case.</strong></h4>
<p>Once you know where you are installing the hard drive slide it into the bay and be sure to use the locks on the side of the bays that come with the case. This will keep the hard drive from sliding back and forth.</p>
<p>Plug in the SATA cable shown in the<strong> Figure 2</strong> in to your motherboard and then into the back end of the hard drive. Then plug in the power cable to your hard drive and be sure it is connected properly to the power supply.</p>
<p>Tuck away any loose cables to be sure they are as far away from any fans as possible.</p>
<p>Once you have your hard drive installed in the case it should resemble something like <strong>Figure 5</strong>.</p>
<div id="attachment_1225" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-1225" title="pic-3-installed" src="http://bgallz.org/wp-content/uploads/2012/04/pic-3-installed.jpg" alt="" width="500" height="363" /><p class="wp-caption-text">Figure 5 (Hard Drive in Case)</p></div>
<h4> Step 3)<strong> Install the device&#8217;s drivers.<br />
</strong></h4>
<p>Great! You have the hard part over with. Now that the drive is securely installed in the case we can close the case back up, power on, and start uploading.</p>
<p>When you boot up your computer after the hard drive is installed you should automatically get a notification from Windows detecting a new device. This will install the device&#8217;s drivers onto Windows. If Windows doesn&#8217;t tell you it has found a new device, go to:</p>
<p><span style="color: #008080;"><strong>Start</strong> &gt; Right-click <strong>Computer</strong> &gt; <strong>Properties</strong> &gt; Click <span style="text-decoration: underline;"><strong>Device Manager</strong></span></span></p>
<p>Right click on &#8220;Disk drives&#8221; and go to &#8220;Scan for hardware changes.&#8221; This should find your newly connected hard drive and run driver install/update.</p>
<p><span style="color: #ff0000;">If this fails to detect the hard drive, you may need to recheck your installation in the case. Make sure all cables are plugged in securely, or try another SATA port on the motherboard.</span></p>
<h4> Step 4)<strong> Add drive to Disk Management.</strong></h4>
<p>Last thing before you can start utilizing your hard drive. Before the hard drive is recognized as a partition part of your computer&#8217;s disk management you must do the following:</p>
<p><span style="color: #008080;"><strong>Start</strong> &gt; Right-click <strong>Computer</strong> &gt; <span style="text-decoration: underline;"><strong>Manage</strong></span></span></p>
<p>On the left go to Storage &gt; <strong>Disk Management</strong> and in the main window you should see your new drive in the list of volumes. Right click on the drive and go to &#8220;Format&#8230;&#8221; From here it will format the drive for your operating system and you can name it, etc. It will then populate the drive&#8217;s details, and whalla!</p>
<p>Enjoy using your new hard drive!</p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=1192&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/1192/installing-internal-hard-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying Mysql Tables in PHP</title>
		<link>http://bgallz.org/1184/displaying-mysql-tables-in-php/</link>
		<comments>http://bgallz.org/1184/displaying-mysql-tables-in-php/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 02:30:14 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[select]]></category>
		<category><![CDATA[styles]]></category>
		<category><![CDATA[tables]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=1184</guid>
		<description><![CDATA[Once you have a Mysql database setup with a table and some data in that table you are ready to display the data through PHP. This is very easy to do not only efficiently but also with a clean design in mind. So let&#8217;s say this is your MySQL table: Categories Id, Title, Description, Timestamp [...]]]></description>
			<content:encoded><![CDATA[<p>Once you have a Mysql database setup with a table and some data in that table you are ready to display the data through PHP. This is very easy to do not only efficiently but also with a clean design in mind.</p>
<p>So let&#8217;s say this is your MySQL table:</p>
<p style="padding-left: 30px;"><span style="text-decoration: underline; color: #800000;"><strong>Categories</strong></span><br />
<span style="color: #800000;"><em>Id, Title, Description, Timestamp</em></span></p>
<p>Once you have a Mysql database setup with a table and some data in that table you are ready to display the data through PHP. This is very easy to do not only efficiently but also with a clean design in mind.</p>
<p>Here is a basic Mysql command to grab all the data in our table &#8220;categories&#8221;:</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="php" style="font-family:monospace;"><span class="kw2">&lt;?php</span>
<span class="re0">$query</span> <span class="sy0">=</span> <span class="st0">&quot;SELECT * FROM categories ORDER BY id DESC&quot;</span><span class="sy0">;</span>
<span class="re0">$sql</span> <span class="sy0">=</span> <span class="kw3">mysql_query</span><span class="br0">&#40;</span><span class="re0">$query</span><span class="br0">&#41;</span> or <span class="kw3">die</span><span class="br0">&#40;</span><span class="kw3">mysql_error</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<span class="re0">$count</span> <span class="sy0">=</span> <span class="kw3">mysql_num_rows</span><span class="br0">&#40;</span><span class="re0">$sql</span><span class="br0">&#41;</span><span class="sy0">;</span>
<span class="sy1">?&gt;</span></pre></div></div>
<p>This will grab all the data out of the table &#8220;categories&#8221; in descending order by the ID. Now let&#8217;s say we want to display this in a table with headers and organization. Here is an easy example of how to do this:</p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="php" style="font-family:monospace;"><span class="kw2">&lt;?php</span>
<span class="kw1">if</span><span class="br0">&#40;</span><span class="re0">$count</span> <span class="sy0">&gt;</span> <span class="nu0">0</span><span class="br0">&#41;</span><span class="br0">&#123;</span>
<span class="co1">// rows were returned by the query</span>
<span class="co1">// set up the table opener and headers</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;table width=&quot;100%&quot; align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;data_table&quot;&gt;'</span><span class="sy0">;</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;tr&gt;'</span><span class="sy0">;</span>
<span class="co1">// headers</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;th align=&quot;left&quot;&gt;Title&lt;/th&gt;'</span><span class="sy0">;</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;th align=&quot;left&quot;&gt;Description&lt;/th&gt;'</span><span class="sy0">;</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;th align=&quot;left&quot;&gt;Posted Date&lt;/th&gt;'</span><span class="sy0">;</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;/tr&gt;'</span><span class="sy0">;</span>
<span class="kw1">for</span><span class="br0">&#40;</span><span class="re0">$i</span><span class="sy0">=</span><span class="nu0">0</span><span class="sy0">;</span><span class="re0">$i</span><span class="sy0">&lt;=</span><span class="re0">$count</span><span class="sy0">;</span><span class="re0">$i</span><span class="sy0">++</span><span class="br0">&#41;</span><span class="br0">&#123;</span>
<span class="kw1">while</span><span class="br0">&#40;</span><span class="re0">$row</span> <span class="sy0">=</span> <span class="kw3">mysql_fetch_array</span><span class="br0">&#40;</span><span class="re0">$sql</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#123;</span>
<span class="co1">// go through all the returned rows and print the fields</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;tr&gt;'</span><span class="sy0">;</span>
<span class="kw1">if</span><span class="br0">&#40;</span><span class="re0">$i</span><span class="sy0">%</span>2<span class="sy0">==</span><span class="nu0">0</span><span class="br0">&#41;</span><span class="br0">&#123;</span>
<span class="co1">// apply row styles</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;td align=&quot;left&quot; class=&quot;td_alt2&quot;&gt;'</span><span class="sy0">.</span><span class="re0">$row</span><span class="br0">&#91;</span><span class="st_h">'title'</span><span class="br0">&#93;</span><span class="sy0">.</span><span class="st_h">'&lt;/td&gt;'</span><span class="sy0">;</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;td align=&quot;left&quot; class=&quot;td_alt2&quot;&gt;'</span><span class="sy0">.</span><span class="kw3">substr</span><span class="br0">&#40;</span><span class="re0">$row</span><span class="br0">&#91;</span><span class="st_h">'description'</span><span class="br0">&#93;</span><span class="sy0">,</span><span class="nu0">0</span><span class="sy0">,</span><span class="nu0">200</span><span class="br0">&#41;</span><span class="sy0">.</span><span class="st_h">''</span><span class="sy0">;</span>
<span class="co1">// shorten to 200 characters</span>
<span class="kw1">if</span><span class="br0">&#40;</span><span class="kw3">strlen</span><span class="br0">&#40;</span><span class="re0">$row</span><span class="br0">&#91;</span><span class="st_h">'description'</span><span class="br0">&#93;</span><span class="br0">&#41;</span> <span class="sy0">&gt;</span> 200<span class="br0">&#41;</span><span class="br0">&#123;</span>
<span class="kw1">echo</span> <span class="st_h">'...'</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;/td&gt;'</span><span class="sy0">;</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;td align=&quot;left&quot; class=&quot;td_alt2&quot;&gt;'</span><span class="sy0">.</span><span class="kw3">date</span><span class="br0">&#40;</span><span class="st0">&quot;m/d/Y&quot;</span><span class="sy0">,</span><span class="re0">$row</span><span class="br0">&#91;</span><span class="st_h">'timestamp'</span><span class="br0">&#93;</span><span class="br0">&#41;</span><span class="sy0">.</span><span class="st_h">'&lt;/td&gt;'</span><span class="sy0">;</span>
<span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;td align=&quot;left&quot; class=&quot;td_alt1&quot;&gt;'</span><span class="sy0">.</span><span class="re0">$row</span><span class="br0">&#91;</span><span class="st_h">'title'</span><span class="br0">&#93;</span><span class="sy0">.</span><span class="st_h">'&lt;/td&gt;'</span><span class="sy0">;</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;td align=&quot;left&quot; class=&quot;td_alt1&quot;&gt;'</span><span class="sy0">.</span><span class="kw3">substr</span><span class="br0">&#40;</span><span class="re0">$row</span><span class="br0">&#91;</span><span class="st_h">'description'</span><span class="br0">&#93;</span><span class="sy0">,</span><span class="nu0">0</span><span class="sy0">,</span><span class="nu0">200</span><span class="br0">&#41;</span><span class="sy0">.</span><span class="st_h">''</span><span class="sy0">;</span>
<span class="co1">// shorten to 200 characters</span>
<span class="kw1">if</span><span class="br0">&#40;</span><span class="kw3">strlen</span><span class="br0">&#40;</span><span class="re0">$row</span><span class="br0">&#91;</span><span class="st_h">'description'</span><span class="br0">&#93;</span><span class="br0">&#41;</span> <span class="sy0">&gt;</span> 200<span class="br0">&#41;</span><span class="br0">&#123;</span>
<span class="kw1">echo</span> <span class="st_h">'...'</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;/td&gt;'</span><span class="sy0">;</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;td align=&quot;left&quot; class=&quot;td_alt1&quot;&gt;'</span><span class="sy0">.</span><span class="kw3">date</span><span class="br0">&#40;</span><span class="st0">&quot;m/d/Y&quot;</span><span class="sy0">,</span><span class="re0">$row</span><span class="br0">&#91;</span><span class="st_h">'timestamp'</span><span class="br0">&#93;</span><span class="br0">&#41;</span><span class="sy0">.</span><span class="st_h">'&lt;/td&gt;'</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;/tr&gt;'</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
<span class="br0">&#125;</span>
<span class="kw1">echo</span> <span class="st_h">'&lt;/table&gt;'</span><span class="sy0">;</span>
<span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span>
<span class="kw1">echo</span> <span class="st_h">'No entries found, please try again.'</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
<span class="sy1">?&gt;</span></pre></div></div>
<p>This will output something like so:</p>
<table class="data_table" width="100%" border="1" cellspacing="0" cellpadding="2" align="center">
<tbody>
<tr>
<th align="left">Title</th>
<th align="left">Description</th>
<th align="left">Posted Date</th>
</tr>
<tr>
<td class="alt1" align="left">Data 1 Title</td>
<td class="alt1" align="left">Data 1 Description</td>
<td class="alt1" align="left">Data 1 Date</td>
</tr>
<tr>
<td class="alt2" align="left">Data 2 Title</td>
<td class="alt2" align="left">Data 2 Description</td>
<td class="alt2" align="left">Data 2 Date</td>
</tr>
<tr>
<td class="alt1" align="left">Data 3 Title</td>
<td class="alt1" align="left">Data 3 Description</td>
<td class="alt1" align="left">Data 3 Date</td>
</tr>
<tr>
<td class="alt2" align="left">Data 4 Title</td>
<td class="alt2" align="left">Data 4 Description</td>
<td class="alt2" align="left">Data 4 Date</td>
</tr>
<tr>
<td class="alt1" align="left">Data 5 Title</td>
<td class="alt1" align="left">Data 5 Description</td>
<td class="alt1" align="left">Data 5 Date</td>
</tr>
</tbody>
</table>
<img src="http://bgallz.org/?ak_action=api_record_view&id=1184&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/1184/displaying-mysql-tables-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digital Point Forums</title>
		<link>http://bgallz.org/1172/digital-point-forums/</link>
		<comments>http://bgallz.org/1172/digital-point-forums/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 00:17:28 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Websites]]></category>
		<category><![CDATA[buy]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[forums]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[point]]></category>
		<category><![CDATA[sell]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[trade]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=1172</guid>
		<description><![CDATA[If you are a web developer, designer, programmer, or just a user of the web then you should probably be a member of the Digital Point Forums. Here you will find web masters by the thousands who post and discuss topics all related to online function. Whether you run your own website, are looking to, [...]]]></description>
			<content:encoded><![CDATA[<p class="size-full wp-image-1175" title="Digital Point Forums">If you are a web developer, designer, programmer, or just a user of the web then you should probably be a member of the <a title="Digital Point Forums Index" href="http://forums.digitalpoint.com" target="_blank"><strong>Digital Point Forums</strong></a>. Here you will find web masters by the thousands who post and discuss topics all related to online function. Whether you run your own website, are looking to, or are just curious about the way the internet works &#8211; this is a great forum to be a part of.</p>
<p>The forums cover a range of categories such as:</p>
<ul>
<li>Search Engines</li>
<li>Online Marketing</li>
<li>Running a Business</li>
<li>Web Design &amp; Development</li>
<li>Helpful Products &amp; Tools</li>
</ul>
<div id="attachment_1175" class="wp-caption aligncenter" style="width: 510px"><a href="http://forums.digitalpoint.com/"><img class="size-full wp-image-1175 " title="Digital Point Forums" src="http://bgallz.org/wp-content/uploads/2012/04/dpforums.gif" alt="" width="500" height="254" /></a><p class="wp-caption-text">Digital Point Forums Index</p></div>
<p>I personally use Digital Point for learning more on online marketing techniques, link exchange and link building, programming ideas, and primarily &#8211; <em>buying and selling services</em>.</p>
<p><a href="http://forums.digitalpoint.com/member.php?u=109377" target="_blank"><strong>Click here</strong></a> to contact me on Digital Point for your web development needs!</p>
<p>On Digital Point users&#8217; reputations go by their &#8220;Feedback Score&#8221; which is the positive or negative value each user has which comes from their business on the forums. When a user receives negative feedback &#8211; i.e. the user did not meet expectations or did not complete their work &#8211; then their feedback score is lowered, and vice versus the feedback is increased when positive feedback is received. This method allows users to know those who are reliable and professional in their work.</p>
<p>You can search forums for sales by looking for the [WTS] &#8211; &#8220;Want to Sell&#8221; tag applied the thread titles in forums like services, domains, etc. or if you want to sell a service/product of your own you can look for threads including the [WTB] &#8211; &#8220;Want to Buy&#8221; tag. There is also [WTT] or &#8220;Want to Trade&#8221; which you can look for to trade goods for services or whatever it may be.</p>
<p>Overall, Digital Point is another great resource to have for any web master or interested user.</p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=1172&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/1172/digital-point-forums/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Make an Animated Loading GIF</title>
		<link>http://bgallz.org/1140/how-to-make-animated-loading-gif/</link>
		<comments>http://bgallz.org/1140/how-to-make-animated-loading-gif/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 03:00:51 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[animated]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[loading]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[styles]]></category>
		<category><![CDATA[uploading]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=1140</guid>
		<description><![CDATA[When you have a form to submit some kind of data to your website it is very helpful to have a loading image that is displayed once the user submits the form. This let&#8217;s the user know that the form was submitted and the upload is in progress, rather than just relying on looking up [...]]]></description>
			<content:encoded><![CDATA[<p>When you have a form to submit some kind of data to your website it is very helpful to have a loading image that is displayed once the user submits the form.</p>
<p>This let&#8217;s the user know that the form was submitted and the upload is in progress, rather than just relying on looking up at the address bar and seeing the refresh button spinning. This also helps prevent people from clicking the submit button again, causing problems with the upload, ending in the user being frustrated and leaving.</p>
<p>First, let&#8217;s open <strong>Adobe Photoshop</strong> and open a new document dimensions <strong>150px by 18px</strong>. (See Figure 1).</p>
<div id="attachment_1148" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-1148 " title="Figure 1" src="http://bgallz.org/wp-content/uploads/2012/04/image1-300x190.gif" alt="" width="300" height="190" /><p class="wp-caption-text">Figure 1</p></div>
<p>Then let&#8217;s select the <strong>Rectangular Marquee Tool</strong> in the tools panel, and at the top under <strong>Style</strong> select &#8220;<strong>Fixed Size</strong>&#8221; and enter the dimensions &#8211; Width: <strong>14px</strong> Height: <strong>14px</strong>. Then make a <strong>New Layer</strong>, and then click on the palette and position the square marquee to the left and centered (as seen in Figure 2). You may need to zoom in in order to position it exactly 2 pixels away from the edges so it is centered.</p>
<div id="attachment_1141" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-1141 " title="Figure 2" src="http://bgallz.org/wp-content/uploads/2012/04/image2-300x130.gif" alt="" width="300" height="130" /><p class="wp-caption-text">Figure 2</p></div>
<p>Then fill this selected square with your desired themed color, I chose a blue color (#044686), using the <strong>Paint Bucket Tool</strong>. (Also seen in Figure 2).</p>
<p>I like to apply a nice gradient to the square, as well as a little bevel and a clean border. First open the <strong>Layer Blending Options</strong> &#8211; do this by right clicking on the layer you placed the square on, and selecting &#8220;Blending Options&#8230;&#8221; or simply by double clicking the layer &#8211; and then go to <strong>Gradient Overlay</strong>. Then apply a slight gradient, I just keep it on <strong>Normal</strong> blending mode, and just lower the opacity to like <strong>8%</strong>. (See Figure 3).</p>
<div id="attachment_1142" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-1142 " title="Figure 3" src="http://bgallz.org/wp-content/uploads/2012/04/image3-300x178.gif" alt="" width="300" height="178" /><p class="wp-caption-text">Figure 3</p></div>
<p>Then go to the <strong>Bevel and Emboss</strong> in the Layer Blending Options, and apply a slight bevel. This is accomplished by raising the <strong>Depth</strong> of the bevel and lowering the <strong>Opacity</strong>. I like the bevel to be small so I keep the size at <strong>2px</strong>. Then I lower the opacity of the white to <strong>15%</strong> and the black to <strong>25%</strong>. (See Figure 4).</p>
<div id="attachment_1143" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-1143 " title="Figure 4" src="http://bgallz.org/wp-content/uploads/2012/04/image4-300x227.gif" alt="" width="300" height="227" /><p class="wp-caption-text">Figure 4</p></div>
<p>Now your square should have a nice gradient and bevel. To make it stand out from the background even more, add a nice clean border. Keep it at <strong>1px</strong> width and either black or a darkened version of the color you used for the square. For example, my square is blue so I just used a dark blue (#0a2b4b). Do this by going to the <strong>Stroke</strong> menu in the Layer Blending Options. Enter the following for the properties: <strong>Size: 1px</strong>, <strong>Position: Inside</strong>, <strong>Opacity: 100%</strong>, and then choose your color. (See Figure 5).</p>
<div id="attachment_1144" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-1144 " title="Figure 5" src="http://bgallz.org/wp-content/uploads/2012/04/image5-300x227.gif" alt="" width="300" height="227" /><p class="wp-caption-text">Figure 5</p></div>
<p>Now your square has a <strong>Gradient</strong>, <strong>Bevel</strong>, and a nice <strong>Border</strong>. Now you can duplicate your square layer &#8211; select the layer and press (Ctrl+J) to make copies. After you make a copy, drag the squares you make to the right and keep them an equal distance from each other.  If you use the dimensions I did, you should be able to fit <strong>8 squares</strong> in your document. (See Figure 6).</p>
<p><span style="color: #800000;"><strong>*</strong> <em>I recommend using the <strong>guides</strong> in Photoshop to be sure they are an equal distance from one another. If rulers are not enabled, go to <strong>View</strong> &gt; <strong>Rulers</strong>. Then drag guidelines from the left (vertical ruler) onto the document and use equal increments.</em></span></p>
<div id="attachment_1145" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-1145 " title="Figure 6" src="http://bgallz.org/wp-content/uploads/2012/04/image6-300x56.gif" alt="" width="300" height="56" /><p class="wp-caption-text">Figure 6</p></div>
<p>Once you have all your squares the way you want them and set equal distances from each other, you are ready to make the animation. Go the the top menu bar, and under <strong>Window</strong> select <strong>Animation</strong>. This will bring the animation menu below your document. To start you only want the first square visible, so hide all the other squares&#8217; layers by clicking the <strong>Eyes</strong> to the left of each layer in the layers menu.</p>
<p>Your animation menu may come up in <strong>Timeline</strong> mode &#8211; this is shown as the title of the animation menu at the bottom. If it is called &#8220;<strong>Animation (Timeline)</strong>&#8221; then you are in timeline mode and you need to switch to frames mode. This is done by clicking the very small image in the bottom right corner of the animation menu which looks like a gray rectangle with 3 white squares in it. This will change the title to &#8220;<strong>Animation (Frames)</strong>&#8220;. Now, all you should see on your document is the first square, all the way to the left because we hid the others.</p>
<p>First, set the <strong>Delay</strong> to <strong>0.5 seconds</strong>, this is done by clicking on the &#8220;10 sec.&#8221; with the down arrow. Now click the <strong>New Frame</strong> button (which looks identical to the new layer button but is located in the animation menu, obviously, not the layers menu). This will add a second frame to the animation. What you want to do is add a new frame, and then un-hide the next square in the sequence. So it&#8217;s basically: make a new frame and un-hide next square &#8211; over and over until you reach the last square in the document. When you are done, you should have <strong>8 frames and 8 squares in the last frame</strong>. Lastly, set the looping to &#8220;<strong>Forever</strong>&#8221; by clicking where it says &#8220;Once&#8221; with a down arrow. (See Figure 7).</p>
<div id="attachment_1146" class="wp-caption alignnone" style="width: 310px"><a href="http://bgallz.org/wp-content/uploads/2012/04/image7.gif"><img class="size-medium wp-image-1146  " title="Figure 7" src="http://bgallz.org/wp-content/uploads/2012/04/image7-300x115.gif" alt="" width="300" height="115" /></a><p class="wp-caption-text">Figure 7</p></div>
<p>You can preview your animated loading image by zooming back out to 100% on the document, and going to Frame 1 and hit play. It&#8217;s still on a transparent background so it doesn&#8217;t look as nice as it will on your webpage, but just an idea. Here is our animated loading image:</p>
<p><a href="http://bgallz.org/wp-content/uploads/2012/04/Loading-Animated-GIF.gif"><img class="size-full wp-image-1147 alignleft" title="Loading-Animated-GIF" src="http://bgallz.org/wp-content/uploads/2012/04/Loading-Animated-GIF.gif" alt="Animated Loading GIF Image" width="150" height="18" /></a></p>
<p>&nbsp;</p>
<p>Here is another, smoother sliding upload bar animated GIF I made:</p>
<p><a href="http://bgallz.org/wp-content/uploads/2012/04/Loading-Animated-GIF2.gif"><img class="alignleft size-full wp-image-1157" title="Loading-Animated-GIF2" src="http://bgallz.org/wp-content/uploads/2012/04/Loading-Animated-GIF2.gif" alt="" width="150" height="18" /></a></p>
<p>&nbsp;</p>
<p>Now that we have our animated loading GIF image, we need to incorporate this to our website with a form. Let&#8217;s say this is our form in HTML:</p>
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">HTML Form</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="html4strict" style="font-family:monospace;"><span class="sc2">&lt;<span class="kw2">form</span> <span class="kw3">method</span><span class="sy0">=</span><span class="st0">&quot;post&quot;</span> <span class="kw3">action</span><span class="sy0">=</span><span class="st0">&quot;&quot;</span> <span class="kw3">enctype</span><span class="sy0">=</span><span class="st0">&quot;multipart/form-data&quot;</span>&gt;</span>
<span class="sc2">&lt;<span class="kw2">table</span> <span class="kw3">width</span><span class="sy0">=</span><span class="st0">&quot;650&quot;</span> <span class="kw3">align</span><span class="sy0">=</span><span class="st0">&quot;center&quot;</span> <span class="kw3">border</span><span class="sy0">=</span><span class="st0">&quot;0&quot;</span> <span class="kw3">cellpadding</span><span class="sy0">=</span><span class="st0">&quot;2&quot;</span> <span class="kw3">cellspacing</span><span class="sy0">=</span><span class="st0">&quot;0&quot;</span>&gt;</span>
<span class="sc2">&lt;<span class="kw2">tr</span>&gt;</span>
<span class="sc2">&lt;<span class="kw2">td</span> <span class="kw3">align</span><span class="sy0">=</span><span class="st0">&quot;left&quot;</span> <span class="kw3">width</span><span class="sy0">=</span><span class="st0">&quot;100&quot;</span>&gt;&lt;<span class="kw2">strong</span>&gt;</span>Title:<span class="sc2">&lt;<span class="sy0">/</span><span class="kw2">strong</span>&gt;&lt;<span class="sy0">/</span><span class="kw2">td</span>&gt;</span>
<span class="sc2">&lt;<span class="kw2">td</span> <span class="kw3">align</span><span class="sy0">=</span><span class="st0">&quot;left&quot;</span>&gt;&lt;<span class="kw2">input</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;text&quot;</span> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;title&quot;</span> <span class="kw3">size</span><span class="sy0">=</span><span class="st0">&quot;25&quot;</span> <span class="kw3">maxlength</span><span class="sy0">=</span><span class="st0">&quot;60&quot;</span> <span class="sy0">/</span>&gt;&lt;<span class="sy0">/</span><span class="kw2">td</span>&gt;</span>
<span class="sc2">&lt;<span class="sy0">/</span><span class="kw2">tr</span>&gt;</span>
<span class="sc2">&lt;<span class="kw2">tr</span>&gt;</span>
<span class="sc2">&lt;<span class="kw2">td</span> <span class="kw3">align</span><span class="sy0">=</span><span class="st0">&quot;left&quot;</span>&gt;&lt;<span class="kw2">strong</span>&gt;</span>Image:<span class="sc2">&lt;<span class="sy0">/</span><span class="kw2">strong</span>&gt;&lt;<span class="sy0">/</span><span class="kw2">td</span>&gt;</span>
<span class="sc2">&lt;<span class="kw2">td</span> <span class="kw3">align</span><span class="sy0">=</span><span class="st0">&quot;left&quot;</span>&gt;&lt;<span class="kw2">input</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;file&quot;</span> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;image&quot;</span> <span class="kw3">size</span><span class="sy0">=</span><span class="st0">&quot;25&quot;</span> <span class="sy0">/</span>&gt;&lt;<span class="sy0">/</span><span class="kw2">td</span>&gt;</span>
<span class="sc2">&lt;<span class="sy0">/</span><span class="kw2">tr</span>&gt;</span>
<span class="sc2">&lt;<span class="kw2">tr</span>&gt;</span>
<span class="sc2">&lt;<span class="kw2">td</span> <span class="kw3">align</span><span class="sy0">=</span><span class="st0">&quot;left&quot;</span> <span class="kw3">colspan</span><span class="sy0">=</span><span class="st0">&quot;2&quot;</span>&gt;&lt;<span class="kw2">input</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;submit&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;Submit&quot;</span> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;submit&quot;</span> <span class="kw3">onclick</span><span class="sy0">=</span><span class="st0">&quot;showUploadDiv()&quot;</span> <span class="sy0">/</span>&gt;&lt;<span class="sy0">/</span><span class="kw2">td</span>&gt;</span>
<span class="sc2">&lt;<span class="sy0">/</span><span class="kw2">tr</span>&gt;</span>
<span class="sc2">&lt;<span class="sy0">/</span><span class="kw2">table</span>&gt;</span>
<span class="sc2">&lt;<span class="sy0">/</span><span class="kw2">form</span>&gt;</span></pre></div></div>
<p>So right now, this form just submits as normal without any loading image. To change this, we use the &#8220;<strong>onclick</strong>&#8221; attribute to the submit button, so that once the submit button is clicked (the form is submitted) we will display the loading image with whatever text we want to go along with it. So first let&#8217;s make some CSS styles for the uploading div and the image itself, then some Javascript entries, to the &lt;head&gt; portion of the webpage.</p>
<p>Insert the following in the &lt;head&gt;&lt;/head&gt; section:</p>
<div id="wpshdo_4" class="wp-synhighlighter-outer"><div id="wpshdt_4" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_4"></a><a id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">CSS Styles and IDs</a></td><td align="right"><a href="#codesyntax_4" onClick="javascript:wpsh_code(4)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_4" onClick="javascript:wpsh_print(4)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="css" style="font-family:monospace;">&lt;style type<span class="sy0">=</span><span class="st0">&quot;text/css&quot;</span><span class="sy0">&gt;</span>
<span class="re0">#uploading</span> <span class="br0">&#123;</span>
<span class="kw1">background</span><span class="sy0">:</span> <span class="re0">#eee</span><span class="sy0">;</span>
<span class="kw1">padding</span><span class="sy0">:</span> <span class="re3">3px</span><span class="sy0">;</span>
<span class="kw1">border</span><span class="sy0">:</span> <span class="re3">1px</span> <span class="kw2">dashed</span> <span class="re0">#ccc</span><span class="sy0">;</span>
<span class="kw1">width</span><span class="sy0">:</span> <span class="re3">300px</span><span class="sy0">;</span>
<span class="kw1">text-align</span><span class="sy0">:</span><span class="kw2">center</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
<span class="re0">#loading_image</span> <span class="br0">&#123;</span>
<span class="kw1">width</span><span class="sy0">:</span><span class="re3"><span class="nu0">100</span>%</span><span class="sy0">;</span>
<span class="kw1">height</span><span class="sy0">:</span><span class="re3">18px</span><span class="sy0">;</span>
<span class="kw1">border</span><span class="sy0">:</span><span class="nu0">0</span><span class="sy0">;</span>
<span class="kw1">padding</span><span class="sy0">:</span> <span class="re3">2px</span> <span class="nu0">0</span><span class="sy0">;</span>
<span class="kw1">background</span><span class="sy0">:</span> <span class="re0">#eee</span> <span class="kw2">url</span><span class="br0">&#40;</span><span class="co2">./Loading-Animated-GIF.gif</span><span class="br0">&#41;</span> <span class="kw2">no-repeat</span> <span class="kw1">top</span> <span class="kw2">center</span><span class="sy0">;</span>
<span class="kw1">text-align</span><span class="sy0">:</span> <span class="kw2">center</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
&lt;/style<span class="sy0">&gt;</span></pre></div></div>
<div id="wpshdo_5" class="wp-synhighlighter-outer"><div id="wpshdt_5" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_5"></a><a id="wpshat_5" class="wp-synhighlighter-title" href="#codesyntax_5"  onClick="javascript:wpsh_toggleBlock(5)" title="Click to show/hide code block">Show Upload Image JavaScript Function</a></td><td align="right"><a href="#codesyntax_5" onClick="javascript:wpsh_code(5)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_5" onClick="javascript:wpsh_print(5)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_5" class="wp-synhighlighter-inner" style="display: block;"><pre class="javascript" style="font-family:monospace;"><span class="sy0">&lt;</span>script type<span class="sy0">=</span><span class="st0">&quot;text/javascript&quot;</span><span class="sy0">&gt;</span>
<span class="kw2">function</span> showUploadDiv<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#123;</span>
<span class="kw2">var</span> uploadDiv <span class="sy0">=</span> document.<span class="me1">getElementById</span><span class="br0">&#40;</span><span class="st0">'uploading'</span><span class="br0">&#41;</span><span class="sy0">;</span>
<span class="kw1">if</span><span class="br0">&#40;</span>uploadDiv.<span class="me1">style</span>.<span class="me1">display</span> <span class="sy0">==</span> <span class="st0">'none'</span><span class="br0">&#41;</span><span class="br0">&#123;</span>
<span class="co1">// the div isnt being displayed yet, so lets change the display then write the content</span>
uploadDiv.<span class="me1">style</span>.<span class="me1">display</span> <span class="sy0">=</span> <span class="st0">'block'</span><span class="sy0">;</span>
uploadDiv.<span class="me1">innerHTML</span> <span class="sy0">=</span> <span class="st0">'Please wait while your image is being uploaded...&lt;br/&gt;&lt;div id=&quot;loading_image&quot;&gt;&lt;/div&gt;'</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
<span class="br0">&#125;</span>
<span class="sy0">&lt;/</span>script<span class="sy0">&gt;</span></pre></div></div>
<p>Now, right after our form we need to include a &lt;div&gt; which holds the uploading animated GIF and some text. So let&#8217;s put this right after the form:</p>
<div id="wpshdo_6" class="wp-synhighlighter-outer"><div id="wpshdt_6" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_6"></a><a id="wpshat_6" class="wp-synhighlighter-title" href="#codesyntax_6"  onClick="javascript:wpsh_toggleBlock(6)" title="Click to show/hide code block">Uploading DIV</a></td><td align="right"><a href="#codesyntax_6" onClick="javascript:wpsh_code(6)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_6" onClick="javascript:wpsh_print(6)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_6" class="wp-synhighlighter-inner" style="display: block;"><pre class="html4strict" style="font-family:monospace;"><span class="sc2">&lt;<span class="kw2">div</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;uploading&quot;</span> <span class="kw3">style</span><span class="sy0">=</span><span class="st0">&quot;display:none&quot;</span>&gt;</span>
<span class="sc2">&lt;<span class="sy0">/</span><span class="kw2">div</span>&gt;</span></pre></div></div>
<p>Be sure to change the image source to your images location and file name so it loads properly. Otherwise you will see the alternative text. Now, we have one last change to make. We need to add the <strong>onclick</strong> function to the form&#8217;s submit button. So let&#8217;s go back to the form and change the submit button to the following:</p>
<div id="wpshdo_7" class="wp-synhighlighter-outer"><div id="wpshdt_7" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_7"></a><a id="wpshat_7" class="wp-synhighlighter-title" href="#codesyntax_7"  onClick="javascript:wpsh_toggleBlock(7)" title="Click to show/hide code block">Form Submit Button</a></td><td align="right"><a href="#codesyntax_7" onClick="javascript:wpsh_code(7)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_7" onClick="javascript:wpsh_print(7)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_7" class="wp-synhighlighter-inner" style="display: block;"><pre class="html4strict" style="font-family:monospace;"><span class="sc2">&lt;<span class="kw2">input</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;submit&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;Submit&quot;</span> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;submit&quot;</span> <span class="kw3">onclick</span><span class="sy0">=</span><span class="st0">&quot;showUploadDiv()&quot;</span> <span class="sy0">/</span>&gt;</span></pre></div></div>
<p>Now when we click the submit button we will see a nice message letting us know our image is being uploaded and an image representing the upload progress.</p>
<p><a title="Loading Animated GIF Demo Form" href="http://bgallz.org/scripts/loading-animated-gif/" target="_blank"><strong>Click here to check out the demo!</strong></a></p>
<p>Enjoy!</p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=1140&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/1140/how-to-make-animated-loading-gif/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Battlefield 3 Update 27th of March for PlayStation 3. Xbox 360 and PC will come soon.</title>
		<link>http://bgallz.org/1133/battlefield-3-update-27th-of-march-for-playstation-3-xbox-360-and-pc-will-come-soon/</link>
		<comments>http://bgallz.org/1133/battlefield-3-update-27th-of-march-for-playstation-3-xbox-360-and-pc-will-come-soon/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 03:40:33 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[27th]]></category>
		<category><![CDATA[battlefield 3]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[march]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[playstation 3]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[xbox 360]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=1133</guid>
		<description><![CDATA[The team at EA has been working on fixing a lot of issues with Battlefield 3 for all systems as well as striving to meet the public&#8217;s demands. March 27th the latest patch for Battlefield 3 was released for Playstation 3 and soon to come the patches for PC and Xbox 360. The patch includes [...]]]></description>
			<content:encoded><![CDATA[<p>The team at EA has been working on fixing a lot of issues with Battlefield 3 for all systems as well as striving to meet the public&#8217;s demands. <strong>March 27th the latest patch for Battlefield 3 was released</strong> for Playstation 3 and soon to come the patches for PC and Xbox 360. The patch includes many corrections to unbalanced aspects to the game and pretty much solutions to glitches.</p>
<p><span style="text-decoration: underline;">EA&#8217;s representative <span class="post-info"><a title="Posts by zhinto" href="http://blogs.battlefield.com/author/zhinto/" rel="author">zhinto</a> states:</span></span></p>
<p>&nbsp;</p>
<p><span style="color: #808080;">This patch includes many gameplay tweaks and balances; several suggested by you. The full list of changes and updates is as follows. This update will also bring the “Rent a Server” functionality to Xbox 360 and Playstation 3. For more updated information on this functionality, check back next week.</span></p>
<p><span style="color: #808080;"><strong>FIXES FOR PC SERVER OPERATION</strong></span><br />
<span style="color: #808080;"> &#8211; Having the same map occur multiple times in the maplist now works properly</span><br />
<span style="color: #808080;"> &#8211; If adding a new map to the servers maplist after a clear and then running “mapList.runNextRound” the server will ignore any remaining rounds on the map that it still run since before the clear and move to the new first map in the list. The server will now have reset the current rounds per map and run the map in the list for the number of rounds stated when adding the map.</span><br />
<span style="color: #808080;"> &#8211; Maplist can contain up to 1000 entries now</span><br />
<span style="color: #808080;"> &#8211; mapList.list will return at most 100 entries. To get the entire list, perform mapList.list repeatedly with increasing offsets (like banList.list)</span></p>
<p><span style="color: #808080;"><strong>GENERAL GAMEPLAY FIXES</strong></span><br />
<span style="color: #808080;"> -Players should no longer take fall damage from short falls.</span><br />
<span style="color: #808080;"> -Players now get up from Prone slightly faster, allowing better odds of getting away from a grenade or threat when prone.</span><br />
<span style="color: #808080;"> -Fixed some situations that would unintentionally make a player unrevivable.</span><br />
<span style="color: #808080;"> -Reduced the black screen fade in time on spawn. The fade is still necessary for properly streaming in loading content at spawn, but it has been substantially reduced.</span><br />
<span style="color: #808080;"> -Increased the spawn protection time from 1sec to 2sec. The protection will still be immediately canceled as soon as the player moves or shoots.</span><br />
<span style="color: #808080;"> -Spawn protection will no longer be canceled by the player looking around.</span><br />
<span style="color: #808080;"> -Increased the speed at which a player regains accuracy when aiming after moving for a more responsive experience. Firing before fully zoomed will still result inaccurate fire.</span><br />
<span style="color: #808080;"> -Increased the inaccuracy and recoil added when a player is fully suppressed.</span><br />
<span style="color: #808080;"> -Shotgun Buck and Flechette rounds now have a less suppressive effect at medium to long range.</span><br />
<span style="color: #808080;"> -Tweaked the damage levels of Buck and Flechette rounds to balance them with other weapons.</span><br />
<span style="color: #808080;"> -Improved the suppression of the .44 magnum, .357 magnum, and the 5.8x42mm DAP88 rounds from the Type88 sniper.</span><br />
<span style="color: #808080;"> -Attempting to Crouch (like Prone) will now properly interrupt Sprint.</span><br />
<span style="color: #808080;"> -Increased the effectiveness of Suppression Resist Specialization.</span><br />
<span style="color: #808080;"> -Parachutes now respond to turn and throttle inputs more quickly.</span><br />
<span style="color: #808080;"> -Switching from primary weapons to sidearms and back now takes less time.</span><br />
<span style="color: #808080;"> -Increased the effectiveness of explosive resistance.</span><br />
<span style="color: #808080;"> -Tweaked bipod deploy settings so players can no longer deploy a bipod in places higher than chin level.</span><br />
<span style="color: #808080;"> -The bipod should now be more reliable when deploying on top of sloped objects like cars and rocks.</span><br />
<span style="color: #808080;"> -Fixed several issues with vaulting objects, especially for thin railings.</span><br />
<span style="color: #808080;"> -The Knife now only takes two swipes to kill when attacking from a position where a takedown is not possible.</span><br />
<span style="color: #808080;"> -CRAM weapons on Carriers now count towards stationary weapon awards.</span></p>
<p><span style="color: #808080;"><strong>VEHICLE FIXES<br />
</strong>-The A10 properly gives Jet score again.</span><br />
<span style="color: #808080;"> -Unguided tank rounds and RPGs will now instantly destroy Jets, Attack Helicopters, and Scout Helicopters.</span><br />
<span style="color: #808080;"> -Increased the damage the MBT’s primary weapon does to the front and side armor of other main battle tanks. Primarily this means 1 less shot to the front, and very good hits to the side can result in a 1 hit to disable.</span><br />
<span style="color: #808080;"> -Slightly reduced the repair speed of the repair tool.</span><br />
<span style="color: #808080;"> -Increased the damage done by TOW weapons to armored vehicles.</span><br />
<span style="color: #808080;"> -Increased the rate of fire and minimum damage of the Coax HMG.</span><br />
<span style="color: #808080;"> -Increased the damage mounted gunner .50cal HMGs do at long range.</span><br />
<span style="color: #808080;"> -Increased the power of the repair tool when killing soldiers or destroying vehicles slightly.</span><br />
<span style="color: #808080;"> -Fixed a problem when locking on to two nearby targets, the locking should no longer jump rapidly between multiple targets. This applies to all locking weapons and Laser Designators.</span><br />
<span style="color: #808080;"> -Increased the damage of the Javelin and Air to Ground missiles against laser designated targets.</span><br />
<span style="color: #808080;"> -Javelin missiles fired without Laser targeting now do more damage to the side and rear of MBTs.</span><br />
<span style="color: #808080;"> -Slightly reduced the locking time of all weapons vs Laser Designated targets.</span><br />
<span style="color: #808080;"> -Laser Guided missiles can now be distracted by Flares.</span><br />
<span style="color: #808080;"> -Increased the locking distance for AGM Missiles for Jets when locking on laser designated targets.</span><br />
<span style="color: #808080;"> -Reduced the locking time for the AGM Missiles for Jets to make them more viable against ground targets.</span><br />
<span style="color: #808080;"> -Reduced the locking time for AA Missiles for Jets to make them more viable against air targets.</span><br />
<span style="color: #808080;"> -Flares will no longer break the lock of a vehicle that is locked on, it will only distract the missiles.</span><br />
<span style="color: #808080;"> -Flares now more reliably distract missiles, especially for Helicopters.</span><br />
<span style="color: #808080;"> -Flares for Jets and Choppers now reload at 11 seconds again, except for the gunner, which remains unchanged at 20sec.</span><br />
<span style="color: #808080;"> -AA Missiles are more difficult to dodge in Jets, this was unintended behavior that created an imbalance against skilled pilots.</span><br />
<span style="color: #808080;"> -AA Missiles should no longer kill the pilot instead of the vehicle.</span><br />
<span style="color: #808080;"> -AA Missiles should no longer detonate before hitting their target or a Flare/ECM chaff cloud.</span><br />
<span style="color: #808080;"> -Reduced the damage AA missiles do to jets to 45%.</span><br />
<span style="color: #808080;"> -Fixed the SU-35 firing Air to Air missiles at a lower rate of fire than other vehicles.</span><br />
<span style="color: #808080;"> -The IGLA and Stinger now lock on much more quickly and disable an attack aircraft in 1 hit, but have significantly reduced range. This should allow Stingers to mount an effective close range point defense, without dominating an entire airspace.</span><br />
<span style="color: #808080;"> -Increased the speed of the Helicopter AA missiles lock on to reduce the tedious nature of Helicopter dogfights and improve the Helicopter’s defensive abilities vs Jets.</span><br />
<span style="color: #808080;"> -Slightly reduced the damage of Jet cannons against Aircraft. Damage is now only slightly higher than it was originally at launch.</span><br />
<span style="color: #808080;"> -Increased RPG and SMAW damage against aircraft.</span><br />
<span style="color: #808080;"> -Guided Rockets will now only track ground targets, as originally intended.</span><br />
<span style="color: #808080;"> -Reduced the direct damage done by Attack Helicopter gunners vs Armor.</span><br />
<span style="color: #808080;"> -Helicopter guns should now suppress correctly.</span><br />
<span style="color: #808080;"> -Improved the accuracy of the Attack Helicopter’s Rocket Pods, both guided and unguided.</span><br />
<span style="color: #808080;"> -Slightly increased the damage of Attack Helicopter’s Rocket Pods vs Infantry and other Helicopters.</span><br />
<span style="color: #808080;"> -Additional fixes have been made to the TV missile to prevent it from blowing up the lauching vehicle.</span><br />
<span style="color: #808080;"> -The Mi28 has received upgrades to its climbing and yawing abilities.</span><br />
<span style="color: #808080;"> -Fixed an issue where guided rockets from the Mi28 did not follow the crosshair properly.</span><br />
<span style="color: #808080;"> -Improved the accuracy of the Mi28 gun to match the AH1 gun.</span><br />
<span style="color: #808080;"> -Increased the direct hit damage of the APFSDS rounds for the IFVs.</span><br />
<span style="color: #808080;"> -Decreased the locking time of the IFV Guided Missile to make it more viable as an unlock.</span><br />
<span style="color: #808080;"> -Miniguns and Helicopter Gunners now more quickly destroy parked cars.</span><br />
<span style="color: #808080;"> -Increased the power of explosions from cars and other explosive static objects.</span><br />
<span style="color: #808080;"> -Dying from the explosion of a car or other explosive static object should now correctly credit the player who caused the explosion.</span><br />
<span style="color: #808080;"> -Adjusted the F35′s Center of Mass and Hover Engine for more stable, level flight in all flight modes.</span><br />
<span style="color: #808080;"> -Updated the F35 weapon systems to be consistent with the other Jets.</span><br />
<span style="color: #808080;"> -The F35 will now only attempt to enter Hover at low altitudes, though it will maintain the hover until forward flight is resumed, even if it reaches high altitude.</span><br />
<span style="color: #808080;"> -The F35 and SU35 now properly have Ejection seats to prevent players from being killed when exiting the vehicle.</span><br />
<span style="color: #808080;"> -Changed the Kornets to TOW launchers on Wake Island and moved the spawn position of the AAV to a more level position.</span><br />
<span style="color: #808080;"> -Fixed several bugs with air vehicles colliding with objects at high speeds and taking no damage.</span><br />
<span style="color: #808080;"> -Players will no longer receive suicides or team kills if they crash their vehicle (dying is punishment enough).</span><br />
<span style="color: #808080;"> -The MAV will no longer destroy vehicles that run into it, instead it should be destroyed.</span><br />
<span style="color: #808080;"> -Jet and Helicopter collisions should now properly result in the death of both vehicles.</span><br />
<span style="color: #808080;"> -You can now spot with the EOD bot.</span><br />
<span style="color: #808080;"> -Increased the base accuracy for AA guns and added a decrease in accuracy over the course of a burst.</span><br />
<span style="color: #808080;"> -Reduced the damage AA guns (both mobile and stationary) do to infantry.</span><br />
<span style="color: #808080;"> -The carrier based CRAM stations are now properly tracked as stationary weapons.</span><br />
<span style="color: #808080;"> -CRAM and Pantsir stationary AA weapons now have Air Radar equipped by default.</span><br />
<span style="color: #808080;"> -Improved the sound feedback for damage to help players better understand the amount of damage their vehicle is taking.</span><br />
<span style="color: #808080;"> -The A10′s extinguisher should now function properly.</span><br />
<span style="color: #808080;"> -Disabled vehicles now have an increased reverse speed to help escape to cover after being disabled.</span><br />
<span style="color: #808080;"> -The T90′s crosshair now more accurately represents the trajectory of the main gun.</span><br />
<span style="color: #808080;"> -Toggle and Hold zoom settings now also apply to soldier controlled turrets on jeeps, transport helicopters, boats, and IFVs port guns.</span><br />
<span style="color: #808080;"> -The AAV now has zoom and a 3P camera when using the turret.</span><br />
<span style="color: #808080;"> -Tweaked the AAV’s turret controls to be more useful when the vehicle is moving.</span><br />
<span style="color: #808080;"> -The Z11w now properly functions with Below Radar.</span><br />
<span style="color: #808080;"> -Below Radar will now also prevent the lock on of Stinger and IGLA missiles.</span><br />
<span style="color: #808080;"> -Added Horns to all Jeeps.</span><br />
<span style="color: #808080;"> -Tanks can no longer drive into the water and cross the Wake Island lagoon completely submerged.</span></p>
<p><span style="color: #808080;"><strong>WEAPONS<br />
</strong><em>Several weapons have had recoil or accuracy adjusted in orer to balance these weapons in effectiveness and also increase the feeling of individuality in each gun</em></span></p>
<p><span style="color: #808080;">-Added Extended Mags to the ASVAL. The Extended Mags can be unlocked at 200 kills with the AS VAL.</span><br />
<span style="color: #808080;"> -Reduced the recoil of the SKS rifle and increased its maximum damage at close range.</span><br />
<span style="color: #808080;"> -Fixed aimed firing max accuracy on the Pecheneg to be consistent with other LMGs.</span><br />
<span style="color: #808080;"> -Semiautomatic and automatic shotguns firing FRAG rounds now do slightly less splash damage.</span><br />
<span style="color: #808080;"> -The M26 MASS frag and slug rounds are now the more effective pump action versions.</span><br />
<span style="color: #808080;"> -The M26 MASS and M320 now benefit from the Laser Sight when mounted with an Underslung Rail.</span><br />
<span style="color: #808080;"> -Fixed the bolt action timer on the L96 that would cause an animation glitch.</span><br />
<span style="color: #808080;"> -9x39mm rounds no longer benefit from the Sniper headshot bonus.</span><br />
<span style="color: #808080;"> -Increased the damage of the 9x39mm rounds at long range.</span><br />
<span style="color: #808080;"> -Fixed the AKS74u damage at max range, it was incorrectly higher than other carbines.</span><br />
<span style="color: #808080;"> -Increased the damage of the .357 and .44 magnum rounds at max range.</span><br />
<span style="color: #808080;"> -All semiautomatic and bolt weapons, including all shotgun slugs, now have their maximum damage out to 15m.</span><br />
<span style="color: #808080;"> -Semiautomatic weapons will no longer “jam” if the player presses fire faster than the weapon is capable of shooting. Some semi-automatic weapons have had their rates of fire adjusted to fit this change.</span><br />
<span style="color: #808080;"> -Bolt action sniper rounds now have a chance to kill at close range if the player is hit in the upper chest.</span><br />
<span style="color: #808080;"> -Semiautomatic sniper rifles, Assault Rifles, LMGs, and shotgun slugs now have more consistent damage over long range. At maximum range shots to the legs will not require more hits to kill.</span><br />
<span style="color: #808080;"> -The spread for Flechette rounds has been reduced slightly on all shotguns.</span><br />
<span style="color: #808080;"> -The spread for Buckshot has been reduced on the M1014, DAO-12, and S12k. These weapons have an accuracy advantage over the USAS12 but are not as accurate as the 870.</span><br />
<span style="color: #808080;"> -Zooming shotguns with Buckshot and Flechette loads will now result in a slightly tighter cone for the pellets.</span><br />
<span style="color: #808080;"> -Reduced the delay time between quick knife attempts slightly. Attacks with the knife drawn are still significantly faster.</span><br />
<span style="color: #808080;"> -Fixed the Rate of Fire when the USAS and MK3A1 are equipped with FRAG rounds. All other shotguns correctly had a reduced rate of fire with frags, except the USAS and MK3A1.</span><br />
<span style="color: #808080;"> -Fixed an Accuracy bug when the MK3A1 shotgun is equipped with FRAG or Slug rounds.</span><br />
<span style="color: #808080;"> -Shotguns equipped with slugs will no longer automatically begin reloading if the weapon is zoomed when the clip is empty. This allows players to see where the slug lands before reloading.</span><br />
<span style="color: #808080;"> -Fixed 12g FRAG rounds not breaking glass at long range.</span><br />
<span style="color: #808080;"> -Players can now earn the shotgun Ribbon using the M26 MASS.</span><br />
<span style="color: #808080;"> -The underslung grenade launchers for Russian rifles now properly report GP30 in the kill log.</span><br />
<span style="color: #808080;"> -Fixed the AEK971 40mm shotgun round listing itself as FRAG in the kill log.</span><br />
<span style="color: #808080;"> -Fixed the 40mm smoke grenade so it no longer passes through soldiers and unbroken objects before it detonates.<em><br />
</em> -M27 IAR: No change. The M27 is a heavier version of the M416, giving it good all-around performance though it has worse performance on the move.</span><br />
<span style="color: #808080;"> -RPK-74M: Reduced the initial recoil and vertical recoil. The RPK-74M is a more stable firing platform than the comparable M27, though it lacks the M27′s higher rate of fire.</span><br />
<span style="color: #808080;"> -M249: Added an initial recoil. The M249 is the fastest firing belt fed LMG, giving it superior suppressive and damage abilities. The initial recoil makes it a bit harder to run and gun, while making little overall impact on performance.</span><br />
<span style="color: #808080;"> -Type-88: Slightly increased the initial recoil, reduced muzzle drift. The Type88 fires the slowest of the medium caliber LMGs, though what it lacks in rate of fire it makes up for in controllability.</span><br />
<span style="color: #808080;"> -PKP: Reduced recoil but added a slight initial recoil, increased damage at max range. The Pecheneg has a heavy vertical recoil with a hard hitting round and little drift, this makes it excellent at sustained fire.</span><br />
<span style="color: #808080;"> -M60: Reduced the initial recoil, increased damage at all ranges. The M60 has a very low rate of fire that makes it the most controllable with the powerful 7.62x51mm round.</span><br />
<span style="color: #808080;"> -M240B: Added an initial recoil, increased damage at all ranges. The fastest firing medium MG, the M240 has a substantial muzzle kick and drift that makes all that power difficult to control.</span><br />
<span style="color: #808080;"> -QBB-95: Reduced the total recoil but increased muzzle drift and initial recoil. The QBB-95 should now kick harder but settle into full auto fire better, combined with the bullpup hip fire bonus this makes the QBB-95 a highly mobile LMG.</span><br />
<span style="color: #808080;"> -MG36: Added an initial recoil. The MG36 fires at a fast 750rpm and makes a nice middle ground between the controllability of a clip LMG and the sustained firepower of a belt fed LMG.</span><br />
<span style="color: #808080;"> -870: No change. The 870 is a popular and highly effective weapon.</span><br />
<span style="color: #808080;"> -DAO-12: Reduced the total pellets fired from 12 to 9. The DAO-12 has a high magazine capacity with a slow reload that makes it a solid all around shotgun.</span><br />
<span style="color: #808080;"> M1014: Increased the rate of fire from 200 max to 210 max. Reduced the total pellets fired from 12 to 9. The M1014 was underperforming compared to the USAS12 and 870, it should now be more viable in CQB thanks to a higher rate of fire.</span><br />
<span style="color: #808080;"> -S12k: Increased extended mag from 8 rounds to 10 rounds. Reduced the total pellets fired from 12 to 9. The S12k larger extended magazine but slower rate of fire should make it stand out against the M1014, while the DAO-12 has a higher capacity over all, but a slowe reload.</span><br />
<span style="color: #808080;"> -MK3A1: Increased magazine capacity to 8 and 12 for normal and extended mag respectively. Reduced the total pellets fired from 12 to 9. The MK3A1 has a lower ROF than the USAS12, giving it slightly more ammo makes this an edge vs the USAS.</span><br />
<span style="color: #808080;"> USAS-12: Increased the initial recoil. Reduced the total pellets fired from 12 to 9. The USAS 12 has a higher ROF than other shotguns, this recoil change better balances that advantage and the pellets balance its damage output.</span><br />
<span style="color: #808080;"> -M4A1: No Change. Well-rounded carbine, with good rate of fire and controllable recoil.</span><br />
<span style="color: #808080;"> -M4: Increased vertical recoil, reduced horizontal recoil. The Burst only M4 should now feel different to its automatic sibling, the reduced horizontal recoil emphasizes the greater control you have in burst fire.</span><br />
<span style="color: #808080;"> -AKS-74U: Reduced initial recoil and vertical recoil. The AKS-74u’s low rate of fire is paired with great controllability. The overall increase in sustained fire control should help this carbine stand out, while the first kick gives it character.</span><br />
<span style="color: #808080;"> -SG553: Reduced initial recoil and vertical recoil. The SG553 is a lower rate of fire carbine with greater controllability than the G36C. The change to initial recoil should better highlight this difference.</span><br />
<span style="color: #808080;"> -A91: No Change. The A91′s high rate of fire and bullpup from the hip accuracy is offset by a poor controllability on full auto.</span><br />
<span style="color: #808080;"> -G36C: Reduced initial recoil. The G36C is a well-rounded carbine, with a medium rate of fire and a medium recoil. The 2 round burst mode gives this weapon an edge at mid-range.</span><br />
<span style="color: #808080;"> -SCAR-H: Increased damage at maximum range and increased max range. The SCAR-H fires a heavier round than all other carbines, giving it better stopping power at range at the cost of a low fire rate that penalizes it in CQB.</span><br />
<span style="color: #808080;"> -G53: Reduced recoil and drift, recoil settle times now similar to other carbines. The HK53 is a short carbine with a lot of initial kick but a stable recoil pattern and a medium rate of fire. The changes give it more character compared to the G36.</span><br />
<span style="color: #808080;"> -QBZ-95B: Reduced muzzle sway, recoil settle times now similar to other carbines. A bullpup like the A91, the QBZ-95B is steady on the move with a lower rate of fire for controllable shots at longer range. The built in foregrip is now properly reflected in the weapon’s stats.</span><br />
<span style="color: #808080;"> -AK-74M: Reduced initial recoil and vertical recoil. The AK-74M sacrifices rate of fire for controllable automatic fire, the initial recoil was negatively affecting the feeling of controllability.</span><br />
<span style="color: #808080;"> -M16A3: No Change. The M16 (both A3 and A4) provide a well-rounded stable firing platform with a high rate of fire that is relatively controllable.</span><br />
<span style="color: #808080;"> -M16A4: Increased vertical recoil, reduced horizontal recoil. The Burst only M16A4 should now feel different to its automatic sibling, the reduced horizontal recoil emphasizes the greater control you have in burst fire.</span><br />
<span style="color: #808080;"> -M416: No change. The M416 is the middle ground AR, blending a medium recoil and rate of fire.</span><br />
<span style="color: #808080;"> AEK-971: Increased initial recoil, reduced aimed accuracy slightly. The AEK has a very high rate of fire, and also a large muzzle drift that makes control difficult. The low initial recoil allowed a player to kill before the weapon’s weaknesses kicked in while the reduced accuracy highlights its close range role.</span><br />
<span style="color: #808080;"> -F2000: Reduced vertical recoil, increased zoomed accuracy slightly. As a bullpup, the F2000 has a bonus to accuracy on the move and from the hip while its high rate of fire sacrifices controllability for saturation. The previous changes were an overreaction, this is a corrective update.</span><br />
<span style="color: #808080;"> -AN94: Reduced vertical recoil. The AN94′s 2 round burst mode is incredibly accurate, but it suffers from a low rate of fire on fully automatic. The recoil in full auto has been reduced somewhat to offset this penalty and make the AN94 more attractive.</span><br />
<span style="color: #808080;"> -G3A3: Increased damage at all ranges, reduced vertical recoil. The G3A3′s heavy recoil and heavy round are offset by a low rate of fire and a small magazine. The G3A3 was clearly outclassed at all ranges.</span><br />
<span style="color: #808080;"> -KH2002: No Change. The KH2002 is locked to burst fire, with a high rate of fire and a large muzzle drift the weapon favors accurate mid-range fire.</span><br />
<span style="color: #808080;"> -L85A2: Increased accuracy, reduced muzzle drift. The L85 differs from other bullpup style ARs by having a low rate of fire, the accuracy and controllability were too low to offset the rate of fire.</span><br />
<span style="color: #808080;"> -FAMAS: The FAMAS combines an extreme rate of fire with extreme recoil making it very difficult to use at anything other than close quarters combat. Due to update restrictions, the FAMAS had different stats on all 3 platforms. The FAMAS is now uniform on all platforms and now has the correct 25 round magazine.</span><br />
<span style="color: #808080;"> -PP2000: Reduced the initial recoil. The PP2000 has a lower ROF than other PDWs and needed the controllability to be balanced.</span><br />
<span style="color: #808080;"> -UMP45: Reduced accuracy loss during full auto. The UMP45 hits hard and has a controllable recoil at the cost of a heavy initial recoil kick.</span><br />
<span style="color: #808080;"> -MP7: No Change. The MP7 has a very low recoil and a high muzzle drift that favors longer bursts than the P90.</span><br />
<span style="color: #808080;"> -AS VAL: Increased vertical recoil, reduced first shot recoil, reduced accuracy on the move. The AS VAL fires a long range, highly accurate, high damage projectile that favors short bursts or single fire when stationary. While still quite good from the hip, the AS VAL will suffer if fired while moving and aimed.</span><br />
<span style="color: #808080;"> -PDW-R: Reduced the initial recoil. The PDW-R has high recoil and favors burst fire, the added initial recoil was making it less effective in small bursts.</span><br />
<span style="color: #808080;"> -P90: Reduced the initial recoil. The P90 favors a run and gun play style using long bursts to control muzzle drift, the initial recoil was making bursting ineffective.</span><br />
<span style="color: #808080;"> -PP-19: Slightly reduced the initial recoil when firing, increased base damage. The PP-19′s high initial recoil was over penalizing the burst fire needed to be effective on the low damage, high capacity weapon.</span></p>
<p><span style="color: #808080;"><strong>SCOPES</strong></span><br />
<span style="color: #808080;"> -Fixed the 7x scope not zooming to the full 7x on all weapons.</span><br />
<span style="color: #808080;"> -Corrected the M39′s laser sight so it points at the point of impact and aligns with scopes when zoomed.</span><br />
<span style="color: #808080;"> -Fixed a misaligned scope crosshair on the G3A3 using the Rifle Scope 6x.</span><br />
<span style="color: #808080;"> -Fixed the PKA and PKA-S scopes on the M416 having swapped zoom levels.</span><br />
<span style="color: #808080;"> -The L96 Straight Pull bolt now functions properly.</span><br />
<span style="color: #808080;"> -The L96 ironsights have been adjusted for a clearer aiming picture and correct use of the integral front sight.</span><br />
<span style="color: #808080;"> -The L96 now properly shows scope glint when using the 8x, and 12x scopes.</span><br />
<span style="color: #808080;"> -Tweaked IRNV to be more consistent across all levels.</span><br />
<span style="color: #808080;"> -Fixed a rendering issue with IRNV view when taking damage.</span><br />
<span style="color: #808080;"> -Tweaked the IRNV zoom times and scope visible areas to be the same across all weapons (some were faster than others).</span><br />
<span style="color: #808080;"> -Fixed the QBU-88 sniper and the L96 IRNV scopes to use the proper sniper reticule</span></p>
<p><span style="color: #808080;"><strong>BIPOD</strong></span><br />
<span style="color: #808080;"> -The Accuracy increase and Recoil reduction of the Bipod has been significantly improved for Assault Rifles and Carbines.</span><br />
<span style="color: #808080;"> -The Bipod now provides similar Accuracy and Recoil benefits no matter if the weapon is fired while aiming or without aiming for all weapons. Previously only LMGs were worked this way. This especially improves the speed at which snipers can make follow up shots, and also allows effective unaimed suppressive fire with Assault Rifles and Carbines.</span><br />
<span style="color: #808080;"> -Increased the Speed at which a bipod is deployed, allowing the user to obtain the bipod’s bonus sooner after the deploy has started and allowing the weapon to be aimed in a far shorter time. The speed has been increased 40-50%, depending on the weapon and animation.</span></p>
<p><span style="color: #808080;"><strong>HEAVY BARREL</strong></span><br />
<span style="color: #808080;"> -The Vertical Recoil penalty of the Heavy Barrel has been reduced. The value has been changed from a global percent increase to a weapon specific value.</span><br />
<span style="color: #808080;"> -A small Hip Accuracy penalty has been added to the Heavy Barrel to represent the added weight of the accessory, as well as focus the attachment on accurate mid and long range fire. The exact penalty amount is a weapon specific value.</span><br />
<span style="color: #808080;"> -Several weapons with low default bullet speed now have their bullet speed increased when the Heavy Barrel is equipped. This is in effect for the A91, G3A3, AKS-74u, G36C, M4A1, SCAR-H, SG553, G53, and QBZ-95B.</span><br />
<span style="color: #808080;"> -The Heavy Barrel is now also paired with Match Rounds which increase the maximum range of the weapon. The minimum and maximum damage are unchanged, weapons with the Heavy Barrel will be more effective in mid range.</span><br />
<span style="color: #808080;"> -The Aimed Accuracy bonus provided by the Heavy Barrel has been increased. This will increase the effectiveness of the Heavy Barrel for small bursts, as originally intended.</span></p>
<p><span style="color: #808080;"><strong>IRNV FIXES</strong></span><br />
<span style="color: #808080;"> -Tweaked IRNV to be more consistent across all levels.</span><br />
<span style="color: #808080;"> -Fixed a rendering issue with IRNV view when taking damage.</span><br />
<span style="color: #808080;"> -Tweaked the IRNV zoom times and scope visible areas to be the same across all weapons (some were faster than others).</span><br />
<span style="color: #808080;"> -Fixed the QBU-88 sniper and the L96 IRNV scopes to use the proper sniper reticule.</span></p>
<p><span style="color: #808080;"><strong>FOREGRIP</strong></span><br />
<span style="color: #808080;"> -The Horizontal Sway reduction has been changed from a global percent reduction to a weapon specific value reduction. For most guns this means very little change, for guns which have a large horizontal recoil the change is more substation. The FAMAS, F2000, and AEK971 are most effected, the AK-74, M16, and M416 are nearly unchanged.</span><br />
<span style="color: #808080;"> -A small long range Aimed Accuracy penalty has been added to the foregrip. Players who generally find themselves fighting at mid to long range may want to change their accessory, while players fighting in CQB will go largely unaffected. Combining the Foregrip with a Silencer or a Heavy Barrel will offset this penalty.</span></p>
<p><span style="color: #808080;"><strong>LASER SIGHT<br />
</strong>-The Hip Accuracy bonus provided by the Laser Sight has been increased. Some PDWs have had their crouch and prone base stats adjusted to prevent hip firing being more accurate than aimed fire when using a laser sight.</span><br />
<span style="color: #808080;"> -The bonus is now a weapon specific value instead of a global percentage, some guns receive larger or smaller bonuses, though all bonuses are better than they were previously.</span></p>
<p><span style="color: #808080;"><strong>SUPPRESSOR<br />
</strong>-The Suppressor no longer reduces the maximum damage of a weapon when equipped. Instead the Suppressor reduces the minimum and maximum range of the weapon, making it ideal for CQB and Stealth. This change will make the Suppressor slightly more effective at long range, where the bullet drop and speed makes shots difficult already, and reduces the power of the suppressor at mid range slightly.</span><br />
<span style="color: #808080;"> -The Suppressor’s recoil bonus remains unchanged at a global 10% decrease. This is less than the Flash Suppressor’s bonus for all weapons.</span><br />
<span style="color: #808080;"> -The Hip Accuracy penalty of the Suppressor has been changed from a global percentage to a per weapon value. Generally this penalty is higher now, but not for all weapons. Specifically, the belt LMGs and bolt Snipers do not have any additional hip fire penalty, as their penalty is already at the maximum possible value.</span><br />
<span style="color: #808080;"> -Reduced the Aimed Accuracy bonus of the Suppressor from 50% to 25%. A Suppressor and Foregrip combo will have similar accuracy to a weapon without any Accessories, at the penalty of worse Hip Fire Accuracy and Range and with the benefit of much improved Stealth and reduced Recoil.</span></p>
<p><span style="color: #808080;"><strong>FLASH SUPPRESSOR</strong></span><br />
<span style="color: #808080;"> -The Flash Suppressor no longer reduces accuracy for Automatic Fire.</span><br />
<span style="color: #808080;"> -The Flash Suppressor now also works as a recoil compensator, reducing the Vertical Recoil by a weapon specific value. This bonus is larger than the bonus provided by the Suppressor.</span><br />
<span style="color: #808080;"> -A small Hip Accuracy penalty has been added to the Flash Suppressor to represent the added weight of the accessory. The exact penalty amount is a weapon specific value.</span></p>
<p><span style="color: #808080;"><strong>GADGETS</strong></span><br />
<span style="color: #808080;"> -Reduced the spot times on C4 and Claymore projectiles from 30 to 15 sec.</span><br />
<span style="color: #808080;"> -Tweaked the controls and physics for the EOD bot to improve its handling and aiming capabilities.</span><br />
<span style="color: #808080;"> -The Radio Beacon, Mortar, MAV, EOD bot, T-UGS, and SOFLAM should now be much easier to deploy.</span><br />
<span style="color: #808080;"> -The MAV will now be destroyed when running into a soldier or vehicle at high speed. It is still possible to strategically sacrifice your MAV on a soldier; it will be destroyed in the process.</span><br />
<span style="color: #808080;"> -The MAV now properly shows up in the Kill Feed. Previously it simply displayed “KILLED.”</span><br />
<span style="color: #808080;"> -The MAV can no longer be used as an elevator.</span><br />
<span style="color: #808080;"> -Matched the motion sensor sweep frequency and range on the MAV to the TUGS.</span><br />
<span style="color: #808080;"> -Players will no longer auto enter SOFLAM, MAV, and EOD bots after they are deployed.</span><br />
<span style="color: #808080;"> -Players may now use their knife to destroy enemy equipment.</span><br />
<span style="color: #808080;"> -C4 will no longer be detonable after a player respawns, if the player is revived within 5 seconds he can still detonate his C4.</span><br />
<span style="color: #808080;"> -The player may now have a maximum number of mines which will persist after the player’s death. Deploying more than the maximum of 6 mines will remove a previous mine from the world.</span><br />
<span style="color: #808080;"> -Claymores now live up to 5 seconds after a player dies, the player can have a max 2 claymores planted at the same time.</span><br />
<span style="color: #808080;"> -Claymores can now detonate from vehicles and can be used to disable jeeps or kill the passengers in light jeeps. Claymores will not do any damage to heavy vehicles.</span><br />
<span style="color: #808080;"> -Ammobags now stay until the user redeploys them like Medkits.</span><br />
<span style="color: #808080;"> -Ammobags resupply bullets more quickly, but explosives resupply more slowly, especially 40mm grenades.</span><br />
<span style="color: #808080;"> -Slightly reduced the effective blast radius of the RPG, SMAW, and 40mm grenade projectiles against infantry.</span><br />
<span style="color: #808080;"> -Reduced the total number of RPG and SMAW missiles carried from 5 to 4. Players desiring more rockets will want to use the Explosive spec.</span><br />
<span style="color: #808080;"> -Slightly increased the heal rate of the Medical Crate.</span><br />
<span style="color: #808080;"> -The MAV now will also descend by pressing the Crouch Toggle key. (PC)</span><br />
<span style="color: #808080;"> -The M224 Mortar can no longer be deployed in an area that is out of combat for another team like a home base or other protected spawn.</span><br />
<span style="color: #808080;"> -Tweaked M224 exit points so the player faces in the direction of the mortar when he exits.</span><br />
<span style="color: #808080;"> -Mines, Claymores, C4 and other deployable items will now only appear on the minimap when spotted by a teammate.</span></p>
<p><span style="color: #808080;"><strong>TEAM DEATHMATCH</strong></span><br />
<span style="color: #808080;"> -Fixed a bug where players would spawn close to the enemy team at the start of the round.</span><br />
<span style="color: #808080;"> -Tehran Highway playable area has been doubled and is now the same as the Squad Deathmatch set up. Spawn points have been tweaked, and an extra spawn zone has been added north of the footbridge.</span><br />
<span style="color: #808080;"> -Kharg Island has a new spawn zone layout, along with a bigger playable area and new cover objects. Spawn points have also been tweaked.</span><br />
<span style="color: #808080;"> -Strike at Karkand spawns zones have been tweaked to improve player flow. Spawn points have been tweaked to improve safety upon spawning.</span><br />
<span style="color: #808080;"> -Sharqi Peninsula spawn zones have been adjusted to optimize player movement. Spawn points have been tweaked so players spawn more safely.</span><br />
<span style="color: #808080;"> -Seine Crossing spawn zone set up has been improved. There is a new spawn zone by the alleyway to the northwest with additional spawn points.</span><br />
<span style="color: #808080;"> -Caspain Border spawn zones have been tweaked slightly.</span></p>
<p><span style="color: #808080;"><strong>SQUAD DEATHMATCH</strong></span><br />
<span style="color: #808080;"> -Fixed a bug where players would spawn close to the enemy team at the start of the round.</span><br />
<span style="color: #808080;"> -Damavand Peak layout and spawn zones have been tightened to reduce the spread of players across the map</span><br />
<span style="color: #808080;"> -Tehran Highway now features an extra spawn zone north of the footbridge, along with tweaked spawn points.</span><br />
<span style="color: #808080;"> -Noshahr Canals spawn zones have been tweaked. Removed unsafe spawn points in the Northeast corner, and in the middle of the container area to the Southwest.</span></p>
<p><span style="color: #808080;"><strong>DISABLE ANTI-ALIASING ON PS3 TO REDUCE INPUT LAG</strong></span><br />
<span style="color: #808080;"> PlayStation 3 players may now turn off anti-alias in the options menu to reduce input lag.</span></p>
<p><span style="color: #808080;"><strong>IMPROVED COMMO-ROSE FOR PC<br />
</strong><img style="border-width: 1px; border-color: black; border-style: solid;" src="http://blogscdn.battlefield.com/wp-content/uploads/2012/03/commorose1-640x164.jpg" alt="" width="640" height="164" /></span></p>
<p><span style="color: #808080;">As has been rumored for some time, we are making some improvements to the commo-rose on PC. This is partially based on feedback from the community.</span></p>
<p><span style="color: #808080;">Please be aware that the commo-rose will change depending on your current position – vehicles and infantry each have separate call outs. Each function should trigger appropriate voice messages as well as icons on the mini map.</span></p>
<p><span style="color: #808080;"><img class="size-full wp-image-3336 alignnone" style="border-width: 1px; border-color: black; border-style: solid;" src="http://blogscdn.battlefield.com/wp-content/uploads/2012/03/callout.jpg" alt="" width="137" height="201" /></span></p>
<p><span style="color: #808080;">Each button should trigger appropriate voice messages as well as icons on the mini map.  Players should keep an eye on the mini map for these icons that will flash when a team mate is requesting aid via the commo-rose.</span></p>
<p>&nbsp;</p>
<p><span style="color: #808080;"><strong>IMPROVEMENTS TO MINIMAP</strong></span><br />
<span style="color: #808080;"> we are also adjusting the level of detail to give a clearer picture for players when using the mini-map.</span><br />
<span style="color: #808080;"> The three new mini map modes are:</span><br />
<span style="color: #808080;"> <strong><img class="size-full wp-image-3369 alignnone" src="http://blogscdn.battlefield.com/wp-content/uploads/2012/03/minimaps1.jpg" alt="" width="585" height="313" /></strong></span></p>
<p>Read the article here:</p>
<p><a href="http://blogs.battlefield.com/2012/03/game-update-will-drop-on-the-27th-of-march-for-playstation-3-xbox-360-and-pc-will-come-soon/">Game Update will drop on the 27th of March for PlayStation 3. Xbox 360 and PC will come soon.</a></p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=1133&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/1133/battlefield-3-update-27th-of-march-for-playstation-3-xbox-360-and-pc-will-come-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Truth About SOPA and PIPA</title>
		<link>http://bgallz.org/1072/truth-about-sopa-pipa/</link>
		<comments>http://bgallz.org/1072/truth-about-sopa-pipa/#comments</comments>
		<pubDate>Tue, 13 Mar 2012 02:03:09 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[censorship]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[government]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[pipa]]></category>
		<category><![CDATA[piracy]]></category>
		<category><![CDATA[sopa]]></category>
		<category><![CDATA[speech]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=1072</guid>
		<description><![CDATA[So, you might have heard some word about these bills &#8220;SOPA&#8221; (Stop Online Piracy Act) and &#8220;PIPA&#8221; (Protect IP Act). These bills were established October 26th, 2011 with the introduction of SOPA from the House of Representatives congressman &#8211; Lamar S. Smith. Basically the reason for the creation of these acts is to put an [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1075" class="wp-caption alignright" style="width: 310px"><a href="http://bgallz.org/wp-content/uploads/2012/03/sopa-pipa-featured.gif"><img class="size-medium wp-image-1075" title="Stop SOPA and PIPA" src="http://bgallz.org/wp-content/uploads/2012/03/sopa-pipa-featured-300x119.gif" alt="Stop SOPA and PIPA" width="300" height="119" /></a><p class="wp-caption-text">Protect your online rights! Stop SOPA &amp; PIPA!</p></div>
<p>So, you might have heard some word about these bills &#8220;SOPA&#8221; (Stop Online Piracy Act) and &#8220;PIPA&#8221; (Protect IP Act). These bills were established October 26th, 2011 with the introduction of SOPA from the House of Representatives congressman &#8211; Lamar S. Smith. Basically the reason for the creation of these acts is to put an end to online piracy and the spread of illegally downloaded software, games, music, you name it. These bills come from the constant demand for intellectual property protection from organizations such as <a href="http://universalmusic.com/" target="_blank">Universal Media Group</a>, <a href="http://www.riaa.com/" target="_blank">RIAA</a>, and the <a href="http://www.mpaa.org/" target="_blank">MPAA</a>. While this may seem like a very necessary and helpful action, the true potential of these bills is in fact far from its proclaimed intent.</p>
<h2>What does SOPA and PIPA mean to you?</h2>
<p>Together, these bills will allow for full censorship of the world-wide-web, otherwise known as the internet. What does that mean? It means that whatever you post on your Facebook, Twitter, Youtube, or whatever it may be &#8211; is up for revision by the U.S. government. Sounds a little bit like the censorship of the internet taking place in the <a title="Censorship of the Chinese Internet" href="http://topics.nytimes.com/topics/news/international/countriesandterritories/china/internet_censorship/index.html" target="_blank">People&#8217;s Republic of China</a>, doesn&#8217;t it? That&#8217;s because it ultimately <strong>IS</strong>.</p>
<p>Let&#8217;s say you post a video on Youtube, whatever the intent of the video may be, and you include a song in that video. If you do not personally own the rights to that song, that video will be removed. Think of all the videos on Youtube right now that fit that description&#8230; That is a LOT of content, just gone now. Or maybe you post an image on your Facebook, something you found funny or just liked. Once again, that being an image you do not personally own, will be removed. This affects a lot of content and innovation that we all love so much on the web.</p>
<p>Here&#8217;s what will happen if SOPA and PIPA become laws of the U.S. constitution:</p>
<ul>
<li><strong>Security threats</strong> &#8211; countless websites will be forced to modify their software opening security holes and increased vulnerability to their websites.</li>
<li><strong>Free Speech Infringement</strong> &#8211; the government controls what you can and can&#8217;t publish to what was once the worlds greatest free information resource.</li>
<li><strong>Innovation Out the Window</strong> &#8211; developers and publishers will have a very hard time establishing government-approved content and products.</li>
<li>&#8220;<strong>Internet Police</strong>&#8221; &#8211; The federal government will be using ISPs, cable companies, web hosts, etc. as their task force to achieved a censored internet.</li>
</ul>
<p>That is just the quick summary of what these bills could mean. Maybe the bill sponsors Lamar Smith and Patrick Leahy didn&#8217;t intend on infringing on free speech or basically destroying the internet we all know and love, but that is exactly what these bills threaten to do if passed.</p>
<p>The sad part is that there are other ways to run a business in these industries without violating U.S. law or taking part in online piracy. Services such as iTunes, Steam, Pandora, and Last-FM all offer services for digital goods like music, movies, and games, and they do it LEGALLY. All it takes is a little innovation to provide a better service like these organizations do. What does the federal government want to do? Take full control of the internet and online life.</p>
<h2>What can you do?</h2>
<p>I know it seems like there isn&#8217;t much you can do about this sort of thing, but you are the ones that CAN. Contact your local representatives office and give them a piece of your mind!</p>
<p>Find and contact your local representative:<br />
<a href="https://writerep.house.gov/writerep/welcome.shtml" target="_blank">https://writerep.house.gov/writerep/welcome.shtml</a></p>
<p>Join the fight against online censorship:<br />
<a href="http://americancensorship.org/" target="_blank">http://americancensorship.org/</a></p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=1072&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/1072/truth-about-sopa-pipa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a Battlefield 3 Machine</title>
		<link>http://bgallz.org/1023/building-battlefield-3-machine/</link>
		<comments>http://bgallz.org/1023/building-battlefield-3-machine/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 03:17:27 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[amd]]></category>
		<category><![CDATA[battlefield 3]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[building]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[motherboard]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[processor]]></category>
		<category><![CDATA[video card]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=1023</guid>
		<description><![CDATA[Battlefield 3 will hit the shelves October 25th, 2011 for the PC, Xbox 360, and Playstation 3. If you are a PC gamer you know you are going to want a powerful machine to experience this much anticipated release. Battlefield 3 introduces the Frostbite 2.0 engine which is based on the 1.5 engine seen in [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1079" class="wp-caption alignright" style="width: 310px"><a href="http://bgallz.org/wp-content/uploads/2011/08/battlefield-3-featured.gif"><img class="size-medium wp-image-1079" title="battlefield-3-featured" src="http://bgallz.org/wp-content/uploads/2011/08/battlefield-3-featured-300x119.gif" alt="How to Build a Battlefield 3 PC" width="300" height="119" /></a><p class="wp-caption-text">Build Your Battlefield 3 PC Cheap and Right!</p></div>
<p>Battlefield 3 will hit the shelves October 25th, 2011 for the PC, Xbox 360, and Playstation 3. If you are a PC gamer you know you are going to want a powerful machine to experience this much anticipated release. Battlefield 3 introduces the Frostbite 2.0 engine which is based on the 1.5 engine seen in Bad Company 2, so the system requirements will be similar.</p>
<p><span style="color: #666699;"><strong>Minimum System Requirements:</strong></span></p>
<p><span style="color: #666699;"><span style="text-decoration: underline;">OS</span>: Windows Vista or Windows 7</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Processor</span>: Core 2 Duo @ 2.0GHz</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">RAM</span>: 2GB</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Graphic card</span>: DirectX 10 or 11 compatible Nvidia or AMD ATI card.</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Graphics card memory</span>: 512 MB</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Hard drive</span>: 15 GB for disc version or 10 GB for digital version</span></p>
<p><span style="color: #666699;"><strong>Recommended System Requirements:</strong></span></p>
<p><span style="color: #666699;"><span style="text-decoration: underline;">OS</span>: Windows 7 64-bit</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Processor</span>: Quad-core Intel or AMD CPU</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">RAM</span>: 4GB</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Graphics card</span>: DirectX 11 Nvidia or AMD ATI card, GeForce GTX 460, Radeon Radeon HD 6850</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Graphics card memory</span>: 1 GB</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Hard drive</span>: 15 GB for disc version or 10 GB for digital version</span></p>
<h2>My Battlefield 3 Gaming Machine</h2>
<p><strong>CPU / Processor:</strong><br />
AMD Phenom II X6 1090T Black Edition Thuban 3.2GHz<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16819103849" target="_blank">http://www.newegg.com/Product/Produc&#8230;82E16819103849</a></p>
<p><strong>Motherboard:</strong><br />
GIGABYTE GA-990XA-UD3 AM3+ AMD 990X<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16813128510" target="_blank">http://www.newegg.com/Product/Produc&#8230;82E16813128510</a></p>
<p><strong>Video Card:</strong><br />
SAPPHIRE 100315L Radeon HD 6850 1GB 256-bit GDDR5<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16814102908" target="_blank">http://www.newegg.com/Product/Produc&#8230;82E16814102908</a></p>
<p>with 8GB 1333 DDR3 memory and my current power supply / case which will fit the new components well.</p>
<p>Take the build found here in this article:<br />
<a href="http://pc.mmgn.com/Articles/Building-A-PC-For-Battlefield-3" target="_blank"> http://pc.mmgn.com/Articles/Building-A-PC-For-Battlefield-3</a></p>
<p>This build budget is <span style="color: #ff0000;"><strong>$1000</strong></span>.</p>
<p>With the 3 components I have above I am at $445 with a promotional code (<strong>HARDOCPX817E</strong>) on the processor. This promotion ends <span style="text-decoration: underline;">TODAY</span> &#8211; 8/23/11.</p>
<p>If I added on a Power Supply, HDD, CPU cooler, Case, DVD Drive, and memory:</p>
<p><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16817341018">OCZ ModXStream Pro 700W</a> &#8211; <span style="color: #ff0000;">$59.99</span> (After rebate) + Free Shipping<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822136073">Western Digital WD5000AAKS 500GB</a> &#8211; <span style="color: #ff0000;">$49.99 + <span style="color: #000000;">Free Shipping</span><br />
<span style="color: #000000;"><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16835118059">ZALMAN CNPS10X Performa 120mm</a> &#8211; <span style="color: #ff0000;">$40.24</span></span></span> &#8211; Free Shipping<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16811147153">Rosewill CHALLENGER Black Gaming ATX Mid Tower Computer Case</a> &#8211; $49.99 + $9.99 Shipping<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16827118039">Sony Optiarc CD/DVD Burner Drive</a> &#8211; <span style="color: #ff0000;">$19.99</span><span style="color: #000000;"> + Free Shipping<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16820231311">G.SKILL Ripjaws Series 8GB (2 x 4GB)</a> &#8211; <span style="color: #ff0000;">$49.99</span> + Free Shipping</span></p>
<h3><strong>Total</strong>: <span style="text-decoration: underline;"><strong><span style="color: #ff0000;">$749</span></strong></span> (Plus Tax)<br />
Saved: <span style="color: #008000;"><strong>$250!</strong></span><span style="color: #ff0000;"><span style="color: #000000;"><span style="color: #ff0000;"><br />
</span></span></span></h3>
<p>Now whether you are looking to put together a new computer all together or just upgrade some components, this may be helpful to you.</p>
<p>1. <span style="text-decoration: underline;"><strong>Establish your price range</strong></span> &#8211; Sounds simple, but careful &#8211; you may find yourself stretching your boundaries reaching for some luxurious hardware.</p>
<p>2. <span style="text-decoration: underline;"><strong>Look for the deals</strong></span> &#8211; Always look for specials online for websites like <a href="http://newegg.com/">Newegg.com</a> and <a href="http://www.tigerdirect.com/">TigerDirect.com</a>.</p>
<p style="padding-left: 30px;">Promotional codes and coupons can be found online  as well from places like <a href="http://www.retailmenot.com/">RetailMeNot.com</a> or Google. It pays to be patient as well for some upcoming deals for PC components. Check combo deals as well online for Motherboards/CPU&#8217;s or GPU/CPU&#8217;s.</p>
<p>3. <span style="text-decoration: underline;"><strong>Check compatibility</strong></span> -  It is <strong>very</strong> important when picking out computer parts to make sure they are compatible with everything else you are getting or with what you are keeping in your system.</p>
<p style="padding-left: 30px;">With Processors (CPU&#8217;s) you want to make sure your motherboard and CPU are both either Intel or AMD. For example my processor is &#8220;<strong>AMD</strong> Phenom II X6 1090T Black Edition&#8221; and my motherboard is &#8220;GIGABYTE GA-990XA-UD3 <strong>AM3+ AMD</strong> 990X.&#8221; Both are AMD. You also want to make sure that the motherboard accepts the CPU socket type of your processor. My CPU socket type is &#8220;<strong>Socket AM3</strong>&#8221; and if you look under details on my motherboard it says &#8220;CPU Socket Type: <strong>AM3+</strong>.&#8221; Your power supply must also have the power inputs that match your motherboard&#8217;s CPU power input. My motherboard has a 8 pin spot for the CPU and my power supply has that input.</p>
<p style="padding-left: 30px;">You also want to make sure your <span style="text-decoration: underline;">motherboard</span> is compatible with both the <span style="text-decoration: underline;">video card</span> and <span style="text-decoration: underline;">memory</span> you have. Most motherboards have multiple &#8220;PCI Express 2.0 x16&#8243; inputs. You will need at least one for your video card and more than one if you plan on having other components that will use these inputs (sound card, 2nd video card, etc.) The video card must also have the same &#8220;Chipset Manufacturer&#8221; as the motherboard/CPU brand (Intel or AMD). You should also check if features that are available from your video card are possible through your motherboard, such as SLI and CrossfireX. If you are getting a video card for any games (Battlefield 3) make sure it is <strong>DirectX11</strong> under <strong>3D API DirectX</strong>.</p>
<p style="padding-left: 30px;">Most memory online and in stores now is DDR3. If you are upgrading your motherboard you will need to make sure the memory you will have is a compatible speed and type.  If you look at &#8220;Memory Standard&#8221; under details for my motherboard it says &#8220;<strong>DDR3 2000(O.C.)/1866/1600/1333/1066</strong>.&#8221; So it is DDR3 and runs at those speeds &#8211; 2000 is &#8220;Over Clocked.&#8221; My memory is <strong>8GB DDR3 1600MHz</strong> so it is compatible.</p>
<p>Here is my motherboard layout:</p>
<p><img class="alignnone" title="Motherboard Layout" src="http://i671.photobucket.com/albums/vv77/bgallz/motherboard.gif" alt="" width="511" height="382" /></p>
<p>Enjoy building your new PC! Post your builds here or at <a href="http://bfgamerz.com/forum/showthread.php?p=1435#post1435">BFGamerz</a>!</p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=1023&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/1023/building-battlefield-3-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript &amp; PHP Star Rating Script</title>
		<link>http://bgallz.org/988/javascript-php-star-rating-script/</link>
		<comments>http://bgallz.org/988/javascript-php-star-rating-script/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 00:15:42 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[rater]]></category>
		<category><![CDATA[rating]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[star]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=988</guid>
		<description><![CDATA[I&#8217;ve searched around the interwebs for an ajax star rater and I came across a few different possibilities, all of which looked very good. The top result from google was Nick Stakenburg&#8217;s &#8220;Starbox&#8221; for &#8220;ajax star rater&#8221;. I also found Masuga Web Design&#8217;s Ajax Star Rater and a script from MySandbox to be popular results. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve searched around the interwebs for an ajax star rater and I came across a few different possibilities, all of which looked very good. The top result from google was <a href="http://www.nickstakenburg.com/projects/starbox/">Nick Stakenburg&#8217;s &#8220;Starbox&#8221;</a> for &#8220;ajax star rater&#8221;. I also found <a href="http://masugadesign.com/software/unobtrusive-ajax-star-rating-bar/">Masuga Web Design&#8217;s Ajax Star Rater</a> and a script from <a href="http://sandbox.ronggur.com/2009/05/30/jquery-tutorial-simple-ajax-star-rating-with-php/">MySandbox</a> to be popular results. However I couldn&#8217;t really seem to find a PHP / Mysql script that used Javascript for the rater effects. So I decided to make one based off of a script I found:</p>
<p><a href="http://www.reignwaterdesigns.com/ad/tidbits/rateme/">Reign Water Design&#8217;s 5 Star Rating System</a></p>
<p>This was a very nice easy to use Javascript 5 star rating script. All I had to do was make some tweaks to my preference and add on some PHP/Mysql code to submit the rating.</p>
<p><a title="Star Rating Script Demo" href="http://bgallz.org/scripts/star-rating-script/" target="_blank"><strong>See the demo</strong></a> or <a title="Free PHP &amp; Javascript Star Rating Script download" href="http://bgallz.org/scripts/bgallz.org-star-rater-script.rar"><strong>download this script</strong></a>.</p>
<p>To view the PHP source code, images, and everything together you must download this script.</p>
<h2>Javascript:</h2>
<p><strong>Insert the following in the &lt;<em>head</em>&gt; tags of your page:</strong><br />
<div id="wpshdo_8" class="wp-synhighlighter-outer"><div id="wpshdt_8" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_8"></a><a id="wpshat_8" class="wp-synhighlighter-title" href="#codesyntax_8"  onClick="javascript:wpsh_toggleBlock(8)" title="Click to show/hide code block">Javascript Source Code</a></td><td align="right"><a href="#codesyntax_8" onClick="javascript:wpsh_code(8)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_8" onClick="javascript:wpsh_print(8)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_8" class="wp-synhighlighter-inner" style="display: block;"><pre class="html4strict" style="font-family:monospace;"><span class="sc2">&lt;<span class="kw2">script</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;text/javascript&quot;</span>&gt;</span>
function insertParam(key, value)
{
key = escape(key); value = escape(value);
var kvp = document.location.search.substr(1).split(&quot;<span class="sc1">&amp;&quot;);</span>
var i=kvp.length; var x; while(i--)
{
x = kvp[i].split(&quot;=&quot;);
if (x[0]==key)
{
x[1] = value;
kvp[i] = x.join(&quot;=&quot;);
break;
}
}
if(i<span class="sc2">&lt;0<span class="br0">&#41;</span> <span class="br0">&#123;</span>kvp<span class="br0">&#91;</span>kvp.length<span class="br0">&#93;</span> <span class="sy0">=</span> <span class="br0">&#91;</span>key,<span class="kw3">value</span><span class="br0">&#93;</span>.join<span class="br0">&#40;</span><span class="st0">&quot;=&quot;</span><span class="br0">&#41;</span>;<span class="br0">&#125;</span></span>
<span class="sc2"><span class="sy0">//</span>this will reload the page, it<span class="st0">'s likely better to store this until finished</span>
<span class="sc2">document.location.search = kvp.join(&quot;&amp;&quot;);</span>
<span class="sc2">}</span>
<span class="sc2">function alterDisplay(id){</span>
<span class="sc2">var dropdown = document.getElementById(id);</span>
<span class="sc2">if(dropdown.style.display == &quot;none&quot;){</span>
<span class="sc2">dropdown.style.display = &quot;&quot;;</span>
<span class="sc2">} else {</span>
<span class="sc2">dropdown.style.display = &quot;none&quot;;</span>
<span class="sc2">}</span>
<span class="sc2">}</span>
<span class="sc2">&lt;/script&gt;</span></span>
<span class="sc2">&lt;<span class="kw2">script</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;text/javascript&quot;</span> <span class="kw3">language</span><span class="sy0">=</span><span class="st0">&quot;javascript&quot;</span> <span class="kw3">src</span><span class="sy0">=</span><span class="st0">&quot;./scripts/ratingsys.js&quot;</span>&gt;&lt;<span class="sy0">/</span><span class="kw2">script</span>&gt;</span></pre></div></div></p>
<h2>CSS</h2>
<p>You will need to include this in the &lt;<em>head</em>&gt; tags as well either in &lt;<em>style</em>&gt; tags or by &lt;<em>link</em>&gt;:<br />
<div id="wpshdo_9" class="wp-synhighlighter-outer"><div id="wpshdt_9" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_9"></a><a id="wpshat_9" class="wp-synhighlighter-title" href="#codesyntax_9"  onClick="javascript:wpsh_toggleBlock(9)" title="Click to show/hide code block">CSS Styles</a></td><td align="right"><a href="#codesyntax_9" onClick="javascript:wpsh_code(9)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_9" onClick="javascript:wpsh_print(9)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_9" class="wp-synhighlighter-inner" style="display: block;"><pre class="css" style="font-family:monospace;"><span class="re0">#rateMe</span> <span class="re0">#rate_overlay</span> <span class="br0">&#123;</span>
<span class="kw1">position</span><span class="sy0">:</span><span class="kw2">absolute</span><span class="sy0">;</span>
<span class="kw1">display</span><span class="sy0">:</span><span class="kw2">block</span><span class="sy0">;</span>
<span class="kw1">float</span><span class="sy0">:</span><span class="kw1">left</span><span class="sy0">;</span>
<span class="kw1">margin</span><span class="sy0">:</span><span class="nu0">0</span><span class="sy0">;</span>
<span class="kw1">padding</span><span class="sy0">:</span><span class="nu0">0</span><span class="sy0">;</span>
<span class="kw1">height</span><span class="sy0">:</span><span class="re3">30px</span><span class="sy0">;</span>
<span class="kw1">width</span><span class="sy0">:</span><span class="kw2">auto</span><span class="sy0">;</span>
<span class="kw1">background</span><span class="sy0">:</span><span class="re0">#eee</span> <span class="kw2">url</span><span class="br0">&#40;</span><span class="co2">./images/star_overlay.gif</span><span class="br0">&#41;</span> <span class="kw2">repeat-x</span><span class="sy0">;</span>
<span class="kw1">z-index</span><span class="sy0">:</span><span class="nu0">2</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
<span class="re0">#rateStatus</span><span class="br0">&#123;</span><span class="kw1">width</span><span class="sy0">:</span><span class="re3">100px</span><span class="sy0">;</span> <span class="kw1">height</span><span class="sy0">:</span><span class="re3">20px</span><span class="sy0">;</span>margin<span class="sy0">:</span><span class="re3">2px</span> 0 0 <span class="re3">5px</span><span class="sy0">;</span>font<span class="sy0">:</span> <span class="re3">12px</span> <span class="st0">&quot;Trebuchet MS&quot;</span><span class="sy0">,</span> Arial<span class="sy0">,</span> Helvetica<span class="sy0">,</span> <span class="kw2">sans-serif</span><span class="sy0">;</span> <span class="kw1">font-weight</span><span class="sy0">:</span> <span class="kw2">bold</span><span class="br0">&#125;</span>
<span class="re0">#rateMe</span><span class="br0">&#123;</span><span class="kw1">width</span><span class="sy0">:</span><span class="re3">152px</span><span class="sy0">;</span> <span class="kw1">height</span><span class="sy0">:</span><span class="re3">50px</span><span class="sy0">;</span> <span class="kw1">padding</span><span class="sy0">:</span><span class="re3">0px</span><span class="sy0">;</span> <span class="kw1">margin</span><span class="sy0">:</span><span class="re3">0px</span><span class="sy0">;</span> <span class="kw1">vertical-align</span><span class="sy0">:</span><span class="kw1">top</span><span class="sy0">;</span> <span class="kw1">z-index</span><span class="sy0">:</span><span class="kw2">auto</span><span class="br0">&#125;</span>
<span class="re0">#rateMe</span> li<span class="br0">&#123;</span><span class="kw1">float</span><span class="sy0">:</span><span class="kw1">left</span><span class="sy0">;</span>list-style<span class="sy0">:</span><span class="kw2">none</span><span class="sy0">;</span><span class="br0">&#125;</span>
<span class="re0">#rateMe</span> li a<span class="re2">:hover</span><span class="sy0">,</span>
<span class="re0">#rateMe</span> <span class="re1">.on</span><span class="br0">&#123;</span><span class="kw1">background</span><span class="sy0">:</span><span class="kw2">url</span><span class="br0">&#40;</span><span class="co2">./images/star_on.gif</span><span class="br0">&#41;</span> <span class="kw2">no-repeat</span><span class="sy0">;</span><span class="br0">&#125;</span>
<span class="re0">#rateMe</span> a<span class="br0">&#123;</span><span class="kw1">float</span><span class="sy0">:</span><span class="kw1">left</span><span class="sy0">;</span>background<span class="sy0">:</span><span class="kw2">url</span><span class="br0">&#40;</span><span class="co2">./images/star_off.gif</span><span class="br0">&#41;</span> <span class="kw2">no-repeat</span><span class="sy0">;</span>width<span class="sy0">:</span><span class="re3">30px</span><span class="sy0">;</span> <span class="kw1">height</span><span class="sy0">:</span><span class="re3">30px</span><span class="sy0">;</span>cursor<span class="sy0">:</span><span class="kw2">pointer</span><span class="sy0">;</span><span class="br0">&#125;</span>
<span class="re0">#rateMe</span> a<span class="re2">:hover</span><span class="br0">&#123;</span><span class="kw1">background</span><span class="sy0">:</span><span class="kw2">url</span><span class="br0">&#40;</span><span class="co2">./images/star_on.gif</span><span class="br0">&#41;</span> <span class="kw2">no-repeat</span><span class="sy0">;</span><span class="br0">&#125;</span>
<span class="re0">#rateMe</span> a<span class="re1">.grey</span><span class="sy0">,</span><span class="re0">#rateMe</span> a<span class="re1">.grey</span><span class="re2">:hover</span><span class="br0">&#123;</span><span class="kw1">background</span><span class="sy0">:</span><span class="kw2">url</span><span class="br0">&#40;</span><span class="co2">./images/star_off.gif</span><span class="br0">&#41;</span> <span class="kw2">no-repeat</span><span class="sy0">;</span><span class="br0">&#125;</span>
<span class="re0">#rateVotes</span><span class="br0">&#123;</span><span class="kw1">display</span><span class="sy0">:</span><span class="kw2">block</span><span class="sy0">;</span> <span class="kw1">margin-left</span><span class="sy0">:</span><span class="re3">65px</span><span class="sy0">;</span> <span class="kw1">font</span><span class="sy0">:</span> <span class="re3">11px</span> <span class="st0">&quot;Trebuchet MS&quot;</span><span class="sy0">,</span> Arial<span class="sy0">,</span> Helvetica<span class="sy0">,</span> <span class="kw2">sans-serif</span><span class="sy0">;</span> <span class="kw1">color</span><span class="sy0">:</span><span class="re0">#4a4a4a</span><span class="sy0">;</span><span class="br0">&#125;</span>
<span class="re0">#ratingSaved</span><span class="br0">&#123;</span><span class="kw1">display</span><span class="sy0">:</span><span class="kw2">none</span><span class="sy0">;</span><span class="br0">&#125;</span>
<span class="re1">.saved</span><span class="br0">&#123;</span><span class="kw1">color</span><span class="sy0">:</span><span class="kw2">red</span><span class="sy0">;</span> <span class="br0">&#125;</span>
<span class="re1">.rate_on_button</span> <span class="br0">&#123;</span>
<span class="br0">&#125;</span>
<span class="re1">.rate_on_button</span> a <span class="br0">&#123;</span> <span class="kw1">float</span><span class="sy0">:</span><span class="kw1">left</span><span class="sy0">;</span>padding<span class="sy0">:</span><span class="re3">10px</span><span class="sy0">;</span>margin<span class="sy0">:</span>0 <span class="re3">5px</span><span class="sy0">;</span>border<span class="sy0">:</span><span class="re3">2px</span> <span class="kw2">solid</span> <span class="re0">#666</span><span class="sy0">;</span> <span class="kw1">background-color</span><span class="sy0">:</span><span class="re0">#fff</span><span class="sy0">;</span> <span class="kw1">color</span><span class="sy0">:</span> <span class="re0">#000</span><span class="sy0">;</span> <span class="kw1">font-size</span><span class="sy0">:</span> <span class="re3">2em</span><span class="sy0">;</span> <span class="kw1">text-align</span><span class="sy0">:</span><span class="kw2">center</span><span class="sy0">;</span> <span class="kw1">display</span><span class="sy0">:</span><span class="kw2">block</span><span class="sy0">;</span> <span class="kw1">color</span><span class="sy0">:</span> <span class="re0">#000</span><span class="sy0">;</span> <span class="kw1">text-decoration</span><span class="sy0">:</span> <span class="kw2">none</span><span class="sy0">;</span> <span class="br0">&#125;</span>
<span class="re1">.rate_on_button</span> a<span class="re2">:hover </span><span class="br0">&#123;</span> <span class="kw1">color</span><span class="sy0">:</span> <span class="re0">#fff</span><span class="sy0">;</span> <span class="kw1">text-decoration</span><span class="sy0">:</span> <span class="kw2">none</span><span class="sy0">;</span> <span class="kw1">background-color</span><span class="sy0">:</span> <span class="re0">#333</span><span class="sy0">;</span> <span class="br0">&#125;</span></pre></div></div></p>
<p>Basically I took the script that Water&#8217;s made and changed a few things to the css styles, added an overlay for the current rating, and wrote a php script to insert rates and determine the current rating, etc. I also added the Javascript functions <strong>insertParam()</strong> and <strong>alterDisplay()</strong>. You do not need to use this function insertParam() to create the url, you can simply set the &lt;<em>a</em>&gt; tags to something like this:</p>
<div id="wpshdo_10" class="wp-synhighlighter-outer"><div id="wpshdt_10" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_10"></a><a id="wpshat_10" class="wp-synhighlighter-title" href="#codesyntax_10"  onClick="javascript:wpsh_toggleBlock(10)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_10" onClick="javascript:wpsh_code(10)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_10" onClick="javascript:wpsh_print(10)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_10" class="wp-synhighlighter-inner" style="display: block;"><pre class="html4strict" style="font-family:monospace;"><span class="sc2">&lt;<span class="kw2">a</span> <span class="kw3">href</span><span class="sy0">=</span><span class="st0">&quot;./index.php?r=1&quot;</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;_1&quot;</span> <span class="kw3">title</span><span class="sy0">=</span><span class="st0">&quot;Terrible&quot;</span> <span class="kw3">onmouseover</span><span class="sy0">=</span><span class="st0">&quot;rating(this)&quot;</span> <span class="kw3">onmouseout</span><span class="sy0">=</span><span class="st0">&quot;off(this)&quot;</span>&gt;&lt;<span class="sy0">/</span><span class="kw2">a</span>&gt;</span></pre></div></div>
<p>The Javascript function <strong>alterDisplay()</strong> is used to hide and show the overlay &lt;div&gt; that holds the current rating (if there is one). So when you mouse over the rating bar holder it hides the overlay so you can rate.</p>
<p>The PHP script grabs the information from the Mysql table that you specify in the function. You will need to adjust the following values:</p>
<ul>
<li><strong>$var</strong> &#8211; The column to base your mysql selection off of. Grab all rows where this column equals $id.</li>
<li><strong>$table</strong> &#8211; The table where the ratings are being held.</li>
<li><strong>$star_width</strong> &#8211; Width of the stars, default is 30px.</li>
</ul>
<p><strong><span style="color: red;">You will need to be connected to a MYSQL database before calling the rating bar function.</span></strong></p>
<p>Since the syntax of the function is the following:</p>
<div id="wpshdo_11" class="wp-synhighlighter-outer"><div id="wpshdt_11" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_11"></a><a id="wpshat_11" class="wp-synhighlighter-title" href="#codesyntax_11"  onClick="javascript:wpsh_toggleBlock(11)" title="Click to show/hide code block">Rating Bar Syntax</a></td><td align="right"><a href="#codesyntax_11" onClick="javascript:wpsh_code(11)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_11" onClick="javascript:wpsh_print(11)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_11" class="wp-synhighlighter-inner" style="display: block;"><pre class="php" style="font-family:monospace;"><span class="kw2">function</span> rating_bar<span class="br0">&#40;</span><span class="re0">$id</span><span class="br0">&#41;</span><span class="sy0">;</span></pre></div></div>
<p>You will need to supply the identifier (<strong>$id</strong>) which tells the PHP script which row to grab from the Mysql table.</p>
<p>To display the current rating after it has been rated on &#8211; because Javascript alone is not enough &#8211; I added an overlay &lt;<em>div</em>&gt; which will hold the current rating. This is done by setting the css style of this overlay div to the following:</p>
<div id="wpshdo_12" class="wp-synhighlighter-outer"><div id="wpshdt_12" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_12"></a><a id="wpshat_12" class="wp-synhighlighter-title" href="#codesyntax_12"  onClick="javascript:wpsh_toggleBlock(12)" title="Click to show/hide code block">Rate Overlay CSS Style</a></td><td align="right"><a href="#codesyntax_12" onClick="javascript:wpsh_code(12)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_12" onClick="javascript:wpsh_print(12)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_12" class="wp-synhighlighter-inner" style="display: block;"><pre class="css" style="font-family:monospace;"><span class="re0">#rateMe</span> <span class="re0">#rate_overlay</span> <span class="br0">&#123;</span>
<span class="kw1">position</span><span class="sy0">:</span><span class="kw2">absolute</span><span class="sy0">;</span>
<span class="kw1">display</span><span class="sy0">:</span><span class="kw2">block</span><span class="sy0">;</span>
<span class="kw1">float</span><span class="sy0">:</span><span class="kw1">left</span><span class="sy0">;</span>
<span class="kw1">margin</span><span class="sy0">:</span><span class="nu0">0</span><span class="sy0">;</span>
<span class="kw1">padding</span><span class="sy0">:</span><span class="nu0">0</span><span class="sy0">;</span>
<span class="kw1">height</span><span class="sy0">:</span><span class="re3">30px</span><span class="sy0">;</span>
<span class="kw1">width</span><span class="sy0">:</span><span class="kw2">auto</span><span class="sy0">;</span>
<span class="kw1">background</span><span class="sy0">:</span><span class="re0">#eee</span> <span class="kw2">url</span><span class="br0">&#40;</span><span class="co2">./images/star_overlay.gif</span><span class="br0">&#41;</span> <span class="kw2">repeat-x</span><span class="sy0">;</span>
<span class="kw1">z-index</span><span class="sy0">:</span><span class="nu0">2</span><span class="sy0">;</span>
<span class="br0">&#125;</span></pre></div></div>
<h3>The <strong>position: aboslute </strong>and <strong>z-index: 2</strong> style attributes make the div lay over top of the <strong><span style="text-decoration: underline;">rateMe</span></strong> div which holds the rater and has a <strong>z-index: 1</strong>.</h3>
<img src="http://bgallz.org/?ak_action=api_record_view&id=988&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/988/javascript-php-star-rating-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

