Best Android Games

There are so many game apps available for Android. Here is a list of Android Games

Top 10 Best Free Android Games

Wordfeud

Free crossword style multiplayer word game. Play with friends or random opponents. Participate in up to 30 games simultaneously.

livepoker-Texas Hold’em

Play LIVE poker against your friends on other phones and players connecting from Facebook, MySpace, Bebo, Hi5 and more, directly from your Android device.

Angry Birds

Angry Birds has hit 2 million downloads on Android-based devices in just two days of availability, the game’s developer announced on its Twitter account. Rovio released Angry Birds for Android users on cross-platform app store.

Slide puzzle

This classic, tile sliding game features include a touch screen interface, multiple puzzle sizes and customizable look and feel.

Newton

Released a few months back in beta form, Newton is a maths/physics challenge that has you lining up shots at a target – but having to contend with the laws of nature, in the form of pushers, pullers, benders (no laughing), mirrors and traps, all deflecting your shot from its target.

Gem Miner

You are a sort of mole character that likes to dig things out of the ground. But that’s not important. The game itself has you micro-managing the raw materials you find, upgrading your digging powers and buying bigger and better tools and maps.

Frozen Bubble

Another key theme of the independent Android gaming scene is (ports of) clones of popular titles. Like Frozen Bubble, which is based around the ancient and many-times-copied concept of firing gems up a screen to make little groups of similarly coloured clusters.

Replica Island

An extremely polished platform game that pulls off the shock result of being very playable on an Android trackball. The heavy momentum of the character means you’re only switching direction with the ball or d-pad, letting you whizz about the levels with ease.

OpenSudoku

OpenSudoku is a simple open source sudoku game. It’s designed to be controlled both by finger and keyboard. It’s preloaded with 90 puzzles in 3 difficulty levels.

Toss It

It is very simple but surprisingly addictive: toss a ball of crumpled paper into a waste bin.

Top 10 Best Paid Android Games

Robo Defense

Robo Defense is a tower defense game for Google Android. Basically your job is to prevent enemy vehicles from getting from one side of the board to the other. But while the enemy troops can drive, run, or fly, all you’ve got to work with are stationary guns, rocket launchers, anti-aircraft missile launchers, and “slow towers,” which slow down enemy units. you’ll need to pay for this game. Price: $2.99

Mystique. Chapter 3: Obitus

It’s an adventurous game full of engaging graphics and a soundtrack that pulls you into the game, with 3D features. It’s horrific in nature, with a lot of gore to match, featured with scenes from a hospital and basement. The characters are pretty cool themselves; with puzzles to get turn those wheels in your head. This game can give young gamers and adults alike, a bone chilling experience.you’ll need to pay for this game. Price: $2.99

Armored Strike Online

A quite superb turn-based strategy shooter thing, based on ancient classics like Death Tank and Worms. Everyone has a go at shooting, everyone waits to see if anyone else died, then the remaining living forces have another go. A superb game really brought to life by touchscreen controls and online play. you’ll need to pay for this game. Price: $3.99

ToonWarz

This game means serious business with great 3D effects with two player settings to let others join in the fun. It’s equipped with the best in features, and even has the option of playing with real players in death matches. Pretty impressive game. you’ll need to pay for this game. Price: $4.00

Radiant

Radiant is an Android game based on older arcade space shooters where you fight to overcome an alien horde.  If you’d like to relive classic shooter games, this is it.  It is made by Hexage who created another game you might’ve played. you’ll need to pay for this game. Price: $2.50

Flight Director

Flight Director is an Android game where you direct planes and choppers safely to their runway. Strategic planning and fast fingers are needed to get the job done.

Zenonia

If you’ve had enough of two-minute-wonders based around puzzles and words, try Zenonia. It’s a role-playing game, one created in the traditional, complex, character-enhancing style more common to ‘proper’ games systems. you’ll need to pay for this game. Price: $5.99

Buka

BUKA is a cute game of skill. Facing the impossible odds of countless baddies, BUKA has set on a quest to find The Happy Place. Protect her with powerful explosions and shockwaves you can create with single touch. you’ll need to pay for this game. Price: £1.50

Shoot U!

A very odd-looking, hand-drawn physics game, Shoot U! has player firing a little person out of a canon – and trying to manage the laws of momentum and gravity to crash the poor chap’s body through walls, over walls, under walls and into the welcoming glow of the target. you’ll need to pay for this game. Price: $2.99

Gem Miner

This allows users to make a fortune by venturing into mines, for coal and other hidden bonuses like maps or gems. One needs to also have enough ladders to get themselves out of there, where making more money ensures you get better tools to find more valuables in the mine. you’ll need to pay for this game. Price: $2.00

12 Tips for Writing Better CSS


CSS
has been always a marvelous language for creating web pages. It’s better to learn from other’s mistake than to commit your own. Some generous designers/developers have posted really good tips and techniques to save time and effort and to excel CSS. So have a look on following tips as each one will teach you a different thing.

Start With A CSS Reset

CSS Reset usually aims to reduce browser inconsistencies by evening up the CSS default settings in all browsers. The most used CSS Rests are Eric Meyer CSS Reset and YUI Reset. Some people have said that css reset stylesheets aren’t needed (Jonathan Snook being one of them), but once you get used to the reset and what items you’re coding, it becomes much easier to ensure that every browser is displaying items properly.

Alphabetize

By alphabetizing  properties, you are creating  consistency that will help you reduce the time you spend searching for a specific property.  Always try to organize your CSS classes, IDs and rules in an alphabetical order. It helps your work to manipulate easily.

.idname
{
background: url("tital.jpg") no repeat;
border: 1px solid #ffffff;
font-size: 10px;
line-height: 24px;
margin: 45px;
padding: 0;
position: relative;
z-index: 101;
}

Organization

You should organize your stylesheet so that it is easy to find things and related items are close together. Use comments effectively. By using comments and grouping similar elements, it becomes much quicker to find what you are looking for.

body
{
background: #ffffff;
color: #222222;
font-size: 1em;
line-height: 1.4;
margin: 0;
padding: 0;
}

Consistency

If a selector is going to have more than 3 properties,Break it to multiple lines. It works  3 properties is about what fits on 1 line in my text editor before wrapping to another line. So just figure out what works for you and be consistent.

Indentation

When you’ve got 500 lines of css code to sift through, it can become straining on the eyes.

.classname
{
background: #FFF;
border: 0;
color: #252525;
float: left;
margin: 0;
padding: 0;
}

Commenting

comments are going to be a great way for you to keep things structured and clean. By commenting out blocks of code, save your time scanning but will be great for your clients when you pass along the code – they’ll be able to find items easier, fix items.

/* Here’s how you comment CSS */

Shorthand Code

Shorthand css code will allow you to speed up the writing process, cut down on clutter in your stylesheets and will allow you to find things much easier and cleaner.

element
{
.background-color: red;
back-image: none;
background-repeat: repeat;
background-position: top left;
background-attachment: scroll;
}

all these properties can be combined into one single background property as follows:

element
{
background: red none repeat top left scroll;
}

Table of Content

Writing in a table of contents in the beginning of your stylesheet will allow you, as well as anyone else viewing your css file, to find where the specific items in your code are before they even have to scroll.

/*******************************************************
1.Header code
2.Navigation code
3.Content code
4.Sidebar code
5.Footer code
*******************************************************/

Class and Id name

It will be better for you if you keep the naming structure of your CSS classes and IDs simple as it will allow you later to edit your codes and make necessary amendments.

.Header-title{.......}
.main-navigation{......}
.content{......}
.footer{........}

Invalid CSS

This is another revealing mistake did you see the error on the code? padding:auto is invalid. That style may apply to width and height, but not to padding.

Combine element

This one’s a lot easier. Basically, to avoid having to rewrite the same style declarations for a number different selectors, you can just group all the selectors in a comma-separated list and use it in one rule set.

p {
font-family: tahoma;
font-size: 14px;
}

div {
font-family: tahoma;
font-size: 14px;
}

blockquote {
font-family: tahoma;
font-size: 14px;
}
you can write it as follow:
p,div,blockquote
{
font-family: tahoma;
font-size: 14px;
}

Whitespace

When it comes to trying to reduce your CSS file sizes for performance, every space counts. there is absolutely no reason not to take out excess characters.  when you actually push your project onto the web where the size of your files really counts.

No Fallback Fonts

Web designers are pretty much limited to the few so called web-safe fonts (e.g. Arial, Georgia, serif, etc.). There is a plus side, though. You can still use fonts like Helvetica that aren’t necessarily installed on every computer. The secret lies in font stacks. Font stacks are a way for developers to provide fallback fonts for the browser to display if the user doesn’t have the preferred font installed.

Some Very Useful Javascript libraries

jQuery

jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery’s syntax is designed to make it easier to navigate a document, select DOM elements, create animations, handle events, and develop Ajax applications. jQuery also provides capabilities for developers to create plugins on top of the JavaScript library. Using these facilities, developers are able to create abstractions for low-level interaction and animation, advanced effects and high-level, theme-able widgets. This contributes to the creation of powerful and dynamic web pages.

MooTools

MooTools is a compact, modular, Object-Oriented JavaScript framework designed for the intermediate to advanced JavaScript developer. It allows you to write powerful, flexible, and cross-browser code with its elegant, well documented, and coherent API. MooTools  provides extensive DOM tools to allow you to select elements from the document, create new elements, and alter them. There are also shortcut helper functions (like $, $type, $chk, $random, etc.) that help you with common tasks.

Prototype

Prototype is one of the earlier Javascript frameworks and is also included in the Ruby on Rails framework. Of the websites in this test, a total of 13 used the Prototype framework. Prototype is a JavaScript Framework that aims to ease development of dynamic web applications. Featuring a unique, easy-to-use toolkit for class-driven development and the nicest Ajax library around, Prototype is quickly becoming the codebase of choice for web application developers everywhere.

Dojo

Dojo is an Open Source DHTML toolkit written in JavaScript. It builds on several contributed code bases (nWidgets, Burstlib, f(m)), which is why we refer to it sometimes as a “unified” toolkit. Dojo aims to solve some long-standing historical problems with DHTML which prevented mass adoption of dynamic web application development. Dojo allows you to easily build dynamic capabilities into web pages and any other environment that supports JavaScript sanely. You can use the components that Dojo provides to make your web sites more usable, responsive, and functional. With Dojo you can build degradable user interfaces more easily, prototype interactive widgets quickly, and animate transitions. The Dojo build process helps you optimize your JavaScript for deployment by grouping sets of files together and reuse those groups through “profiles”.

Yahoo! UI Library (YUI)

The YUI Library is a set of utilities and controls, written with JavaScript and CSS, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX. YUI is available under a BSD license and is free for all uses.

Chart and Graph Plotting Library
PlotKit

It has support for HTML Canvas and also SVG via Adobe SVG Viewer and native browser support. PlotKit is fully documented and there is a quick tutorial to get you started. PlotKit is a complete rewrite of CanvasGraph. It is better structured and supported.

JavaScript Chart

JS Charts is a JavaScript chart generator that requires little or no coding. JS Charts allows you to easily create charts in different templates like bar charts, pie charts or simple line graphs.

Flot

Flot is a pure Javascript plotting library for jQuery. It produces graphical plots of arbitrary datasets on-the-fly client-side.The focus is on simple usage (all settings are optional), attractive looks and interactive features like zooming and mouse tracking.

Bluff

Bluff is a JavaScript port of the Gruff graphing library for Ruby. It is designed to support all the features of Gruff with minimal dependencies; the only third-party scripts you need to run it are a copy ofJS.Class (2.6kB gzipped) and a copy of Google’s ExCanvas to support canvas in Internet Explorer. Both these scripts are supplied with the Bluff download. Bluff itself is around 11kB gzipped.

HTML-Graphs
Use this script to create horizontal / vertical bar graphs, progress bars and faders. You can create simple graphs and even grouped bar graphs with legends, add labels, change colors etc. No graphics or graphical libraries required.

Pie Graph

This is a purely DHTML/ CSS based Pie Graph script. It loads fast and blends in with the rest of the page. You can also use a transparent image for background.

JavaScript Diagram Builder

The JavaScript Diagram Builder v. 3.3 is a library of some objects and functions, which can help you to display a coordinate diagram (resp. a chart or graph) in your webpage in an easy way. The file ‘diagram.js’ contains all the necessary objects and functions.

Hottest Android Smartphones In India

Google Android (operating system) based phones have now entered the Indian market and they have been hit with the people in India and many have started purchasing these mobile phones
These days markets are flooding with android phones the operating system for mobiles is creating lots of buzz in market ,due to the features it offers like the customization options and the most important the Android Market from where one can buy applications from thousands of applications.
Let’s take a look at some of the hottest Android smartphones in India.

HTC Legend

HTC Legend sleek unibody design with a brilliant AMOLED display and a brushed metallic finish, feels great in your hand and stirs admiration from those around. Along with powerful social networking, group communication, and unmatched level of personalization, the HTC Legend is set to impress you.
HTC Legend is a full touch screen phone with a dimensions of 11.2 cm. (L) X 5.63 cm. (W) X 1.15 cm. (T) . The phone comes with a 8.12 cm. AMOLED Capacitive  Touch Screen with 320×480 Pixels HVGA 262K Color Display.The phone has a Android™ 2.1 OS and Qualcomm® MSM7227™, 600 MHz.
The HTC Legend also simplifies the way you tend to all your social networks. With Friend Stream, the various interaction with your friends across multiple social networks, like Facebook®, Twitter™, and Flickr™ are brought into a single easy to follow stream of updates, photo posts, and shared links. Friend Stream also lets you shout out your thoughts or feelings with all your online friends with a single update that gets broadcast to both Facebook and Twitter.

For connectivity it has
Bluetooth® 2.1 with Enhanced Data Rate
Wi-Fi®: IEEE 802.11 b/g
3.5 mm. Audio Jack
HTC ExtUSB™ (5-pin micro-USB 2.0)
Camera : 5 MP
3G Support : Yes
Pros : Android 2.1 , Fast Processor, Metal aluminum case
Cons : No video-call camera, No TV-out port
Price : 22,999INR approx

Buy Now

Motorola MILESTONE

Motorola MILESTONE is a blend of form and function that offers the thinnest QWERTY slider on the market (13.7mm) and a hi-resolution, multi-touch and pinch display with twice the pixels of the leading competitor.
For users who want the ultimate smart phone experience, MILESTONE offers the ability to use multiple applications at the same time, effortless multi-touch pinch and zoom browsing, and cinematic navigation through music, videos and maps of the world.
Features include an enriched Web experience, enhanced navigation features and access to thousands of apps and widgets from Android Market™. A suite of Google™ applications including Google Maps™ with Latitude™, Google Mail™ and YouTube™ are also integrated onto the device.
In MILESTONE, form and function align to offer a clearer, more brilliant widescreen for enjoyable pinch and zoom Web browsing, the thinnest slider keyboard for messaging and push email that syncs both work and personal accounts, and a range of entertainment features including DVD quality video playback.

Key features include:
• World’s thinnest QWERTY slider at just 13.7mm
• 3.7” widescreen display with 854 pixel width and more than 400,000 total pixels (more than twice the leading competitor)
• Pinch & zoom and double tap features
• 5 megapixel camera with dual-LED flash
• Motorola Media Link and Motorola Phone Portal to manage and share media content across desktop, phone and the Web
• Stereo Bluetooth®
• 3.5mm headset jack
• CrystalTalk™ Plus for superior talk quality
Camera :5 MP
3G Support : Yes
Pros : Responsive; latest Android 2.1 OS ; 3.5mm audio connector.
Cons : Poor battery life, Price
Price : 25,299 INR approx

Buy Now

Samsung Galaxy S (I9000)

Samsung Galaxy S is another smartphone running the Android 2.1 OS (expected to be upgraded to 2.2 Froyo) that is highly in demand. Priced at Rs. 28,000, the Galaxy S offers a 4-inch super AMOLED WVGA capacitive touchscreen.   The Android 2.1 smartphone phone is capable  for HD-capable by DivX. The device is GPS-enabled and employs a Layar Reality Browser, through which users can capture their surroundings with the cell phone camera and gain an instant POI (point of interest) view of the street. This gives users access to the address, phone number, price listings and other information of the POI.  Along with the browser, users also get a preloaded Google Maps Navigation application for turn-by-turn navigation.
The TouchWiz user interface of the Samsung Galaxy S allows you to customize the homescreens on the phone and to integrate all your social networking contacts into one widget. An AllShare option provided via DLNA lets users connect and share media wirelessly between the phone, a TV and a PC. Other connectivity options on the Galaxy S include Bluetooth 3.0, HSDPA and Wi-Fi. The device also offers an innovative Wireless Tethering application through which you can connect to the Internet via 3G in places where online connections are not normally supported (such as cafes, parks or inside a car).
Additional features on the Samsung Galaxy S include an accelerometer, a proximity sensor and a ThinkFree document editor, which lets users access documents saved online via the phone. Talk time on the phone is promised to be 803 minutes (2G) and 393 minutes (3G), while standby time is likely to be 750 hours (2G) and 576 hours (3G).


For Connectivity it has
microUSB port (charging) and stereo Bluetooth v3.0
Wi-Fi 802.11 b, g and n support
Pros: 2.1 Android, recording high-definition 720p video
Camera : 5 MP
AMOLED display: 4 inch
processor : 1 GHz
Price: 28,000 INR approx

Buy Now

Sony ericsson xperia x10 mini

The phone, which also happens to be one of the smallest Android phone (if not the smallest) available now, features a 2.6 inch QVGA touchscreen, a 600Mhz processor, 128MB of internal memory – expandable to 32GB using microSD cards, Wi-Fi and GPS. It has a 5 megapixel camera with autofocus and LED flash at the rear and features Bluetooth as well as USB connectivity.
By introducing mobile phones that are both compact and clever, Sony Ericsson is challenging the norm and defining a brand new offering that combines high specification features with a version of Sony Ericsson’s powerful UX platform specifically designed for smaller devices.

For Connectivity it has
Wi-Fi,
Bluetooth 2.1 with A2DP and micro-USB 2.0.
using micro-SD cards of upto 16GB. 2GB micro-SD card
Camera : 5 MP
3G Support : Yes
Pros : Compact design , LED Flash, Price
Cons : Small screen size
Price : 25000 INR approx

Buy Now

HTC Tattoo

HTC Tattoo is a Android based bar type touch screen phone. It’s the first phone that can be customized inside and out. Decide how your phone looks, then decide what you want to look at. Texts? Twitter? Your photos? When you’re done customizing HTC Tattoo, you’ll have a phone that speaks loudly about who you are and what you’re into.
With HTC Tattoo, you don’t just pick the look, you make the look, by designing your own personal skin for the phone. Next, you decide what really matters to you on your phone. So if you’re into chatting, texting, and tweeting, you’ll put all your communication widgets and apps right on your front screen. If you’re into games, you’ll visit Android Market and download all the games you want. Put them right on the surface. The dedicated Search button sifts through tweets in Twitter?

For Connectivity it has
Bluetooth 2.0, Wi-Fi, GPS
Mini-USB
3G Support : Yes
Camera : 3.2 MP
Pros : Solid, Compact design , Capacitive touch screen, 2.8-inch screen with 240×320 QVGA resolution,256MB of RAM
Cons : Low screen resolution
Price : 17,799 INR approx

Buy Now

Samsung i5700 galaxy spica

Samsung i5700 Galaxy Spica is the version of the Samsung Galaxy i7500. Samsung i5700 Galaxy Spica comes with a capacitive screen measuring 3.2-inches with a resolution of 320×480 pixels supporting 16milion colors. AMOLED technology provides truly saturated beautiful colors with good image quality. It vaunts HVGA touch screen display, HSDPA connectivity, Wi-Fi, GPS and Google mobile services, Google search, Gmail, calendar, You Tube and Google talk applications etc. This new Android based smart phone has a full QWERTY keyboard with Bluetooth activation/deactivation. The Spica runs Android edition 1.5 and comes equipped with 800MHZ processor in comparison to the 528MHz core integrated into the i7500.

For Connectivity it has
USB Connector
Bluetooth 2.1
3G,USB2.0
Quad-band EDGE/GPRS + Dual-Band HSDPA
Camera : 3.2 MP
3G Support : Yes
Pros : AMOLED Screen, Powerful processor,  Accelerometer sensor
Cons : Camera could have been 5 MP
Price : 12,5oo INR approx

Buy Now

Samsung I7500 Galaxy

Android phone from samsung slim and stylish  – 11.9 mm slim profile.Stylish high glossy back cover design with anti-scratch disply (Tempered glass). Samsung I7500 comes with latest multimedia features. The large and vivid 3.2“AMOLED display ensures the brilliant representation of multimedia content and enjoyable full touch mobile experience. It offers users access to the full suite of Google services,including Google Search™, Google Maps™, Gmail™, YouTube™, Google Calendar™, and Google Talk™. The integrated GPS receiver enables the comprehensive use of Google Maps features. Embedded widgets such as news, weather, entertainment, etc.Also downloadable widgets like stock, search engine, and others.

For Connectivity it has
Bluetooth® with A2DP
3G HSDPA
Micro USB
WLAN WiFi®
Camera : 5 MP
3G Support : Yes
Pros : Solid, Compact design , Capacitive touch screen, Big Screen
Cons : Costly
Price : 12,499 INR approx

Buy Now

HTC wildfire

HTC Wildfire is an Android touch-screen mobile phone, comes with attractive price, features & technical specifications. HTC Wildfire featuring with  HTC Sense-based Android phone that integrates the most popular social networks,

For Connectivity it has
GPRS, EDGE, 3G HSDPA
Bluetooth 2.1
Wi-Fi 802.11 b/g
GPS transceiver with A-GPS
Camera : 5MP
3G Support : Yes
Pros: 3.2-inch QVGA display touchscreen
Cons : Costly
Price :Rs. 15,149INR approx

Buy Now

Motorola Backflip

It is its latest Android handset with a physical keyboard, following on from the Milestone and Dext handsets. Unlike the Milestone, the Backflip ships with the Motorola MotoBlur overlay to the Google OS, which first made an appearance on the Motorola Dext.The Motorola Backflip is a touchscreen smartphone released for the AT&T network on March 7, 2010 and Optus networks. It runs the open source Google Android software.
Take smart in a whole new direction with Motorola BACKFLIP with MOTOBLUR.  BACKFLIP maximizes the multi-tasking potential of MOTOBLUR with unique design elements making it as smart as it is social. The reverse flip transforms BACKFLIP into a hands-free video player, music player, digital picture frame and alarm clock. It’s time to have some flippin’ fun with BACKFLIP with MOTOBLUR.

For Connectivity it has
Wi-Fi and Bluetooth 2.1
GSM/GPRS/EDGE
3G (850/1900/2100 MHz) comes with 7.2Mbp HSDPA
Camera: 5MP
3G Support:Yes  TFT capacitive touchscreen, 256K colors
Pros:3.1 inches
Cons: Costly
Price :Rs. 17,799INR approx

Buy Now

Logic To create “Diamond Shape”

I am learning to program and  i was struggling with “logic to create Diamond shape in PHP“. I searched but could not find it, so once i figured it out, i thought i will just write it here.

Diamoand

 
for($i = 0; $i <= 14; $i++ )
{
	 for($j = 1; $j<=1+$i ; $j++ )
	 {
		echo  "*" ;
	 }
	echo "";
}
for($y = 1; $y <= 15; $y++ )
{
	 for($x = 1; $x<=15-$y; $x++ )
	 {
		echo  "*" ;
	 }
	echo "";
}
Result is ....
Blank Diamond
for($i = 0; $i <= 14; $i++ )
{
	 for($j=1; $j<=1+$i;$j++)
	 {
		 if ($j==1)
		 {
			echo"*";
		 }
		 else
		 {
			echo "-";
		 }
		 if ($j==$i+1)
		 {
			echo"*";
		 }
		 else
		 {
			echo"  ";
		 }
	 }
	 echo "	";
}
for($i = 0; $i <= 14; $i++ )
{
	 for($j=1; $j<=14-$i;$j++)
	 {
		 if ($j==1)
		 {
			echo"*";
		 }
		 else
		 {
			echo "-";
		 }
		 if ($j==14-$i)
		 {
			echo"*";
		 }
		 else
		 {
			echo"  ";
		 }
	 }
	 echo "	";
}
Resule as...
Midline in Diamond shape
$n=14;
 for($i = 0; $i <= 13; $i++ )
 {
	 for($j=1; $j<=1+$i;$j++)
	 {
		 if ($j==1)
		 {
			echo"*";
		 }
		 else
		 {
			echo "  ";
		 }
		 if ($j==$i+1)
		 {
			echo"*";
		 }
		 else
		 {
			echo"  ";
		 }
	 }
	 echo "	";
	 if ($i+1==$n)
	 {
		 for($k = 0; $k <= $n*2; $k++ )
		 {
			echo"*";
		 }
	 }
 }
 echo "";
 for($i = 0; $i <= $n; $i++ )
 {
	 for($j=1; $j<=$n-$i;$j++)
	 {
		 if ($j==1)
		 {
			echo"*";
		 }
		 else
		 {
			echo "  ";
		 }
		 if ($j==$n-$i)
		 {
			echo"*";
		 }
		 else
		 {
			echo "  ";
		 }
	 }
	 echo "	";
 }
result as
Plus in Diamond
$n=14;$m=7;$l=2;
for($i = 0; $i <= 13; $i++ )
{
	 for($j=1; $j<=1+$i;$j++)
	 {
		 if ($j==1)
			echo"*";
		 else
			echo"&nbsp;&nbsp;";
		 if ( $i % 2==$j)
		 {
			 for ($j=5;$j<=$i+1;$j++)
			 {
				 if ( $i % 2==$j)
					echo "*";
			 }
		 }
		 if ($j==$i+1)
			echo"*";
		 else
			echo"&nbsp;&nbsp;";
	 }
	 echo "<br >";
	 if ($i+1==$n)
	 {
		 for($k = 0; $k <= $n*2; $k++ )
		 {
			echo"*";
		 }
	 }
}
echo "<br >";
for($i = 0; $i <= $n; $i++ )
{
	for($j=1; $j<=$n-$i;$j++)
	{
		if ($j==1)
			echo"*";
		else
			echo"&nbsp;&nbsp;";
		if ( $i % 2==$j)
		{
			for ($j=14;$j<=$i+1;$j++)
			{
				if ( $i % 2==$j)
					echo "*";
			}
		}
		if ($j==$n-$i)
			echo"*";
		else
			echo"&nbsp;&nbsp;";
	}
	echo "<br >";
}

Result as

i am still learning if their is any mistake do let me know.

Big List Of CMS Based on PHP

A Content Management System ( CMS ) is used to add, edit, and delete content on a website. For a small website, such as this, adding and deleting a page manually is fairly simple. But for a large website with lots of pages like a news website adding a page manually without a content management system can be a headache. A CMS is meant to ease the process of adding and modifying new content to a webpage. The pages content are stored in database, not in the file server. HTML and other scripting language are not necessary to operate a CMS, though having them will add more advantages. Since we had looked here  list of Open Source PHP Content Management Systems so that readers who don’t have strong PHP knowledge can easily create their website using free and open source CMS.

WordPress

WordPress does a pretty good job as a CMS, making it easy to maintain your site, and update your content. Initially it was designed as a blogging platform. However, it slowly become popular and can be customized into a powerful CMS with some tricks and plugins.

Drupal

Drupal is a free and open source modular framework and Content Management System (CMS) written in PHP. It is used as a back-end system for many different types of websites, ranging from small personal blogs to large corporate and political sites.

Joomla

Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications. Many aspects, including its ease-of-use and extensibility, have made Joomla the most popular Web site software available. Best of all, Joomla is an open source solution that is freely available to everyone.

Frog CMS

Frog CMS simplifies content management by offering an elegant user interface, flexible templating per page, simple user management and permissions, as well as the tools necessary for file management. 5. SliverStripe SilverStripe is a PHP CMS built with Sapphire framework, and it uses MVC design pattern. you can view example sites that built with SilverStripe from the official webpage. Mambo

Mambo is a full-featured, award-winning content management system that can be used for everything from simple websites to complex corporate applications. Mambo’s “power in simplicity” also makes it the CMS of choice for many small businesses and personal sites. Although some Mambo sites had already migrated to Joomla, but i think i should include Mambo as it is still a great CMS.

TYPOlight

TYPOlight now called Contao. TYPOlight is a PHP 5 CMS and it has a lot of features such as live update, cross-browser CSS framework generator(IE7 compatible), templated based front end output, use Ajax and Web 2.0 technologies.

Concrete5

Concrete5 is an open source content management system with simple administaror interface. It enables users to edit site content directly from the page. This makes the platform easy to use with a minimum of technical skills. Textpattern

Textpattern is an open source content management system.its aim is to be a general-purpose content management system suitable for deployment in many contexts. Textpattern is written in PHP using a MySQL database backend .

Symphony

Symphony is a CMS that uses XML/XSLT as its templating language. Symphony lets you customize anything you like, from the website’s URL structure to your publishing environment. For a non programmer, this CMS might be complicated to learn.

MODx

MODx is both a PHP application framework and content managenemt system. MODx is the first free PHP CMS to offer an API that fully supports Web 2.0 Ajax technology. It is SEO friendly CMS, and allows you to configure the meta content for each page.

CMS Made Simple

CMS Made Simple helps experienced web developers and designers to create sites of power and beauty in a fraction of the normal time, avoiding hours of coding and allowing your clients to update their own sites with a minimum of fuss. CMS Made Simple puts the power of a modular and extendable content management system at your fingertips. And best of all, it’s free!

JOJO CMS

Jojo Open Source CMS offers a fair bit of functionality out of the box, that other paid or free CMS systems don’t have, or require hacking to have. JOJO CMS have some feature, like Multi-site install, Image Handlling, SEO friendly CMS and Plugins.

Chyrp

Chyrp is a blogging engine designed to be very lightweight while retaining functionality. it uses Twig as the templating engine. It is powered by PHP and has very powerful theme and extension.

Elxis CMS

Elxis is powerful open source content management system. It has unique multi-lingual features, it follows W3C standards, it is secure, flexible, easy to use, and modern. The development team, Elxis Team, paid extra attention to the optimization of the CMS for the search engines and this lead to high performance of all elxis powered web sites and to high ranking in search engines results.

Habari Project

Habari is a highly recommended open source blogging platform. It is being written specifically for modern web hosting environment, and uses modern object oriented programming techniques.

Impress CMS

ImpressCMS is a community developed Content Management System. It is highly scalable and is extremely useful for managing online communities.

Exponent CMS

Exponent uses an intuitive and flexible content editing system that allows website pages to be edited on the page as it is displayed. You can download modules and themes from the official website too!

Mia CMS

Mia CMS is a fork of the Mambo CMS. It has a powerful and extensible third party entension system, and also a flexible site theming capabilities. MiaCMS supports OpenID and can consider to be a stable and mature CMS.

Nano CMS

NanoCMS is a php open source, gpl licensed flat file content management system. It does not use a MySQL database and is ideal for small websites. It is a very small package (hence the nano part).


Check out PHPCamp a place to share news, views and articles that are useful to PHP community.
Share