WordPresss Code

Date and Month

<div class=”post-date”>
<?php the_time(‘M’) ?>
<p><?php the_time(‘d’) ?></p>
</div>
List Categories
<?php wp_list_cats(’sort_column=name’); ?>
<?php wp_list_cats(’sort_column=name&optioncount=1′); ?>

<p>Categories</p>
<?php wp_list_cats(’sort_column=name&optioncount=1′); ?>
<p>Recent Posts</p>
<?php get_archives(‘postbypost’, 10); ?>
<p>Archives</p>
<?php wp_get_archives(‘type=monthly’); ?>
<p>Blogroll</p>
<?php get_links(-1, ‘<li>’, ‘</li>’, ‘ – ‘); ?>

Use of Li

ol { list-style-type: upper-roman; }
ul { list-style-type: circle; } 

Here is an ordered list:
  • This list is
  • using roman
  • numerals
  • with CSS!

and now an unordered list:

  1. This list is
  2. using circle types
  3. with CSS!
ul { list-style-image: url("listArrow.gif"); }
ol { list-style-image: url("listArrow2.gif"); }

Here is an unordered list:
  • This list is
  • using a picture with CSS!

and now an ordered list:

  1. This list is
  2. using a picture
  3. with CSS!
    ul { list-style-position: inside; }
    ol { list-style-position: outside; }
    • This list is
    • using inside
    • positioning with CSS!

    and now an ordered list:

    1. This list is
    2. using outside
    3. positioning with CSS!

Using <li>s for Horizontal Navigation

You can use unordered list items to present horizontal navigation buttons and other horizontal lists. When I first moved from table-based layouts to CSS, this was a big shocker for me. It opens up a world of possibilities and it makes your code oh so beautiful and easy to read. Here’s an example of a five-button horizontal nav bar made completely of list items.

<!– The CSS –>

ul{
margin: 0 auto;
}
ul.horizontal_list li{
text-align: left;
float: left;
list-style: none;
padding: 3px 10px 3px 10px;
margin: 5px;
border: 1px solid #CCC;
}

<!– The HTML –>

<ul class=”horizontal_list”>
<li>Home</li>
<li>About Us</li>
<li>Contact Us</li>
<li>News</li>
<li>Mission</li>
</ul>

This is how it should look:

Multi-column Lists with <li>

Building lists that wrap into multiple columns is quick and easy with <li>. Say goodbye to <tr> because you’ll probably never need it again. When you use list items instead of table rows and cells, it’s easy to reorder your items without moving every block of content in the process. Here’s how it works.

<!– Here’s the HTML –>

<div id=”list_wrapper”>
<ul class=”multiple_columns”>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>Five</li>
<li>Six</li>
<li>Seven</li>
<li>Eight</li>
<li>Nine</li>
</ul>
</div>

<!– Here’s the CSS –>

ul{
margin: 0 auto;
}

/* The wider the #list_wrapper is, the more columns will fit in it */
#list_wrapper{
width: 200px
}

/* The wider this li is, the fewer columns there will be */
ul.multiple_columns li{
text-align: left;
float: left;
list-style: none;
height: 30px;
width: 50px;
}

This is how it should look:

Cool <li> Background Effects

Want lists with cool bullets instead of the boring default black dot? CSS makes this possible with some simple adjustments to the background properties of your <li>. For this example, we’ll barrow our code from the first example and build on it.

<!– Here’s the HTML –>

<ul class=”cool_background”>
<li>Home</li>
<li>About Us</li>
<li>Contact Us</li>
<li>News</li>
<li>Mission</li>
</ul>

<!– Here’s the CSS –>

ul{
margin: 0 auto;
}
ul.cool_background li{
text-align: left;
float: left;
list-style: none;
padding: 3px 10px 3px 25px;
margin: 5px;
background: url(cool_background.gif) 5px 5px no-repeat;
}

IMPORTANT: Don’t forget to make your “cool_background.gif” file and put it into the same directory as your page.

This is what it should look like:

Animating Your <li>s with a Rollover Effect

A combination of <li> and <a> tags, and a little CSS can make for a good-looking rollover effect. Using CSS to produce your rollovers is quicker and easier than JavaScript. It also makes it easier change in the future. Below is a basic example:

<!– Here’s the HTML –>
<ul class=”rollover”>
<li><a href=”#”>Home</a></li>
<li><a href=”#”>About Us</a></li>
<li><a href=”#”>Contact Us</a></li>
<li><a href=”#”>News</a></li>
<li><a href=”#”>Mission</a></li>
</ul>

<!– Here’s the CSS –>

ul{
margin: 0 auto;
}
ul.rollover li{
text-align: left;
float: left;
list-style: none;
}
ul.rollover a{
display: block;
text-decoration: none;
background: url(cool_background.gif) 5px 5px no-repeat;
padding: 3px 10px 3px 25px;
margin: 5px;
}
ul.rollover a:hover{
background-image: url(cool_background2.gif);
text-decoration: none;
}

IMPORTANT: Don’t forget to make your cool background images and put it into the same directory as your page. This is what it should look like:

I’m sure this tutorial will be helpful for the CSS newbie. If you’re a CSS veteran purist , though, and you know a better way I could have coded any of the examples, please comment. I purposefully left out detailed explanations in this tutorial. It’s meant as a place to start and should give you enough code to begin playing with <li>s.

<style type=”text/css”>

body {
font-family: verdana, sans-serif;
background:white;
}

#leftcontent {
color:green;
position: absolute;
left:10px;
width:190px;
}

#centercontent {
color:blue;
margin-left: 190px;
margin-right:190px;

}

#rightcontent {
color:orange;
position: absolute;
right:10px;
width:190px;
}

#banner {
color:red;
width:100%;
border:2px;
}
</style>

<div id=”banner”>
A banner that sits at … top of the page.
</div>

<div id=”rightcontent”>
A column on … right of the page.
</div>

<div id=”leftcontent”>
A column on … left of the page.
</div>

<div id=”centercontent”>
A column in … center of the page.
</div>

Resume


After the leisure/summer vacation, its school time for your children and tax time for you. In the ensuing paragraphs, we have made an attempt to answer certain frequently asked questions in connection with filing I-T returns of salaried class assessees for the year ending 2008.
Do I need to file my income tax returns?
Yes, you need to file your income tax returns if your total income exceeds basic exemption limit.
What is the due date for fil
ing my income tax returns?
July 31, 2008.
What preparations are required to file my returns?
You are required to collect your Form 16/16 AA from your employer. In case, where you have worked for more than one employer during the same financial year, you are required to collect Form 16 from all the employers. You will be required to consolidate all the sources of
income such as bank interest and capital gains while filing your returns.
I pay rent and I also receive HRA from my employer. But, I have forgotten to submit my rent receipts to my employer. What is the
remedy for the extra tax deducted?
In such case, you can claim a refund by re-computing the tax liability while filing your return of income. In case you are not receiving HRA from employer, you can still claim a deduction in accordance with the provisions of section 80GG in respect of rent paid by you.
What is the amount of deduction that can be claimed by me from my gross total income?
You can claim an amount of
Rs 1,00,000 under section 80C and an amount of Rs 15,000 (Rs 20,000 for senior citizens) under section 80D. You will be entitled to the above deductions while filing your returns, even, if you have not declared the same to your employer by oversight or otherwise.
Which form is required to be filled for filing salary returns?
If you have income only from salary or pension or family pension and interest (bank interest) then fill and file ITR 1. In addition to above incomes, if you have income from house property, capital gain and income from other sources, then fill and file ITR 2.
From where can I get ITR forms?
You can download the ITR forms from the below websites: www.incometaxindia.gov.in www.mytaxassistant.com www.relyonsoft.com
Is electronic filing (e-filing) mandatory for me?
No, it is mandatory only for companies and assessees whose books are required to be audited. But, still, if you desire and feel that e-filing is convenient, you can do so.
What care should be taken for fast processing of my income tax refund?
Correctly mention your bank
name, account number and MICR. MICR is a 9-digit number that is printed on your cheque leaf beside the cheque number.
What is the
consequence if I do not file my return within the due date?
If you have not filed your return by the 31st day of July 2008, you can still file the same within March 31 with interest of 1% per month on the taxes due. The penalty of Rs 5,000 is levied if the return is filed after March 31, 2009.

>Full Details
Free ITR – 1/2/3
Due Dates for Income Tax
Due Dates for TDS
Rate of TDS for Non-Salaries
Website on Income Tax Return [ITR] eFiling
ITR Forms
Income Tax Rule 12
The time to file income tax returns is coming nearer. July 31 is the last date to file IT returns for individuals. The returns have to be filed for the previous year, 1.4.2007 to 31.3.2008.

So the transactions should have taken place during that period only. Any subsequent transactions will be taken into account during the next year, 2008-09. It is time to compute your taxes and pay off any outstanding dues. This can be done before the date of filing of the returns.

It is of utmost importance that one uses the correct form, as is applicable to him. In a radical change from the past, no document (including TDS certificate) should be attached to this form. Officials receiving the returns have been instructed to detach all documents enclosed with this form and return them to the assessee.

The forms can be submitted to the Income Tax Department through any of these methods:

? By furnishing the returns in a paper form
? By furnishing the returns electronically with a digital signature
? By transmitting the data in the returns electronically and thereafter submitting the verification of the returns on Form ITR-V. The assessee needs to print out two copies of Form ITR-V. Both copies should be verified by the assessee and submitted to the Income Tax Department. The receiving official will return one copy after affixing a stamp and seal
? By furnishing a bar-coded paper returns. The acknowledgement slip attached with this form should be filled out. The forms are not to be filled in duplicate.
In order to avoid interest and penalty, assessees also need to compute interest liability for either non-payment of advance tax or late payment of instalments of advance tax. The interest rate is calculated at one percent per month on the specified tax amount. This interest can be paid along with the self-assessment tax by the assessee.

Obligation to file return

Who should file returns: Every individual and Hindu Undivided Family (HUF) has to furnish a returns of income if the total income, before allowing deductions under Chapter VI-A, exceeds the maximum amount which is not chargeable to income tax.

The losses, if any, will not be allowed to be carried forward unless the returns has been filed on or before the due date. It is to be noted that the total of the deductions allowable is limited to the amount of gross total income. Deductions are available under Chapter VI-A.

Deductions

These are the deductions available to an individual and HUF, not carrying out any business or profession:

Section 80C: Some of the major items for deduction under this section are amount paid or deposited towards life insurance, contribution to Provident Fund set up by the Government, recognised Provident Fund, contribution to an approved superannuation fund, and subscription to National Savings Certificate.

Also, certificates, tuition fees, payment/repayment for purchase or construction of a house and other investments are available for deduction. As provided in Section 80CCE, the aggregate amount of deduction under Section 80C, 80CCC and 80CCD will not exceed Rs 1 lakh.

Section 80CCC: Deduction of contributions to certain pension funds.

Section 80CCD: Deduction of contributions to pension scheme of Central Government.

Section 80D: Deduction of medical insurance premium.

Section 80DD: Deduction of maintenance including medical treatment of dependent.

Section 80DDB : Deduction of medical treatment etc.

Section 80E: Deduction of interest on loan taken for higher education.

Section 80G: Deduction of donations to certain funds, charitable institutions etc.

Section 80GG: Deduction of rent paid.

Section 80GGC: Deduction of contributions given by any person to political parties.
Individuals can claim a tax deduction on the principal and interest components of a home loan as per the Income Tax Act 1961. These deductions are available under Section 24(b) to assessees who have taken a loan to either buy or build a house.

In case these conditions are met, interest on borrowed capital is deductible up to Rs 1.5 lakhs:

? Capital is borrowed on or after April 1, 1999 to acquire or construct a residential property
? The acquisition/construction should be completed within three years from the end of the financial year in which capital was borrowed
The bank extending the loan certifies that the interest is payable on the amount advanced for acquisition or construction of the house, or as refinance of the principle amount outstanding under an earlier loan. In case the conditions stated are not met, interest on borrowed capital is deductible up to Rs 30,000.

However, the capital should have been borrowed before April 1, 1999 for the purchase, construction, or repairs of a house. If the capital was borrowed on or after April 1, 1999, the construction should have been completed within three years from the end of the year in which the capital was borrowed. In addition, principal repayment of the loan borrowed is eligible for a deduction of up to Rs 1 lakh under Section 80C from the assessment year 2006-07.

The maximum deduction permissible in a financial year for the original loan (if any) plus for any additional loans taken is Rs 1.5 lakhs. Hence, if your deduction on an existing loan is less than Rs 1.5 lakhs, you can claim further benefits from an additional loan, subject to an upper limit of Rs 1.5 lakhs in a financial year.

It is to be noted that the tax benefits under Section 24 and deductions under Section 80C of the Income Tax Act can be claimed only when the payment is made. If a person fails to make EMI payments, he cannot claim tax benefits on them.

Under the Income Tax Act, only the person who has taken the loan can claim tax rebates. Interest on a fresh loan can be claimed as a deduction, subject to the upper limit. The interest on a loan, taken for repairs, renewals or reconstruction, also qualifies for the deduction of Rs 1.5 lakhs.

A husband and wife, both taxpayers with independent income sources, can get tax deductions on the same housing loan. In this case, the tax benefits can be shared to the extent of the amount of loan taken in their names.

If it is proved that a home loan is simply an arrangement between a loan-seeker and a builder or with a third party for the purpose of claiming tax benefits, the tax benefits will not be allowed and benefits previously claimed will be clubbed to the income and taxed accordingly.

Capital gains and tax

If a person buys a house and sells it within the same year or after three years, and a profit is made, a capital gains tax liability arises on it. For example, if a person purchases a house for Rs 45 lakhs with a loan and sells it in the same year for Rs 65 lakhs, he makes a profit of Rs 20 lakhs.

On this profit, he will be liable to pay short-term capital gains tax since the sale took place in the same year. But, if the sale had taken place after three years, then a long-term capital gains tax liability would have arisen.

Long-term capital gains will be exempt from tax if the amount (after factoring in the indexation benefits) is invested in capital gains tax saving bonds or in a house as specified under Section 54.

Travel Links

Expression Engine Tutorial and Installation How To

The following tutorial describes how to install Expression Engine Core with your NEXCESS.NET web hosting account. NEXCESS.NET is Expression Engine friendly. This tutorial is meant to help you quickly setup and configure Expression Engine 1.6.X with our web hosting service.

Expression Engine Core is a flexible, feature-rich content management system that rivals Joomla, Mambo, Drupal and other open source content management systems. Expression Engine is free for personal (non-commercial), or non-profit use only.

Make sure your host supports Expression Engine Core! All NEXCESS.NET shared and reseller plans support Expression Engine Core. If you’re not a NEXCESS.NET client, then you can check the minimum requirements for Expression Engine Core on their website.

For the sake of this tutorial we’ll assume that you own the domain ‘johnsmith.com‘ and are setting up Expression Engine Core at http://johnsmith.com/eec/

  1. Set up a database for Expression Engine to use
    The first thing to do is to run through the SiteWorx MySQL tutorial and create a MySQL username and database for Expression Engine Core to use to store the information it needs. For the purpose of making this tutorial simple, we are going to use eec_usr as the Expression Engine Core database user and eec_db as the Expression Engine Core database.
  2. Get the software and upload it to your hosting account
    Go to the Expression Engine download page and download the most recent version of Expression Engine Core. Upload the EECore1.6.2.zip file to the home directory of your site. If you need help with FTPing files, our FTP tutorials may be useful.
  3. You can also choose to unpack the zip file on your desktop then transfer the contents to a directory on your site via FTP.

    Extract the software to the desired location
    Once completed open an SSH session to your website. If you do not have SSH access or are not familiar with SSH please visit our SSH tutorial. Type the following command to unzip Expression Engine: unzip EECore1.6.2.zip You should see a new unzipped directory called something like EECore1.6.2. For the purpose of this tutorial we will rename this folder to eec. You can either rename the folder or transfer the contents of the EECore1.6.2 folder to the directory you wish to install Expression Engine. To rename the folder type: mv EECore1.6.2 eec Expression Engine’s developers recommend that you rename the “system” folder. This is optional, but a recommended step that increases security by keeping the directory containing your ExpressionEngine backend files hidden from public access. To perform this step, simply rename the directory called system. Choose a name that is not easily guessed.

  4. Change some file permissions
    For the next step you can either use your SSH session or your FTP client to change the following file permissions: chmod 666 path.php
    chmod 666 system/config.php
    chmod 666 system/config_bak.php
    Now change the following directory permissions: chmod 777 images/avatars/uploads/
    chmod 777 images/captchas/
    chmod 777 images/member_photos/
    chmod 777 images/pm_attachments/
    chmod 777 images/signature_attachments/
    chmod 777 images/uploads/
    chmod 777 system/cache/
  5. Run the online install script
    Point your favorite browser to http://johnsmith.com/eec/, make sure to replace johnsmith.com with your domain and eec/ with the directory you put the Expression Engine files in. You should see the Expression Engine Installation Wizard. Click on the button labeled “Click here to begin” then read and accept the license agreement, then click the “Submit” button. The next step will prompt you for the name of your system folder. If you followed the developers recommendations, go ahead and enter the name you chose. Otherwise keep everything default then click the “Submit” button.
  6. Expression Engine Logo Enter your server settings
    The next step titled “Enter Your Settings” will prompt you for server settings, Database Settings, Encryption Settings, Create your admin account, Localization Settings, and finally to select a a template. Keep any server settings default. Enter the MySQL database settings you configured earlier, but keep all other database settings default. Keep the password encryption “SHA1″ unless you have a reason to change it. Fill out the fields for the admin account. Select your time zone from the list. Finally, select a template design. Once completed, click the button titled “Click Here to Install Expression Engine!” Using your FTP program or SSH, delete the file called install.php from your server. Leaving it on your server presents a security risk.

Jobs

How to Write a Job Description that Works

Continue Reading »

Windows XP Home Edition is not come with IIS service. So for those who need IIS to run on some application, there need go for Windows XP Pro Edition. It’s that great that windows xp home edition is come with IIS service? We still can install the IIS service on Windows XP Home edition as the step below.

  1. We need the installation CD of Windows 2000 Professional or Server
  2. Copy the directory i386 from the WinXP Home to your hard disk (If you don’t have 2 CD-ROM)
  3. In this directory (i386) there is a file called IMS.CAB with WinRar (or something similar) unpack the content to a temporary folder (you will need them at the end of the installation)
  4. Search for and find the file: c:\WINDOWS\INF\SYSOC.INF
  5. In the section [COMPONENTS] you will find this line: iis=iis.dll,OcEntry,iis.inf,hide,7
  6. Change it to this: iis=iis2.dll,OcEntry,iis2.inf,,7 (remember to change the name in iis2.dll and iis2.inf and to eliminate the word hide. In this way you bypass the protection of XP home)
  7. From the Win2000 cd (Pro or Server) take the files: iis.dl_ and iis.in_ that are in the i386 folder and copy them on your desktop, open a dos windows and with the prompt pointing at your desktop edit the following commands:
    EXPAND IIS.DL_ IIS2.DLL
    EXPAND IIS.IN_ IIS2.INF
    this will generate two new files named iis2.dll and iis2.inf
    copy and paste IIS2:DLL to c:\WINDOWS\SYSTEM32\SETUP\
    and IIS.INF to c:\WINDOWS\INF\
  8. Go to control panel/application/windows components (I don’t have an English version of Windows so I don’t know exactly the name) and start windows installer. You will see “Internet Information server” is now available as a checkable option.
  9. Select it (I suggest that if you are looking only for PWS to select only that because the more components you install the more files you have to search for)
  10. It will need about 10/15 minutes and during that time the system is going to ask you for a lot of files: some are in XP Home CD other in Win2000 CD. At a certain point the system will ask you for the EXCH_adsiisex.dll file: it is the file you have extracted at the point 3 of this guide, select it and you should go on without trouble.
  11. At the end restart you computer.
  12. Test if it is working: open Internet Explorer and type in the address line: http://localhost
  13. If it will not work, try the following:
    open a DOS window and type: iisreset /RESTART
    go to web proprieties in “directory protection” (I don’t know if this is the exact name on an English version) click on “modify” (or edit, as said before I don’t have an English version …) “browse” and finally”find”. You will see all user in your PC. Select the one you are working with and click OK. In the text-box you will see PcName\UserName. Click OK to close the window. Remember to uncheck “password Control) and click OK three times. Close and restart the web server and retry point 12. If all is correct you will see the default presentation page of IIS 5 and the online help

House

We just moved into the new house. Needless to say its been an exciting journey we have been looking forward to with all the excitement building up with the moving, but more than anything else its been a learning experience as well. Here are some to share with you

CFL

Next Page »